// usbioctl.h
typedef struct _USB_DEVICE_CHARACTERISTICS {
ULONG Version;
ULONG Reserved[2];
ULONG UsbDeviceCharacteristicsFlags;
ULONG MaximumSendPathDelayInMilliSeconds;
ULONG MaximumCompletionPathDelayInMilliSeconds;
} USB_DEVICE_CHARACTERISTICS, *PUSB_DEVICE_CHARACTERISTICS;
View the official Windows Driver Kit DDI referenceNo description available.
Contains information about the USB device’s characteristics, such as the maximum send and receive delays for any request. This structure is used in the IOCTL_USB_GET_DEVICE_CHARACTERISTICS request.
VersionThe version should be set to USB_DEVICE_CHARACTERISTICS_VERSION_1.
ReservedReserved.
UsbDeviceCharacteristicsFlagsA bitmask of flags that indicates to the client driver the transport characteristics that are available and are returned by this structure.
If the USB_DEVICE_CHARACTERISTICS_MAXIMUM_PATH_DELAYS_AVAILABLE
flag is set, MaximumSendPathDelayInMilliSeconds and MaximumCompletionPathDelayInMilliSeconds contain valid information. Otherwise they are not available and must not be used by the client driver.
MaximumSendPathDelayInMilliSecondsContains the maximum delay in milliseconds for any request that is submitted by the client driver and is received by the USB driver stack to the time it is programmed in the host controller, including the maximum delay associated with the network medium if it is a MA-USB host controller.
MaximumCompletionPathDelayInMilliSecondsContains the maximum delay in milliseconds the host controller completes any request for the device to the time the request is completed and sent back to the client driver. For a MA-USB controller this includes any delay associated with the network medium.
IOCTL_USB_GET_DEVICE_CHARACTERISTICS