StorPortUpdateAdapterMaxIO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

ULONG StorPortUpdateAdapterMaxIO(
  PVOID HwDeviceExtension,
  ULONG MaxIoCount
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportupdateadaptermaxio)

StorPortUpdateAdapterMaxIO function

Description

A miniport calls StorPortUpdateAdapterMaxIO to update the maximum number of outstanding I/O operations supported by an adapter.

Parameters

HwDeviceExtension

[in] A pointer to miniport's device extension.

MaxIoCount

[in] Maximum number of outstanding I/O operations supported by the adapter.

Return value

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.

Remarks

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

See also

HwInitialize

HwPassiveInitRoutine

PORT_CONFIGURATION_INFORMATION

StorPortUpdatePortConfigMaxIOInfo