Implement SQLGetInstalledDrivers in odbccp32

Detlef Riekenberg wine.dev at web.de
Fri Jan 12 06:45:22 CST 2007


At first:
Congratulations for the commit of your Patches.


On Do, 2007-01-11 at 09:29 -0800, Bill Medland wrote:

> Bill Medland (billmedland at shaw.ca)
> Implement GetInstalledDrivers in odbccp32

>  BOOL WINAPI SQLGetInstalledDriversW(LPWSTR lpszBuf, WORD cbBufMax,
>                 WORD *pcbBufOut)

> +    else if ((reg_ret = RegOpenKeyExA (HKEY_LOCAL_MACHINE /* The drivers does not depend on the config mode */,
> +            "Software\\ODBC\\ODBCINST.INI\\ODBC Drivers", 0, KEY_READ /* Maybe overkill */,
> +            &hDrivers)) == ERROR_SUCCESS)

We want to eleminate all CrossCalls:
http://wiki.winehq.org/CrossCallsWtoA

Please convert RegOpenKeyExA and the string to UNICODE.
Thanks

-- 
 
By by ... Detlef





More information about the wine-devel mailing list