Alistair Leslie-Hughes : msado15: Improve return when field cannot be found.
Alexandre Julliard
julliard at winehq.org
Thu Mar 18 16:43:53 CDT 2021
Module: wine
Branch: master
Commit: c93798bd56d03225474eda6bf2f3804b74b63ae8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c93798bd56d03225474eda6bf2f3804b74b63ae8
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Mar 18 16:29:41 2021 +1100
msado15: Improve return when field cannot be found.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msado15/recordset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msado15/recordset.c b/dlls/msado15/recordset.c
index 0b91358f83d..b690e243189 100644
--- a/dlls/msado15/recordset.c
+++ b/dlls/msado15/recordset.c
@@ -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 )
More information about the wine-cvs
mailing list