3.1.3 Initialization
For this protocol, there is no specific initialization, because all messages use the existing connection assumed in section 1.5.
To display the list of existing search folders to the user at start-up, the client does the following:
Return the FAI messages that are in the Common Views folder of the message store. Each Message object with the PidTagMessageClass property ([MS-OXCMSG] section 2.2.1.3) set to "IPM.Microsoft.Wunderbar.SFInfo" is a search folder definition message.
Load the Folder objects that are in the Finder folder, as defined in [MS-OXOSFLD] section 2.2.1. Each folder with the PidTagFolderType property ([MS-OXCFOLD] section 2.2.2.2.2.7) set to FOLDER_SEARCH (0x00000002) and PidTagContainerClass ([MS-OXPROPS] section 2.643) set to "IPF.Note" is a search folder container.
Examine the PidTagExtendedFolderFlags property (section 2.2.2.1.2) of each search folder container. If the GUID of the search folder container matches the value of the PidTagSearchFolderId property (section 2.2.1.2.1) of the search folder definition message, that Folder object is associated with that search folder definition message.
Delete any search folder container that does not have a corresponding search folder definition message.