Platform SDK: Exchange Server

HrMAPIOpenSubfolderEx

The HrMAPIOpenSubfolderEx function opens a subfolder in the store from the hierarchical path name of the folder.

Quick Info

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

HRESULT HrMAPIOpenSubfolderEx(
  LPMAPIFOLDER lpRootFolder,  
  TCHAR chSep,            
  LPTSTR lpszFolderPath,  
  LPMAPIFOLDER * lppFolder  
);
 

Parameters

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

Return Values

See Return Values.

Remarks

Set lpRootFolder to NULL to open the root folder.

For information on the IMAPIFolder interface, see the MAPI Programmer's Reference.

See Also

HrMAPIFindSubfolderEx, HrMAPIOpenFolderEx