// udecxusbdevice.h
VOID UdecxUsbDeviceInitSetSpeed(
[in, out] PUDECXUSBDEVICE_INIT UdecxUsbDeviceInit,
[in] UDECX_USB_DEVICE_SPEED UsbDeviceSpeed
);
View the official Windows Driver Kit DDI referenceNo description available.
Sets the USB speed of the virtual USB device to create.
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.
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.
Architecture: USB Device Emulation (UDE)