PROPID_M_SENDER_CERT_LEN

The PROPID_M_SENDER_CERT_LEN property specifies the length of the sender certificate buffer.

Type Indicator
VT_UI4
PROPVARIANT Field
ulVal
Property Values
Length (in bytes) of the sender certificate buffer.

Remarks

The PROPID_M_SENDER_CERT_LEN property is only used when the receiving application passes PROPID_M_SENDER_CERT to MQReceiveMessage.

On return, PROPID_M_SENDER_CERT_LEN holds the length (in bytes) of the sender certificate.

MQReceiveMessage succeeds if the buffer is large enough to hold the sender certificate. If the buffer is too small, MQReceiveMessage fails, and PROPID_M_SENDER_CERT_LEN can be used to obtain the required length for the sender certificate buffer. When passing PROPID_M_SENDER_CERT_LEN to MQReceiveMessage, the corresponding VT field in the aPropVar array can be set to VT_NULL.

QuickInfo

  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.

See Also

MQReceiveMessage, PROPID_M_SENDER_CERT