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.
12 #include "debugtools.h"
14 DEFAULT_DEBUG_CHANNEL(ole)
16 /******************************************************************************
17 * OleCreateLinkToFile [OLE32.96]
19 HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid,
20 DWORD renderopt, LPFORMATETC lpFormatEtc,
21 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
23 FIXME("(%p,%p,%li,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj);
28 /******************************************************************************
29 * OleDuplicateData [OLE32.102]
31 HRESULT WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat,
34 FIXME("(%x,%x,%x), stub!\n", hSrc, cfFormat, uiFlags);
39 /***********************************************************************
40 * WriteFmtUserTypeStg (OLE32.160)
42 HRESULT WINAPI WriteFmtUserTypeStg(
43 LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType)
45 FIXME("(%p,%x,%p) stub!\n",pstg,cf,lpszUserType);
49 /***********************************************************************
50 * OleTranslateAccelerator [OLE32.130]
52 HRESULT WINAPI OleTranslateAccelerator (LPOLEINPLACEFRAME lpFrame,
53 LPOLEINPLACEFRAMEINFO lpFrameInfo, LPMSG lpmsg)
55 FIXME("(%p,%p,%p),stub!\n", lpFrame, lpFrameInfo, lpmsg);
59 /******************************************************************************
60 * CoTreatAsClass [OLE32.46]
62 HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew)
64 FIXME("(%p,%p), stub!\n", clsidOld, clsidNew);
69 /******************************************************************************
70 * IsAccelerator [OLE32.75]
72 BOOL WINAPI IsAccelerator(HACCEL hAccel, int cAccelEntries, LPMSG lpMsg, WORD* lpwCmd)
74 FIXME("(%x,%i,%p,%p), stub!\n", hAccel, cAccelEntries, lpMsg, lpwCmd);
78 /******************************************************************************
79 * SetConvertStg [OLE32.142]
81 HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert)
83 FIXME("(%p,%x), stub!\n", pStg, fConvert);
87 /******************************************************************************
88 * OleCreate [OLE32.80]
90 HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
91 LPSTORAGE pStg, LPVOID* ppvObj)
93 FIXME("(not shown), stub!\n");
97 /******************************************************************************
98 * OleCreateLink [OLE32.94]
100 HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
101 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
103 FIXME("(not shown), stub!\n");
107 /******************************************************************************
108 * OleCreateFromFile [OLE32.93]
110 HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
111 DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj)
113 FIXME("(not shown), stub!\n");
117 /******************************************************************************
118 * OleLockRunning [OLE32.114]
120 HRESULT WINAPI OleLockRunning(LPUNKNOWN pUnknown, BOOL fLock, BOOL fLastUnlockCloses)
122 FIXME("(%p,%x,%x), stub!\n", pUnknown, fLock, fLastUnlockCloses);
126 /******************************************************************************
127 * OleGetIconOfClass [OLE32.106]
129 HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel)
131 FIXME("(%p,%p,%x), stub!\n", rclsid, lpszLabel, fUseTypeAsLabel);
135 /******************************************************************************
136 * ReadFmtUserTypeStg [OLE32.136]
138 HRESULT WINAPI ReadFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lplpszUserType)
140 FIXME("(%p,%p,%p), stub!\n", pstg, pcf, lplpszUserType);
144 /******************************************************************************
145 * OleCreateStaticFromData [OLE32.98]
147 HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
148 DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
149 LPSTORAGE pStg, LPVOID* ppvObj)
151 FIXME("(not shown), stub!\n");
155 /******************************************************************************
156 * OleCreateLinkFromData [OLE32.95]
159 HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
160 DWORD renderopt, LPFORMATETC pFormatEtc,
161 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
164 FIXME("(not shown), stub!\n");
168 /******************************************************************************
169 * OleIsRunning [OLE32.111]
171 BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject)
173 FIXME("(%p), stub!\n", pObject);
177 /***********************************************************************
178 * OleRegEnumVerbs [OLE32.120]
180 HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum)
182 FIXME("(%p,%p), stub!\n", clsid, ppenum);
183 return OLEOBJ_E_NOVERBS;
186 /***********************************************************************
187 * OleRegEnumFormatEtc [OLE32.119]
189 HRESULT WINAPI OleRegEnumFormatEtc (
192 LPENUMFORMATETC* ppenumFormatetc)
194 FIXME("(%p, %ld, %p), stub!\n", clsid, dwDirection, ppenumFormatetc);
199 /***********************************************************************
200 * PropVariantClear [OLE32.166]
202 HRESULT WINAPI PropVariantClear(/*PROPVARIANT* */void* pvar)
204 FIXME("(%p): stub:\n", pvar);
207 /* sets at least the vt field to VT_EMPTY */
211 /***********************************************************************
212 * PropVariantCopy [OLE32.246]
214 HRESULT WINAPI PropVariantCopy(/*PROPVARIANT* */void* pvarDest,
215 /*const PROPVARIANT* */ void* pvarSrc)
217 FIXME("(%p, %p): stub:\n", pvarDest, pvarSrc);
222 /***********************************************************************
223 * FreePropVariantArray [OLE32.195]
225 HRESULT WINAPI FreePropVariantArray(ULONG cVariants, /*PROPVARIANT* */void* rgvars)
227 FIXME("(%lu, %p): stub:\n", cVariants, rgvars);