StorPortUpdatePortConfigMaxIOInfo function (storport.h)
A miniport calls StorPortUpdatePortConfigMaxIOInfo to update the maximum IOs and maximum IOs per LUN supported by an adapter.
Syntax
ULONG StorPortUpdatePortConfigMaxIOInfo(
PVOID HwDeviceExtension,
ULONG MaxIoCount,
ULONG MaxIosPerLun
);
Parameters
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.
Return value
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. |
Remarks
StorPortUpdatePortConfigMaxIOInfo is valid only within a HwInitialize/HwPassiveInitRoutine callback and has effect only during adapter initialization.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Header | storport.h |