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

# OpenEventLogA(3w)

## NAME

**OpenEventLogA** (ADVAPI32.@)

## SYNOPSIS

HANDLE OpenEventLogA\
  (\
   LPCSTR *uncname*,\
   LPCSTR *source*\
  )

## DESCRIPTION

Opens a handle to the specified event log.

## PARAMS

lpUNCServerName **\[In\]**  **UNC** name of the server on which the event log is opened.

lpSourceName **\[In\]**  Name of the log.

## RETURNS

**Success:** Handle to an event log.

**Failure:** **NULL**

## IMPLEMENTATION

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

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

Debug channel **"advapi"**.
