Prototype of a C# keyboard hook.