2.6.7 PropertySet

The PropertySet structure specifies the format of a property set (section 2.1.1).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cProperties

rgPrids (variable)

...

rgData (variable)

...

cProperties (2 bytes): An unsigned integer that specifies the number of properties in this PropertySet structure.

rgPrids (variable): An array of PropertyID structures (section 2.6.6). The number of elements in the array is equal to the value of the cProperties field.

rgData (variable): A stream of bytes that specifies the data for each property specified by a rgPrids array. The total size, in bytes, of the rgData field is the sum of the sizes specified by the PropertyID.type field for each property in a rgPrids array. The total size of rgData MUST be zero if no property in a rgPrids array specifies that it contains data in the rgData field.