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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for