// storport.h
ULONG StorPortQueryConfiguration(
PVOID HwDeviceExtension,
STORPORT_QUERY_CONFIGURATION_TYPE Type,
PBOOLEAN Enabled
);
View the official Windows Driver Kit DDI referenceNo description available.
A miniport can call StorPortQueryConfiguration to query for the specific configuration of the platform.
HwDeviceExtensionPointer to the hardware device extension for the host bus adapter (HBA).
TypeA STORPORT_QUERY_CONFIGURATION_TYPE enum value that indicates the type of configuration to query.
EnabledPointer to a BOOLEAN value in which the Storport driver will return one of the following values.
| Value | Description |
|---|---|
| TRUE | The configuration specified by Type is enabled. |
| FALSE | The configuration specified by Type is not enabled. |
StorPortQueryConfiguration returns one of the following status codes:
| Return code | Description |
|---|---|
| STOR_STATUS_INVALID_PARAMETER | Enabled is NULL or the value specified in Type is invalid. |
| STOR_STATUS_NOT_IMPLEMENTED | This function is not implemented on the active operating system. |
| STOR_STATUS_SUCCESS | The query completed successfully. |
STORPORT_QUERY_CONFIGURATION_TYPE