|Oracle Call Interface Programmer's Guide
Release 2 (9.2)
Part Number A96584-01
More OCI Relational Functions, 66 of 106
Retrieves the OCIThreadHandle of the thread in which it is called.
The OCI environment or user session 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
If not NULL, the location to place the thread handle for the thread.
tHnd should be initialized by
The thread handle
tHnd retrieved by this function must be closed with
OCIThreadClose() and destroyed by
OCIThreadHndDestroy() after it is used.