[PATCH] user32: Add InternalGetWindowIcon stub.
From: David Torok <dt(a)zeroitlab.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47915 Signed-off-by: Gijs Vermeulen <gijsvrm(a)gmail.com> --- dlls/user32/user32.spec | 1 + dlls/user32/win.c | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 8051ae3f767..b77d71944ea 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -445,6 +445,7 @@ @ stdcall InsertMenuItemA(long long long ptr) @ stdcall InsertMenuItemW(long long long ptr) @ stdcall InsertMenuW(long long long long ptr) +@ stdcall InternalGetWindowIcon(long long) @ stdcall InternalGetWindowText(long ptr long) @ stdcall IntersectRect(ptr ptr ptr) @ stdcall InvalidateRect(long ptr long) diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 680defc2071..1bd9ef79cb0 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -2886,6 +2886,14 @@ INT WINAPI GetWindowTextA( HWND hwnd, LPSTR lpString, INT nMaxCount ) return strlen(lpString); } +/******************************************************************* + * InternalGetWindowIcon (USER32.@) + */ +HICON WINAPI InternalGetWindowIcon( HWND hwnd, UINT type ) +{ + FIXME("hwnd %p, type %u, stub!\n", hwnd, type); + return NULL; +} /******************************************************************* * InternalGetWindowText (USER32.@) -- 2.29.2
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=81864 Your paranoid android. === debiant (32 bit report) === user32: monitor: Timeout === debiant (32 bit Chinese:China report) === user32: monitor: Timeout === debiant (32 bit WoW report) === user32: monitor: Timeout === debiant (64 bit WoW report) === user32: monitor: Timeout
participants (3)
-
Gijs Vermeulen -
Marvin -
Nikolay Sivov