Partager via


fonction USBPM_CONNECTOR_STATE_INIT (usbpmapi.h)

Initialise une structure USBPM_CONNECTOR_STATE_INIT. Le pilote client doit appeler cette fonction avant d’appeler UsbPm_RetrieveConnectorState.

Syntaxe

void USBPM_CONNECTOR_STATE_INIT(
  PUSBPM_CONNECTOR_STATE ConnectorState
);

Paramètres

ConnectorState

Pointeur d’une structure USBPM_CONNECTOR_STATE_INIT à initialiser.

Valeur de retour

Aucun

Exigences

Exigence Valeur
client minimum pris en charge Windows 10, version 1809
version minimale de KMDF 1.27
version minimale de UMDF 2.27
d’en-tête usbpmapi.h