FltGetFileSystemType function

The FltGetFileSystemType function takes a volume or instance object and provides the file system type of the volume.

Syntax

NTSTATUS FLTAPI FltGetFileSystemType(
  PVOID                FltObject,
  PFLT_FILESYSTEM_TYPE FileSystemType
);

Parameters

FltObject

A pointer to a filter object. This can be a FLT_INSTANCE or FLT_VOLUME object.

FileSystemType

A pointer to a user allocated FLT_FILESYSTEM_TYPE object that receives the file system type for FltObject.

Return Value

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.

Remarks

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.

Requirements

   
Windows version Available in starting with Windows Vista.
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL FltMgr.sys
IRQL "<= APC_LEVEL"

See Also

FltGetVolumeFromFileObject

FltGetVolumeFromInstance

FltGetVolumeFromName

FltGetVolumeGuidName

FltGetVolumeInformation

FltGetVolumeInstanceFromName

FltGetVolumeName

FltGetVolumeProperties

FltIsVolumeWritable