FltSupportsFileContexts function (fltkernel.h)
The FltSupportsFileContexts routine determines whether the file system supports file contexts for a given file. (See also FltSupportsFileContextsEx.)
BOOLEAN FLTAPI FltSupportsFileContexts( [in] PFILE_OBJECT FileObject );
Pointer to the file object that represents the file whose file context support is being queried. 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 the specified FileObject without having to allocate a context and attempt to set it. If a context type isn't supported on a file, then the minifilter cannot attach a context to that file.
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.
For more information about contexts, see About minifilter contexts.
|Minimum supported client||This routine is available on Windows Vista and later.|
|Header||fltkernel.h (include Fltkernel.h)|