// fltkernel.h
BOOLEAN FLTAPI FltSupportsFileContexts(
[in] PFILE_OBJECT FileObject
);
View the official Windows Driver Kit DDI reference
No description available.
The FltSupportsFileContexts routine determines whether the file system supports file contexts for a given file. (See also FltSupportsFileContextsEx.)
FileObject
[in]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.