This commit is contained in:
42
HookInj/HookInj.h
Normal file
42
HookInj/HookInj.h
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
|
||||
#if !defined(HOOKINJLIBAPI)
|
||||
#define HOOKINJLIBAPI __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define UM_HOOKOK_WND1 0x1111
|
||||
#define UM_HOOKOK_WND2 0x2222
|
||||
#define UM_HOOKOK_WND3 0x3333
|
||||
|
||||
#define APP_UNSUBCLASSING 0x9999
|
||||
|
||||
//~!
|
||||
#define MSG_LIST_INSERT_ITEM 0x0
|
||||
#define MSG_LIST_SET_ITEM 0x1
|
||||
|
||||
#define WM_HOOKMSG_TARGETAPP_DESTORYED WM_USER + 0x1010
|
||||
|
||||
typedef struct
|
||||
{
|
||||
WPARAM wParam;
|
||||
LPARAM lParam;
|
||||
BYTE ExtraData[256];
|
||||
} SPYMSGDATA, *PSPYMSGDATA;
|
||||
|
||||
// External function prototypes
|
||||
HOOKINJLIBAPI BOOL WINAPI HAPI_InstallHook( HWND hMainWnd,
|
||||
HWND hWnd1,
|
||||
HWND hWnd2,
|
||||
HWND hWnd3 );
|
||||
HOOKINJLIBAPI BOOL WINAPI HAPI_UninstallHook( );
|
||||
|
||||
//////////////////////////////// End of File //////////////////////////////////
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user