mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 01:29:47 +00:00
msdasql: Implement IColumnsRowset GetAvailableColumns.
The functions returns a series of custom columns to make a row unique. For us, it's safe to return no extra columns at this stage. Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
This commit is contained in:
parent
ebf0070899
commit
df72f9a870
|
@ -919,8 +919,16 @@ static ULONG WINAPI column_rs_Release(IColumnsRowset *iface)
|
||||||
static HRESULT WINAPI column_rs_GetAvailableColumns(IColumnsRowset *iface, DBORDINAL *count, DBID **columns)
|
static HRESULT WINAPI column_rs_GetAvailableColumns(IColumnsRowset *iface, DBORDINAL *count, DBID **columns)
|
||||||
{
|
{
|
||||||
struct msdasql_rowset *rowset = impl_from_IColumnsRowset( iface );
|
struct msdasql_rowset *rowset = impl_from_IColumnsRowset( iface );
|
||||||
FIXME("%p, %p, %p\n", rowset, count, columns);
|
|
||||||
return E_NOTIMPL;
|
TRACE("%p, %p, %p\n", rowset, count, columns);
|
||||||
|
|
||||||
|
if (!count || !columns)
|
||||||
|
return E_INVALIDARG;
|
||||||
|
|
||||||
|
*count = 0;
|
||||||
|
*columns = NULL;
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI column_rs_GetColumnsRowset(IColumnsRowset *iface, IUnknown *outer, DBORDINAL count,
|
static HRESULT WINAPI column_rs_GetColumnsRowset(IColumnsRowset *iface, IUnknown *outer, DBORDINAL count,
|
||||||
|
|
Loading…
Reference in a new issue