System DSN:
SQLGetPrivateProfileString
Enumerating ODBC Data Sources available on the local computer
How to retrieve list of system DSNs (Data Source Name) with parameters