MQ_CLOSE_EXIT - Close object

 


Exit providers can supply an  MQ_CLOSE_EXIT  function to intercept the  MQCLOSE  call.

 

Syntax


 MQ_CLOSE_EXIT  (pExitParms, pExitContext, pHconn, ppHobj, pOptions,
pCompCode, pReason)

 

Parameters

The  MQ_CLOSE_EXIT  call has the following parameters.

 

pExitParms (PMQAXP) - input/output

Exit parameter structure.

 

pExitContext (PMQAXC) - input/output

Exit context structure.

 

pHconn (PMQHCONN) - input/output

Connection handle.

 

ppHobj (PPMQHOBJ) - input/output

Object handle.

 

pOptions (PMQLONG) - input/output

Options that control the action of  MQCLOSE .

 

pCompCode (PMQLONG) - input/output

Completion code.

 

pReason (PMQLONG) - input/output

Reason code qualifying pCompCode.

 

C invocation

MQ_CLOSE_EXIT (&ExitParms, &ExitContext, &Hconn, &pHobj,
              &Options, &CompCode, &Reason);

The parameters passed to the exit are declared as follows:

PMQAXP    pExitParms;    /* Exit parameter structure */
PMQAXC    pExitContext;  /* Exit context structure */
PMQHCONN  pHconn;        /* Connection handle */
PPMQHOBJ  ppHobj;        /* Object handle */
PMQLONG   pOptions;      /* Options that control the action of MQCLOSE */
PMQLONG   pCompCode;     /* Completion code */
PMQLONG   pReason;       /* Reason code qualifying CompCode */