USB constants and enumerations

This section describes the system-defined enumerations and constants that are used by Universal Serial Bus (USB) client drivers on Windows Driver Model (WDM) platforms.

In this section

TopicDescription

CONTROLLER_TYPE

This enumeration specifies if the USB host controller is an eXtensible Host Controller Interface (xHCI) controller.

ENDPOINT_RESET_FLAGS

Defines parameters for a request to reset an endpoint.

TRISTATE

The TRISTATE enumeration indicates generic state values for true or false.

UCM_TYPEC_PARTNER

Defines the state of the Type-C connector.

UCM_TYPEC_CURRENT

Defines different Type-C current levels, as defined in the Type-C specification.

UCM_POWER_ROLE

Defines power roles of USB Type-C connected devices.

UCM_PD_CONN_STATE

Defines power delivery (PD) negotiation states of a Type-C port.

UCM_CHARGING_STATE

Defines the charging state of a Type-C connector.

UCM_PD_POWER_DATA_OBJECT_TYPE

Defines Power Data Object types.

UCM_TYPE_C_OPERATING_MODE

Defines operating modes of a USB Type-C connector.

UCMTCPCI_PORT_CONTROLLER_ALERT_TYPE

Defines generic alert values that are used to indicate the type of hardware alert received on the port controller.

UCMTCPCI_PORT_CONTROLLER_IOCTL

Defines the various device I/O control requests that are sent to the client driver for the port controller. This indicates the type of IOCTL in WPP.

UCMTCPCI_PORT_CONTROLLER_DISPLAYPORT_HPD_STATUS

Defines values to determine whether a DisplayPort device is plugged in.

UCMTCPCI_PORT_CONTROLLER_DISPLAYPORT_PIN_ASSIGNMENT

TBD

UCX_CONTROLLER_PARENT_BUS_TYPE

The UCX_CONTROLLER_PARENT_BUS_TYPE enumeration defines the parent bus type.

UCX_CONTROLLER_STATE

This enumeration provides values to specify the UCX controller state after a reset.

UDECX_ENDPOINTS_CONFIGURE_TYPE

Defines values for endpoint configuration options.

UDECX_ENDPOINT_TYPE

Defines values for endpoint types supported by a virtual USB device.

UDECX_USB_DEVICE_SPEED

Defines values for USB device speeds.

UDECX_USB_DEVICE_FUNCTION_POWER

Defines values for function wake capability of a virtual USB 3.0 device.

UDECX_USB_DEVICE_WAKE_SETTING

Defines values for remote wake capability of a virtual USB device.

UDECX_WDF_DEVICE_RESET_ACTION

Defines values that indicate the types of reset operation supported by an emulated USB host controller.

URS_HOST_INTERFACE_TYPE

Defines values for the various types of USB host controllers.

URS_ROLE

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

URS_HARDWARE_EVENT

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

USB_CONNECTION_STATUS

The USB_CONNECTION_STATUS enumerator indicates the status of the connection to a device on a USB hub port.

USB_CONTROLLER_FLAVOR

The USB_CONTROLLER_FLAVOR enumeration specifies the type of USB host controller.

USB_DEVICE_SPEED

The USB_DEVICE_SPEED enumeration defines constants for USB device speeds.

USB_HUB_NODE

The USB_HUB_NODE enumerator indicates whether a device is a hub or a composite device.

USB_HUB_TYPE

The USB_HUB_TYPE enumeration defines constants that indicate the type of USB hub. The hub type is retrieved by the IOCTL_USB_GET_HUB_INFORMATION_EX I/O control request.

USB_USER_ERROR_CODE

The USB_USER_ERROR_CODE enumeration lists the error codes that a USB user-mode request reports when it fails.

USBD_PIPE_TYPE

The USBD_PIPE_TYPE enumerator indicates the type of pipe.

USBD_STATUS

USBFN_DIRECTION

Defines the USB data transfer direction types.

USBFN_EVENT

Defines notifications sent to class drivers.

WDMUSB_POWER_STATE

The WDMUSB_POWER_STATE enumeration indicates the power state of a host controller or root hub.

 

Related topics

USB Reference

 

 

Send comments about this topic to Microsoft

Show: