// storport.h
ULONG StorPortUpdateAdapterMaxIO(
PVOID HwDeviceExtension,
ULONG MaxIoCount
);
View the official Windows Driver Kit DDI referenceNo description available.
A miniport calls StorPortUpdateAdapterMaxIO to update the maximum number of outstanding I/O operations supported by an adapter.
HwDeviceExtension[in] A pointer to miniport's device extension.
MaxIoCount[in] Maximum number of outstanding I/O operations supported by the adapter.
StorPortUpdateAdapterMaxIO returns STOR_STATUS_SUCCESS upon success. Otherwise, it returns one of the following values:
| Value | Description |
|---|---|
| STOR_STATUS_NOT_IMPLEMENTED | The function was called on an OS version that doesn't support it. |
| STOR_STATUS_INVALID_PARAMETER | There is an invalid parameter. |
| STOR_STATUS_INVALID_DEVICE_REQUEST | The function was called outside of HwInitialize/HwPassiveInitRoutine. |
StorPortUpdateAdapterMaxIO is valid only within a HwInitialize/HwPassiveInitRoutine callback and has effect only during adapter initialization.
PORT_CONFIGURATION_INFORMATION
StorPortUpdatePortConfigMaxIOInfo