FltGetFileSystemType function

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

Syntax


NTSTATUS FltGetFileSystemType(
  _In_  PVOID                FltObject,
  _Out_ PFLT_FILESYSTEM_TYPE FileSystemType
);

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 codeDescription
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

Target platform

Universal

Version

Available in starting with Windows Vista.

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

 

 

Send comments about this topic to Microsoft

Show: