hook MapWindowPoints

This commit is contained in:
FunkyFr3sh 2021-05-29 21:40:21 +02:00
parent 5baeb50d1e
commit 29863ed472
5 changed files with 24 additions and 4 deletions

View file

@ -322,7 +322,7 @@ BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam)
dds_GetDC(this, &src_dc);
MapWindowPoints(HWND_DESKTOP, g_ddraw->hwnd, (LPPOINT)&pos, 2);
real_MapWindowPoints(HWND_DESKTOP, g_ddraw->hwnd, (LPPOINT)&pos, 2);
BitBlt(dst_dc, 0, 0, size.right, size.bottom, src_dc, pos.left, pos.top, SRCCOPY);