missed a couple things: EWheelSupport and immunekeys stuff in header

This commit is contained in:
walker0643 2018-02-23 16:24:01 -05:00
parent 30304255ea
commit b1be8227d2
2 changed files with 6 additions and 11 deletions

View File

@ -86,16 +86,6 @@ setImmuneKeys(const DWORD *list, std::size_t size)
// //
#define NO_GRAB_KEYBOARD 0 #define NO_GRAB_KEYBOARD 0
//
// extra mouse wheel stuff
//
enum EWheelSupport {
kWheelNone,
kWheelWin2000,
kWheelModern
};
// declare extended mouse hook struct. useable on win2k // declare extended mouse hook struct. useable on win2k
typedef struct tagMOUSEHOOKSTRUCTWin2000 { typedef struct tagMOUSEHOOKSTRUCTWin2000 {
MOUSEHOOKSTRUCT mhs; MOUSEHOOKSTRUCT mhs;

View File

@ -68,7 +68,6 @@ typedef int (*UninstallScreenSaverFunc)(void);
typedef void (*SetSidesFunc)(UInt32); typedef void (*SetSidesFunc)(UInt32);
typedef void (*SetZoneFunc)(SInt32, SInt32, SInt32, SInt32, SInt32); typedef void (*SetZoneFunc)(SInt32, SInt32, SInt32, SInt32, SInt32);
typedef void (*SetModeFunc)(int); typedef void (*SetModeFunc)(int);
typedef void (*SetImmuneKeysFunc)(const DWORD*, std::size_t);
CBARRIERHOOK_API int init(DWORD); CBARRIERHOOK_API int init(DWORD);
CBARRIERHOOK_API int cleanup(void); CBARRIERHOOK_API int cleanup(void);
@ -81,7 +80,13 @@ CBARRIERHOOK_API void setZone(SInt32 x, SInt32 y, SInt32 w, SInt32 h,
SInt32 jumpZoneSize); SInt32 jumpZoneSize);
CBARRIERHOOK_API void setMode(EHookMode mode); CBARRIERHOOK_API void setMode(EHookMode mode);
/* REMOVED ImmuneKeys for migration of synwinhk out of DLL
typedef void (*SetImmuneKeysFunc)(const DWORD*, std::size_t);
// do not call setImmuneKeys() while the hooks are active! // do not call setImmuneKeys() while the hooks are active!
CBARRIERHOOK_API void setImmuneKeys(const DWORD *list, std::size_t size); CBARRIERHOOK_API void setImmuneKeys(const DWORD *list, std::size_t size);
*/
} }