Commit 6e5c2bee authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msado15: Implement _Recordset_MoveNext and _Recordset_MovePrevious.

parent 6f1a4fa8
......@@ -967,14 +967,22 @@ static HRESULT WINAPI recordset_Move( _Recordset *iface, LONG num_records, VARIA
static HRESULT WINAPI recordset_MoveNext( _Recordset *iface )
{
FIXME( "%p\n", iface );
return E_NOTIMPL;
struct recordset *recordset = impl_from_Recordset( iface );
TRACE( "%p\n", recordset );
if (recordset->index < recordset->count) recordset->index++;
return S_OK;
}
static HRESULT WINAPI recordset_MovePrevious( _Recordset *iface )
{
FIXME( "%p\n", iface );
return E_NOTIMPL;
struct recordset *recordset = impl_from_Recordset( iface );
TRACE( "%p\n", recordset );
if (recordset->index >= 0) recordset->index--;
return S_OK;
}
static HRESULT WINAPI recordset_MoveFirst( _Recordset *iface )
......
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