ReadEventLogA (ADVAPI32.@)
BOOL ReadEventLogA ( HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD* pnBytesRead, DWORD* pnMinNumberOfBytesNeeded )
Reads a whole number of entries from an event log.
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. |
Success: nonzero
Failure: zero
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 Dec 2024.