Louis Lenders : ole32: Add stub for OleConvertIStorageToOLESTREAMEx.
Alexandre Julliard
julliard at winehq.org
Tue Jan 25 15:41:16 CST 2022
Module: wine
Branch: master
Commit: 18e331fd63173b3f3fe00e930e3e09aad94493a0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=18e331fd63173b3f3fe00e930e3e09aad94493a0
Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date: Fri Jan 21 10:06:59 2022 +0100
ole32: Add stub for OleConvertIStorageToOLESTREAMEx.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52298
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ole32/ole32.spec | 2 +-
dlls/ole32/storage32.c | 11 +++++++++++
include/ole2.h | 2 ++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index d9ffd63585c..e9982036eeb 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -187,7 +187,7 @@
@ stdcall Ole32DllGetClassObject(ptr ptr ptr)
@ stdcall OleBuildVersion()
@ stdcall OleConvertIStorageToOLESTREAM(ptr ptr)
-@ stub OleConvertIStorageToOLESTREAMEx
+@ stdcall OleConvertIStorageToOLESTREAMEx(ptr long long long long ptr ptr)
@ stdcall OleConvertOLESTREAMToIStorage(ptr ptr ptr)
@ stub OleConvertOLESTREAMToIStorageEx
@ stdcall OleCreate(ptr ptr long ptr ptr ptr ptr)
diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index 1bc8455cc6b..06766a28fe7 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -10570,6 +10570,17 @@ enum stream_1ole_flags {
OleStream_Convert = 0x00000004
};
+/*************************************************************************
+ * OleConvertIStorageToOLESTREAMEx [OLE32.@]
+ */
+HRESULT WINAPI OleConvertIStorageToOLESTREAMEx ( LPSTORAGE stg, CLIPFORMAT cf, LONG width, LONG height,
+ DWORD size, LPSTGMEDIUM medium, LPOLESTREAM olestream )
+{
+ FIXME("%p %x %d %d %d %p %p stub\n", stg, cf, width, height, size, medium, olestream);
+
+ return E_NOTIMPL;
+}
+
/***********************************************************************
* GetConvertStg (OLE32.@)
*/
diff --git a/include/ole2.h b/include/ole2.h
index 05c1b5502c7..628bebae137 100644
--- a/include/ole2.h
+++ b/include/ole2.h
@@ -161,6 +161,8 @@ typedef struct _OLESTREAM {
HRESULT WINAPI OleConvertOLESTREAMToIStorage( LPOLESTREAM lpolestream, LPSTORAGE pstg, const DVTARGETDEVICE* ptd);
HRESULT WINAPI OleConvertIStorageToOLESTREAM( LPSTORAGE pstg, LPOLESTREAM lpolestream);
+HRESULT WINAPI OleConvertIStorageToOLESTREAMEx( LPSTORAGE stg, CLIPFORMAT cf, LONG width, LONG height,
+ DWORD size, LPSTGMEDIUM medium, LPOLESTREAM olestream );
HRESULT WINAPI OleDoAutoConvert( LPSTORAGE pStg, LPCLSID pClsidNew );
HRESULT WINAPI OleGetAutoConvert( REFCLSID clsidOld, LPCLSID pClsidNew );
More information about the wine-cvs
mailing list