60fcea85323204aebb097ec0da87ee01ff57f77b
[reactos.git] / reactos / dll / win32 / ole32 / ole2stubs.c
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 #define WIN32_NO_STATUS
23 #define _INC_WINDOWS
24
25 #define NONAMELESSUNION
26 #define NONAMELESSSTRUCT
27 #include <stdarg.h>
28
29 #include <windef.h>
30 #include <winbase.h>
31 //#include "winuser.h"
32 #include <ole2.h>
33 //#include "objidl.h"
34 #include <wine/debug.h>
35
36 WINE_DEFAULT_DEBUG_CHANNEL(ole);
37
38 /******************************************************************************
39 * OleCreateLinkToFile [OLE32.@]
40 */
41 HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
42 DWORD renderopt, LPFORMATETC lpFormatEtc,
43 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
44 {
45 FIXME("(%p,%p,%i,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
46 return E_NOTIMPL;
47 }
48
49 /******************************************************************************
50 * OleCreateLink [OLE32.@]
51 */
52 HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
53 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
54 {
55 FIXME("(not shown), stub!\n");
56 return E_NOTIMPL;
57 }
58
59 /******************************************************************************
60 * OleCreateFromFile [OLE32.@]
61 */
62 HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
63 DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
64 {
65 FIXME("(not shown), stub!\n");
66 return E_NOTIMPL;
67 }
68
69
70 /******************************************************************************
71 * OleGetIconOfClass [OLE32.@]
72 */
73 HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
74 {
75 FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
76 return NULL;
77 }
78
79 /***********************************************************************
80 * OleRegEnumFormatEtc [OLE32.@]
81 */
82 HRESULT WINAPI OleRegEnumFormatEtc (
83 REFCLSID clsid,
84 DWORD dwDirection,
85 LPENUMFORMATETC* ppenumFormatetc)
86 {
87 FIXME("(%p, %d, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
88
89 return E_NOTIMPL;
90 }
91
92 /***********************************************************************
93 * CoGetCallerTID [OLE32.@]
94 */
95 HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID)
96 {
97 FIXME("stub!\n");
98 return E_NOTIMPL;
99 }
100
101 /***********************************************************************
102 * CoGetCurrentLogicalThreadId [OLE32.@]
103 */
104 HRESULT WINAPI CoGetCurrentLogicalThreadId(GUID *pguid)
105 {
106 FIXME(": stub\n");
107 return E_NOTIMPL;
108 }