Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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 MQMSGPROPSstructure. Then call MQReceiveMessageand examine the returned value.
Examples
Copy Code | |
---|---|
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 |
Windows Mobile | Windows Mobile Version 5.0 and later |