lrd_attr_set_from_handle
Example: lrd_attr_set_from_handle | Oracle 8.0 Functions |
Sets an attribute for an LRDDBI handle.
LRDRET lrd_attr_set_from_handle( void *mpvLRDDBIHandleTarget, long mliAttrType, void *mpvValue, long mliValueLen,
int miDBErrorSeverity );
mpvLRDDBIHandleTarget | A pointer to the target LRDDBI handle. |
mliAttrType | One of the LRD attributes: LRD_ATTR_ORACLE_xxx. |
mpvValue | A pointer to a pointer to an attribute. |
mliValueLen | The attribute length for a non null-terminated string." -1" for a null-terminated string and "0" for a handle attribute. |
miDBErrorSeverity | The Error Severity Levels of a failure in a database routine. |
The lrd_attr_set_from_handle function sets an attribute of an LRDDBI handle. You must explicitly allocate the handle prior to calling this function using lrd_handle_alloc. This function is only supported for Oracle 8.0 and higher.
For more details refer to the Function Header File lrd.h in the include directory.
Return Values
See LRD Return Values.
Parameterization
The following argument can be parameterized using standard parameterization: mpvValue