C language function:EvtSubscribe sample codes

Search sample code in the internet.It is the result.


TITLE : scalyr-agent-2/windows_event_log_monitor.py at master scalyr/scalyr-agent-2 GitHub
self.__eventHandles.append( win32evtlog.EvtSubscribe( channel, flags, Bookmark=bookmark, Query=query, Callback=event_callback, Context=self ) ).......
http://github.com/scalyr/scalyr-agent-2/blob/master/scalyr_agent/builtin_monitors/windows_event_log_monitor.py


TITLE : Subscribing to Events (Windows)
EVT_HANDLE WINAPI EvtSubscribe(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa385487.aspx
TITLE : Subscribing to Events (Windows)
hSubscription = EvtSubscribe(NULL, NULL, pwsPath, pwsQuery, NULL, NULL,.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa385771(v=vs.85).aspx
TITLE : Subscribing to Events (Windows)
hSubscription = EvtSubscribe(NULL, aWaitHandles[1], pwsPath, pwsQuery, NULL, NULL, NULL, EvtSubscribeStartAtOldestRecord);.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa385771(v=vs.85).aspx
search Google

https://www.google.com/#q=EvtSubscribe