ClearEventLogA (ADVAPI32.@)
BOOL ClearEventLogA ( HANDLE hEventLog, LPCSTR lpBackupFileName )
Clears the event log and optionally saves the log to a backup file.
hEvenLog | [In] | Handle to event log to clear. |
lpBackupFileName | [In] | Name of the backup file. |
Success: nonzero. if lpBackupFileName != NULL, lpBackupFileName will contain the contents of hEvenLog and the log will be cleared.
Failure: zero. Fails if the event log is empty or if lpBackupFileName exists.
Declared in "include/winbase.h". gitlab.winehq.org/wine/wine/blob/master/include/winbase.h
Implemented in "dlls/advapi32/eventlog.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/eventlog.c
Debug channel "advapi".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.