Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

FsRtlGetSupportedFeatures routine

The FsRtlGetSupportedFeatures routine returns the supported features of a volume attached to the specified device object.

Syntax


NTSTATUS FsRtlGetSupportedFeatures(
  _In_   PDEVICE_OBJECT DeviceObject,
  _Out_  PULONG SupportedFeatures
);

Parameters

DeviceObject [in]

The target device object attached to a volume.

SupportedFeatures [out]

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.

ValueMeaning
SUPPORTED_FS_FEATURES_OFFLOAD_READ
0x00000001

The volume supports offloaded read operations.

SUPPORTED_FS_FEATURES_OFFLOAD_WRITE
0x00000002

The volume supports offloaded write operations.

 

Return value

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.

Return codeDescription
STATUS_FLT_VOLUME_NOT_FOUND

No volume is found for DeviceObject.

STATUS_FLT_INTERNAL_ERROR

The device object specified by DeviceObject is not in a file system device stack.

 

Requirements

Version

Available in starting with Windows 8.

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.