Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenole2stubs.c
Go to the documentation of this file.
00001 /* 00002 * Temporary place for ole2 stubs. 00003 * 00004 * Copyright (C) 1999 Corel Corporation 00005 * Move these functions to dlls/ole32/ole2impl.c when you implement them. 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00020 */ 00021 00022 #define NONAMELESSUNION 00023 #define NONAMELESSSTRUCT 00024 #include <stdarg.h> 00025 00026 #include "windef.h" 00027 #include "winbase.h" 00028 #include "winuser.h" 00029 #include "ole2.h" 00030 #include "objidl.h" 00031 #include "wine/debug.h" 00032 00033 WINE_DEFAULT_DEBUG_CHANNEL(ole); 00034 00035 /****************************************************************************** 00036 * OleCreateLinkToFile [OLE32.@] 00037 */ 00038 HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, 00039 DWORD renderopt, LPFORMATETC lpFormatEtc, 00040 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj) 00041 { 00042 FIXME("(%p,%p,%i,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj); 00043 return E_NOTIMPL; 00044 } 00045 00046 /****************************************************************************** 00047 * SetConvertStg [OLE32.@] 00048 */ 00049 HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert) 00050 { 00051 FIXME("(%p,%x), stub!\n", pStg, fConvert); 00052 return E_NOTIMPL; 00053 } 00054 00055 /****************************************************************************** 00056 * OleCreateLink [OLE32.@] 00057 */ 00058 HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, 00059 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj) 00060 { 00061 FIXME("(not shown), stub!\n"); 00062 return E_NOTIMPL; 00063 } 00064 00065 /****************************************************************************** 00066 * OleCreateFromFile [OLE32.@] 00067 */ 00068 HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid, 00069 DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj) 00070 { 00071 FIXME("(not shown), stub!\n"); 00072 return E_NOTIMPL; 00073 } 00074 00075 00076 /****************************************************************************** 00077 * OleGetIconOfClass [OLE32.@] 00078 */ 00079 HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel) 00080 { 00081 FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel); 00082 return NULL; 00083 } 00084 00085 00086 /****************************************************************************** 00087 * OleCreateStaticFromData [OLE32.@] 00088 */ 00089 HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid, 00090 DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, 00091 LPSTORAGE pStg, LPVOID* ppvObj) 00092 { 00093 FIXME("(srcdata=%p, refiid=%s, renderopt=%x, formatetc=%p, client=%p, storage=%p, ppv=%p), stub!\n", 00094 pSrcDataObj,debugstr_guid(iid),renderopt,pFormatEtc,pClientSite,pStg,ppvObj ); 00095 return E_NOTIMPL; 00096 } 00097 00098 /****************************************************************************** 00099 * OleCreateLinkFromData [OLE32.@] 00100 */ 00101 00102 HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid, 00103 DWORD renderopt, LPFORMATETC pFormatEtc, 00104 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, 00105 LPVOID* ppvObj) 00106 { 00107 FIXME("(not shown), stub!\n"); 00108 return E_NOTIMPL; 00109 } 00110 00111 /*********************************************************************** 00112 * OleRegEnumFormatEtc [OLE32.@] 00113 */ 00114 HRESULT WINAPI OleRegEnumFormatEtc ( 00115 REFCLSID clsid, 00116 DWORD dwDirection, 00117 LPENUMFORMATETC* ppenumFormatetc) 00118 { 00119 FIXME("(%p, %d, %p), stub!\n", clsid, dwDirection, ppenumFormatetc); 00120 00121 return E_NOTIMPL; 00122 } 00123 00124 /*********************************************************************** 00125 * CoGetCallerTID [OLE32.@] 00126 */ 00127 HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID) 00128 { 00129 FIXME("stub!\n"); 00130 return E_NOTIMPL; 00131 } 00132 00133 /*********************************************************************** 00134 * CoGetCurrentLogicalThreadId [OLE32.@] 00135 */ 00136 HRESULT WINAPI CoGetCurrentLogicalThreadId(GUID *pguid) 00137 { 00138 FIXME(": stub\n"); 00139 return E_NOTIMPL; 00140 } Generated on Sun May 27 2012 04:25:39 for ReactOS by
1.7.6.1
|