NtClearEvent - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

NTSYSCALLAPI
NTSTATUS
NTAPI
NtClearEvent(
    _In_ HANDLE EventHandle
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwClearEvent(
    _In_ HANDLE EventHandle
    );

#endif

View code on GitHub

EventHandle

HANDLE to Event Object opened with EVENT_MODIFY_STATE attribute.


There're no functional difference between NtClearEvent and NtResetEvent, but the first works faster (see NtResetEvent).

Documented by

See also