2. OpenAPI Function Reference : OpenAPI Functions : IIapi_releaseXID() Function--Release Unique ID for Two-phase Commit Transaction
 
Share this page                  
IIapi_releaseXID() Function--Release Unique ID for Two-phase Commit Transaction
The IIapi_releaseXID() function releases the transaction ID reserved by IIapi_registerXID(). It also frees the resources associated with the transaction ID handle.
This function has the following syntax:
II_VOID IIapi_releaseXID (IIAPI_RELXIDPARM *relXIDParm);
typedef struct _IIAPI_RELXIDPARM
{
       II_PTR             rl_tranIdHandle;
       IIAPI_STATUS       rl_status;
} IIAPI_RELXIDPARM;
This function has the following parameters:
rl_tranIdHandle
Type: input
Specifies the transaction ID handle identifying the unique transaction ID to be released.
rl_status
Type: immediate output
Specifies the status of IIapi_releaseXID() upon completion. Its value can be one of the following:
IIAPI_ST_SUCCESS
IIAPI_ST_FAILURE
IIAPI_ST_NOT_INITIALIZED
IIAPI_ST_INVALID_HANDLE