#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtClearEvent(
_In_ HANDLE EventHandle
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwClearEvent(
_In_ HANDLE EventHandle
);
View code on GitHubHANDLE 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).