共用方式為


MQPRIVATEPROPS

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The MQPRIVATEPROPS structure describes a set of properties that describe the local computer. It specifies the number of properties (cProp) in the set, an array containing the identifier of each property (aPropID), an array containing the value (or placeholder for the value) of each property (aPropVar), and an optional status array (aStatus) for errors associated with properties (some properties do not return a status). For detailed information about the properties that can be included in the set, see Private Computer Properties.

typedef struct tagMQPRIVATEPROPS  
{  
  DWORD cProp;  
  QMPROPID * aPropID;  
  MQPROPVARIANT * aPropVar;  
  HRESULT * aStatus;  
} MQPRIVATEPROPS;  

Members

cProp

Number of properties in the set.

aPropID

Array of property identifiers (for example, PROPID_PC_VERSION) for the properties in the set. For information about the array, see aPropID.

aPropVar

Array of values of the properties in the set. For information about the array, see aPropVar.

aStatus

Optional. Array of return codes indicating the status of the properties in the set. For information about the array used to store the return codes, see aStatus.

If this member is not used, it should be set to NULL.

Requirements

Windows NT/2000/XP: Included in Windows 2000 and later.

Windows 95/98/Me: Unsupported.

Header: Declared in Mq.h.

See Also

Management Properties
Message Queuing Structures
aPropID
aPropVar
aStatus