Huw Davies : ole32: Implement QueryGetData().
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Mar 25 10:13:22 CDT 2015
Module: wine
Branch: master
Commit: b0deb315a06d135ba6f15c182380e4d23858fd16
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0deb315a06d135ba6f15c182380e4d23858fd16
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Mar 25 08:37:41 2015 +0000
ole32: Implement QueryGetData().
---
dlls/ole32/datacache.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
index 35b27de..1076a37 100644
--- a/dlls/ole32/datacache.c
+++ b/dlls/ole32/datacache.c
@@ -1026,12 +1026,15 @@ static HRESULT WINAPI DataCache_GetDataHere(
return E_NOTIMPL;
}
-static HRESULT WINAPI DataCache_QueryGetData(
- IDataObject* iface,
- LPFORMATETC pformatetc)
+static HRESULT WINAPI DataCache_QueryGetData( IDataObject *iface, FORMATETC *fmt )
{
- FIXME("stub\n");
- return E_NOTIMPL;
+ DataCache *This = impl_from_IDataObject( iface );
+ DataCacheEntry *cache_entry;
+
+ TRACE( "(%p)->(%s)\n", iface, debugstr_formatetc( fmt ) );
+ cache_entry = DataCache_GetEntryForFormatEtc( This, fmt );
+
+ return cache_entry ? S_OK : S_FALSE;
}
/************************************************************************
More information about the wine-cvs
mailing list