共用方式為


aPropID

 

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 aPropID structure is an array used to specify a set of property identifiers when making API function calls.

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

An aPropID array is used in the following property structures:

MQQUEUEPROPS (queue properties)

The aPropID array in this structure is an array of queue property identifiers of type QUEUEPROPID. The following line of code declares an array for a given number of queue properties that can be used to initialize the aPropID array in an MQQUEUEPROPS structure.

QUEUEPROPID aQueuePropId[NUMBEROFPROPERTIES];  

MQMSGPROPS (message properties)

The aPropID array in this structure is an array of message property identifiers of type MSGPROPID. The following line of code declares an array for a given number of message properties that can be used to initialize the aPropID array in an MQMSGPROPS structure.

MSGPROPID aMsgPropId[NUMBEROFPROPERTIES];  

MQMGMTPROPS (queue and computer management properties)

The aPropID array in this structure is an array of queue and computer management property identifiers of type MGMTPROPID. The following line of code declares an array for a given number of management properties that can be used to initialize the aPropID array in an MQMGMTPROPS structure.

MGMTPROPID aMgmtPropId[NUMBEROFPROPERTIES];  

MQQMPROPS (queue manager properties)

The aPropID array in this structure is an array of queue manager property identifiers of type QMPROPID. The following line of code declares an array for a given number of queue manager properties that can be used to initialize the aPropID array in an MQQMPROPS structure.

QMPROPID aQmPropId[NUMBEROFPROPERTIES];  

MQPRIVATEPROPS (private computer properties)

The aPropID array in this structure is an array of private computer property identifiers of type QMPROPID. The following line of code declares an array for a given number of private computer properties that can be used to initialize the aPropID array in an MQPRIVATEPROPS structure.

QMPROPID aQmPropId[NUMBEROFPROPERTIES];  

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

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

aPropVar
aStatus
MQMGMTPROPS
MQMSGPROPS
MQPRIVATEPROPS
MQQMPROPS
MQQUEUEPROPS