Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
StorPortSetFeatureList sets the StorPort features that a miniport supports.
Syntax
ULONG StorPortSetFeatureList(
PVOID HwDeviceExtension,
ULONG FeatureCount,
PBOOLEAN FeatureList
);
Parameters
HwDeviceExtension
Pointer to the miniport's device extension.
FeatureCount
Number of features that FeatureList points to.
FeatureList
Pointer to an array of STORPORT_FEATURE_TYPE enum values that identify the StorPort features supported by the miniport.
Return value
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. |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | storport.h |