PROPID_QM_MACHINE_ID

This property identifies the computer.

  • Type Indicator
    VT_CLSID
  • PROPVARIANT Field
    *puuid
  • Property Values
    Machine GUID.

Remarks

The PROPID_QM_MACHINE_ID property is set by MSMQ when the computer is defined. It is used when specifying the format name of a private queue, a machine journal, or a dead-letter queue.

To determine the identifier of the machine, pass PROPID_QM_MACHINE_ID to MQGetMachineProperties and examine its returned value.

For dependent clients, MSMQ sets this property to the identifier of the client's server computer.

Example

This example shows how PROPID_QM_MACHINE_ID is specified in the MQQMPROPS structure.

aQMPropId[I] = PROPID_QM_MACHINE_ID;         // Property identifier
aQMPropVar[I].vt = VT_CLSID;                 // Type indicator
aQMPropVar[I].puuid = &guidMachineId;        // Machine ID buffer

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later. Versions prior to 2.12 require the MSMQ add-on pack. Mq.h Mq.h  

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

MQGetMachineProperties, MQQMPROPS

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.