#pragma once #define MSGID_CBT 0 #define MSGID_KB 10 #define MSGID_MOUSE 20 #define MSGID_NEW 30 LRESULT CALLBACK CBTProc(int nCode, WPARAM wParam, LPARAM lParam); LRESULT CALLBACK KeyboardProc(int code, WPARAM wParam, LPARAM lParam); LRESULT CALLBACK MouseProc(int code, WPARAM wParam, LPARAM lParam); __declspec (dllexport) void SetControllerHwnd( HWND ); __declspec (dllexport) void SetTargetHwnd( HWND ); __declspec (dllexport) bool InstallHook( int, DWORD); __declspec (dllexport) bool UninstallHook(void);