Platform SDK: Exchange Server

HrEventOpenLog

The HrEventOpenLog function initializes event logging for a Microsoft Exchange Server application.

Quick Info

Header file: EDKEVENT.H
Library: EDKEVENT.LIB

HRESULT HrEventOpenLog(
  LPTSTR pszApplicationName,   
  LPTSTR pszExecutableName,    
  LPTSTR pszEventMessageFile,  
  LPTSTR pszParameterMessageFile,  
  LPTSTR pszCategoryMessageFile,  
  LPHANDLE phEventSourceOut    
);
 

Parameters

pszApplicationName
Input parameter. Points to the name of this application.
pszExecutableName
Input parameter. Points to the name of the executable file.
pszEventMessageFile
Input parameter. Points to the name of the event message file.
pszParameterMessageFile
Input parameter. Points to the name of the parameter message file.
pszCategoryMessageFile
Input parameter. Points to the name of the category message file.
phEventSourceOut
Output parameter. Points to an event logging handle.

Return Values

See Return Values.

Remarks

Use the HrEventCloseLog function to shut down event logging for the Microsoft Exchange Server application.

See Also

HrCfgPackData, HrCfgUnpackData