wine-staging/patches/user32-InternalGetWindowIcon/0001-user32-AddInternalGetWindowIcon-stub.patch
2020-01-09 10:21:50 +11:00

44 lines
1.4 KiB
Diff

From 887aef4a73c3815df3e0f218463abbea50efdf3d Mon Sep 17 00:00:00 2001
From: David Torok <dt@zeroitlab.com>
Date: Mon, 14 Oct 2019 10:37:49 +1100
Subject: [PATCH] user32: AddInternalGetWindowIcon stub.
---
dlls/user32/user32.spec | 1 +
dlls/user32/win.c | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec
index 1aedc32de28..5499c7771f4 100644
--- a/dlls/user32/user32.spec
+++ b/dlls/user32/user32.spec
@@ -444,6 +444,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 7a9af5862c9..fbd53a76bd1 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -2895,6 +2895,13 @@ INT WINAPI GetWindowTextA( HWND hwnd, LPSTR lpString, INT nMaxCount )
return strlen(lpString);
}
+/*******************************************************************
+ * InternalGetWindowIcon (USER32.@)
+ */
+INT WINAPI InternalGetWindowIcon(HWND hwnd, UINT iconType )
+{
+ return NULL;
+}
/*******************************************************************
* InternalGetWindowText (USER32.@)
--
2.17.1