FltSupportsFileContexts function (fltkernel.h)
The FltSupportsFileContexts routine determines whether the file system supports file contexts for a given file. (See also FltSupportsFileContextsEx.)
Syntax
BOOLEAN FLTAPI FltSupportsFileContexts(
[in] PFILE_OBJECT FileObject
);
Parameters
[in] 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.
Return value
FltSupportsFileContexts returns TRUE if the file system supports file contexts for the file object; FALSE otherwise.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | This routine is available on Windows Vista and later. |
Target Platform | Universal |
Header | fltkernel.h (include Fltkernel.h) |
Library | FltMgr.lib |
DLL | Fltmgr.sys |
IRQL | <= APC_LEVEL |