OAIP_getDSInfo
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This IP function is called to obtain information about the data source such as the SQL capabilities, limits on object names, and other information.
int OAIP_getDSInfo(
IP_HDBC hdbc,
short int iInfoType,
void * pInfoValue,
short int iInfoValueMax,
short int * piInfoValueLen)
Parameters for OAIP_getDSInfo
| Parameter | Type | Description |
| IN | ||
| hdbc | IP_HDBC | A pointer to the connection data you allocated. |
| iInfoType | short int | Type of information requested. If the IP does not handle the information request, the default value is used. |
| pInfoValue | void * | A pointer to the buffer in which to return the information. Some iInfoTypes require strings and others integers. |
| iInfoValueMax | int * | The size of the buffer. |
| OUT | ||
| piInfoValueLen | short int * | Returns the number of bytes written in the buffer. |
| RETURN | ||
| int | DAM_SUCCESS - on success DAM_NOT_AVAILABLE - use the default value set by the OpenAccess SDK SQL engine. |