PROPID_M_BODY_SIZE

The PROPID_M_BODY_SIZE property indicates the actual size of the message body.

Type Indicator
VT_UI4 (or VT_NULL)
PROPVARIANT Field
ulVal
Property Values
Size of the message body.

Remarks

PROPID_M_BODY_SIZE is only used 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.

See Also

MQReceiveMessage, PROPID_M_BODY


© 1997 by Microsoft Corporation. All rights reserved.