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