Export (0) Print
Expand All

4.2 Setting a Reminder on a Message Object

John, who is currently working in the Pacific Standard time zone, has an existing message titled "Important Project Information" that was previously flagged for follow-up by February 14, 2008.

Some of the properties of the Message object are as follows.

Property

Property ID

Property type

Data

Value

PidTagNormalizedSubject ([MS-OXCMSG] section 2.2.1.10)

0x0E1D

PtypString ([MS-OXCDATA] section 2.11.1)

49 00 6D 00 70 00 6F 00 72 00 74 00 61 00 6E 00 74 00 20 00 50 00 72 00 6F 00 6A 00 65 00 63 00 74 00 20 00 49 00 6E 00 66 00 6F 00 72 00 6D 00 61 00 74 00 69 00 6F 00 6E 00 00 00

"Important Project Information"

PidLidTaskStartDate ([MS-OXOTASK] section 2.2.2.2.4)

0x8143

PtypTime ([MS-OXCDATA] section 2.11.1)

00 C0 A3 8A 9C 6E C8 01

2008/02/14 00:00:00.000

PidLidTaskDueDate ([MS-OXOTASK] section 2.2.2.2.5)

0x8144

PtypTime

00 C0 A3 8A 9C 6E C8 01

2008/02/14 00:00:00.000

PidLidReminderSet (section 2.2.1.1)

0x8004

PtypBoolean ([MS-OXCDATA] section 2.11.1)

00

FALSE

PidLidReminderTime (section 2.2.1.4)

0x8005

PtypTime

Deleted

N/A

PidLidReminderSignalTime (section 2.2.1.2)

0x8006

PtypTime

Deleted

N/A

To ensure that the message is not forgotten, John sets a reminder for 6:00 P.M. In response to the user-entered data, the client sends a RopOpenMessageROP request ([MS-OXCROPS] section 2.2.6.1) and waits for the server to respond. The server response contains a handle to the Message object.

The client then sends a RopSetProperties ROP request ([MS-OXCROPS] section 2.2.8.6) with the following properties.

Property

Property ID

Property type

Data

Value

PidLidReminderTime

0x8005

PtypTime

00 50 96 78 76 6f c8 01

2008/02/15 02:00:00.000

PidLidReminderSignalTime

0x8006

PtypTime

00 50 96 78 76 6f c8 01

2008/02/15 02:00:00.000

PidLidReminderSet (section 2.2.1.1)

0x8004

PtypBoolean

01

TRUE

PidTagReplyTime ([MS-OXOFLAG] section 2.2.3.1)

0x0030

PtypTime

00 50 96 78 76 6f c8 01

2008/02/15 02:00:00.000

PidTagReplyRequested ([MS-OXOMSG] section 2.2.1.45)

0x0C17

PtypBoolean

01

TRUE

PidTagResponseRequested ([MS-OXOMSG] section 2.2.1.46)

0x0063

PtypBoolean

01

TRUE

PidTagFlagStatus ([MS-OXOFLAG] section 2.2.1.1)

0x1090

PtypInteger32 ([MS-OXCDATA] section 2.11.1)

02 00 00 00

0x00000002

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

Property

Property ID

Property type

PidTagFlagCompleteTime ([MS-OXOFLAG] section 2.2.1.3)

0x1091

PtypTime

Finally, the client persists the Message object on the server by sending a RopSaveChangesMessage ROP request ([MS-OXCROPS] section 2.2.6.3) and releases the Message object by sending a RopRelease ROP request ([MS-OXCROPS] section 2.2.15.3).

Show:
© 2014 Microsoft