ClearEventLogA(3w)

NAME

ClearEventLogA (ADVAPI32.@)

SYNOPSIS

BOOL ClearEventLogA
 (
  HANDLE hEventLog,
  LPCSTR lpBackupFileName
 )

DESCRIPTION

Clears the event log and/or saves the log to a backup file.

PARAMS

hEvenLog [In] Handle to event log to clear.

lpBackupFileName [In] Name of the backup file.

RETURNS

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.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/eventlog.c".

Debug channel "advapi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout