OpenVxDHandle

DWORD OpenVxDHandle(HANDLE hSource);
 

This function is exported by KERNEL32.DLL for DLLs or applications that have associated VxDs that need to set ring 3 events from ring 0. When a ring 3 event handle is used as the source, the handle returned from this function can be passed to a VxD and used to set the event at ring 0 with the service _VWIN32_SetWin32Event.

The VxD Handle must be closed at ring 0 with _VWIN32_CloseVxDHandle or the object will never get freed. The event can be set from any thread in the system VM at VMM32 event time.

hSource
Event handle in the current process to convert to a VxD handle.