4.1.2 Server Response Buffer

The server registers two named properties on the Message object and sends a response to the client.

A complete ROP response buffer is formatted as follows.

 0000: 56 00 00 00 00 00 02 00-3E 86 3F 86

The first six bytes of the response buffer contain the RopId, InputHandleIndex, and ReturnValue fields, as described in [MS-OXCROPS] section 2.2.

  
 0000: 56 00 00 00 00 00

RopId: 0x56 (RopGetPropertyIdsFromNames ([MS-OXCROPS] section 2.2.8.1))

InputHandleIndex: 0x00

ReturnValue: 0x00000000 (Success)

The next two bytes specify the number of property IDs that are packed in the buffer as described in section 2.2.12.2.

PropertyIdCount: 0x0002 (2 properties in the PropertyIds field)

The remaining bytes are for the PropertyIds field, where each entry in the array is four-byte property ID as described in section 2.2.12.2.

  
 0009: 3E 86 3F 86

property ID: 0x863E

property ID: 0x863F