NtOpenKeyedEvent - NtDoc

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

/**
 * The NtOpenKeyedEvent routine opens a handle to an existing keyed event object.
 *
 * \param KeyedEventHandle A pointer to a variable that receives the handle to the keyed event object.
 * \param DesiredAccess The access mask that specifies the requested access to the keyed event object.
 * \param ObjectAttributes A pointer to an OBJECT_ATTRIBUTES structure that specifies the object attributes.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSCALLAPI
NTSTATUS
NTAPI
NtOpenKeyedEvent(
    _Out_ PHANDLE KeyedEventHandle,
    _In_ ACCESS_MASK DesiredAccess,
    _In_ PCOBJECT_ATTRIBUTES ObjectAttributes
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwOpenKeyedEvent(
    _Out_ PHANDLE KeyedEventHandle,
    _In_ ACCESS_MASK DesiredAccess,
    _In_ PCOBJECT_ATTRIBUTES ObjectAttributes
    );

#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

Function NtOpenKeyedEvent is used for open previously created KeyedEvent with associated name.

KeyedEventHandle

Result of call - HANDLE to opened KeyedEvent object.

DesiredAccess

Access to object, the same values as for Event object.

ObjectAttributes

Name of KeyedEvent to open.

Documented by

See also