WinUsb_QueryDeviceInformation (winusb)
Last changed: -109.42.113.148

.
Summary
TODO - a short description

C# Signature:

[DllImport("winusb.dll", SetLastError=true)]
static extern Boolean WinUsb_QueryDeviceInformation(
     SafeFileHandle InterfaceHandle,
     UInt32 InformationType,
     ref UInt32 BufferLength,
     byte[] Buffer);

VB Signature:

Declare Function WinUsb_QueryDeviceInformation Lib "winusb.dll" (TODO) As TODO

User-Defined Types:

const ULONG DEVICE_SPEED = 1;

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

UInt32 bufferLength = 100;
byte[] buffer = new byte[bufferLength];
var success = WinUsb_QueryDeviceInformation(_winUsbHandle, DEVICE_SPEED, ref bufferLength, buffer);

Documentation