The FltSupportsFileContexts routine determines whether the file system supports file contexts for a given file.
BOOLEAN FltSupportsFileContexts( _In_ PFILE_OBJECT FileObject );
File object pointer for the file. This parameter is required and cannot be NULL.
FltSupportsFileContexts returns TRUE if the file system supports file contexts for the file object; FALSE otherwise.
Minifilter drivers call FltSupportsFileContexts to determine whether the underlying file system inherently supports file contexts for the file that is represented by a given file object.
Note that a file system might support file contexts for some types of files but not for others. For example, NTFS and FAT do not support file contexts for paging files.
To allocate a new context, call FltAllocateContext.
To get the file context for a file object, call FltGetFileContext.
To set a file context, call FltSetFileContext.
To decrement the reference count on a context, call FltReleaseContext.
|Windows Driver kit version|
|Minimum KMDF version|
|Minimum UMDF version|
|Header||fltkernel.h (include Fltkernel.h)|
|DDI compliance rules|