public static interface Winevt.EVT_SUBSCRIBE_FLAGS
Modifier and Type | Field and Description |
---|---|
static int |
EvtSubscribeOriginMask
A bitmask that you can use to determine which of the following flags is set:
EvtSubscribeToFutureEvents
EvtSubscribeStartAtOldestRecord
EvtSubscribeStartAfterBookmark
|
static int |
EvtSubscribeStartAfterBookmark
Subscribe to all existing and future events that match the query criteria that begin after the bookmarked
event.
|
static int |
EvtSubscribeStartAtOldestRecord
Subscribe to all existing and future events that match the query criteria.
|
static int |
EvtSubscribeStrict
Forces the
Wevtapi.EvtSubscribe(com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, java.lang.String, java.lang.String, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.Pointer, com.sun.jna.Callback, int) call to fail if you specify EvtSubscribeStartAfterBookmark and
the bookmarked event is not found (the return value is ERROR_NOT_FOUND). |
static int |
EvtSubscribeToFutureEvents
Subscribe to only future events that match the query criteria.
|
static int |
EvtSubscribeTolerateQueryErrors
Complete the subscription even if the part of the query generates an error (is not well formed).
|
static final int EvtSubscribeToFutureEvents
static final int EvtSubscribeStartAtOldestRecord
static final int EvtSubscribeStartAfterBookmark
Wevtapi.EvtSubscribe(com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, java.lang.String, java.lang.String, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.Pointer, com.sun.jna.Callback, int)
function fails if
the bookmarked event does not exist. If you do not include the EvtSubscribeStrict flag and the bookmarked
event does not exist, the subscription begins with the event that is after the event that is closest to
the bookmarked event.static final int EvtSubscribeOriginMask
static final int EvtSubscribeTolerateQueryErrors
Wevtapi.EvtSubscribe(com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, java.lang.String, java.lang.String, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.Pointer, com.sun.jna.Callback, int)
call fails.static final int EvtSubscribeStrict
Wevtapi.EvtSubscribe(com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, java.lang.String, java.lang.String, com.sun.jna.platform.win32.Winevt.EVT_HANDLE, com.sun.jna.Pointer, com.sun.jna.Callback, int)
call to fail if you specify EvtSubscribeStartAfterBookmark and
the bookmarked event is not found (the return value is ERROR_NOT_FOUND). Also, set this flag if you want to
receive notification in your callback when event records are missing.