Changeset 6711 for trunk/src/ole32/ole2stubs.c
- Timestamp:
- Sep 15, 2001, 11:32:00 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/ole2stubs.c
r6648 r6711 1 /* $Id: ole2stubs.c,v 1.2 2001-09-05 13:17:11 bird Exp $ */2 1 /* 3 2 * Temporary place for ole2 stubs. … … 20 19 */ 21 20 HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, 22 23 21 DWORD renderopt, LPFORMATETC lpFormatEtc, 22 LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj) 24 23 { 25 24 FIXME("(%p,%p,%li,%p,%p,%p,%p), stub!\n",lpszFileName, riid, renderopt, lpFormatEtc, pClientSite, pStg, ppvObj); … … 32 31 */ 33 32 HRESULT WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat, 34 33 UINT uiFlags) 35 34 { 36 35 FIXME("(%x,%x,%x), stub!\n", hSrc, cfFormat, uiFlags); … … 38 37 } 39 38 40 39 41 40 /*********************************************************************** 42 41 * WriteFmtUserTypeStg (OLE32.160) 43 42 */ 44 43 HRESULT WINAPI WriteFmtUserTypeStg( 45 44 LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType) 46 45 { 47 46 FIXME("(%p,%x,%s) stub!\n",pstg,cf,debugstr_w(lpszUserType)); … … 82 81 */ 83 82 HRESULT WINAPI OleCreate( 84 85 86 87 88 89 90 83 REFCLSID rclsid, 84 REFIID riid, 85 DWORD renderopt, 86 LPFORMATETC pFormatEtc, 87 LPOLECLIENTSITE pClientSite, 88 LPSTORAGE pStg, 89 LPVOID* ppvObj) 91 90 { 92 91 HRESULT hres, hres1; 93 92 IUnknown * pUnk = NULL; 94 93 95 94 FIXME("\n\t%s\n\t%s stub!\n", debugstr_guid(rclsid), debugstr_guid(riid)); 96 95 … … 106 105 hres1 = IOleObject_SetClientSite(pOE, pClientSite); 107 106 TRACE("-- result 0x%08lx\n", hres1); 108 107 IOleObject_Release(pOE); 109 108 } 110 109 if (SUCCEEDED((hres = IUnknown_QueryInterface( pUnk, &IID_IPersistStorage, (LPVOID*)&pPS)))) 111 110 { 112 111 TRACE("trying to set stg %p\n", pStg); 113 112 hres1 = IPersistStorage_InitNew(pPS, pStg); 114 113 TRACE("-- result 0x%08lx\n", hres1); 115 114 IPersistStorage_Release(pPS); 116 115 } 117 116 } … … 209 208 */ 210 209 HRESULT WINAPI OleRegEnumFormatEtc ( 211 REFCLSID clsid, 210 REFCLSID clsid, 212 211 DWORD dwDirection, 213 212 LPENUMFORMATETC* ppenumFormatetc) … … 219 218 220 219 /*********************************************************************** 221 * PropVariantClear 220 * PropVariantClear [OLE32.166] 222 221 */ 223 222 HRESULT WINAPI PropVariantClear(void *pvar) /* [in/out] FIXME: PROPVARIANT * */ 224 223 { 225 226 227 228 229 230 } 231 232 /*********************************************************************** 233 * PropVariantCopy 224 FIXME("(%p): stub:\n", pvar); 225 226 *(LPWORD)pvar = 0; 227 /* sets at least the vt field to VT_EMPTY */ 228 return S_OK; 229 } 230 231 /*********************************************************************** 232 * PropVariantCopy [OLE32.246] 234 233 */ 235 234 HRESULT WINAPI PropVariantCopy(void *pvarDest, /* [out] FIXME: PROPVARIANT * */ 236 237 { 238 239 240 241 } 242 243 /*********************************************************************** 244 * FreePropVariantArray 235 const void *pvarSrc) /* [in] FIXME: const PROPVARIANT * */ 236 { 237 FIXME("(%p, %p): stub:\n", pvarDest, pvarSrc); 238 239 return S_OK; 240 } 241 242 /*********************************************************************** 243 * FreePropVariantArray [OLE32.195] 245 244 */ 246 245 HRESULT WINAPI FreePropVariantArray(ULONG cVariants, /* [in] */ 247 248 { 249 250 251 246 void *rgvars) /* [in/out] FIXME: PROPVARIANT * */ 247 { 248 FIXME("(%lu, %p): stub:\n", cVariants, rgvars); 249 250 return S_OK; 252 251 } 253 252
Note:
See TracChangeset
for help on using the changeset viewer.