// usbioctl.h
typedef struct _USB_NODE_CONNECTION_DRIVERKEY_NAME {
ULONG ConnectionIndex;
ULONG ActualLength;
WCHAR DriverKeyName[1];
} USB_NODE_CONNECTION_DRIVERKEY_NAME, *PUSB_NODE_CONNECTION_DRIVERKEY_NAME;
View the official Windows Driver Kit DDI referenceNo description available.
The USB_NODE_CONNECTION_DRIVERKEY_NAME structure is used with the IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME I/O control request to retrieve the driver key name for the device that is connected to the indicated port.
ConnectionIndexOn input, the port number that the device is connected to.
ActualLengthOn output, the length of this structure, in bytes.
DriverKeyNameOn output, the driver key name for the device that is attached to the port that is indicated by ConnectionIndex. This name is represented as a Unicode string.