ホーム › Devices.Usb › USBD_INTERFACE_INFORMATION
USBD_INTERFACE_INFORMATION
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 |
|---|---|---|---|---|
| Length | WORD | 2 | +0 | +0 |
| InterfaceNumber | BYTE | 1 | +2 | +2 |
| AlternateSetting | BYTE | 1 | +3 | +3 |
| Class | BYTE | 1 | +4 | +4 |
| SubClass | BYTE | 1 | +5 | +5 |
| Protocol | BYTE | 1 | +6 | +6 |
| Reserved | BYTE | 1 | +7 | +7 |
| InterfaceHandle | void* | 8/4 | +8 | +8 |
| NumberOfPipes | DWORD | 4 | +16 | +12 |
| Pipes | USBD_PIPE_INFORMATION | 24/20 | +24 | +16 |