Hans Leidekker (@hans) commented about dlls/odbccp32/odbccp32.c:
RegCloseKey(hkey); }
- if ((ret = RegCreateKeyW(HKEY_LOCAL_MACHINE, L"SOFTWARE\ODBC\ODBC.INI", &hkey)) == ERROR_SUCCESS)
- if (config_mode == ODBC_SYSTEM_DSN)
hkeyroot = HKEY_LOCAL_MACHINE;
- if ((ret = RegCreateKeyW(hkeyroot, L"SOFTWARE\ODBC\ODBC.INI", &hkey)) == ERROR_SUCCESS)
This still doesn't handle ODBC_BOTH_DSN.