Hardware Dev Center

Expand Minimize

EngDeleteEvent function

The EngDeleteEvent function deletes the specified event object.

Syntax


BOOL EngDeleteEvent(
  _In_ PEVENT pEvent
);

Parameters

pEvent [in]

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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft