HrEventGetHandle

The HrEventGetHandle function obtains an event handle for the current executable file.

Quick Info

Header file: EDKEVENT.H
Library: EDKEVENT.LIB

HRESULT HrEventGetHandle(
  HANDLE phEventLog  
);
 

Parameters

phEventLog
Input parameter. Points to the handle of the Windows NT application event log.

Return Values

See Return Values.

Remarks

The event handle returned will be NULL if there is no open event log. DLLs may not call the HrEventGetHandle function to retrieve the event handle which their parent executable set. If the parent executable sets an event handle, then it must pass the event handle to the DLL.

See Also

HrMAPIGetPropBinary, HrMAPIGetPropBoolean, HrMAPIGetPropString, HrMAPIGetPropSystime