regedit: Merge accelerators into the main resource file.
[wine/multimedia.git] / dlls / ole32 / ole2stubs.c
blob16ac8d1fa9f95383863dc4d9a18d23be7bd30f29
1 /*
2 * Temporary place for ole2 stubs.
4 * Copyright (C) 1999 Corel Corporation
5 * Move these functions to dlls/ole32/ole2impl.c when you implement them.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #define NONAMELESSUNION
23 #define NONAMELESSSTRUCT
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winuser.h"
29 #include "ole2.h"
30 #include "objidl.h"
31 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(ole);
35 /******************************************************************************
36 * OleCreateLinkToFile [OLE32.@]
38 HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
39 DWORD renderopt, LPFORMATETC lpFormatEtc,
40 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
42 FIXME("(%p,%p,%i,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
43 return E_NOTIMPL;
46 /******************************************************************************
47 * SetConvertStg [OLE32.@]
49 HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert)
51 FIXME("(%p,%x), stub!\n", pStg, fConvert);
52 return E_NOTIMPL;
55 /******************************************************************************
56 * OleCreateLink [OLE32.@]
58 HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
59 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
61 FIXME("(not shown), stub!\n");
62 return E_NOTIMPL;
65 /******************************************************************************
66 * OleCreateFromFile [OLE32.@]
68 HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
69 DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
71 FIXME("(not shown), stub!\n");
72 return E_NOTIMPL;
76 /******************************************************************************
77 * OleGetIconOfClass [OLE32.@]
79 HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
81 FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
82 return NULL;
86 /******************************************************************************
87 * OleCreateStaticFromData [OLE32.@]
89 HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
90 DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
91 LPSTORAGE pStg, LPVOID* ppvObj)
93 FIXME("(srcdata=%p, refiid=%s, renderopt=%x, formatetc=%p, client=%p, storage=%p, ppv=%p), stub!\n",
94 pSrcDataObj,debugstr_guid(iid),renderopt,pFormatEtc,pClientSite,pStg,ppvObj );
95 return E_NOTIMPL;
98 /******************************************************************************
99 * OleCreateLinkFromData [OLE32.@]
102 HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
103 DWORD renderopt, LPFORMATETC pFormatEtc,
104 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
105 LPVOID* ppvObj)
107 FIXME("(not shown), stub!\n");
108 return E_NOTIMPL;
111 /***********************************************************************
112 * OleRegEnumFormatEtc [OLE32.@]
114 HRESULT WINAPI OleRegEnumFormatEtc (
115 REFCLSID clsid,
116 DWORD dwDirection,
117 LPENUMFORMATETC* ppenumFormatetc)
119 FIXME("(%p, %d, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
121 return E_NOTIMPL;
124 /***********************************************************************
125 * CoGetCallerTID [OLE32.@]
127 HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID)
129 FIXME("stub!\n");
130 return E_NOTIMPL;
133 /***********************************************************************
134 * CoGetCurrentLogicalThreadId [OLE32.@]
136 HRESULT WINAPI CoGetCurrentLogicalThreadId(GUID *pguid)
138 FIXME(": stub\n");
139 return E_NOTIMPL;