The FsRtlGetSupportedFeatures routine returns the supported features of a volume attached to the specified device object.
NTSTATUS FsRtlGetSupportedFeatures( PDEVICE_OBJECT DeviceObject, PULONG SupportedFeatures );
The target device object attached to a volume.
A pointer to a caller supplied ULONG value. On return, this value contains the supported feature flags for the attached volume.
The supported features are a bitwise OR combination of the following flags.
FsRtlGetSupportedFeatures returns STATUS_SUCCESS if the supported features for the volume attached to DeviceObject are returned successfully. Otherwise, one of the following NTSTATUS values is returned.
||No volume is found for DeviceObject.|
||The device object specified by DeviceObject is not in a file system device stack.|
|Minimum supported client||Available in starting with Windows 8.|
|Header||ntifs.h (include Ntifs.h)|