Win32 API 日本語リファレンス
ホームDevices.Usb › USB_DEVICE_INFO

USB_DEVICE_INFO

構造体
サイズx64: 1078 バイト / x86: 1078 バイトパッキング1

サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。

フィールド

フィールドサイズx64x86
DeviceStateUSB_DEVICE_STATE4+0+0
PortNumberWORD2+4+4
DeviceDescriptorUSB_DEVICE_DESCRIPTOR18+6+6
CurrentConfigurationValueBYTE1+24+24
SpeedUSB_DEVICE_SPEED4+25+25
DeviceAddressWORD2+29+29
ConnectionIndexDWORD4+31+31
ConnectionStatusUSB_CONNECTION_STATUS4+35+35
PnpHardwareIdWCHAR256+39+39
PnpCompatibleIdWCHAR256+295+295
SerialNumberIdWCHAR256+551+551
PnpDeviceDescriptionWCHAR256+807+807
NumberOfOpenPipesDWORD4+1063+1063
PipeListUSB_PIPE_INFO11+1067+1067