Commit c93798bd authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msado15: Improve return when field cannot be found.

parent 47d8d565
......@@ -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 )
......
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