UdecxUsbDeviceInitSetSpeed - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// udecxusbdevice.h

VOID UdecxUsbDeviceInitSetSpeed(
  [in, out] PUDECXUSBDEVICE_INIT   UdecxUsbDeviceInit,
  [in]      UDECX_USB_DEVICE_SPEED UsbDeviceSpeed
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-udecxusbdevice-udecxusbdeviceinitsetspeed)

UdecxUsbDeviceInitSetSpeed function

Description

Sets the USB speed of the virtual USB device to create.

Parameters

UdecxUsbDeviceInit [in, out]

A pointer to a WDF-allocated structure that contains initialization parameters for the virtual USB device. The client driver retrieved this pointer in the previous call to UdecxUsbDeviceInitAllocate.

UsbDeviceSpeed [in]

A UDECX_USB_DEVICE_SPEED-type value that indicates the USB speed to set.

Remarks

After the client driver sets the USB speed of the device, it only operates in that speed. The speed also determines the kind of port to which the device can connect. For example, a USB SuperSpeed device cannot connect to a USB 2.0 port.

See also

Architecture: USB Device Emulation (UDE)

Write a UDE client driver