C 言語関数:EvtSubscribe サンプルコード

サンプルコードを検索した結果です。


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
Googleで検索

https://www.google.co.jp/#q=EvtSubscribe