typedef struct tagMQPMO MQPMO;
struct tagMQPMO {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG Options; /* Options that control the action of
MQPUT and MQPUT1 */
MQLONG Timeout; /* Reserved */
MQHOBJ Context; /* Object handle of input queue */
MQLONG KnownDestCount; /* Number of messages sent
successfully to local queues */
MQLONG UnknownDestCount; /* Number of messages sent
successfully to remote queues */
MQLONG InvalidDestCount; /* Number of messages that could not
be sent */
MQCHAR48 ResolvedQName; /* Resolved name of destination
queue */
MQCHAR48 ResolvedQMgrName; /* Resolved name of destination queue
manager */
/* Ver:1 */
MQLONG RecsPresent; /* Number of put message records or
response records present */
MQLONG PutMsgRecFields; /* Flags indicating which MQPMR fields
are present */
MQLONG PutMsgRecOffset; /* Offset of first put message record
from start of MQPMO */
MQLONG ResponseRecOffset; /* Offset of first response record
from start of MQPMO */
MQPTR PutMsgRecPtr; /* Address of first put message
record */
MQPTR ResponseRecPtr; /* Address of first response record */
/* Ver:2 */
MQHMSG OriginalMsgHandle; /* Original message handle */
MQHMSG NewMsgHandle; /* New message handle */
MQLONG Action; /* The action being performed */
MQLONG PubLevel; /* Subscription level */
/* Ver:3 */
};