URS_HARDWARE_EVENT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// urstypes.h

typedef enum _URS_HARDWARE_EVENT {
  UrsHardwareEventNone,
  UrsHardwareEventDetach,
  UrsHardwareEventIdGround,
  UrsHardwareEventIdFloat,
  UrsHardwareEventPortTypeDfp,
  UrsHardwareEventPortTypeUfp
} URS_HARDWARE_EVENT, *PURS_HARDWARE_EVENT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-urstypes-_urs_hardware_event)

_URS_HARDWARE_EVENT enumeration

Description

Defines values for the hardware events that a client driver for a USB dual-role controller can report.

Constants

UrsHardwareEventNone

Internal use only.

UrsHardwareEventDetach

A detach event occurred on a port of a USB Type-C system.

UrsHardwareEventIdGround

This event indicates that the ID pin is grounded.

UrsHardwareEventIdFloat

This event indicates that the ID pin is floating.

UrsHardwareEventPortTypeDfp

The Type-C connector has resolved to DFP. Not to be used directly by the URS client driver.

UrsHardwareEventPortTypeUfp

The Type-C connector has resolved to UFP. Not to be used directly by the URS client driver.

Remarks

Values defined for USB Type-C systems should not be directly used by the client driver. Instead the driver should report that it does not support hardware event reporting by calling UrsSetHardwareEventSupport. These hardware events are detected by a USB Type-C connector driver, see USB Type-C connector driver programming reference.