USBDEVICE_ENABLE structure (ucxusbdevice.h)

Contains parameters for a request to enable the specified device. This structure is passed by UCX in request parameters (Parameters.Others.Arg1) of a framework request object of the EVT_UCX_USBDEVICE_ENABLE callback function.

Syntax

typedef struct _USBDEVICE_ENABLE {
  USBDEVICE_MGMT_HEADER          Header;
  UCXENDPOINT                    DefaultEndpoint;
  USBDEVICE_ENABLE_FAILURE_FLAGS FailureFlags;
} USBDEVICE_ENABLE, *PUSBDEVICE_ENABLE;

Members

Header

A USBDEVICE_MGMT_HEADER structure that contains the handle for the USB hub or device.

DefaultEndpoint

The default endpoint for the USB hub or device to enable transfers for.

FailureFlags

The errors, if any, that occurred when attempting to enable the hub or device for transfers.

Requirements

Requirement Value
Header ucxusbdevice.h (include Ucxclass.h)

See also

USBDEVICE_DISABLE

WdfRequestGetParameters