2.2.9.12 TS_URB_CONTROL_VENDOR_OR_CLASS_REQUEST

This packet represents the URB structure URB_CONTROL_VENDOR_OR_CLASS_REQUEST, as specified in [MSFT-W2KDDK] Volume 2, Part 4, Chapter 3. If the TransferFlags field in URB_CONTROL_VENDOR_OR_CLASS_REQUEST contains the USBD_TRANSFER_DIRECTION_IN flag, the packet is sent using the TRANSFER_IN_REQUEST message with the OutputBufferSize field set to TransferBufferLength as defined in URB_CONTROL_VENDOR_OR_CLASS_REQUEST; otherwise, the packet is sent using the TRANSFER_OUT_REQUEST message with the OutputBufferSize field set to TransferBufferLength and the OutputBuffer field set to the data in TransferBuffer or TransferBufferMDL as defined in URB_CONTROL_VENDOR_OR_CLASS_REQUEST.


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

TS_URB_HEADER

...

TransferFlags

RequestTypeReservedBits

Request

Value

Index

Padding

TS_URB_HEADER (8 bytes): A TS_URB_HEADER as specified in section 2.2.9.1.1.

TransferFlags (4 bytes): A 32-bit unsigned integer. This value is from the TransferFlags field in URB_CONTROL_VENDOR_OR_CLASS_REQUEST.

RequestTypeReservedBits (1 byte): An 8-bit unsigned integer. This value is from the RequestTypeReservedBits field in URB_CONTROL_VENDOR_OR_CLASS_REQUEST.

Request (1 byte): An 8-bit unsigned integer. If the operating system (OS) descriptor request has been successfully retrieved the Request field is set to the value, see section 3.3.5.3.9 Processing an OS descriptor request on how to retrieve an OS descriptor. Otherwise this value contains the value from the Request field in URB_CONTROL_VENDOR_OR_CLASS_REQUEST.

Value (2 bytes): A 16-bit unsigned integer. This value is from the Value field in URB_CONTROL_VENDOR_OR_CLASS_REQUEST.

Index (2 bytes): A 16-bit unsigned integer. This value is from the Index field in URB_CONTROL_VENDOR_OR_CLASS_REQUEST.

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