Group: ODBC API - Library: odbc32
Retrieves 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 SQLGetConfigMode(
UWORD * pwConfigMode);
DECLARE INTEGER SQLGetConfigMode IN odbccp32;
LONG @ pwConfigMode
pwConfigMode [out] Pointer to the buffer containing the configuration mode.
The function returns TRUE if it is successful, FALSE if it fails.
The value in pwConfigMode can be:
- ODBC_USER_DSN
- ODBC_SYSTEM_DSN
- ODBC_BOTH_DSN
See also SQLSetConfigMode function.