4.1.1 Client Request Buffer

The client requests the server to register property IDs for two named properties it will create on a Message object.

A complete ROP request buffer is formatted as follows.

 0000: 56 00 00 02 02 00 01 02-20 06 00 00 00 00 00 c0
 0010: 00 00 00 00 00 00 46 14-54 00 65 00 73 00 74 00
 0020: 50 00 72 00 6f 00 70 00-31 00 00 00 01 02 20 06
 0030: 00 00 00 00 00 c0 00 00-00 00 00 00 46 14 54 00
 0040: 65 00 73 00 74 00 50 00-72 00 6f 00 70 00 32 00
 0050: 00 00

The first three bytes of the buffer refer to the RopId, LogonId, and InputHandleIndex fields of the RopGetPropertyIdsFromNames ROP ([MS-OXCROPS] section 2.2.8.1).

  
 0000: 56 00 00

RopId: 0x56 (RopGetPropertyIdsFromNames)

LogonId: 0x00

InputHandleIndex: 0x00

The next three bytes refer to the Flags and PropertyNameCount fields defined in section 2.2.12.1.

  
 0003: 02 02 00

Flags: 0x02. Create flag, indicating that server will create new property IDs for any named properties that do not already have an existing mapping.

PropertyNameCount: 0x0002. Two properties in the PropertyNames field follow.

The remaining bytes form the PropertyNames field. Each row in the PropertyNames field contains a PropertyName structure ([MS-OXCDATA] section 2.6).

  
 0006: 01 02-20 06 00 00 00 00 00 C0
 0010: 00 00 00 00 00 00 46 14-54 00 65 00 73 00 74 00
 0020: 50 00 72 00 6F 00 70 00-31 00 00 00 01 02 20 06
 0030: 00 00 00 00 00 C0 00 00-00 00 00 00 46 14 54 00
 0040: 65 00 73 00 74 00 50 00-72 00 6F 00 70 00 32 00
 0050: 00 00

Property 1:

Kind: 0x01 MNID_STRING

GUID: 00062002-0000-0000-C000-000000000046

NameSize: 0x14

Name: TestProp1

Property 2:

Kind: 0x01 MNID_STRING

GUID: 00062002-0000-0000-C000-000000000046

NameSize: 0x14

Name: TestProp2

Show: