USBPM_HUB_CONNECTOR_HANDLES structure (usbpmapi.h)

Stores the connector handles for all connectors on a hub. This structure is used in the UsbPm_RetrieveHubConnectorHandles function.

Syntax

typedef struct _USBPM_HUB_CONNECTOR_HANDLES {
  USBPM_HUB       HubHandle;
  ULONG           ConnectorCount;
  USBPM_CONNECTOR *ConnectorHandles;
} USBPM_HUB_CONNECTOR_HANDLES, *PUSBPM_HUB_CONNECTOR_HANDLES;

Members

HubHandle

The handle of this hub.

ConnectorCount

The number of connectors on this hub.

ConnectorHandles

A pointer to a connector handle array of all the connectors on this hub. The array is allocated by the Policy Manager is valid during the life time of the hub. The client driver must not change the array or release the array after use.

Requirements

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