USBPM_CONNECTOR_STATE_INIT function (usbpmapi.h)

Initializes a USBPM_CONNECTOR_STATE_INIT structure. The client driver must call this function before calling UsbPm_RetrieveConnectorState.

Syntax

void USBPM_CONNECTOR_STATE_INIT(
  PUSBPM_CONNECTOR_STATE ConnectorState
);

Parameters

ConnectorState

A pointer a USBPM_CONNECTOR_STATE_INIT structure to initialize.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Minimum KMDF version 1.27
Minimum UMDF version 2.27
Header usbpmapi.h