3.2.5.2 Creating a ROP Output Buffer

The format of the ROP output buffer is specified in section 2.2.1.

The server constructs the ROP output buffer after processing the ROP input buffer. The ROP output buffer includes a list of ROP responses and a modified Server object handle table. The ROP responses in the ROP output buffer MUST be in the same order in which they were processed.

The Server object handle table MUST be large enough to contain an entry for the highest Server object handle table index specified in the ROP responses. The table can be a smaller size compared to the table in the ROP input buffer if entries at the end of the table were not referenced. The server MUST preserve the order of entries in the Server object handle table between the ROP input buffer and the ROP output buffer.