PROPID_M_SRC_MACHINE_ID (Windows Embedded CE 6.0)
1/6/2010
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 |
Windows Embedded CE | Windows CE 2.0 and later |