2.2.2.5.1 RopQueryRows ROP Request Buffer

The following descriptions define valid fields for the RopQueryRows ROP request buffer ([MS-OXCROPS] section 2.2.5.4.1).

QueryRowsFlags (1 byte): A structure that contains any of the following bit flags.

Flag name

Value

Meaning

Advance

0x00

Advance the table cursor.

NoAdvance

0x01

Do not advance the table cursor.

EnablePackedBuffers

0x02

Enable packed buffers for the response. To allow packed buffers to be used, this flag is used in conjunction with the Chain flag (0x00000004) that is passed in either the pulFlags parameter of the EcDoRpcExt2 method, as specified in [MS-OXCRPC] section 3.1.4.2, or the Flags field of the Execute request type request body,<9> as specified in [MS-OXCMAPIHTTP] section 2.2.4.2.1. For details about extended-buffer packing, see [MS-OXCRPC].

This flag is only supported against servers with a major version of at least eight (8), as described in section 1.7.

The QueryRowsFlags field MUST NOT have both the Advance and NoAdvance flags set simultaneously. The field MUST NOT have any of the other bits set.

ForwardRead (1 byte): The direction in which to retrieve rows. It is set to "TRUE" (0x01) to read the table forwards. It is set to "FALSE" (0x00) to read the table backwards. It MUST NOT be set to any other value.

RowCount (2 bytes): The maximum number of rows to be returned