Implement SQLGetInstalledDrivers in odbccp32
Paul Vriens
paul.vriens.wine at gmail.com
Fri Jan 12 09:28:40 CST 2007
Detlef Riekenberg wrote:
> 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
>
Hi,
when running the command as shown on the
wiki '.../winapi....', that above one
is not shown.
Is there something wrong with this
winapi check?
Cheers,
Paul.
More information about the wine-devel
mailing list