MQ_OPEN_EXIT - Open object

 


Exit providers can supply an  MQ_OPEN_EXIT  function to intercept the  MQOPEN  call.

 

Syntax


 MQ_OPEN_EXIT  (pExitParms, pExitContext, pHconn, ppObjDesc,
pOptions, ppHobj, pCompCode, pReason)

 

Parameters

The  MQ_OPEN_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.

 

ppObjDesc (PPMQOD) - input/output

Object descriptor.

 

pOptions (PMQLONG) - input/output

Options that control the action of  MQ_OPEN_EXIT .

 

ppHobj (PPMQHOBJ) - input/output

Object handle.

 

pCompCode (PMQLONG) - input/output

Completion code.

 

pReason (PMQLONG) - input/output

Reason code qualifying pCompCode.

 

C invocation

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 */