OSDN Git Service
(root)
/
yamy
/
yamy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release input queue and wait input event atomically
[yamy/yamy.git]
/
hook.h
diff --git
a/hook.h
b/hook.h
index
d626493
..
6db9b3d
100644
(file)
--- a/
hook.h
+++ b/
hook.h
@@
-7,9
+7,7
@@
\r
# include "misc.h"
\r
# include <tchar.h>
\r
\r
# include "misc.h"
\r
# include <tchar.h>
\r
-#ifdef NO_DRIVER
\r
-# include <windows.h>
\r
-#endif // NO_DRIVER
\r
+# include <windef.h>
\r
\r
///
\r
# define HOOK_PIPE_NAME \
\r
\r
///
\r
# define HOOK_PIPE_NAME \
\r
@@
-115,10
+113,8
@@
enum MouseHookType {
MouseHookType_WindowMove = 1 << 1, /// window move
\r
};
\r
\r
MouseHookType_WindowMove = 1 << 1, /// window move
\r
};
\r
\r
-#ifdef NO_DRIVER
\r
class Engine;
\r
typedef unsigned int (WINAPI *INPUT_DETOUR)(Engine *i_engine, WPARAM i_wParam, LPARAM i_lParam);
\r
class Engine;
\r
typedef unsigned int (WINAPI *INPUT_DETOUR)(Engine *i_engine, WPARAM i_wParam, LPARAM i_lParam);
\r
-#endif // NO_DRIVER
\r
\r
///
\r
class HookData
\r
\r
///
\r
class HookData
\r