Group: ODBC API - Library: odbc32
Sets the configuration mode that indicates where the Odbc.ini entry listing DSN values is in the system information.
How to retrieve list of system DSNs (Data Source Name) with parameters
BOOL SQLSetConfigMode(
UWORD wConfigMode);
DECLARE INTEGER SQLSetConfigMode IN odbccp32;
LONG wConfigMode
wConfigMode [in] The installer configuration mode.
The function returns TRUE if it is successful, FALSE if it fails.
The value in wConfigMode can be:
- ODBC_USER_DSN
- ODBC_SYSTEM_DSN
- ODBC_BOTH_DSN
See also SQLGetConfigMode function.