hook BitBlt
This commit is contained in:
parent
0bce13b314
commit
2f2367e5b5
6 changed files with 52 additions and 3 deletions
|
@ -45,6 +45,7 @@ typedef BOOL (WINAPI* SHOWWINDOWPROC)(HWND, int);
|
|||
typedef HWND(WINAPI* GETTOPWINDOWPROC)(HWND);
|
||||
typedef HWND(WINAPI* GETFOREGROUNDWINDOWPROC)();
|
||||
typedef BOOL(WINAPI* STRETCHBLTPROC)(HDC, int, int, int, int, HDC, int, int, int, int, DWORD);
|
||||
typedef BOOL(WINAPI* BITBLTPROC)(HDC, int, int, int, int, HDC, int, int, DWORD);
|
||||
|
||||
typedef int (WINAPI* SETDIBITSTODEVICEPROC)(
|
||||
HDC, int, int, DWORD, DWORD, int, int, UINT, UINT, const VOID*, const BITMAPINFO*, UINT);
|
||||
|
@ -97,6 +98,7 @@ extern SHOWWINDOWPROC real_ShowWindow;
|
|||
extern GETTOPWINDOWPROC real_GetTopWindow;
|
||||
extern GETFOREGROUNDWINDOWPROC real_GetForegroundWindow;
|
||||
extern STRETCHBLTPROC real_StretchBlt;
|
||||
extern BITBLTPROC real_BitBlt;
|
||||
extern SETDIBITSTODEVICEPROC real_SetDIBitsToDevice;
|
||||
extern STRETCHDIBITSPROC real_StretchDIBits;
|
||||
extern SETFOREGROUNDWINDOWPROC real_SetForegroundWindow;
|
||||
|
|
|
@ -40,6 +40,9 @@ int WINAPI fake_GetDeviceCaps(HDC hdc, int index);
|
|||
BOOL WINAPI fake_StretchBlt(
|
||||
HDC hdcDest, int xDest, int yDest, int wDest, int hDest, HDC hdcSrc, int xSrc, int ySrc, int wSrc, int hSrc, DWORD rop);
|
||||
|
||||
BOOL WINAPI fake_BitBlt(
|
||||
HDC hdc, int x, int y, int cx, int cy, HDC hdcSrc, int x1, int y1, DWORD rop);
|
||||
|
||||
int WINAPI fake_SetDIBitsToDevice(
|
||||
HDC, int, int, DWORD, DWORD, int, int, UINT, UINT, const VOID*, const BITMAPINFO*, UINT);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue