// usbioctl.h
typedef struct _USB_NODE_CONNECTION_NAME {
ULONG ConnectionIndex;
ULONG ActualLength;
WCHAR NodeName[1];
} USB_NODE_CONNECTION_NAME, *PUSB_NODE_CONNECTION_NAME;
View the official Windows Driver Kit DDI referenceNo description available.
The USB_NODE_CONNECTION_NAME structure is used with the IOCTL_USB_GET_NODE_CONNECTION_NAME I/O control request to retrieve the symbolic link of the downstream hub that is attached to the port.
ConnectionIndexA value that is greater than or equal to 1 that specifies the number of the port to which the hub is attached.
ActualLengthThe length, in bytes, of the attached hub's symbolic link.
NodeNameA Unicode symbolic link for the downstream hub that is attached to the port that is indicated by ConnectionIndex. If there is no attached device, the attached device does not have a symbolic link, or if the device is not a hub, NodeName[0] will contain a value of UNICODE_NULL.
IOCTL_USB_GET_NODE_CONNECTION_NAME