Export (0) Print
Expand All
Expand Minimize

FsRtlDeleteKeyFromTunnelCache routine

The FsRtlDeleteKeyFromTunnelCache routine deletes any tunnel cache entries for files in a directory that is being deleted.

Syntax


VOID FsRtlDeleteKeyFromTunnelCache(
  _In_  TUNNEL *Cache,
  _In_  ULONGLONG DirKey
);

Parameters

Cache [in]

A pointer to a tunnel cache that was initialized by FsRtlInitializeTunnelCache.

DirKey [in]

The directory key value for the directory that is being removed. For more information, see the reference entry for FsRtlInitializeTunnelCache.

Return value

None

Remarks

File systems call FsRtlDeleteKeyFromTunnelCache when deleting a directory from a volume. FsRtlDeleteKeyFromTunnelCache deletes all tunnel cache entries whose directory keys match the value specified in the DirKey parameter.

To delete the tunnel cache, use FsRtlDeleteTunnelCache.

The caller is required to synchronize this call against FsRtlDeleteTunnelCache. In other words, a file system must ensure that it does not call FsRtlDeleteKeyFromTunnelCache and FsRtlDeleteTunnelCache at the same time from different threads.

For more information about file name tunneling, see Microsoft Knowledge Base Article 172190.

Requirements

Version

This routine is available on Microsoft Windows 2000 and later versions of Windows operating systems.

Header

Ntifs.h (include FltKernel.h or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

See also

FsRtlDeleteTunnelCache
FsRtlInitializeTunnelCache

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft