#include <windows.h>HHOOK g_hKey = NULL;LRESULT CALLBACK KeyProc(int nCode, WPARAM wParam, LPARAM lParam)
{
return CallNextHookEx(g_hKey, nCode, wParam + 1, lParam + 1);
//return 1;
}void SetHook()
{
g_hKey = SetWindowsHookEx(WH_KEYBOARD, KeyProc, GetModuleHandle("Test"), 0);
}我想让键盘输入的所有键向后推一个 这种方法并不行 应该怎么办 请教高手