2.2.1.5.4 Device Write Response (DR_WRITE_RSP)

 A message with this header describes a response to a Device Write Request (section 2.2.1.4.4).


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)

...

...

Length

Padding (optional)

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) message that had the MajorFunction field set to IRP_MJ_WRITE.

Length (4 bytes):  A 32-bit unsigned integer that specifies the number of bytes written in response to the write request.

Padding (1 byte): An 8-bit unsigned integer intended to allow the client minor flexibility in determining the overall packet length. This field is unused and MUST be ignored.