.
Used with DeviceIoControl and [USB_NODE_CONNECTION_DRIVERKEY_NAME] to get the "Driver Key Name" from a device on a USB Hub
5/15/2017 4:52:43 AM - -94.229.131.27
.
if (DeviceIoControl(h, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME, ptrDriverKey, nBytes, ptrDriverKey, nBytes, out nBytesReturned, IntPtr.Zero))
.
const int IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME = 0x220420;