Bewerken

Delen via


IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO IOCTL (usbioctl.h)

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.

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.

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.

Requirements

Requirement Value
Minimum supported client Windows Vista and later operating systems.
Header usbioctl.h (include Usbioctl.h)

See also

HUB_DEVICE_CONFIG_INFO

USB_ID_STRING