msdaps: Add server side stubs for IAccessor.

This commit is contained in:
Huw Davies 2010-02-04 12:19:06 +00:00 committed by Alexandre Julliard
parent 59c2caa6f4
commit 7deb07cf2f
2 changed files with 57 additions and 1 deletions

View File

@ -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)

View File

@ -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);
}
[