Bagikan melalui


GDI Event Services

GDI provides several services related to events. Drivers using these services can create and delete events, map and unmap events, and read, set and clear events.

Function Description

EngClearEvent

Sets a specified event object to the nonsignaled state.

EngCreateEvent

Creates a synchronization event object that can be used to synchronize hardware access between a display driver and the video miniport driver.

EngDeleteEvent

Deletes the specified event object.

EngMapEvent

Maps a user-mode event object to kernel mode.

EngReadStateEvent

Returns the current state of the specified event object: signaled or nonsignaled.

EngSetEvent

Sets the specified event object to the signaled state, and returns the event object's previous state.

EngUnmapEvent

Cleans up the kernel-mode resources allocated for a mapped user-mode event.

EngWaitForSingleObject

Puts the current thread of the display driver into a wait state until the specified event object is set to the signaled state, or until the wait times out.