Compartir a través de


PROPID_QM_MACHINE_ID (Windows CE 5.0)

Send Feedback

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 following:

  • The format name of a private queue
  • A machine journal
  • 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.

Examples

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

OS Versions: Windows CE 2.0 and later. Versions prior to 2.12 require the MSMQ add-on pack.
Header: Mq.h.

See Also

MQGetMachineProperties | MQQMPROPS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.