Exit providers can supply an MQ_DISC_EXIT function to intercept the MQDISC call.
|
The MQ_DISC_EXIT call has the following parameters.
Exit parameter structure.
Exit context structure.
Connection handle.
Completion code.
Reason code qualifying pCompCode.
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 */