EngSetEvent function (winddi.h)

The EngSetEvent function sets the specified event object to the signaled state, and returns the event object's previous state.

Syntax

ENGAPI LONG EngSetEvent(
  [in] PEVENT pEvent
);

Parameters

[in] pEvent

Pointer to the event object that is to be set to the signaled state. This event object was returned by a previous call to EngCreateEvent or EngMapEvent.

Return value

EngSetEvent returns a nonzero value if the event object's previous state was signaled.

Remarks

Every event object is in either the signaled state or the nonsignaled state. Calling EngSetEvent causes the event object to be set to the signaled state.

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

EngWaitForSingleObject