共用方式為


MQMGMTPROPS

 

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 MQMGMTGPROPS structure (introduced in MSMQ 3.0) describes a set of queue and computer management properties. 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 a status array (aStatus) for return codes, which is reserved for future use and should be set to NULL. For detailed information about the properties that can be included in the set, see Management Properties.

typedef struct tagMQMGMTPROPS  
{  
  DWORD cProp;  
  MGMTPROPID * aPropID;  
  MQPROPVARIANT * aPropVar;  
  HRESULT * aStatus;  
} MQMGMTROPS;  

Members

cProp

Number of properties in the set.

aPropID

Array of property identifiers for the queue and computer management properties in the set. For information about the array used to store the identifiers, see aPropID.

aPropVar

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

aStatus

Array for return codes. Note that calls to MQMgmtGetInfo do not set values in this array.

This member is reserved for future use and should be set to NULL.

Requirements

Windows NT/2000/XP: Included in Windows XP and Windows Server 2003.

Windows 95/98/Me: Unsupported.

Header: Declared in Mq.h.

See Also

Management Properties
Message Queuing Structures
aPropID
aPropVar
aStatus