IOCTL_USB_GET_DEVICE_CHARACTERISTICS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-usbioctl-ioctl_usb_get_device_characteristics)

IOCTL_USB_GET_DEVICE_CHARACTERISTICS IOCTL

Description

The client driver sends this request to determine general characteristics about a USB device, such as maximum send and receive delays for any request.

Parameters

Major code

Input buffer

Input buffer length

Output buffer

Output buffer length

Input/output buffer

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.

Input/output buffer length

The size of the USB_DEVICE_CHARACTERISTICS structure.

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status indicates the appropriate error condition as a NTSTATUS code.

See also

Creating IOCTL Requests in Drivers

USB client drivers for Media-Agnostic (MA-USB)

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously