The IMsgStore::GetReceiveFolderTable method provides access to the receive folder table, a table that includes information about all of the receive folders for the message store.
HRESULT GetReceiveFolderTable(
ULONG ulFlags,
LPMAPITABLE FAR * lppTable
);
The IMsgStore::GetReceiveFolderTable method provides access to a table showing the property settings for all of the message store's receive folders.
For a list of required columns in a receive folder table, see Receive Folder Tables.
Implement your receive folder tables to support setting property restrictions on the PR_RECORD_KEY property, allowing easy access to particular receive folders.
Setting the MAPI_UNICODE flag in the ulFlags parameter affects the format of the columns returned from the following IMAPITable methods:
This flag also controls the property types in the sort order returned by the IMAPITable::QuerySortOrder method.
IMAPITable::QueryColumns, IMAPITable::QueryRows, IMAPITable::QuerySortOrder, IMAPITable::SetColumns