Exit providers can supply an MQ_CLOSE_EXIT function to intercept the MQCLOSE call.
|
The MQ_CLOSE_EXIT call has the following parameters.
Exit parameter structure.
Exit context structure.
Connection handle.
Object handle.
Options that control the action of MQCLOSE .
Completion code.
Reason code qualifying pCompCode.
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 */