PyEVT_HANDLE = EvtSubscribe(ChannelPath, Flags , SignalEvent , Callback , Context , Query , Session , Bookmark )
Requests notification for events
CommentsAccepts keyword args
The method used to receive events is determined by the parameters passed in. To create a push subscription, define a callback function that will be called with each event. The function will receive 3 args: First is an integer specifying why the function was called (EvtSubscribeActionError or EvtSubscribeActionDeliver) Second is the context object passed to EvtSubscribe. Third is the handle to an event log record (if not called due to an error) If an event handle is passed in, a pull subscription is created. The event handle will be signalled when events are available, and the subscription handle can be passed to win32evtlog::EvtNext to obtain the events.