// fltkernel.h
NTSTATUS FLTAPI FltGetFileSystemType(
[in] PVOID FltObject,
[out] PFLT_FILESYSTEM_TYPE FileSystemType
);
View the official Windows Driver Kit DDI reference
No description available.
The FltGetFileSystemType function takes a volume or instance object and provides the file system type of the volume.
FltObject
[in]A pointer to a filter object. This can be a FLT_INSTANCE or FLT_VOLUME object.
FileSystemType
[out]A pointer to a user allocated FLT_FILESYSTEM_TYPE object that receives the file system type for FltObject.
FltGetFileSystemType returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following:
Return code | Description |
---|---|
STATUS_INVALID_PARAMETER | The FltObject object was not a FLT_INSTANCE or FLT_VOLUME object. |
If an instance is passed as the FltObject, FltGetFileSystemType provides the file system type for the volume referred to by the instance object.
If STATUS_INVALID_PARAMETER is returned, the FileSystemType parameter is set to FLT_FSTYPE_UNKNOWN.