Commit 7deb07cf authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

msdaps: Add server side stubs for IAccessor.

parent 59c2caa6
......@@ -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)
......
......@@ -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);
}
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment