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