2 * Temporary place for ole2 stubs.
4 * Copyright (C) 1999 Corel Corporation
5 * Move these functions to dlls/ole32/ole2impl.c when you implement them.
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.
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.
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
22 #define NONAMELESSUNION
23 #define NONAMELESSSTRUCT
31 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(ole
);
35 /******************************************************************************
36 * OleCreateLinkToFile [OLE32.@]
38 HRESULT WINAPI
OleCreateLinkToFile(LPCOLESTR lpszFileName
, REFIID riid
,
39 DWORD renderopt
, LPFORMATETC lpFormatEtc
,
40 LPOLECLIENTSITE pClientSite
, LPSTORAGE pStg
, LPVOID
* ppvObj
)
42 FIXME("(%p,%p,%li,%p,%p,%p,%p), stub!\n",lpszFileName
, riid
, renderopt
, lpFormatEtc
, pClientSite
, pStg
, ppvObj
);
47 /******************************************************************************
48 * OleDuplicateData [OLE32.@]
50 HANDLE WINAPI
OleDuplicateData(HANDLE hSrc
, CLIPFORMAT cfFormat
,
53 FIXME("(%p,%x,%x), stub!\n", hSrc
, cfFormat
, uiFlags
);
58 /******************************************************************************
59 * SetConvertStg [OLE32.@]
61 HRESULT WINAPI
SetConvertStg(LPSTORAGE pStg
, BOOL fConvert
)
63 FIXME("(%p,%x), stub!\n", pStg
, fConvert
);
67 /******************************************************************************
68 * OleCreateLink [OLE32.@]
70 HRESULT WINAPI
OleCreateLink(LPMONIKER pmkLinkSrc
, REFIID riid
, DWORD renderopt
, LPFORMATETC lpFormatEtc
,
71 LPOLECLIENTSITE pClientSite
, LPSTORAGE pStg
, LPVOID
* ppvObj
)
73 FIXME("(not shown), stub!\n");
77 /******************************************************************************
78 * OleCreateFromFile [OLE32.@]
80 HRESULT WINAPI
OleCreateFromFile(REFCLSID rclsid
, LPCOLESTR lpszFileName
, REFIID riid
,
81 DWORD renderopt
, LPFORMATETC lpFormatEtc
, LPOLECLIENTSITE pClientSite
, LPSTORAGE pStg
, LPVOID
* ppvObj
)
83 FIXME("(not shown), stub!\n");
88 /******************************************************************************
89 * OleGetIconOfClass [OLE32.@]
91 HGLOBAL WINAPI
OleGetIconOfClass(REFCLSID rclsid
, LPOLESTR lpszLabel
, BOOL fUseTypeAsLabel
)
93 FIXME("(%p,%p,%x), stub!\n", rclsid
, lpszLabel
, fUseTypeAsLabel
);
98 /******************************************************************************
99 * OleCreateStaticFromData [OLE32.@]
101 HRESULT WINAPI
OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj
, REFIID iid
,
102 DWORD renderopt
, LPFORMATETC pFormatEtc
, LPOLECLIENTSITE pClientSite
,
103 LPSTORAGE pStg
, LPVOID
* ppvObj
)
105 FIXME("(not shown), stub!\n");
109 /******************************************************************************
110 * OleCreateLinkFromData [OLE32.@]
113 HRESULT WINAPI
OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj
, REFIID riid
,
114 DWORD renderopt
, LPFORMATETC pFormatEtc
,
115 LPOLECLIENTSITE pClientSite
, LPSTORAGE pStg
,
118 FIXME("(not shown), stub!\n");
122 /******************************************************************************
123 * OleIsRunning [OLE32.@]
125 BOOL WINAPI
OleIsRunning(LPOLEOBJECT pObject
)
127 FIXME("(%p), stub!\n", pObject
);
131 /***********************************************************************
132 * OleRegEnumVerbs [OLE32.@]
134 HRESULT WINAPI
OleRegEnumVerbs (REFCLSID clsid
, LPENUMOLEVERB
* ppenum
)
136 FIXME("(%p,%p), stub!\n", clsid
, ppenum
);
137 return OLEOBJ_E_NOVERBS
;
140 /***********************************************************************
141 * OleRegEnumFormatEtc [OLE32.@]
143 HRESULT WINAPI
OleRegEnumFormatEtc (
146 LPENUMFORMATETC
* ppenumFormatetc
)
148 FIXME("(%p, %ld, %p), stub!\n", clsid
, dwDirection
, ppenumFormatetc
);
153 /***********************************************************************
154 * CoIsOle1Class [OLE32.@]
156 BOOL WINAPI
CoIsOle1Class(REFCLSID clsid
)
158 FIXME("%s\n", debugstr_guid(clsid
));
162 /***********************************************************************
163 * DllGetClassObject [OLE2.4]
165 HRESULT WINAPI
DllGetClassObject16(REFCLSID rclsid
, REFIID iid
, LPVOID
*ppv
)
167 FIXME("(%s, %s, %p): stub\n", debugstr_guid(rclsid
), debugstr_guid(iid
), ppv
);
171 /***********************************************************************
172 * OleSetClipboard [OLE2.49]
174 HRESULT WINAPI
OleSetClipboard16(IDataObject
* pDataObj
)
176 FIXME("(%p): stub\n", pDataObj
);
180 /***********************************************************************
181 * OleGetClipboard [OLE2.50]
183 HRESULT WINAPI
OleGetClipboard16(IDataObject
** ppDataObj
)
185 FIXME("(%p): stub\n", ppDataObj
);