IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO - NtDoc

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

// CTL_CODE(0x0022, 0x113, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO 0x0022044F
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO IOCTL

Description

The IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO I/O request returns information about a USB device and the hub it is attached to.

IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO is a kernel-mode I/O control request. This request targets the USB hub PDO. This request must be sent at an IRQL of DISPATCH_LEVEL or lower.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

Parameters.Others.Argument1 points to a HUB_DEVICE_CONFIG_INFO structure to receive the device configuration information.

Input buffer length

The size of a HUB_DEVICE_CONFIG_INFO structure.

Output buffer

Parameters.Others.Argument1 points to a HUB_DEVICE_CONFIG_INFO structure containing the device configuration information.

Output buffer length

The size of a HUB_DEVICE_CONFIG_INFO structure.

Input/output buffer

Input/output buffer length

Status block

The hub or port driver sets Irp->IoStatus.Status to STATUS_SUCCESS or the appropriate error status.

Remarks

Upon successful completion, the HardwareIds, CompatibleIds, DeviceDescription USB_ID_STRING structures contained in the HUB_DEVICE_CONFIG_INFO structure points to string buffers allocated by the hub driver. The caller driver is responsible for releasing these buffers before the driver unloads.

See also

HUB_DEVICE_CONFIG_INFO

USB_ID_STRING