// ntifs.h
VOID FsRtlDeleteKeyFromTunnelCache(
[in] TUNNEL *Cache,
ULONGLONG DirectoryKey
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlDeleteKeyFromTunnelCache routine deletes any tunnel cache entries for files in a directory that is being deleted.
Cache [in]A pointer to a tunnel cache that was initialized by FsRtlInitializeTunnelCache.
DirectoryKeyThe directory key value for the directory that is being removed. For more information, see the reference entry for FsRtlInitializeTunnelCache.
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.