Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_handle_alloc


Example: lrd_handle_alloc Oracle 8.0 Functions

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

LRDRET lrd_handle_alloc( unsigned int muiDBType, void *mpvLRDDBIHandleParent, long mliDBHandleType, void **mppvLRDDBIHandle, int miDBErrorSeverity );

muiDBType The target database type.
mpvLRDDBIHandleParent A pointer to the parent LRDDBI handle.
mliDBHandleType An LRDDBI handle type : an option of LRD_HTYPE.
mppvLRDDBIHandle A pointer to a pointer to the LRDDBI handle.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_handle_alloc function allocates and initializes an LRDDBI handle. Note that the parent handle must be allocated before calling this function, explicitly using lrd_handle_alloc, or implicitly using lrd_logon.

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.