ReactOS  0.4.14-dev-384-g5b37caa
ole2stubs.c
Go to the documentation of this file.
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 <stdarg.h>
23 
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winuser.h"
27 #include "ole2.h"
28 #include "objidl.h"
29 #include "wine/debug.h"
30 
32 
33 /******************************************************************************
34  * OleCreateLinkToFile [OLE32.@]
35  */
36 HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
37  DWORD renderopt, LPFORMATETC lpFormatEtc,
38  LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
39 {
40  FIXME("(%p,%p,%i,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
41  return E_NOTIMPL;
42 }
43 
44 /******************************************************************************
45  * OleCreateLink [OLE32.@]
46  */
47 HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
48  LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
49 {
50  FIXME("(not shown), stub!\n");
51  return E_NOTIMPL;
52 }
53 
54 /******************************************************************************
55  * OleGetIconOfClass [OLE32.@]
56  */
57 HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
58 {
59  FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
60  return NULL;
61 }
62 
63 /***********************************************************************
64  * OleGetIconOfFile [OLE32.@]
65  */
67 {
68  FIXME("(%s, %d), stub!\n", debugstr_w(path), use_file_as_label);
69  return NULL;
70 }
71 
72 /***********************************************************************
73  * OleRegEnumFormatEtc [OLE32.@]
74  */
77  DWORD dwDirection,
78  LPENUMFORMATETC* ppenumFormatetc)
79 {
80  FIXME("(%p, %d, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
81 
82  return E_NOTIMPL;
83 }
84 
85 /***********************************************************************
86  * CoGetCallerTID [OLE32.@]
87  */
89 {
90  FIXME("stub!\n");
91  return E_NOTIMPL;
92 }
interface IStorage * LPSTORAGE
Definition: objfwd.h:30
#define REFIID
Definition: guiddef.h:118
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:117
HRESULT WINAPI DECLSPEC_HOTPATCH OleRegEnumFormatEtc(REFCLSID clsid, DWORD dwDirection, LPENUMFORMATETC *ppenumFormatetc)
Definition: ole2stubs.c:75
HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj)
Definition: ole2stubs.c:47
HGLOBAL WINAPI OleGetIconOfFile(LPOLESTR path, BOOL use_file_as_label)
Definition: ole2stubs.c:66
HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID)
Definition: ole2stubs.c:88
static LPOLESTR
Definition: stg_prop.c:27
unsigned int BOOL
Definition: ntddk_ex.h:94
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
#define DECLSPEC_HOTPATCH
Definition: _mingw.h:240
HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj)
Definition: ole2stubs.c:36
LONG HRESULT
Definition: typedefs.h:77
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
interface IEnumFORMATETC * LPENUMFORMATETC
Definition: objfwd.h:24
REFCLSID clsid
Definition: msctf.c:82
interface IMoniker * LPMONIKER
Definition: objfwd.h:9
#define E_NOTIMPL
Definition: ddrawi.h:99
Definition: services.c:325
WINE_DEFAULT_DEBUG_CHANNEL(ole)
uint32_t * LPDWORD
Definition: typedefs.h:57
HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
Definition: ole2stubs.c:57