2.2.2.3.6 Write Reply Message

A client responds to a Write Request message from the server with this message.


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

Header

Result

cbBytesWritten

Header (4 bytes):  A CLIENT_IO_HEADER reply header. The PacketType field MUST be set to RESPONSE_PACKET (0x00). The RequestId field MUST match the value in the RequestId field in the corresponding Write Request Message.

Result (4 bytes):  An HRESULT value that specifies the result of the write operation. There are no specific HRESULT values expected by this protocol because the value is returned by the client-side device when it completes the write request. The possible values will vary depending on the device.

cbBytesWritten (4 bytes):  A 32-bit unsigned integer. This field specifies the size, in bytes, of the data written on the client device.