3.2.5.1.4 Processing a Server Read Request Message

The DeviceId and FileId fields of DR_DEVICE_IOREQUEST (as specified in [MS-RDPEFS] section 2.2.1.4) identify the previously opened instance of the port to operate on.

The Length and Offset fields of DR_READ_REQ (as specified in [MS-RDPEFS] section 2.2.1.4.3) identify the length and offset values requested by the server for this operation.

If the Offset field is not set to 0, the value MUST be ignored.

The client MUST perform the read operation on the instance of the port accordingly. After the read operation is complete, the client MUST send a read response message (section 3.2.5.1.9) to let the server know about the result of the operation.

The semantics of read requests are determined by the client-side driver. The protocol allows partial read results. The result of the read operations, including the data read, is passed to the server and is considered opaque to the protocol.