コード例 #1
0
 static KeyboardInputHook()
 {
     hookProc    = new Win32.WindowHook.HookProc(KeyboardHook);
     hookProcPtr = Marshal.GetFunctionPointerForDelegate(hookProc);
 }
コード例 #2
0
 static MouseInputHook()
 {
     hookProc              = new Win32.WindowHook.HookProc(MouseHook);
     hookProcPtr           = Marshal.GetFunctionPointerForDelegate(hookProc);
     MouseInputPerformance = Performance.CreatePerformance("_MouseInput");
 }