From a437cc25d48ec06b13a5adbca6a8b7f9607def60 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Thu, 4 Feb 2010 14:21:30 +0000 Subject: [PATCH] msdaps: Add support for remoting IRowsetInfo_GetProperties. --- dlls/msdaps/row_server.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/dlls/msdaps/row_server.c b/dlls/msdaps/row_server.c index d22089301f0..24cb36737ff 100644 --- a/dlls/msdaps/row_server.c +++ b/dlls/msdaps/row_server.c @@ -351,8 +351,19 @@ static HRESULT WINAPI server_GetProperties(IWineRowServer* iface, ULONG cPropert DBPROPSET **prgPropertySets) { server *This = impl_from_IWineRowServer(iface); - FIXME("(%p)->(%d, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); - return E_NOTIMPL; + IRowsetInfo *rowsetinfo; + HRESULT hr; + + TRACE("(%p)->(%d, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); + + hr = IUnknown_QueryInterface(This->inner_unk, &IID_IRowsetInfo, (void**)&rowsetinfo); + if(FAILED(hr)) return hr; + + hr = IRowsetInfo_GetProperties(rowsetinfo, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); + IRowsetInfo_Release(rowsetinfo); + + TRACE("returning %08x\n", hr); + return hr; } static HRESULT WINAPI server_GetReferencedRowset(IWineRowServer* iface, DBORDINAL iOrdinal, @@ -1010,8 +1021,13 @@ static HRESULT WINAPI rowsetinfo_GetProperties(IRowsetInfo *iface, const ULONG c DBPROPSET **prgPropertySets) { rowset_proxy *This = impl_from_IRowsetInfo(iface); - FIXME("(%p)\n", This); - return E_NOTIMPL; + HRESULT hr; + + TRACE("(%p)->(%d, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); + + hr = IWineRowServer_GetProperties(This->server, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); + + return hr; } static HRESULT WINAPI rowsetinfo_GetReferencedRowset(IRowsetInfo *iface, DBORDINAL iOrdinal, REFIID riid,