win32evtlog.EvtNext

(PyEVT_HANDLE,...) = EvtNext(ResultSet, Count , Timeout , Flags )

Returns events from a query

Parameters

ResultSet : PyEVT_HANDLE

Handle to event query or subscription

Count : int

Number of events to return

Timeout=-1 : int

Time to wait in milliseconds, use -1 for infinite

Flags=0 : int

Reserved, use only 0

Comments

Accepts keyword args

Return Value

Returns a tuple of handles to events. If no items are available, returns an empty tuple instead of raising an exception.