From: Stefan Dösinger <stefan(a)codeweavers.com> Either we need to call the driver or we have to pass our handle to our function. Calling the driver matches what other functions do. --- dlls/odbc32/proxyodbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c index ccd17909461..7025a141bb6 100644 --- a/dlls/odbc32/proxyodbc.c +++ b/dlls/odbc32/proxyodbc.c @@ -2982,7 +2982,7 @@ static SQLRETURN get_info_win32_a( struct connection *con, SQLUSMALLINT type, SQ default: break; } - ret = SQLGetInfoW( con->hdr.win32_handle, type, buf, buflen, retlen ); + ret = con->hdr.win32_funcs->SQLGetInfoW( con->hdr.win32_handle, type, buf, buflen, retlen ); if (SUCCESS( ret ) && strW) { int len = WideCharToMultiByte( CP_ACP, 0, strW, -1, (char *)value, buflen, NULL, NULL ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7794