// ucxusbdevice.h
typedef struct _USBDEVICE_UPDATE {
USBDEVICE_MGMT_HEADER Header;
USBDEVICE_UPDATE_FLAGS Flags;
PUSB_DEVICE_DESCRIPTOR DeviceDescriptor;
PUSB_BOS_DESCRIPTOR BosDescriptor;
ULONG MaxExitLatency;
BOOLEAN IsHub;
USBDEVICE_UPDATE_FAILURE_FLAGS FailureFlags;
USBDEVICE_UPDATE_20_HARDWARE_LPM_PARAMETERS Usb20HardwareLpmParameters;
USHORT RootPortResumeTime;
BOOLEAN Reserved;
} USBDEVICE_UPDATE, *PUSBDEVICE_UPDATE;
View the official Windows Driver Kit DDI referenceNo description available.
Passed by UCX to update the specified device. This structure is in the request parameters (Parameters.Others.Arg1) of a framework request object passed in the EVT_UCX_USBDEVICE_UPDATE callback function.
HeaderA USBDEVICE_MGMT_HEADER structure that contains the handle for the USB hub or device.
FlagsA bitwise-OR of USBDEVICE_UPDATE_FLAGS values that indicates the attributes that must be updated by the client driver.
DeviceDescriptorA pointer a USB_DEVICE_DESCRIPTOR structure that contains the device descriptor.
BosDescriptorA pointer a USB_BOS_DESCRIPTOR structure that contains the device descriptor. See Usbspec.h.
MaxExitLatencyThe maximum exit latency period.
IsHubIndicates if the USB device to update is a USB hub (TRUE) or not (FALSE).
FailureFlagsA USBDEVICE_UPDATE_FAILURE_FLAGS structure that indicates the errors, if any, that occurred during the update operation.
Usb20HardwareLpmParametersA USBDEVICE_UPDATE_20_HARDWARE_LPM_PARAMETERS structure that describes the Link Power Management (LPM) features.
RootPortResumeTimeThe resume time for the root port.
ReservedReserved for internal use.