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

lrd_open_context

Example: lrd_open_context Access Management Functions

Opens a context (CtLib and ODBC).

LRDRET lrd_open_context( LRD_CONTEXT **mpptContext, unsigned int muiDBType, long mliLibVersionBehavior, unsigned int muiOption, int miDBErrorSeverity );

mpptContext A pointer to a pointer to an LRD_CONTEXT structure.
muiDBType The target database type.
mliLibVersionBehavior The default library version behavior.
muiOption One of the Open Context Options.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_open_context function opens a context for a ctlib function.

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

Return Values

See LRD Return Values.

Parameterization

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