Canceling the Termination Method Invocation

To cancel invocation of the termination method so that it is not invoked when termination occurs, use the jomDeregisterTerminationCallBack call, shown in the following example.

int jomDeregisterTerminationCallBack(const DskHandle *pHandle,
                                     const JadeTerminationCallBack cb,
                                     const void      *pParam,
                                     TerminationCallBackType callBackType,
                                     LineNumber       lineNo)

If the parameters do not match a previous call to the jomRegisterTerminalCallBack call, the call is ignored.

The parameters for this call are described in the following subsections.