Zhenbo Li : ole32: Add stub for OleGetIconOfFile.
Alexandre Julliard
julliard at winehq.org
Wed Jun 21 16:43:43 CDT 2017
Module: wine
Branch: master
Commit: 13c6d37766b2d327583123be583c026b1ea0ec13
URL: http://source.winehq.org/git/wine.git/?a=commit;h=13c6d37766b2d327583123be583c026b1ea0ec13
Author: Zhenbo Li <litimetal at gmail.com>
Date: Wed Jun 21 00:13:28 2017 -0600
ole32: Add stub for OleGetIconOfFile.
Signed-off-by: Zhenbo Li <litimetal at gmail.com>
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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..d7fd58c 100644
--- a/dlls/ole32/ole2stubs.c
+++ b/dlls/ole32/ole2stubs.c
@@ -63,6 +63,15 @@ HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseT
}
/***********************************************************************
+ * OleGetIconOfFile [OLE32.@]
+ */
+HGLOBAL WINAPI OleGetIconOfFile(LPOLESTR path, BOOL use_file_as_label)
+{
+ FIXME("(%s, %d), stub!\n", debugstr_w(path), use_file_as_label);
+ return NULL;
+}
+
+/***********************************************************************
* OleRegEnumFormatEtc [OLE32.@]
*/
HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc (
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index 58bdd22..d5a71b3 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(wstr long)
@ stdcall OleInitialize(ptr)
@ stdcall OleInitializeWOW(long long)
@ stdcall OleIsCurrentClipboard(ptr)
More information about the wine-cvs
mailing list