4.3 Completed Object

Kendall Keil is now finished with the work item associated with the message in the example given in section 4.2. The following is a description of what a client might do to accomplish Kendall's intentions and the responses a server might return.

As before, the client first retrieves a handle to the Message object by sending a RopOpenMessage ROP request ([MS-OXCROPS] section 2.2.6.1).

To set the properties for the complete flag, the client sends a RopSetProperties ROP request ([MS-OXCROPS] section 2.2.8.6) with the values that are specified in the following table.

Property

Property ID

Property type

Value

PidTagFlagStatus (section 2.2.1.1)

0x1090

0x0003 (PtypInteger32 ([MS-OXCDATA] section 2.11.1))

0x00000001

PidTagFlagCompleteTime (section 2.2.1.3)

0x1091

0x0040 (PtypTime ([MS-OXCDATA] section 2.11.1))

2008/02/11 22:23:00.000

PidTagReplyRequested (section 2.2.1.4)

0x0C17

0x000B

0x00 (FALSE)

PidTagResponseRequested (section 2.2.1.5)

0x0063

0x000B

0x00 (FALSE)

PidLidTaskDateCompleted ([MS-OXOTASK] section 2.2.2.2.9)

0x8149

0x0040

2008/02/11 08:00:00.000

PidLidTaskComplete (section 2.2.2.2)

0x8148

0x000B

0x01 (TRUE)

PidLidTaskStatus (section 2.2.2.1)

0x8145

0x0003

0x00000002

PidLidPercentComplete (section 2.2.2.3)

0x8146

0x0005 (PtypFloating64 ([MS-OXCDATA] section 2.11.1))

1.0

PidLidReminderSet ([MS-OXORMDR] section 2.2.1.1)

0x8004

0x000B

0x00 (FALSE)

To delete the following property, the client sends a RopDeletePropertiesNoReplicate ROP request ([MS-OXCROPS] section 2.2.8.9).

Property

Property ID

Property type

PidTagFollowupIcon (section 2.2.1.2)

0x1095

0x0003

Finally, to persist the Message object on the server, the client sends a RopSaveChangesMessage ROP request ([MS-OXCROPS] section 2.2.6.3) followed by a RopRelease ROP request ([MS-OXCROPS] section 2.2.15.3) to release the object.