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

# GetEventLogInformation(3w)

## NAME

**GetEventLogInformation** (ADVAPI32.@)

## SYNOPSIS

BOOL GetEventLogInformation\
  (\
   HANDLE  *hEventLog*,\
   DWORD   *dwInfoLevel*,\
   LPVOID  *lpBuffer*,\
   DWORD   *cbBufSize*,\
   LPDWORD *pcbBytesNeeded*\
  )

## DESCRIPTION

Retrieve some information about an event log.

## PARAMS

*hEventLog* **\[In\]**  Handle to an open event log.

*dwInfoLevel* **\[In\]**  Level of information (only **EVENTLOG\_FULL\_INFO**).

*lpBuffer* **\[In/Out\]**  The buffer for the returned information.

*cbBufSize* **\[In\]**  The size of the buffer.

*pcbBytesNeeded* **\[Out\]**  The needed bytes to hold the information.

## RETURNS

**Success:** **TRUE**. *lpBuffer* will hold the information and *pcbBytesNeeded* shows the needed buffer size.

**Failure:** **FALSE**.

## IMPLEMENTATION

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

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

Debug channel **"advapi"**.
