The NotifyChangeEventLog function lets an application receive notification when an event is written to the event log file specified by the hEventLog parameter. When the event is written to the event log file, the function causes the event object specified by the hEvent parameter to become signaled.
BOOL NotifyChangeEventLog(
HANDLE hEventLog, |
// handle to an event log |
HANDLE hEvent |
// handle to a Win32 event |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The NotifyChangeEventLog function does not work with remote handles. If hEventLog is the handle of an event log on a remote computer, the NotifiyChangeEventLog function returns FALSE, and GetLastError returns ERROR_INVALID_HANDLE.
file: /Techref/os/win/api/win32/func/src/f64_17.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/12 20:34,
3.137.190.200:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/os/win/api/win32/func/src/f64_17.htm"> NotifyChangeEventLog</A> |
Did you find what you needed? |