1999-03-28 13:15:40 +00:00
|
|
|
/*
|
|
|
|
* Temporary place for ole2 stubs.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Corel Corporation
|
2000-03-08 18:49:36 +00:00
|
|
|
* Move these functions to dlls/ole32/ole2impl.c when you implement them.
|
2002-03-09 23:29:33 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
|
2003-01-07 20:36:20 +00:00
|
|
|
#define NONAMELESSUNION
|
|
|
|
#define NONAMELESSSTRUCT
|
2003-09-05 23:08:26 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2000-02-10 19:03:02 +00:00
|
|
|
#include "windef.h"
|
2000-09-26 00:00:55 +00:00
|
|
|
#include "winbase.h"
|
1999-09-23 11:48:02 +00:00
|
|
|
#include "winuser.h"
|
2000-09-26 00:00:55 +00:00
|
|
|
#include "ole2.h"
|
2003-01-13 20:37:39 +00:00
|
|
|
#include "objidl.h"
|
2002-03-09 23:29:33 +00:00
|
|
|
#include "wine/debug.h"
|
1999-03-28 13:15:40 +00:00
|
|
|
|
2002-03-09 23:29:33 +00:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
1999-04-19 14:56:29 +00:00
|
|
|
|
1999-03-28 13:15:40 +00:00
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleCreateLinkToFile [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
|
|
|
|
DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(%p,%p,%li,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* SetConvertStg [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(%p,%x), stub!\n", pStg, fConvert);
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleCreateLink [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(not shown), stub!\n");
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleCreateFromFile [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
|
|
|
|
DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(not shown), stub!\n");
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleGetIconOfClass [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
|
2002-12-02 18:10:57 +00:00
|
|
|
return NULL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleCreateStaticFromData [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
|
|
|
|
DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
|
|
|
|
LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(not shown), stub!\n");
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleCreateLinkFromData [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
|
|
|
|
DWORD renderopt, LPFORMATETC pFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
|
|
|
|
LPVOID* ppvObj)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(not shown), stub!\n");
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleIsRunning [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(%p), stub!\n", pObject);
|
1999-03-28 13:15:40 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleRegEnumVerbs [OLE32.@]
|
1999-03-28 13:15:40 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(%p,%p), stub!\n", clsid, ppenum);
|
2000-02-26 18:32:38 +00:00
|
|
|
return OLEOBJ_E_NOVERBS;
|
1999-03-28 13:15:40 +00:00
|
|
|
}
|
|
|
|
|
1999-05-02 09:27:08 +00:00
|
|
|
/***********************************************************************
|
2003-09-11 03:06:25 +00:00
|
|
|
* OleRegEnumFormatEtc [OLE32.@]
|
1999-05-02 09:27:08 +00:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleRegEnumFormatEtc (
|
2002-05-31 23:06:46 +00:00
|
|
|
REFCLSID clsid,
|
1999-05-02 09:27:08 +00:00
|
|
|
DWORD dwDirection,
|
|
|
|
LPENUMFORMATETC* ppenumFormatetc)
|
|
|
|
{
|
1999-07-04 16:02:24 +00:00
|
|
|
FIXME("(%p, %ld, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
|
1999-05-02 09:27:08 +00:00
|
|
|
|
2002-04-11 23:44:48 +00:00
|
|
|
return E_NOTIMPL;
|
1999-05-02 09:27:08 +00:00
|
|
|
}
|
|
|
|
|
2003-01-07 19:42:43 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* DllGetClassObject [OLE2.4]
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI DllGetClassObject16(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
|
|
|
|
{
|
|
|
|
FIXME("(%s, %s, %p): stub\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleSetClipboard [OLE2.49]
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleSetClipboard16(IDataObject* pDataObj)
|
|
|
|
{
|
|
|
|
FIXME("(%p): stub\n", pDataObj);
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleGetClipboard [OLE2.50]
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleGetClipboard16(IDataObject** ppDataObj)
|
|
|
|
{
|
|
|
|
FIXME("(%p): stub\n", ppDataObj);
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|