#251 hook GetMessage for Enemy Infestation
This commit is contained in:
parent
43aa290d1e
commit
24a73ccc6d
6 changed files with 32 additions and 7 deletions
|
@ -45,6 +45,7 @@ typedef struct CNCDDRAWCONFIG
|
|||
int resolutions;
|
||||
int fixchilds;
|
||||
BOOL hook_peekmessage;
|
||||
BOOL hook_getmessage;
|
||||
|
||||
/* Undocumented settings */
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ typedef int (WINAPI* STRETCHDIBITSPROC)(
|
|||
typedef BOOL (WINAPI* SETFOREGROUNDWINDOWPROC)(HWND hWnd);
|
||||
typedef HHOOK(WINAPI* SETWINDOWSHOOKEXAPROC)(int, HOOKPROC, HINSTANCE, DWORD);
|
||||
typedef BOOL(WINAPI* PEEKMESSAGEAPROC)(LPMSG, HWND, UINT, UINT, UINT);
|
||||
|
||||
typedef BOOL(WINAPI* GETMESSAGEAPROC)(LPMSG, HWND, UINT, UINT);
|
||||
|
||||
typedef int (WINAPI* GETDEVICECAPSPROC)(HDC, int);
|
||||
typedef HFONT(WINAPI* CREATEFONTINDIRECTAPROC)(CONST LOGFONT*);
|
||||
|
@ -92,6 +92,7 @@ extern STRETCHDIBITSPROC real_StretchDIBits;
|
|||
extern SETFOREGROUNDWINDOWPROC real_SetForegroundWindow;
|
||||
extern SETWINDOWSHOOKEXAPROC real_SetWindowsHookExA;
|
||||
extern PEEKMESSAGEAPROC real_PeekMessageA;
|
||||
extern GETMESSAGEAPROC real_GetMessageA;
|
||||
extern GETDEVICECAPSPROC real_GetDeviceCaps;
|
||||
extern CREATEFONTINDIRECTAPROC real_CreateFontIndirectA;
|
||||
extern CREATEFONTAPROC real_CreateFontA;
|
||||
|
|
|
@ -32,6 +32,7 @@ HWND WINAPI fake_GetForegroundWindow(void);
|
|||
BOOL WINAPI fake_SetForegroundWindow(HWND hWnd);
|
||||
HHOOK WINAPI fake_SetWindowsHookExA(int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId);
|
||||
BOOL WINAPI fake_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg);
|
||||
BOOL WINAPI fake_GetMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax);
|
||||
int WINAPI fake_GetDeviceCaps(HDC hdc, int index);
|
||||
|
||||
BOOL WINAPI fake_StretchBlt(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue