EngDeleteEvent function (winddi.h)

The EngDeleteEvent function deletes the specified event object.

Syntax

ENGAPI BOOL EngDeleteEvent(
  [in] PEVENT pEvent
);

Parameters

[in] pEvent

Pointer to the event object to be deleted.

Return value

EngDeleteEvent returns TRUE if it is successful in deleting the specified event object. It returns FALSE if the caller attempts to delete a mapped user event.

Remarks

A display driver can call EngDeleteEvent only with an event object returned from the EngCreateEvent function, and must not call it to delete event objects returned from EngMapEvent.

Before calling EngDeleteEvent, the display driver must notify all holders of the specified event object that it is about to become invalid.

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