Huw Davies : msdaps: Add support for remoting IRowsetInfo_GetProperties.

Alexandre Julliard julliard at winehq.org
Fri Feb 5 08:42:33 CST 2010


Module: wine
Branch: master
Commit: a437cc25d48ec06b13a5adbca6a8b7f9607def60
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a437cc25d48ec06b13a5adbca6a8b7f9607def60

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Feb  4 14:21:30 2010 +0000

msdaps: Add support for remoting IRowsetInfo_GetProperties.

---

 dlls/msdaps/row_server.c |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/dlls/msdaps/row_server.c b/dlls/msdaps/row_server.c
index d220893..24cb367 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,




More information about the wine-cvs mailing list