Dmitry Timoshkov : ole32: Forward OleCreateLinkFromData and OleCreateStaticFromData to OleCreateFromData .
Alexandre Julliard
julliard at winehq.org
Wed May 23 13:22:55 CDT 2012
Module: wine
Branch: master
Commit: f0d309689c646f8149feb339e7092b0f3ef2fec5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0d309689c646f8149feb339e7092b0f3ef2fec5
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed May 23 16:50:31 2012 +0900
ole32: Forward OleCreateLinkFromData and OleCreateStaticFromData to OleCreateFromData.
---
dlls/ole32/ole2impl.c | 25 +++++++++++++++++++++++++
dlls/ole32/ole2stubs.c | 26 --------------------------
2 files changed, 25 insertions(+), 26 deletions(-)
diff --git a/dlls/ole32/ole2impl.c b/dlls/ole32/ole2impl.c
index 79f2cb5..5d92fec 100644
--- a/dlls/ole32/ole2impl.c
+++ b/dlls/ole32/ole2impl.c
@@ -209,6 +209,31 @@ HRESULT WINAPI OleCreateFromData(LPDATAOBJECT data, REFIID iid,
fmt, NULL, NULL, client_site, stg, obj);
}
+/******************************************************************************
+ * OleCreateLinkFromData [OLE32.@]
+ */
+HRESULT WINAPI OleCreateLinkFromData(IDataObject *data, REFIID iid,
+ DWORD renderopt, FORMATETC *fmt,
+ IOleClientSite *client_site, IStorage *stg,
+ void **obj)
+{
+ FIXME("%p,%s,%08x,%p,%p,%p,%p: semi-stub\n",
+ data, debugstr_guid(iid), renderopt, fmt, client_site, stg, obj);
+ return OleCreateFromData(data, iid, renderopt, fmt, client_site, stg, obj);
+}
+
+/******************************************************************************
+ * OleCreateStaticFromData [OLE32.@]
+ */
+HRESULT WINAPI OleCreateStaticFromData(IDataObject *data, REFIID iid,
+ DWORD renderopt, FORMATETC *fmt,
+ IOleClientSite *client_site, IStorage *stg,
+ void **obj)
+{
+ FIXME("%p,%s,%08x,%p,%p,%p,%p: semi-stub\n",
+ data, debugstr_guid(iid), renderopt, fmt, client_site, stg, obj);
+ return OleCreateFromData(data, iid, renderopt, fmt, client_site, stg, obj);
+}
/******************************************************************************
* OleDuplicateData [OLE32.@]
diff --git a/dlls/ole32/ole2stubs.c b/dlls/ole32/ole2stubs.c
index 16ac8d1..6988dfe 100644
--- a/dlls/ole32/ole2stubs.c
+++ b/dlls/ole32/ole2stubs.c
@@ -82,32 +82,6 @@ HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseT
return NULL;
}
-
-/******************************************************************************
- * OleCreateStaticFromData [OLE32.@]
- */
-HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
- DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
- LPSTORAGE pStg, LPVOID* ppvObj)
-{
- FIXME("(srcdata=%p, refiid=%s, renderopt=%x, formatetc=%p, client=%p, storage=%p, ppv=%p), stub!\n",
- pSrcDataObj,debugstr_guid(iid),renderopt,pFormatEtc,pClientSite,pStg,ppvObj );
- return E_NOTIMPL;
-}
-
-/******************************************************************************
- * OleCreateLinkFromData [OLE32.@]
- */
-
-HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
- DWORD renderopt, LPFORMATETC pFormatEtc,
- LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
- LPVOID* ppvObj)
-{
- FIXME("(not shown), stub!\n");
- return E_NOTIMPL;
-}
-
/***********************************************************************
* OleRegEnumFormatEtc [OLE32.@]
*/
More information about the wine-cvs
mailing list