If a DSN is System wide, we need to write to the HKEY_LOCAL_MACHINE
part of the registry not HKEY_CURRENT_USER which it's currently doing.
--
v2: odbccp32: SQLWritePrivateProfileStringW check for existing DSN first
odbccp32: Support System wide ODBC DSN keys
https://gitlab.winehq.org/wine/wine/-/merge_requests/5812
This should reflect what we actually support, while still being a superset
of what native drivers actually support.
Native driver support varies, but, as the comments document, native drivers
(at least as of windows 10) support only RGB -> RGB, YUV -> RGB, and BC -> RGB
conversions. The actual formats supported are a more limited subset than exposed
(despite that the video cards should be perfectly capable of supporting more
conversions) but erring on the side of overreporting seems safer.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5816