_USBDEVICE_ENABLE structure

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

   
Header ucxusbdevice.h (include Ucxclass.h)

See Also

USBDEVICE_DISABLE

WdfRequestGetParameters