Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

USBDEVICE_DISABLE structure (ucxusbdevice.h)

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

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

See also

EVT_UCX_USBDEVICE_DISABLE

USBDEVICE_ENABLE

WdfRequestGetParameters


Feedback

Was this page helpful?

Additional resources