msado15: Only support put CursorLocation on Closed Recordset.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8eabf58dee
commit
44501a2781
|
@ -1279,6 +1279,8 @@ static HRESULT WINAPI recordset_put_CursorLocation( _Recordset *iface, CursorLoc
|
||||||
|
|
||||||
TRACE( "%p, %u\n", iface, cursor_loc );
|
TRACE( "%p, %u\n", iface, cursor_loc );
|
||||||
|
|
||||||
|
if (recordset->state == adStateOpen) return MAKE_ADO_HRESULT( adErrObjectOpen );
|
||||||
|
|
||||||
recordset->cursor_location = cursor_loc;
|
recordset->cursor_location = cursor_loc;
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue