Group: ODBC API - Library: odbc32
SQLGetInstalledDrivers reads the [ODBC Drivers] section of the system information and returns a list of descriptions of the installed drivers.
List of ODBC drivers installed (read from the [ODBC Drivers] section)
BOOL SQLGetInstalledDrivers(
LPSTR lpszBuf,
WORD cbBufMax,
WORD * pcbBufOut);
DECLARE INTEGER SQLGetInstalledDrivers IN odbccp32;
STRING @ lpszBuf,;
INTEGER cbBufMax,;
INTEGER @ pcbBufOut
lpszBuf [Output] List of descriptions of the installed drivers.
cbBufMax [Input] Length of lpszBuf.
pcbBufOut [Output] Total number of bytes (excluding the null-termination byte) returned in lpszBuf.
The function returns TRUE if it is successful.
[My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]