1999-03-28 15:15:40 +02:00
|
|
|
/*
|
|
|
|
* Temporary place for ole2 stubs.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Corel Corporation
|
2021-09-10 08:26:43 +02:00
|
|
|
* Move these functions to dlls/ole32/ole2.c when you implement them.
|
2002-03-10 00:29:33 +01: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
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
1999-03-28 15:15:40 +02:00
|
|
|
*/
|
|
|
|
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2000-02-10 20:03:02 +01:00
|
|
|
#include "windef.h"
|
2000-09-26 02:00:55 +02:00
|
|
|
#include "winbase.h"
|
1999-09-23 13:48:02 +02:00
|
|
|
#include "winuser.h"
|
2000-09-26 02:00:55 +02:00
|
|
|
#include "ole2.h"
|
2003-01-13 21:37:39 +01:00
|
|
|
#include "objidl.h"
|
2002-03-10 00:29:33 +01:00
|
|
|
#include "wine/debug.h"
|
1999-03-28 15:15:40 +02:00
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
1999-04-19 16:56:29 +02:00
|
|
|
|
1999-03-28 15:15:40 +02:00
|
|
|
/******************************************************************************
|
2003-09-11 05:06:25 +02:00
|
|
|
* OleCreateLinkToFile [OLE32.@]
|
1999-03-28 15:15:40 +02:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
|
|
|
|
DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
2022-02-08 21:09:20 +01:00
|
|
|
FIXME("%p, %p, %ld, %p, %p, %p, %p stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
|
2002-04-12 01:44:48 +02:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 15:15:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 05:06:25 +02:00
|
|
|
* OleCreateLink [OLE32.@]
|
1999-03-28 15:15:40 +02:00
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(not shown), stub!\n");
|
2002-04-12 01:44:48 +02:00
|
|
|
return E_NOTIMPL;
|
1999-03-28 15:15:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
2003-09-11 05:06:25 +02:00
|
|
|
* OleGetIconOfClass [OLE32.@]
|
1999-03-28 15:15:40 +02:00
|
|
|
*/
|
|
|
|
HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
|
2002-12-02 19:10:57 +01:00
|
|
|
return NULL;
|
1999-03-28 15:15:40 +02:00
|
|
|
}
|
|
|
|
|
2017-06-21 08:13:28 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* 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;
|
|
|
|
}
|
|
|
|
|
1999-05-02 11:27:08 +02:00
|
|
|
/***********************************************************************
|
2003-09-11 05:06:25 +02:00
|
|
|
* OleRegEnumFormatEtc [OLE32.@]
|
1999-05-02 11:27:08 +02:00
|
|
|
*/
|
2015-11-12 15:58:07 +01:00
|
|
|
HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc (
|
2002-06-01 01:06:46 +02:00
|
|
|
REFCLSID clsid,
|
1999-05-02 11:27:08 +02:00
|
|
|
DWORD dwDirection,
|
|
|
|
LPENUMFORMATETC* ppenumFormatetc)
|
|
|
|
{
|
2022-02-08 21:09:20 +01:00
|
|
|
FIXME("%p, %ld, %p stub!\n", clsid, dwDirection, ppenumFormatetc);
|
1999-05-02 11:27:08 +02:00
|
|
|
|
2002-04-12 01:44:48 +02:00
|
|
|
return E_NOTIMPL;
|
1999-05-02 11:27:08 +02:00
|
|
|
}
|