Platform SDK: Exchange Server

HrMAPIOpenFolderEx

The HrMAPIOpenFolderEx function opens a folder in the information store from the hierarchical path name of the folder.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB
Unicode: Yes

HRESULT HrMAPIOpenFolderEx(
  LPMDB lpMdb,            
  TCHAR chSep,            
  LPTSTR lpszFolderPath,  
  LPMAPIFOLDER * lppFolder  
);
 

Parameters

lpMdb
Input parameter. Points to a MAPI IMsgStore interface containing an open information store.
chSep
Input parameter. Folder path separator character.
lpszFolderPath
Input parameter. Folder path.
lppFolder
Output parameter. Points to a MAPI IMAPIFolder interface containing the opened folder.

Return Values

See Return Values.

Remarks

Set lpMdb to NULL to open the root folder.

For more information on this function, see Opening an Existing Private or Personal Folder.

For information on the IMAPIFolder and IMsgStore interfaces, see the MAPI Programmer's Reference.

See Also

HrMAPIFindFolder, HrMAPIFindFolderEx