Example: lrd_ora8_handle_allocOracle 8.0 Functions

Explicitly allocates and initializes an LRDDBI Handle. (Oracle 8.x and later)

LRDRET lrd_ora8_handle_alloc( void const * mpvParentHandle, long const mliDBHandleType, void * * const mppvLRDDBIHandle, int const miDBErrorSeverity );

mpvParentHandle A pointer to the parent LRDDBI handle.
mliDBHandleType A qualifier of an LRDDBI handle type: LRD_HTYPE_ORACLE_qualifier
mppvLRDDBIHandle A pointer to a pointer to the LRDDBI handle.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_ora8_handle_alloc function allocates and initializes an LRDDBI handle. The handle type is specified only by the qualifier. The qualifier is the unique suffix of the LRD_HTYPE_ORACLE_ string. For example, in LRD_HTYPE_ORACLE_SESSION, the qualifier is "SESSION".

This function applies only to Oracle 8.0 databases (or higher).

For more details refer to the Function Header File lrd.h in the include directory.

Return Values

See LRD Return Values.


You cannot use standard parameterization for any arguments in this function.