Skip to content

Commit

Permalink
final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Mar 13, 2021
1 parent a81b815 commit c140972
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CBTHooker.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,15 @@ CBTHOOKAPI BOOL APIENTRY DoStartWatch(const CBTDATA *pData, DWORD dwMyPID);
CBTHOOKAPI BOOL APIENTRY DoEndWatch(VOID);
CBTHOOKAPI VOID APIENTRY DoAction(HWND hwnd, ACTION_TYPE iAction, CBTDATA *pData OPTIONAL);
CBTHOOKAPI HWND APIENTRY DoGetTargetWindow(VOID);

#ifndef MSGFLT_ADD
#define MSGFLT_ADD 1
#define MSGFLT_REMOVE 2
#define MSGFLT_RESET (0)
#define MSGFLT_ALLOW (1)
#define MSGFLT_DISALLOW (2)
typedef struct tagCHANGEFILTERSTRUCT {
DWORD cbSize;
DWORD ExtStatus;
} CHANGEFILTERSTRUCT,*PCHANGEFILTERSTRUCT;
#endif
4 changes: 4 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo on
del CMakeCache.txt
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .
ninja

0 comments on commit c140972

Please sign in to comment.