From 59c2caa6f489a9cc3601fef8e9fdf0cbd5fdecf0 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Thu, 4 Feb 2010 12:12:35 +0000 Subject: [PATCH] msdaps: Add server side stubs for IRowsetInfo. --- dlls/msdaps/row_server.c | 30 +++++++++++++++++++++++++++++- dlls/msdaps/row_server.idl | 15 +++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/dlls/msdaps/row_server.c b/dlls/msdaps/row_server.c index 817b1e923ae..5fab3150e33 100644 --- a/dlls/msdaps/row_server.c +++ b/dlls/msdaps/row_server.c @@ -346,6 +346,31 @@ static HRESULT WINAPI server_Hash(IWineRowServer *iface, HCHAPTER hReserved, DBB return E_NOTIMPL; } +static HRESULT WINAPI server_GetProperties(IWineRowServer* iface, ULONG cPropertyIDSets, + const DBPROPIDSET *rgPropertyIDSets, ULONG *pcPropertySets, + DBPROPSET **prgPropertySets) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p)->(%d, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); + return E_NOTIMPL; +} + +static HRESULT WINAPI server_GetReferencedRowset(IWineRowServer* iface, DBORDINAL iOrdinal, + REFIID riid, IUnknown **ppReferencedRowset) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p): stub\n", This); + return E_NOTIMPL; +} + +static HRESULT WINAPI server_GetSpecification(IWineRowServer* iface, REFIID riid, + IUnknown **ppSpecification) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p): stub\n", This); + return E_NOTIMPL; +} + static const IWineRowServerVtbl server_vtbl = { server_QueryInterface, @@ -365,7 +390,10 @@ static const IWineRowServerVtbl server_vtbl = server_Compare, server_GetRowsAt, server_GetRowsByBookmark, - server_Hash + server_Hash, + server_GetProperties, + server_GetReferencedRowset, + server_GetSpecification }; static HRESULT create_server(IUnknown *outer, const CLSID *class, void **obj) diff --git a/dlls/msdaps/row_server.idl b/dlls/msdaps/row_server.idl index b8c378e0e34..5f1284774db 100644 --- a/dlls/msdaps/row_server.idl +++ b/dlls/msdaps/row_server.idl @@ -139,6 +139,21 @@ typedef struct [out, size_is(cBookmarks)] DBHASHVALUE rgHashedValues[], [out, size_is(cBookmarks)] DBROWSTATUS rgBookmarkStatus[]); + /* IRowsetInfo */ + + HRESULT GetProperties([in] ULONG cPropertyIDSets, + [in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets, + [in, out] ULONG *pcPropertySets, + [out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets); + + HRESULT GetReferencedRowset([in] DBORDINAL iOrdinal, + [in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppReferencedRowset); + + HRESULT GetSpecification([in] REFIID riid, + [out, iid_is(riid)] IUnknown **ppSpecification); + + } [