// storport.h
ULONG StorPortUpdatePortConfigMaxIOInfo(
PVOID HwDeviceExtension,
ULONG MaxIoCount,
ULONG MaxIosPerLun
);
View the official Windows Driver Kit DDI referenceNo description available.
A miniport calls StorPortUpdatePortConfigMaxIOInfo to update the maximum IOs and maximum IOs per LUN 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.
MaxIosPerLun[in] Maximum number of outstanding I/O operations per LUN supported by the adapter.
StorPortUpdatePortConfigMaxIOInfo 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. |
StorPortUpdatePortConfigMaxIOInfo is valid only within a HwInitialize/HwPassiveInitRoutine callback and has effect only during adapter initialization.
PORT_CONFIGURATION_INFORMATION