You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Added user32-InternalGetWindowIcon patchset
This commit is contained in:
@ -0,0 +1,43 @@
|
||||
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
|
||||
|
1
patches/user32-InternalGetWindowIcon/definition
Normal file
1
patches/user32-InternalGetWindowIcon/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [47915] user32: AddInternalGetWindowIcon stub.
|
Reference in New Issue
Block a user