FltGetFileSystemType - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fltkernel.h

NTSTATUS FLTAPI FltGetFileSystemType(
  [in]  PVOID                FltObject,
  [out] PFLT_FILESYSTEM_TYPE FileSystemType
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltgetfilesystemtype)

FltGetFileSystemType function

Description

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

Parameters

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.

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.

See also

FltGetVolumeFromFileObject

FltGetVolumeFromInstance

FltGetVolumeFromName

FltGetVolumeGuidName

FltGetVolumeInformation

FltGetVolumeInstanceFromName

FltGetVolumeName

FltGetVolumeProperties

FltIsVolumeWritable