// usbioctl.h
typedef struct _HUB_DEVICE_CONFIG_INFO_V1 {
ULONG Version;
ULONG Length;
USB_HUB_CAP_FLAGS HubFlags;
USB_ID_STRING HardwareIds;
USB_ID_STRING CompatibleIds;
USB_ID_STRING DeviceDescription;
ULONG Reserved[19];
USB_HUB_DEVICE_UXD_SETTINGS UxdSettings;
} HUB_DEVICE_CONFIG_INFO, *PHUB_DEVICE_CONFIG_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The HUB_DEVICE_CONFIG_INFO structure is used in conjunction with the kernel-mode IOCTL, IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO to request to report information about a USB device and the hub to which the device is attached.
VersionSpecifies the version number. Must be set to 1.
LengthSpecifies the size of the HUB_DEVICE_CONFIG_INFO structure. Must be set by the caller.
HubFlagsSpecifies the hub capabilities in a USB_HUB_CAP_FLAGS structure.
HardwareIdsThe PnP hardware ID multi-string for the USB device in a USB_ID_STRING structure.
CompatibleIdsPnP compatible ID multi-string for the USB device in a USB_ID_STRING structure.
DeviceDescriptionDescription of the device in a USB_ID_STRING structure. This may be set to NULL.
ReservedReserved.
UxdSettingsThe Buffer member of the USB_ID_STRING structure points to a string that contains HardwareIds, CompatibleIds, and DeviceDescription values. The caller is responsible for releasing this string buffer, which is allocated by the hub driver.
IOCTL_INTERNAL_USB_GET_DEVICE_CONFIG_INFO