diff --git a/dlls/msdaps/row_server.c b/dlls/msdaps/row_server.c index 5fab3150e33..6c3527040fc 100644 --- a/dlls/msdaps/row_server.c +++ b/dlls/msdaps/row_server.c @@ -371,6 +371,40 @@ static HRESULT WINAPI server_GetSpecification(IWineRowServer* iface, REFIID riid return E_NOTIMPL; } +static HRESULT WINAPI server_AddRefAccessor(IWineRowServer* iface, HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p): stub\n", This); + return E_NOTIMPL; +} + +static HRESULT WINAPI server_CreateAccessor(IWineRowServer* iface, DBACCESSORFLAGS dwAccessorFlags, + DBCOUNTITEM cBindings, const DBBINDING *rgBindings, DBLENGTH cbRowSize, + HACCESSOR *phAccessor, DBBINDSTATUS *rgStatus) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p)->(%08x, %d, %p, %d, %p, %p): stub\n", This, dwAccessorFlags, cBindings, rgBindings, cbRowSize, phAccessor, rgStatus); + return E_NOTIMPL; +} + +static HRESULT WINAPI server_GetBindings(IWineRowServer* iface, HACCESSOR hAccessor, + DBACCESSORFLAGS *pdwAccessorFlags, DBCOUNTITEM *pcBindings, + DBBINDING **prgBindings) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p)->(%08lx, %p, %p, %p): stub\n", This, hAccessor, pdwAccessorFlags, pcBindings, prgBindings); + return E_NOTIMPL; +} + +static HRESULT WINAPI server_ReleaseAccessor(IWineRowServer* iface, HACCESSOR hAccessor, + DBREFCOUNT *pcRefCount) +{ + server *This = impl_from_IWineRowServer(iface); + FIXME("(%p)->(%08lx, %p): stub\n", This, hAccessor, pcRefCount); + return E_NOTIMPL; +} + static const IWineRowServerVtbl server_vtbl = { server_QueryInterface, @@ -393,7 +427,11 @@ static const IWineRowServerVtbl server_vtbl = server_Hash, server_GetProperties, server_GetReferencedRowset, - server_GetSpecification + server_GetSpecification, + server_AddRefAccessor, + server_CreateAccessor, + server_GetBindings, + server_ReleaseAccessor }; 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 5f1284774db..aca96867af0 100644 --- a/dlls/msdaps/row_server.idl +++ b/dlls/msdaps/row_server.idl @@ -153,7 +153,25 @@ typedef struct HRESULT GetSpecification([in] REFIID riid, [out, iid_is(riid)] IUnknown **ppSpecification); + /* IAccessor */ + HRESULT AddRefAccessor([in] HACCESSOR hAccessor, + [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount); + + HRESULT CreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags, + [in] DBCOUNTITEM cBindings, + [in, unique, size_is(cBindings)] const DBBINDING *rgBindings, + [in] DBLENGTH cbRowSize, + [out] HACCESSOR *phAccessor, + [in, out, unique, size_is(cBindings)] DBBINDSTATUS *rgStatus); + + HRESULT GetBindings([in] HACCESSOR hAccessor, + [out] DBACCESSORFLAGS *pdwAccessorFlags, + [in, out] DBCOUNTITEM *pcBindings, + [out, size_is(,*pcBindings)] DBBINDING **prgBindings); + + HRESULT ReleaseAccessor([in] HACCESSOR hAccessor, + [in, out, unique] DBREFCOUNT *pcRefCount); } [