2.2.1.5.5 Device Control Response (DR_CONTROL_RSP)

 A message with this header describes a response to a Device Control Request (section 2.2.1.4.5).


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

DeviceIoReply (16 bytes)

...

...

OutputBufferLength

OutputBuffer (variable)

...

DeviceIoReply (16 bytes):  A DR_DEVICE_IOCOMPLETION header. The CompletionId field of this header MUST match a Device I/O Request (section 2.2.1.4) that had the MajorFunction field set to IRP_MJ_DEVICE_CONTROL.

OutputBufferLength (4 bytes):  A 32-bit unsigned integer that specifies the number of bytes in the OutputBuffer field.

OutputBuffer (variable):  A variable-length array of bytes whose size is specified by the OutputBufferLength field.