msado15: Return valid object in Recordset::Clone.

This is just to stop a crash when Clone is called.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2022-04-08 17:33:15 +10:00 committed by Alexandre Julliard
parent 1c4e53dbce
commit 8fbc1c1a09
1 changed files with 6 additions and 2 deletions

View File

@ -1794,8 +1794,12 @@ static HRESULT WINAPI recordset_CompareBookmarks( _Recordset *iface, VARIANT boo
static HRESULT WINAPI recordset_Clone( _Recordset *iface, LockTypeEnum lock_type, _Recordset **obj )
{
FIXME( "%p, %d, %p\n", iface, lock_type, obj );
return E_NOTIMPL;
struct recordset *recordset = impl_from_Recordset( iface );
FIXME( "%p, %d, %p\n", recordset, lock_type, obj );
*obj = iface;
recordset_AddRef( iface );
return S_OK;
}
static HRESULT WINAPI recordset_Resync( _Recordset *iface, AffectEnum affect_records, ResyncEnum resync_values )