FsRtlDeleteKeyFromTunnelCache - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

VOID FsRtlDeleteKeyFromTunnelCache(
  [in] TUNNEL    *Cache,
       ULONGLONG DirectoryKey
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-_fsrtl_advanced_fcb_header-fsrtldeletekeyfromtunnelcache)

FsRtlDeleteKeyFromTunnelCache function

Description

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

Parameters

Cache [in]

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

DirectoryKey

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

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.

See also

FsRtlDeleteTunnelCache

FsRtlInitializeTunnelCache