MsgStoreFolderUtils Class Reference

class MsgStoreFolderUtils

Collection of folder management methods.

Member Functions Documentation

GetRootFoldersL(CMsgStoreMailBox &, TMsgStoreRootFolders &)

IMPORT_C voidGetRootFoldersL(CMsgStoreMailBox &aMailBox,
TMsgStoreRootFolders &aRootFolders
)[static]

Retrieve the root folder ids for the specified mailbox.

Parameters

CMsgStoreMailBox & aMailBox[in], mail box object.
TMsgStoreRootFolders & aRootFolders[out], ids of the root folders.

InitializeRootFoldersL(CMsgStoreMailBox &, TMsgStoreRootFolders &)

IMPORT_C voidInitializeRootFoldersL(CMsgStoreMailBox &aMailBox,
TMsgStoreRootFolders &aRootFolders
)[static]

Create folders for the types defined in the TMsgStoreFolderType enum and return the corresponding TMsgStoreIds in aFolderInfo. If a folder of a particular type already exists its id is returned instead.

Parameters

CMsgStoreMailBox & aMailBox[in], mail box object.
TMsgStoreRootFolders & aRootFolders[out], ids of the root folders.