Bewerken

Delen via


USBPM_CONNECTOR_PROPERTIES structure (usbpmapi.h)

Describes the properties of a connector. This structure is used in the UsbPm_RetrieveCoonnectorProperties call.

Syntax

typedef struct _USBPM_CONNECTOR_PROPERTIES {
  USBPM_CONNECTOR ConnectorHandle;
  USBPM_HUB       ParentHubHandle;
  ULONG64         ConnectorId;
  ULONG           SupportedTypeCOperatingModes;
  ULONG           SupportedTypeCSourceCurrentAdvertisements;
  BOOLEAN         IsTypeCAudioAccessorySupported;
  BOOLEAN         IsPdSupported;
  ULONG           SupportedPowerRoles;
} USBPM_CONNECTOR_PROPERTIES, *PUSBPM_CONNECTOR_PROPERTIES;

Members

ConnectorHandle

A handle of this connector.

ParentHubHandle

The handle of the parent hub to which this connector belongs.

ConnectorId

A system-assigned identifier.

SupportedTypeCOperatingModes

A bitwise OR of the values defined in the USBC_TYPEC_OPERATING_MODE enumeration.

SupportedTypeCSourceCurrentAdvertisements

A bitwise OR of the values defined in the USBC_CURRENT enumeration.

IsTypeCAudioAccessorySupported

Indicates whether audio accessories are supported by this connector.

IsPdSupported

Indicates whether PD is supported on this connector.

SupportedPowerRoles

A bitwise OR of the values defined in the USBC_POWER_ROLE enumeration.

Requirements

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