msado15: Improve return when field cannot be found.
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
47d8d5659f
commit
c93798bd56
|
@ -620,7 +620,7 @@ static HRESULT map_index( struct fields *fields, VARIANT *index, ULONG *ret )
|
|||
}
|
||||
}
|
||||
|
||||
return E_INVALIDARG;
|
||||
return MAKE_ADO_HRESULT(adErrItemNotFound);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI fields_get_Item( Fields *iface, VARIANT index, Field **obj )
|
||||
|
|
Loading…
Reference in New Issue