MQ_SET_EXIT - Set object attributes
Exit providers can supply an MQ_SET_EXIT function to intercept the MQSET call.
Syntax
- MQ_SET_EXIT (pExitParms, pExitContext, pHconn, pHobj, pSelectorCount,
- ppSelectors, pIntAttrCount, ppIntAttrs, pCharAttrLength, ppCharAttrs, pCompCode, pReason)
Parameters
The MQ_SET_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.
pHobj (PMQHOBJ) - input/output
Object handle.
pSelectorCount (PMQLONG) - input/output
Count of selectors.
ppSelectors (PPMQLONG) - input/output
Array of attribute selectors.
pIntAttrCount (PMQLONG) - input/output
Count of integer attributes.
ppIntAttrs (PPMQLONG) - input/output
Array of integer attributes.
pCharAttrLength (PMQLONG) - input/output
Length of character attributes buffer.
ppCharAttrs (PPMQCHAR) - input/output
Character attributes.
pCompCode (PMQLONG) - input/output
Completion code.
pReason (PMQLONG) - input/output
Reason code qualifying pCompCode.
C invocation
MQ_SET_EXIT (&ExitParms, &ExitContext, &Hconn, &Hobj, &SelectorCount, &pSelectors, &IntAttrCount, &pIntAttrs, &CharAttrLength, &pCharAttrs, &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 */ PMQHOBJ pHobj; /* Object handle */ PMQLONG pSelectorCount; /* Count of selectors */ PPMQLONG ppSelectors; /* Array of attribute selectors */ PMQLONG pIntAttrCount; /* Count of integer attributes */ PPMQLONG ppIntAttrs; /* Array of integer attributes */ PMQLONG pCharAttrLength; /* Length of character attributes buffer */ PPMQCHAR ppCharAttrs; /* Character attributes */ PMQLONG pCompCode; /* Completion code */ PMQLONG pReason; /* Reason code qualifying CompCode */