---
name: "BackupEventLogA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/BackupEventLogA"
---

# BackupEventLogA(3w)

## NAME

**BackupEventLogA** (ADVAPI32.@)

## SYNOPSIS

BOOL BackupEventLogA\
  (\
   HANDLE *hEventLog*,\
   LPCSTR *lpBackupFileName*\
  )

## DESCRIPTION

Saves the event log to a backup file.

## PARAMS

*hEventLog* **\[In\]**  Handle to event log to backup.

*lpBackupFileName* **\[In\]**  Name of the backup file.

## RETURNS

**Success:** nonzero. File *lpBackupFileName* will contain the contents of hEvenLog.

**Failure:** zero.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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

Debug channel **"advapi"**.
