HrOpenFolderMetrics

The HrOpenFolderMetrics function prepares a folder for folder snapshot calculations.

Quick Info

Header file: STATS.H
Library: STATS.LIB

HRESULT HrOpenFolderMetrics(
  LPMAPIFOLDER lpFolder,  
  HFLDMTRC * phFolderMetric  
);
 

Parameters

lpFolder
Input parameter. Points to an IMAPIFolder interface containing the folder to be prepared.
phFolderMetric
Output parameter. Points to the handle to the calculations for the folder.

Return Values

See Return Values.

Remarks

HrOpenFolderMetrics is typically called at gateway startup.

For more information on this function, see Folder Snapshot Functions.

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

See Also

CloseFolderMetrics, HrGetFolderMetrics