2.6.6 PropertyID

The PropertyID structure specifies the identity of a property and the size and location of the data for the property. The meaning of the data contained by a property is specified in [MS-ONE] section 2.1.12.


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

id

type

A

id (26 bits): An unsigned integer that specifies the identity of this property. The meanings of the id field values are specified in [MS-ONE] section 2.1.12.

type (5 bits): An unsigned integer that specifies the property type and the size and location of the data for this property. MUST be one of the following values:

Value

Name

Meaning

0x1

NoData

The property contains no data.

0x2

Bool

The property is a Boolean value specified by boolValue.

0x3

OneByteOfData

The property contains 1 byte of data in the PropertySet.rgData stream field.

0x4

TwoBytesOfData

The property contains 2 bytes of data in the PropertySet.rgData stream field.

0x5

FourBytesOfData

The property contains 4 bytes of data in the PropertySet.rgData stream field.

0x6

EightBytesOfData

The property contains 8 bytes of data in the PropertySet.rgData stream field.

0x7

FourBytesOfLengthFollowedByData

The property contains a prtFourBytesOfLengthFollowedByData (section 2.6.8) in the PropertySet.rgData stream field.

0x8

ObjectID

The property contains one CompactID (section 2.2.2) in the ObjectSpaceObjectPropSet.OIDs.body stream field.

0x9

ArrayOfObjectIDs

The property contains an array of CompactID structures in the ObjectSpaceObjectPropSet.OIDs.body stream field. The property contains an unsigned integer of size 4 bytes in the PropertySet.rgData stream field that specifies the number of CompactID structures this property contains.

0xA

ObjectSpaceID

The property contains one CompactID structure in the ObjectSpaceObjectPropSet.OSIDs.body stream field.

0xB

ArrayOfObjectSpaceIDs

The property contains an array of CompactID structures in the ObjectSpaceObjectPropSet.OSIDs.body stream field. The property contains an unsigned integer of size 4 bytes in the PropertySet.rgData stream field that specifies the number of CompactID structures this property contains.

0xC

ContextID

The property contains one CompactID in the ObjectSpaceObjectPropSet.ContextIDs.body stream field.

0xD

ArrayOfContextIDs

The property contains an array of CompactID structures in the ObjectSpaceObjectPropSet.ContextIDs.body stream field. The property contains an unsigned integer of size 4 bytes in the PropertySet.rgData stream field that specifies the number of CompactID structures this property contains.

0x10

ArrayOfPropertyValues

The property contains a prtArrayOfPropertyValues (section 2.6.9) structure in the PropertySet.rgData stream field.

0x11

PropertySet

The property contains a child PropertySet (section 2.6.7) structure in the PropertySet.rgData stream field of the parent PropertySet.

A - boolValue (1 bit): A bit that specifies the value of a Boolean property. MUST be false if the value of the type field is not equal to 0x2.