OSDN Git Service

Share the hook state among 32bit and 64bit processes.
[xkeymacs/xkeymacs.git] / xkeymacsdll / xkeymacsdll.h
index 4e50603..9317e09 100644 (file)
@@ -28,11 +28,12 @@ public:
        static void ResetHooks();\r
        static void ReleaseHooks();\r
        static void ReleaseKeyboardHook();\r
+       static void SetHookStateDirect(bool enable);\r
        static void ToggleHookState();\r
        static bool GetHookState();\r
        static void ShowHookState();\r
        static void SetM_xTip(LPCTSTR szPath);\r
-       static BOOL SendIconMessage(IconMsg *pMsg, DWORD num);\r
+       static void SendIconMessage(IconState *state, int num);\r
        static BOOL IsDown(BYTE bVk, BOOL bPhysicalKey = TRUE);\r
        static void Kdu(BYTE bVk, DWORD n = 1, BOOL bOriginal = TRUE);\r
        static void DepressKey(BYTE bVk, BOOL bOriginal = TRUE);\r