PROPID_M_SRC_MACHINE_ID (Compact 2013)

3/26/2014

This property specifies the computer where the message originated.

  • Type Indicator
    VT_CLSID
  • PROPVARIANT Field
    *puuid
  • Property Values
    Machine identifier (GUID) of source machine.

Remarks

The PROPID_M_SRC_MACHINE_ID property is used only by the receiving application when calling MQReceiveMessage.

This property returns the GUID of the computer without the enclosing brackets {}.

To retrieve the computer identifier, specify PROPID_M_SRC_MACHINE in the MQMSGPROPS structure. Then call MQReceiveMessage and examine the returned value.

Examples

GUID guidSource;
aMsgPropId[i] = PROPID_M_SRC_MACHINE_ID;
aMsgPropVar[i].vt = VT_CLSID;
aMsgPropVar[i].puuid = &guidSource;
i++;

Note

OS versions prior to 2.12 require the MSMQ add-on pack.

Requirements

Header

mq.h

See Also

Reference

MSMQ Properties
MQMSGPROPS
MQReceiveMessage