http://bugs.winehq.org/show_bug.cgi?id=9540
--- Comment #2 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-09-04 13:18:22 --- I haven't found such code. The only two calls to RegQueryValue are in ODBC_ReplicateODBCInstToRegistry and ODBC_ReplicateODBCToRegistry that does the synchronization in the different direction than we need (and there are no calls to GetPrivateProfile*).
There is some registry access in odbccp32 but the function are for installation of ODBC drivers/query of the drivers list and I'm not sure if they are fully implemented - e.g. the it seems from the MSDN that the SQLInstall* should increase the use count in the registry while we only compute the path.