OpenAPI User Guide > OpenAPI User Guide > OpenAPI Function Reference > Output Parameters Allocated by OpenAPI
Was this helpful?
Output Parameters Allocated by OpenAPI
An application allocates memory for each OpenAPI function argument and its input parameters.
The application also allocates memory for the output parameters, except for the following parameters, which are allocated by OpenAPI:
Parameter
Function
ce_eventDB
IIapi_catchEvent()
ce_eventName
IIapi_catchEvent()
ce_eventOwner
IIapi_catchEvent()
ce_eventTime.dv_value
IIapi_catchEvent()
cp_fileName
IIapi_getCopyMap()
cp_logName
IIapi_getCopyMap()
cp_dbmsDescr
IIapi_getCopyMap()
cp_fileDescr
IIapi_getCopyMap()
gd_descriptor
IIapi_getDescriptor()
ge_message
IIapi_getErrorInfo()
svr_parmDescr
IIapi_getErrorInfo()
svr_parmValue
IIapi_getErrorInfo()
The output parameters allocated by OpenAPI are maintained until the application calls IIapi_close() with the statement handle associated with these parameters. To retain the information after IIapi_close() is invoked, the application copies the parameters into its own buffers.
Last modified date: 01/30/2023