2005-07-31 12:11:56 +00:00
|
|
|
/*
|
|
|
|
* Temporary place for ole2 stubs.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Corel Corporation
|
|
|
|
* Move these functions to dlls/ole32/ole2impl.c when you implement them.
|
|
|
|
*
|
|
|
|
* 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
|
2007-04-20 12:23:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2005-07-31 12:11:56 +00:00
|
|
|
*/
|
|
|
|
|
2018-03-20 11:38:17 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "winuser.h"
|
|
|
|
#include "ole2.h"
|
|
|
|
#include "objidl.h"
|
|
|
|
#include "wine/debug.h"
|
2005-07-31 12:11:56 +00:00
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(ole);
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* OleCreateLinkToFile [OLE32.@]
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
|
|
|
|
DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
2007-04-20 12:23:52 +00:00
|
|
|
FIXME("(%p,%p,%i,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
|
2005-07-31 12:11:56 +00:00
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* OleCreateLink [OLE32.@]
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
|
|
|
|
{
|
|
|
|
FIXME("(not shown), stub!\n");
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* OleGetIconOfClass [OLE32.@]
|
|
|
|
*/
|
|
|
|
HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
|
|
|
|
{
|
|
|
|
FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2017-09-17 22:56:11 +00: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;
|
|
|
|
}
|
|
|
|
|
2005-07-31 12:11:56 +00:00
|
|
|
/***********************************************************************
|
|
|
|
* OleRegEnumFormatEtc [OLE32.@]
|
|
|
|
*/
|
2015-11-17 10:30:40 +00:00
|
|
|
HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc (
|
2005-07-31 12:11:56 +00:00
|
|
|
REFCLSID clsid,
|
|
|
|
DWORD dwDirection,
|
|
|
|
LPENUMFORMATETC* ppenumFormatetc)
|
|
|
|
{
|
2007-04-20 12:23:52 +00:00
|
|
|
FIXME("(%p, %d, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
|
2005-07-31 12:11:56 +00:00
|
|
|
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
2008-11-07 11:00:30 +00:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CoGetCallerTID [OLE32.@]
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID)
|
|
|
|
{
|
|
|
|
FIXME("stub!\n");
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|