Commit f0d30968 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

ole32: Forward OleCreateLinkFromData and OleCreateStaticFromData to OleCreateFromData.

parent 83aa7eff
...@@ -209,6 +209,31 @@ HRESULT WINAPI OleCreateFromData(LPDATAOBJECT data, REFIID iid, ...@@ -209,6 +209,31 @@ HRESULT WINAPI OleCreateFromData(LPDATAOBJECT data, REFIID iid,
fmt, NULL, NULL, client_site, stg, obj); 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.@] * OleDuplicateData [OLE32.@]
......
...@@ -82,32 +82,6 @@ HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseT ...@@ -82,32 +82,6 @@ HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseT
return NULL; 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.@] * OleRegEnumFormatEtc [OLE32.@]
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment