Partilhar via


aPropVar

 

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 aPropVar structure is an array of MQPROPVARIANT structures used to specify or retrieve property values when making API function calls.

For example, this array could be used to specify queue property values when creating a queue or message property values when sending and receiving messages.

An aPropVar array is used in the following property structures:

Position i in an aPropVar array contains the value for the property whose identifier and status are in position i in the corresponding aPropID and aStatus arrays respectively.

The following line of code declares an array for a given number of properties that can be used to initialize the aPropVar array in any of the property structures.

MQPROPVARIANT aMQPropVar[NUMBEROFPROPERTIES];  

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 Properties
Message Queuing Structures
aPropID
aStatus
MQMSGPROPS
MQMGMTPROPS
MQPRIVATEPROPS
MQQMPROPS
MQQUEUEPROPS
MQPROPVARIANT