Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 827 Bytes

CloseEventLog.md

File metadata and controls

42 lines (28 loc) · 827 Bytes

Home

Function name : CloseEventLog

Group: Event Logging - Library: advapi32


Closes a read handle to the specified event log.


Code examples:

Reading entries from Event logs

Declaration:

BOOL CloseEventLog(
 	HANDLE hEventLog
);  

FoxPro declaration:

DECLARE INTEGER CloseEventLog IN advapi32;
	INTEGER hEventLog
  

Parameters:

hEventLog [in, out] A handle to the event log to be closed. This handle is returned by the OpenEventLog or OpenBackupEventLog function.


Return value:

If the function succeeds, the return value is nonzero.