Skip to content

ABIGetDBInfo

ABIGetDBInfo#

Syntax#

int ABIGetDBInfo (
    ABIDBInfo          **aHandle );

Argument#

Data Type Argument In/Output Description
ABIDBInfo ** aHandle Output The pointer which retrieves the memory address of the structure array that stores the result set

Return Values#

If successful, returns 0; otherwise, returns an error code.

Description#

This function selects the database name and its version number. If this function executes successfully, the aHandle pointer (a pointer of the ABIDBInfo type that points to an array that stores the result set) is returned.

Example#

Please refer to sample_6.c for an application related to this function.

ABIDBInfo *sDBInfo;
int sRet;

sRet = ABIGetDBInfo( &sDBInfo );