Setting Queue Properties
The following list demonstrates what must be done to set a queue's properties.
-
Define a queue property structure.
-
For each property:
-
Set element i of aPropID to the property's identifier.
-
Set element i of aPropVar to the property's value. Each element of aPropVar is an instance of PROPVARIANT. Set the vt field of PROPVARIANT to the property's type indicator and the value field (for example, bVal) to the appropriate property value.
-
If a status code for this property is needed, include an aStatus array.
-
Set cProp to the number of properties specified by the queue property structure.
-
Call the appropriate function specifying the queue property structure.