NAME

ReadEventLogA  (ADVAPI32.@)

SYNOPSIS

 BOOL ReadEventLogA
 (
  HANDLE hEventLog,
  DWORD  dwReadFlags,
  DWORD  dwRecordOffset,
  LPVOID lpBuffer,
  DWORD  nNumberOfBytesToRead,
  DWORD* pnBytesRead,
  DWORD* pnMinNumberOfBytesNeeded
 )

DESCRIPTION

Reads a whole number of entries from an event log.

PARAMS

hEventLog [In] Handle of the event log to read.
dwReadFlags [In] see MSDN doc.
dwRecordOffset [In] Log-entry record number to start at.
lpBuffer [Out] Buffer for the data read.
nNumberOfBytesToRead [In] Size of lpBuffer.
pnBytesRead [Out] Receives number of bytes read.
pnMinNumberOfBytesNeeded [Out] Receives number of bytes required for the next log entry.

RETURNS

Success: nonzero

Failure: zero

IMPLEMENTATION

Declared in "include/winbase.h". gitlab.winehq.org/wine/wine/blob/master/include/winbase.h

Implemented in "dlls/advapi32/eventlog.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/eventlog.c

Debug channel "advapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.