2.2.10.1.2 TS_USBD_INTERFACE_INFORMATION_RESULT

The TS_USBD_INTERFACE_INFORMATION_RESULT structure is based on the USBD_INTERFACE_INFORMATION structure as described in [MSFT-W2KDDK], Volume 2, Part 4, Chapter 3.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Length

InterfaceNumber

AlternateSetting

Class

SubClass

Protocol

Padding

InterfaceHandle

NumberOfPipes

Pipes (variable)

...

Length (2 bytes): A 16-bit unsigned integer. The size, in bytes, of the TS_USBD_INTERFACE_INFORMATION_RESULT structure.

InterfaceNumber (1 byte): A 8-bit unsigned integer. This value represents the InterfaceNumber field in USBD_INTERFACE_INFORMATION.

AlternateSetting (1 byte): A 8-bit unsigned integer. This value represents the AlternateSetting field in USBD_INTERFACE_INFORMATION.

Class (1 byte): A 8-bit unsigned integer. This value represents the Class field in USBD_INTERFACE_INFORMATION.

SubClass (1 byte): A 8-bit unsigned integer. This value represents the SubClass field in USBD_INTERFACE_INFORMATION.

Protocol (1 byte): A 8-bit unsigned integer. This value represents the Protocol field in USBD_INTERFACE_INFORMATION.

Padding (1 byte): A 8-bit unsigned integer for padding. This field can be set to any value and MUST be ignored upon receipt.

InterfaceHandle (4 bytes): A 32-bit unsigned integer. This value represents the InterfaceHandle field in USBD_INTERFACE_INFORMATION.

NumberOfPipes (4 bytes): A 32-bit unsigned integer. This value represents the NumberOfPipes field in USBD_INTERFACE_INFORMATION. It also indicates the number of Pipes array elements that are to follow.

Pipes (variable): An array of TS_USBD_PIPE_INFORMATION_RESULT structures. The number of array elements is determined by the NumberOfPipes field.