ClearEventLogA(3w)

ClearEventLogA3w

Usage

BOOL ClearEventLogA
(
HANDLE hEventLog,
LPCSTR lpBackupFileName
)

Overview

Clears the event log and optionally 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

Declared in "winbase.h".

Implemented in "dlls/advapi32/eventlog.c".

Debug channel "advapi".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.