This function calls the SQLWriteFileDSN as follows :
SQLWriteFileDSN (dsn, 'ODBC', string, value)
As described in the SQLWriteFileDSN
Returns the SQL state.
sql_data_sources, sql_columns sql_primary_keys, sql_gettypeinfo, sql_statistics, sql_tables.