MQ_DISC_EXIT - Disconnect queue manager

 


Exit providers can supply an  MQ_DISC_EXIT  function to intercept the  MQDISC  call.

 

Syntax


 MQ_DISC_EXIT  (pExitParms, pExitContext, ppHconn, pCompCode,
pReason)

 

Parameters

The  MQ_DISC_EXIT  call has the following parameters.

 

pExitParms (PMQAXP) - input/output

Exit parameter structure.

 

pExitContext (PMQAXC) - input/output

Exit context structure.

 

ppHconn (PPMQHCONN) - input/output

Connection handle.

 

pCompCode (PMQLONG) - input/output

Completion code.

 

pReason (PMQLONG) - input/output

Reason code qualifying pCompCode.

 

C invocation

MQ_DISC_EXIT (&ExitParms, &ExitContext, &pHconn,
             &CompCode, &Reason);

The parameters passed to the exit are declared as follows:

PMQAXP     pExitParms;    /* Exit parameter structure */
PMQAXC     pExitContext;  /* Exit context structure */
PPMQHCONN  ppHconn;       /* Connection handle */
PMQLONG    pCompCode;     /* Completion code */
PMQLONG    pReason;       /* Reason code qualifying CompCode */