// storport.h
ULONG StorPortSetFeatureList(
PVOID HwDeviceExtension,
ULONG FeatureCount,
PBOOLEAN FeatureList
);
View the official Windows Driver Kit DDI referenceNo description available.
StorPortSetFeatureList sets the StorPort features that a miniport supports.
HwDeviceExtensionPointer to the miniport's device extension.
FeatureCountNumber of features that FeatureList points to.
FeatureListPointer to an array of STORPORT_FEATURE_TYPE enum values that identify the StorPort features supported by the miniport.
StorPortSetFeatureList returns a status code such as one of the following:
| Return code | Description |
|---|---|
| STOR_STATUS_SUCCESS | The feature list was set successfully. |
| STOR_STATUS_INVALID_PARAMETER | An input parameter is invalid; for example, FeatureList is NULL or FeatureCount is out of range. |
| STOR_STATUS_UNSUCCESSFUL | The operation failed. |
A miniport calls StorPortSetFeatureList to set the StorPort features that it supports. A miniport should call this function for each adapter in the beginning of its HwFindAdapter routine.