BOOL CloseEventLog(hEventLog) | |||||
HANDLE hEventLog; | /* event-log handle (returned by OpenEventLog) | */ |
The CloseEventLog function closes the handle to an event log.
hEventLog
Specifies the event-log handle. This handle is returned by the OpenEventLog function.
If the function is successful, the return value is TRUE. The event log handle has been closed.
If the function fails, the return value is FALSE. Use the GetLastError function to obtain extended error information.
OpenEventLog