EngReadStateEvent function (winddi.h)

The EngReadStateEvent function returns the current state of the specified event object: signaled or nonsignaled.

Syntax

ENGAPI LONG EngReadStateEvent(
  [in] PEVENT pEvent
);

Parameters

[in] pEvent

Pointer to the event object returned by a previous call to EngCreateEvent or EngMapEvent.

Return value

EngReadStateEvent returns a nonzero value if the event object is currently set to the signaled state. If the event object is set to the nonsignaled state, this function returns zero.

Requirements

Requirement Value
Minimum supported client This function is available in Windows XP and later.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngCreateEvent

EngMapEvent