4.4.1 Group Header
Ryan Gregg creates a new group header named "My Work Calendars" to group his shortcuts in his e-mail client application.
The client sends a RopCreateMessage ROP request ([MS-OXCROPS] section 2.2.6.2) that has a value for the FolderId field set to the ID of the Common Views folder and the Associated flag set to 1 and then waits for the server to respond. The server response contains a handle to the Message object.
The client uses the Session ID 0x12345678 (generated at random on initialization) and generates a GUID for this shortcut: 5BA943D8DAAA462CA63E9136F65C8681.
The client then sends a RopSetProperties ROP request ([MS-OXCROPS] section 2.2.8.6) to set the following properties. The property data types are all defined in ([MS-OXCDATA] section 2.11.1).
Property name |
PropertyID |
Property type |
Value |
---|---|---|---|
PidTagMessageClass ([MS-OXCMSG] section 2.2.1.3) |
0x001A |
0x001F (PtypString) |
"IPM.Microsoft.WunderBar.Link" |
PidTagNormalizedSubject (section 2.2.9.2) |
0x0E1D |
0x001F (PtypString) |
"My Work Calendars" |
PidTagWlinkGroupHeaderID (section 2.2.9.3) |
0x6842 |
0x0048 (PtypGuid) |
5BA943D8DAAA462C A63E9136F65C8681 |
PidTagWlinkSaveStamp (section 2.2.9.4) |
0x6847 |
0x0003 (PtypInteger32) |
0x12345678 |
PidTagWlinkType (section 2.2.9.5) |
0x6849 |
0x0003 (PtypInteger32) |
0x00000004 |
PidTagWlinkFlags (section 2.2.9.6) |
0x684A |
0x0003 (PtypInteger32) |
0x00000000 |
PidTagWlinkOrdinal (section 2.2.9.7) |
0x684B |
0x0102 (PtypBinary) |
0x80 |
PidTagWlinkFolderType (section 2.2.9.11) |
0x684F |
0x0048 (PtypGuid) |
0278060000000000 C000000000000046 |
PidTagWlinkSection (section 2.2.9.14) |
0x6852 |
0x0003 (PtypInteger32) |
0x00000003 |
The client then sends a RopSaveChangesMessage ROP request ([MS-OXCROPS] section 2.2.6.3) to persist the object on the server, and a RopRelease ROP request ([MS-OXCROPS] section 2.2.15.3) to release the object.