The HrEventGetHandle function obtains an event handle for the current executable file.
Header file: | EDKEVENT.H |
Library: | EDKEVENT.LIB |
HRESULT HrEventGetHandle(
HANDLE phEventLog
);
See Return Values.
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.
HrMAPIGetPropBinary, HrMAPIGetPropBoolean, HrMAPIGetPropString, HrMAPIGetPropSystime