USBDEVICE_DISABLE structure

Contains parameters for a request to disable 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_DISABLE callback function.

Syntax

typedef struct _USBDEVICE_DISABLE {
  USBDEVICE_MGMT_HEADER         Header;
  UCXENDPOINT                   DefaultEndpoint;
  UCX_USBDEVICE_RECOVERY_ACTION UsbDeviceRecoveryAction;
} USBDEVICE_DISABLE, *PUSBDEVICE_DISABLE;

Members

Header

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

DefaultEndpoint

A handle to the default endpoint of the USB device or hub to disable.

UsbDeviceRecoveryAction

A UCX_USBDEVICE_RECOVERY_ACTION-value that indicates FLDR or PLDR trigger resets.

Requirements

   
Header ucxusbdevice.h (include Ucxclass.h)

See Also

EVT_UCX_USBDEVICE_DISABLE

USBDEVICE_ENABLE

WdfRequestGetParameters