diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-7DDF052C-2520-428D-932D-BDB476344575.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-7DDF052C-2520-428D-932D-BDB476344575.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,27 @@ + + + + + +Generated +EventsThis document describes how kernel events are used in communication +with the kernel. +

Drives +can communicate with the Window Server, and through that to user programs, +using events.

Kern::AddEvent() adds an event +to the kernel event queue. This is used typically in drivers such as the keyboard +driver, which raises key events.

TRawEvent event; +event.Set(TRawEvent::EKeyDown, EStdKeyBackspace); +Kern::AddEvent(event);

The kernel event queue maintains a circular +buffer of TRawEvent objects allocated at system initialization. +The Windows Server calls UserSvr::CaptureEventHook() to +register itself to receive such events. The Kernel does not permit any process +other than the Windows Server to register to receive events.

+
+
\ No newline at end of file