.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH ClearEventLogA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBClearEventLogA\fR (ADVAPI32.@) .SH SYNOPSIS BOOL ClearEventLogA ( HANDLE \fIhEventLog\fR, LPCSTR \fIlpBackupFileName\fR ) .SH DESCRIPTION .PP Clears the event log and optionally saves the log to a backup file. .SH PARAMS hEvenLog \fB[In]\fR Handle to event log to clear. .PP \fIlpBackupFileName\fR \fB[In]\fR Name of the backup file. .PP .SH RETURNS .PP \fBSuccess:\fR nonzero. if \fIlpBackupFileName\fR != \fBNULL\fR, \fIlpBackupFileName\fR will contain the contents of hEvenLog and the log will be cleared. .PP \fBFailure:\fR zero. Fails if the event log is empty or if \fIlpBackupFileName\fR exists. .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/advapi32/eventlog.c"\fR. .PP Debug channel \fB"advapi"\fR.