The PROPID_M_BODY_SIZE property indicates the actual size of the message body.
Each MSMQ message can have no more than 4 MB of data.
PROPID_M_BODY_SIZE is used only when reading messages from a queue. To find the size of a message, pass PROPID_M_BODY_SIZE to MQReceiveMessage and look at the returned value. PROPID_M_BODY_SIZE returns the actual size of the message body.
When passing PROPID_M_BODY_SIZE to MQReceiveMessage, the corresponding VT field in the aPropVar array can be set to VT_NULL.
Windows NT: Requires version 4.0 SP3 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mq.h.
Import Library: Use mqrt.lib.
Unicode: Defined only as Unicode.
MQReceiveMessage, PROPID_M_BODY