3.2.5.12 Processing RopReadStream

When the server receives a RopReadStream ROP request buffer ([MS-OXCROPS] section 2.2.9.2) from the client, the server parses the buffer. The server responds with a RopReadStream ROP response buffer. For details about how the server parses buffers and processes ROPs, see [MS-OXCROPS] section 3.2.5.1. For details about how the server formats buffers for the response, see [MS-OXCROPS] section 3.2.5.2.

The server MUST read less than or equal to the amount of data requested. If the ByteCount field of the ROP request buffer is set to 0xBABE, the number of bytes read MUST be less than or equal to the value of the MaximumByteCount field of the ROP request buffer; otherwise, the number of bytes read MUST be less than or equal to the value of the ByteCount field.

The server MUST read from the Stream object beginning at the current seek pointer. The seek pointer MUST be moved forward the same number of bytes as was read from the Stream object. In the case of a failure, the DataSize field SHOULD be set to zero.

Show: