C invocation

MQ_CONNX_EXIT (&ExitParms, &ExitContext, QMgrName,
              &pConnectOpts, &pHconn, &CompCode,
              &Reason);

The parameters passed to the exit are declared as follows:

PMQAXP     pExitParms;     /* Exit parameter structure */
PMQAXC     pExitContext;   /* Exit context structure */
PMQCHAR48  pQMgrName;      /* Name of queue manager */
PPMQCNO    ppConnectOpts;  /* Options that control the action of
                              MQCONNX */
PPMQHCONN  ppHconn;        /* Connection handle */
PMQLONG    pCompCode;      /* Completion code */
PMQLONG    pReason;        /* Reason code qualifying CompCode */