PROPID_M_SRC_MACHINE_ID (Windows CE 5.0)
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++;
Requirements
OS Versions: Windows CE 2.0 and later. Versions prior to 2.12 require the MSMQ add-on pack.
Header: Mq.h.
See Also
Send Feedback on this topic to the authors