// usbioctl.h
// CTL_CODE(0x0022, 0x120, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_USB_GET_DEVICE_CHARACTERISTICS 0x00220480
View the official Windows Driver Kit DDI referenceNo description available.
The client driver sends this request to determine general characteristics about a USB device, such as maximum send and receive delays for any request.
The AssociatedIrp.SystemBuffer member is a pointer to a caller-allocated USB_DEVICE_CHARACTERISTICS structure. On input, set Version to USB_DEVICE_CHARACTERISTICS_VERSION_1. On output Version is reset to a version less than or equal to USB_DEVICE_CHARACTERISTICS_VERSION_1; UsbDeviceCharacteristicsFlags is set to USB_DEVICE_CHARACTERISTICS_MAXIMUM_PATH_DELAYS_AVAILABLE and the remaining members of the structure is filled with delay information.
The size of the USB_DEVICE_CHARACTERISTICS structure.
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status indicates the appropriate error condition as a NTSTATUS code.
Creating IOCTL Requests in Drivers
USB client drivers for Media-Agnostic (MA-USB)
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously