Bewerken

Delen via


USBDEVICE_UPDATE structure (ucxusbdevice.h)

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.

Syntax

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                                     IsNative;
} USBDEVICE_UPDATE, *PUSBDEVICE_UPDATE;

Members

Header

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

Flags

A bitwise-OR of USBDEVICE_UPDATE_FLAGS values that indicates the attributes that must be updated by the client driver.

DeviceDescriptor

A pointer a USB_DEVICE_DESCRIPTOR structure that contains the device descriptor.

BosDescriptor

A pointer a USB_BOS_DESCRIPTOR structure that contains the device descriptor. See Usbspec.h.

MaxExitLatency

The maximum exit latency period.

IsHub

Indicates if the USB device to update is a USB hub (TRUE) or not (FALSE).

FailureFlags

A USBDEVICE_UPDATE_FAILURE_FLAGS structure that indicates the errors, if any, that occurred during the update operation.

Usb20HardwareLpmParameters

A USBDEVICE_UPDATE_20_HARDWARE_LPM_PARAMETERS structure that describes the Link Power Management (LPM) features.

RootPortResumeTime

The resume time for the root port.

IsNative

Indicates if the USB device to update is native (TRUE) or not (FALSE).

Requirements

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

See also