Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47783 Signed-off-by: Brendan Shanks bshanks@codeweavers.com --- v2: Fix warning when building for Win64
dlls/user32/win.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 3582262b7d..0523fc2479 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -3847,6 +3847,8 @@ BOOL WINAPI DECLSPEC_HOTPATCH GetWindowInfo( HWND hwnd, PWINDOWINFO pwi) { if (!pwi) return FALSE; if (!WIN_GetRectangles( hwnd, COORDS_SCREEN, &pwi->rcWindow, &pwi->rcClient )) return FALSE; + if (sizeof(WINDOWINFO) != pwi->cbSize) + WARN("Incorrect cbSize %d\n", pwi->cbSize);
pwi->dwStyle = GetWindowLongW(hwnd, GWL_STYLE); pwi->dwExStyle = GetWindowLongW(hwnd, GWL_EXSTYLE);