URS_CONFIG structure (ursdevice.h)

Contains pointers to event callback functions implemented by the URS client driver for a USB dual-role controller. Initialize this structure by calling URS_CONFIG_INIT.

Syntax

typedef struct _URS_CONFIG {
  ULONG                                       Size;
  URS_HOST_INTERFACE_TYPE                     HostInterfaceType;
  PFN_URS_DEVICE_FILTER_RESOURCE_REQUIREMENTS EvtUrsFilterRemoveResourceRequirements;
  PFN_URS_SET_ROLE                            EvtUrsSetRole;
} URS_CONFIG, *PURS_CONFIG;

Members

Size

The size of this structure.

HostInterfaceType

A URS_HOST_INTERFACE_TYPE type value that indicates the type of USB host controller: EHCI, xHCI, or other.

EvtUrsFilterRemoveResourceRequirements

A pointer to an EVT_URS_DEVICE_FILTER_RESOURCE_REQUIREMENTS callback function.

EvtUrsSetRole

A pointer to an EVT_URS_SET_ROLE callback function.

Requirements

Requirement Value
Minimum KMDF version 1.0
Header ursdevice.h (include Urscx.h)

See also

URS_CONFIG_INIT

UrsDeviceInitialize