188.8.131.52 Sending a Message
To perform the send operation in the context of a transaction, the client first MUST call R_QMGetTmWhereabouts to obtain transaction manager whereabouts and then enlist the transaction by calling R_QMEnlistTransaction or R_QMEnlistInternalTransaction, as described in sections 184.108.40.206 and 220.127.116.11.
The client MUST execute the following steps:
Invoke the rpc_ACSendMessageEx method with the following parameter values:
hQueue := iOpenQueueContext.Handle
ptb := CACTransferBufferV2 structure:
ptb.old.uTransferType := CACTB_SEND (0x00000000)
ptb.old.pUow := A transaction identifier, or NULL.
The remainder of the fields MUST be populated according to the limitations and definitions in section 18.104.22.168.
pMessageID := A 20-byte buffer to receive the message identifier, or NULL.