xref: /reactos/dll/win32/ole32/ole2stubs.c (revision c2c66aff)
1 /*
2  * Temporary place for ole2 stubs.
3  *
4  * Copyright (C) 1999 Corel Corporation
5  * Move these functions to dlls/ole32/ole2impl.c when you implement them.
6  *
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.
11  *
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.
16  *
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
20  */
21 
22 #include "precomp.h"
23 
24 WINE_DEFAULT_DEBUG_CHANNEL(ole);
25 
26 /******************************************************************************
27  *               OleCreateLinkToFile        [OLE32.@]
28  */
29 HRESULT WINAPI  OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
30 	  		DWORD renderopt, LPFORMATETC lpFormatEtc,
31 			LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
32 {
33     FIXME("(%p,%p,%i,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
34     return E_NOTIMPL;
35 }
36 
37 /******************************************************************************
38  *              OleCreateLink        [OLE32.@]
39  */
40 HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
41                 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
42 {
43   FIXME("(not shown), stub!\n");
44   return E_NOTIMPL;
45 }
46 
47 /******************************************************************************
48  *              OleGetIconOfClass        [OLE32.@]
49  */
50 HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
51 {
52   FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
53   return NULL;
54 }
55 
56 /***********************************************************************
57  *              OleGetIconOfFile        [OLE32.@]
58  */
59 HGLOBAL WINAPI OleGetIconOfFile(LPOLESTR path, BOOL use_file_as_label)
60 {
61     FIXME("(%s, %d), stub!\n", debugstr_w(path), use_file_as_label);
62     return NULL;
63 }
64 
65 /***********************************************************************
66  *           OleRegEnumFormatEtc    [OLE32.@]
67  */
68 HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc (
69   REFCLSID clsid,
70   DWORD    dwDirection,
71   LPENUMFORMATETC* ppenumFormatetc)
72 {
73     FIXME("(%p, %d, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
74 
75     return E_NOTIMPL;
76 }
77 
78 /***********************************************************************
79  *              CoGetCallerTID        [OLE32.@]
80  */
81 HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID)
82 {
83   FIXME("stub!\n");
84   return E_NOTIMPL;
85 }
86