This function creates or modifies a user or system data source based on the semicolon separated list of DSN attributes.
The type argument must be either 'system' or 'user'.
Configures the data source by calling SQLWriteDSNToIni/SQLWritePrivateProfileString/SQLSetConfigMode from the ODBC Installer API.
driver is the Driver name passed to SQLWriteDSNToIni.
Returns the ODBC status code.