Home

 

MsgDesc (MQMD) - input/output

This structure describes the attributes of the message required, and the attributes of the message retrieved. See MQMD - Message descriptor for details.

If BufferLength is less than the message length, MsgDesc is filled by the queue manager, whether or not MQGMO_ACCEPT_TRUNCATED_MSG is specified on the GetMsgOpts parameter (see MQGMO - Options field).

If the application provides a version-1 MQMD, the message returned has an MQMDE prefixed to the application message data, but only if one or more of the fields in the MQMDE has a nondefault value. If all the fields in the MQMDE have default values, the MQMDE is omitted. A format name of MQFMT_MD_EXTENSION in the Format field in MQMD indicates that an MQMDE is present.



 

Home