Reference

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".

History