EngSetEvent
TOC
Collapse the table of content
Expand the table of content

EngSetEvent function

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

Syntax


LONG EngSetEvent(
  _In_ PEVENT pEvent
);

Parameters

pEvent [in]

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

Target platform

Universal

Version

This function is available in Windows XP and later.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngCreateEvent
EngMapEvent
EngWaitForSingleObject

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft