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 patch to implement ole32.OleGetIconOfFile stub.
This commit is contained in:
@ -0,0 +1,44 @@
|
||||
From ab4519d42ee66a6e0c67ecc1d05e1b77ed35fd7f Mon Sep 17 00:00:00 2001
|
||||
From: Zhenbo Li <litimetal@gmail.com>
|
||||
Date: Tue, 21 Jun 2016 13:23:19 +0800
|
||||
Subject: ole32: Add stub for OleGetIconOfFile.
|
||||
|
||||
Signed-off-by: Zhenbo Li <litimetal@gmail.com>
|
||||
---
|
||||
dlls/ole32/ole2stubs.c | 9 +++++++++
|
||||
dlls/ole32/ole32.spec | 2 +-
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/ole32/ole2stubs.c b/dlls/ole32/ole2stubs.c
|
||||
index 90862d0..8289473 100644
|
||||
--- a/dlls/ole32/ole2stubs.c
|
||||
+++ b/dlls/ole32/ole2stubs.c
|
||||
@@ -83,3 +83,12 @@ HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID)
|
||||
FIXME("stub!\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
+
|
||||
+/***********************************************************************
|
||||
+ * OleGetIconOfFile [OLE32.@]
|
||||
+ */
|
||||
+HGLOBAL WINAPI OleGetIconOfFile(LPOLESTR path, BOOL use_file_as_label)
|
||||
+{
|
||||
+ FIXME("(%p, %d), stub!\n", path, use_file_as_label);
|
||||
+ return NULL;
|
||||
+}
|
||||
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
|
||||
index eab8664..b5bf219 100644
|
||||
--- a/dlls/ole32/ole32.spec
|
||||
+++ b/dlls/ole32/ole32.spec
|
||||
@@ -207,7 +207,7 @@
|
||||
@ stdcall OleGetAutoConvert(ptr ptr)
|
||||
@ stdcall OleGetClipboard(ptr)
|
||||
@ stdcall OleGetIconOfClass(ptr ptr long)
|
||||
-@ stub OleGetIconOfFile
|
||||
+@ stdcall OleGetIconOfFile(ptr long)
|
||||
@ stdcall OleInitialize(ptr)
|
||||
@ stdcall OleInitializeWOW(long long)
|
||||
@ stdcall OleIsCurrentClipboard(ptr)
|
||||
--
|
||||
2.8.0
|
||||
|
1
patches/ole32-OleGetIconOfFile/definition
Normal file
1
patches/ole32-OleGetIconOfFile/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Add stub for ole32.OleGetIconOfFile
|
Reference in New Issue
Block a user