Exit providers can supply an MQ_OPEN_EXIT function to intercept the MQOPEN call.
|
The MQ_OPEN_EXIT call has the following parameters.
Exit parameter structure.
Exit context structure.
Connection handle.
Object descriptor.
Options that control the action of MQ_OPEN_EXIT .
Object handle.
Completion code.
Reason code qualifying pCompCode.
MQ_OPEN_EXIT (&ExitParms, &ExitContext, &Hconn,
&pObjDesc, &Options, &pHobj, &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 */
PPMQOD ppObjDesc; /* Object descriptor */
PMQLONG pOptions; /* Options that control the action of
MQ_OPEN_EXIT */
PPMQHOBJ ppHobj; /* Object handle */
PMQLONG pCompCode; /* Completion code */
PMQLONG pReason; /* Reason code qualifying CompCode */