mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
From 58ef0f2b6938fbec5add8bb671afe1d81ab534fc 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 f9a4ae26df..2c4d0d252a 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 long long)
|
|
@ stdcall IntersectRect(ptr ptr ptr)
|
|
@ stdcall InvalidateRect(long ptr long)
|
|
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
|
|
index 3323ed3e41..8231acc0f1 100644
|
|
--- a/dlls/user32/win.c
|
|
+++ b/dlls/user32/win.c
|
|
@@ -2887,6 +2887,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
|
|
|