Reference

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