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

# GetOldestEventLogRecord(3w)

## NAME

**GetOldestEventLogRecord** (ADVAPI32.@)

## SYNOPSIS

BOOL GetOldestEventLogRecord\
  (\
   HANDLE *hEventLog*,\
   PDWORD *OldestRecord*\
  )

## DESCRIPTION

Retrieves the absolute record number of the oldest record in an even log.

## PARAMS

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

*OldestRecord* **\[Out\]**  Absolute record number of the oldest record.

## RETURNS

**Success:** nonzero. *OldestRecord* contains the record number of the oldest record in the log.

**Failure:** zero

## IMPLEMENTATION

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

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

Debug channel **"advapi"**.
