Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite ODBC API reference

 

SQLGetInfo function

Returns general information about the current ODBC driver and data source, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLGetInfo (
SQLHDBC ConnectionHandle,
SQLUSMALLINT InfoType,
SQLPOINTER * InfoValue,
SQLSMALLINT BufferLength,
SQLSMALLINT ODBCFAR * StringLength );
Parameters
  • ConnectionHandle   A connection handle.

  • InfoType   The type of information returned. The only type supported is SQL_DBMS_VER. The information returned is a character string identifying the current release of the software.

  • InfoValue   A pointer to a buffer in which to return the information.

  • BufferLength   The length of the *InfoValue buffer in bytes.

  • StringLength   A pointer to a buffer in which to return the total number of bytes (excluding the null-termination character for character data) available to return in *InfoValue.