次の方法で共有


MQQUEUEPROPS

 

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 MQQUEUEPROPS structure describes a set of queue properties. It specifies the number of properties (cProp) in the set, an array containing the identifier of each property (aPropID), and an array containing the value (or placeholder for the value) of each property (aPropVar). It also provides an optional status array (aStatus) for errors associated with the property (some properties do not return a status). For detailed information about the properties that can be included in the set, see Queue Properties.

typedef struct tagMQQUEUEPROPS  
{  
  DWORD cProp;  
  QUEUEPROPID * aPropID;  
  MQPROPVARIANT * aPropVar;  
  HRESULT * aStatus;  
} MQQUEUEPROPS;  

Members

cProp

Number of properties in the set.

aPropID

Array of queue property identifiers (for example, PROPID_Q_PATHNAME). 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 NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mq.h.

See Also

Message Queuing Structures
Queue Properties
aPropID
aPropVar
aStatus