|Oracle Call Interface Programmer's Guide
Release 2 (9.2)
Part Number A96584-01
OCI Cartridge Functions, 6 of 43
Starts a user duration.
sword OCIDurationBegin ( OCIEnv *env, OCIError *err, CONST OCISvcCtx *svc, OCIDuration parent, OCIDuration *duration );
The OCI environment handle.
The OCI error handle. If there is an error, it is recorded in
err and this function returns OCI_ERROR. Diagnostic information can be obtained by calling
The OCI service context handle. This should be passed as null for cartridge services.
The duration number of the parent duration. One of these:
An identifier unique to the newly created user duration.
This function starts an user duration. A user can have multiple active user durations simultaneously. The user durations do not have to be nested. The
duration parameter is used to return a number which uniquely identifies the duration created by this call.
Note that the environment and service context parameters cannot both be null.