Partager via


StorPortUpdateAdapterMaxIO, fonction (storport.h)

Un miniport appelle StorPortUpdateAdapterMaxIO pour mettre à jour le nombre maximal d’opérations d’E/S en attente prises en charge par un adaptateur.

Syntaxe

ULONG StorPortUpdateAdapterMaxIO(
  PVOID HwDeviceExtension,
  ULONG MaxIoCount
);

Paramètres

HwDeviceExtension

[in] Pointeur vers l’extension d’appareil de miniport.

MaxIoCount

[in] Nombre maximal d’opérations d’E/S en attente prises en charge par l’adaptateur.

Valeur de retour

StorPortUpdateAdapterMaxIO retourne STOR_STATUS_SUCCESS en cas de réussite. Sinon, elle retourne l’une des valeurs suivantes :

Valeur Description
STOR_STATUS_NOT_IMPLEMENTED La fonction a été appelée sur une version du système d’exploitation qui ne la prend pas en charge.
STOR_STATUS_INVALID_PARAMETER Il existe un paramètre non valide.
STOR_STATUS_INVALID_DEVICE_REQUEST La fonction a été appelée en dehors de HwInitialize/HwPassiveInitRoutine.

Remarques

StorPortUpdateAdapterMaxIO est valide uniquement dans un HwInitialize/rappel HwPassiveInitRoutine et n’a effet que pendant l’initialisation de l’adaptateur.

Exigences

Exigence Valeur
client minimum pris en charge Windows 10, version 1709
plateforme cible Windows
En-tête storport.h

Voir aussi

HwInitialize

HwPassiveInitRoutine

PORT_CONFIGURATION_INFORMATION

storPortUpdatePortConfigMaxIOInfo