StorPortUpdateAdapterMaxIO function (storport.h)

StorPortUpdateAdapterMaxIO can be called by a miniport to update the maximum IOs supported by an adapter.

Syntax

ULONG StorPortUpdateAdapterMaxIO(
  PVOID HwDeviceExtension,
  ULONG MaxIoCount
);

Parameters

HwDeviceExtension

A pointer to miniport's device extension.

MaxIoCount

Maximum IO's supported by the adapter.

Return value

This function returns of the following values.

Value Description
STOR_STATUS_SUCCESS The telemetry event was successfully logged.
STOR_STATUS_NOT_IMPLEMENTED The function was called on an OS version that does not 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

StorPortUpdateAdapterMaxIO is valid during a HwInitialize/HwPassiveInitRoutine callback and has effect only during adapter initialization.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 10, version 1709.
Target Platform Windows
Header storport.h

See also

HwInitialize

HwPassiveInitRoutine