Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

4.2 Creating a Special Folder

Using the Calendar folder as an example, creating a special folder involves the following procedure:

  1. Open the parent folder, in this case the Top of Personal Folders folder, as specified in the folder hierarchy in section, by using the Top of Personal Folders FID ([MS-OXCDATA] section and the Folder Object Protocol, as described in [MS-OXCFOLD]. This operation returns a Folder object.

  2. Create a new folder in the opened parent folder by using the Folder Object Protocol with the name "calendar" in English locales, reusing the existing folder if one already exists by that name. The entry ID of the newly created folder will be used in the following steps.

  3. Open the Inbox folder by using the Inbox folder FID and the Folder Object Protocol. This operation returns a Folder object.

  4. Set the value of the PidTagIpmAppointmentEntryId property (section 2.2.3) on the Inbox Folder object returned in step 3 to the entry ID value of the folder created in step 2, by using the Property and Stream Object Protocol, as specified in [MS-OXCPRPT].

  5. Set the value of the PidTagContainerClass property (section 2.2.8) on the new Calendar folder to the value "IPF.Appointment".

© 2015 Microsoft