// fltkernel.h
NTSTATUS FLTAPI FltPurgeFileNameInformationCache(
[in] PFLT_INSTANCE Instance,
[in, optional] PFILE_OBJECT FileObject
);
View the official Windows Driver Kit DDI reference
No description available.
FltPurgeFileNameInformationCache purges from the Filter Manager's name cache all file name information structures that were generated from names provided by the given minifilter driver instance.
Instance
[in]Opaque instance (PFLT_INSTANCE) pointer for the minifilter driver instance whose names are to be purged. This parameter is required and cannot be NULL.
FileObject
[in, optional]Optional pointer to a file object for which all names are to be purged. If this parameter is NULL, all names for the minifilter driver instance specified by the Instance parameter are purged.
FltPurgeFileNameInformationCache returns STATUS_SUCCESS or an appropriate NTSTATUS value.
A minifilter driver that provides file names for the Filter Manager's name cache can call FltPurgeFileNameInformationCache to purge the names provided for a given minifilter driver instance. This is most commonly done when a name-providing filter unloads.
The file name information structures are not freed until all references are released.
FltGetFileNameInformationUnsafe
PFLT_NORMALIZE_CONTEXT_CLEANUP