Group: ODBC API - Library: odbc32
Testing an ODBC connection for supporting specific functionality
SQLRETURN SQLGetFunctions(
SQLHDBC ConnectionHandle,
SQLUSMALLINT FunctionId,
SQLUSMALLINT * SupportedPtr); DECLARE SHORT SQLGetFunctions IN odbc32;
INTEGER ConnectionHandle,;
INTEGER FunctionId,;
INTEGER @ SupportedPtr
ConnectionHandle [Input] Connection handle.
FunctionId [Input] A #define value that identifies the ODBC function of interest.
SupportedPtr [Output] If FunctionId identifies a single ODBC function, SupportedPtr points to a single SQLUSMALLINT value that is SQL_TRUE if the specified function is supported by the driver, and SQL_FALSE if it is not supported.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Home