The MQCreatesBytesMessage function creates a bytes message and passes a handle to it back to you.
MQCreateBytesMessage(MQMessageHandle * messageHandle); |
MQStatus. See the MQStatusIsError() function for more information.
Output parameter for the handle to the new, empty message.
After you obtain the handle to a bytes message, you can use this handle to define its content with the MQSetBytesMessageBytesMQSetBytesMessageBytes function, to set its headers with the MQSetMessageHeaders() function, and to set its properties with the MQSetMessageProperties() function.