source: trunk/src/ole32/ole2stubs.c

Last change on this file was 10432, checked in by bird, 22 years ago

#682: Drag & Drop fixes. Some Wine resync.

File size: 5.6 KB
RevLine 
[5602]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.
[8441]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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
[5602]20 */
21
22#include "windef.h"
23#include "winbase.h"
24#include "winuser.h"
25#include "ole2.h"
[8441]26#include "wine/debug.h"
[5602]27
[8441]28WINE_DEFAULT_DEBUG_CHANNEL(ole);
[5602]29
30/******************************************************************************
[10432]31 * OleCreateLinkToFile [OLE32.@]
[5602]32 */
33HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
[6711]34 DWORD renderopt, LPFORMATETC lpFormatEtc,
35 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
[5602]36{
37 FIXME("(%p,%p,%li,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
[8441]38 return E_NOTIMPL;
[5602]39}
40
41
42/******************************************************************************
[10432]43 * OleDuplicateData [OLE32.@]
[5602]44 */
45HRESULT WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat,
[6711]46 UINT uiFlags)
[5602]47{
48 FIXME("(%x,%x,%x), stub!\n", hSrc, cfFormat, uiFlags);
[8441]49 return E_NOTIMPL;
[5602]50}
51
[8620]52
[5602]53/***********************************************************************
54 * WriteFmtUserTypeStg (OLE32.160)
55 */
56HRESULT WINAPI WriteFmtUserTypeStg(
[6711]57 LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType)
[5602]58{
59 FIXME("(%p,%x,%s) stub!\n",pstg,cf,debugstr_w(lpszUserType));
[8441]60 return E_NOTIMPL;
[5602]61}
62
63
64/******************************************************************************
[10432]65 * SetConvertStg [OLE32.@]
[5602]66 */
67HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert)
68{
69 FIXME("(%p,%x), stub!\n", pStg, fConvert);
[8441]70 return E_NOTIMPL;
[5602]71}
72
73/******************************************************************************
[10432]74 * OleCreateLink [OLE32.@]
[5602]75 */
76HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
77 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
78{
79 FIXME("(not shown), stub!\n");
[8441]80 return E_NOTIMPL;
[5602]81}
82
83/******************************************************************************
[10432]84 * OleCreateFromFile [OLE32.@]
[5602]85 */
86HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
87 DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
88{
89 FIXME("(not shown), stub!\n");
[8441]90 return E_NOTIMPL;
[5602]91}
92
93
94/******************************************************************************
[10432]95 * OleGetIconOfClass [OLE32.@]
[5602]96 */
97HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
98{
99 FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
[8441]100 return (HGLOBAL)NULL;
[5602]101}
102
103/******************************************************************************
104 * ReadFmtUserTypeStg [OLE32.136]
105 */
106HRESULT WINAPI ReadFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lplpszUserType)
107{
108 FIXME("(%p,%p,%p), stub!\n", pstg, pcf, lplpszUserType);
[8441]109 return E_NOTIMPL;
[5602]110}
111
112/******************************************************************************
[10432]113 * OleCreateStaticFromData [OLE32.@]
[5602]114 */
115HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
116 DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
117 LPSTORAGE pStg, LPVOID* ppvObj)
118{
119 FIXME("(not shown), stub!\n");
[8441]120 return E_NOTIMPL;
[5602]121}
122
123/******************************************************************************
[10432]124 * OleCreateLinkFromData [OLE32.@]
[5602]125 */
126
127HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
128 DWORD renderopt, LPFORMATETC pFormatEtc,
129 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
130 LPVOID* ppvObj)
131{
132 FIXME("(not shown), stub!\n");
[8441]133 return E_NOTIMPL;
[5602]134}
135
136/******************************************************************************
[10432]137 * OleIsRunning [OLE32.@]
[5602]138 */
139BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject)
140{
141 FIXME("(%p), stub!\n", pObject);
142 return TRUE;
143}
144
145/***********************************************************************
[10432]146 * OleRegEnumVerbs [OLE32.@]
[5602]147 */
148HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum)
149{
150 FIXME("(%p,%p), stub!\n", clsid, ppenum);
151 return OLEOBJ_E_NOVERBS;
152}
153
154/***********************************************************************
[10432]155 * OleRegEnumFormatEtc [OLE32.@]
[5602]156 */
157HRESULT WINAPI OleRegEnumFormatEtc (
[8620]158 REFCLSID clsid,
[5602]159 DWORD dwDirection,
160 LPENUMFORMATETC* ppenumFormatetc)
161{
162 FIXME("(%p, %ld, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
163
[8441]164 return E_NOTIMPL;
[5602]165}
166
167/***********************************************************************
[10432]168 * CoIsOle1Class [OLE32.@]
[5602]169 */
170BOOL WINAPI CoIsOle1Class(REFCLSID clsid)
171{
172 FIXME("%s\n", debugstr_guid(clsid));
173 return FALSE;
174}
Note: See TracBrowser for help on using the repository browser.