[PATCH] user32: Add InternalGetWindowIcon stub.

Gijs Vermeulen gijsvrm at gmail.com
Sat Nov 14 10:50:27 CST 2020


From: David Torok <dt at zeroitlab.com>

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47915
Signed-off-by: Gijs Vermeulen <gijsvrm at 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




More information about the wine-devel mailing list