URS_ROLE enumeration (urstypes.h)

Defines values for roles supported by a USB dual-role controller.

Syntax

typedef enum _URS_ROLE {
  UrsRoleNone,
  UrsRoleHost,
  UrsRoleFunction
} URS_ROLE, *PURS_ROLE;

Constants

 
UrsRoleNone
Internal use only. Must be 0.
UrsRoleHost
Indicates the host role of the controller.
UrsRoleFunction
Indicates the function role of the controller.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Minimum KMDF version 1.15
Header urstypes.h (include Urstypes.h)