4.2 Creating a Special Folder
Open the parent folder, in this case the Top of Personal Folders folder, as specified in the folder hierarchy in section 220.127.116.11, by using the Top of Personal Folders FID ([MS-OXCDATA] section 18.104.22.168) and the Folder Object Protocol, as described in [MS-OXCFOLD]. This operation returns a Folder object.
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.
Open the Inbox folder by using the Inbox folder FID and the Folder Object Protocol. This operation returns a Folder object.
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].
Set the value of the PidTagContainerClass property (section 2.2.8) on the new Calendar folder to the value "IPF.Appointment".