USB_HCD_DRIVERKEY_NAME (Structures)
Last changed: egray1@hot.rr.com-24.26.210.211

.
Summary
Used with DeviceIoControl and IOCTL_GET_HCD_DRIVERKEY_NAME to get the "DriverKeyName" of a USB Root hub

C# Definition:

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
struct USB_HCD_DRIVERKEY_NAME
{
   public int ActualLength;
   [MarshalAs(UnmanagedType.ByValTStr, SizeConst = BUFFER_SIZE)]
   public string DriverKeyName;
}

VB Definition:

Structure USB_HCD_DRIVERKEY_NAME
   Public TODO
End Structure

User-Defined Field Types:

None.

Notes:

typedef struct _USB_HCD_DRIVERKEY_NAME {
   ULONG ActualLength;
   WCHAR DriverKeyName[1];
} USB_HCD_DRIVERKEY_NAME, *PUSB_HCD_DRIVERKEY_NAME;

Documentation