#ifndef _PHNT_NTDEF_H
#ifndef _NTDEF_
// Synchronization enumerations
typedef enum _EVENT_TYPE
{
NotificationEvent,
SynchronizationEvent
} EVENT_TYPE;
View code on GitHub
There are two Event types in WinNT:
Known also as manual-reset event. Caller decide about state of event. You can use NtClearEvent
or NtResetEvent
to put Event Object into non-signaled state.
Known as auto-reset event. This type automatically change his state to non-signaled after releasing any (but only one) waiting thread.
To check what type of event do you have, use NtQueryEvent
.