2.2.7 Folder Flags

Folder flags consist of a collection of small properties packed into a single binary property on a folder. The primary purpose of the folder flags is to store Boolean flags that affect the folder's display options.

The folder flags can also be used to store additional properties, such as a unique identifier for the folder that can be used to associate it with a specific feature or with a description of that folder that has been saved elsewhere.

The PidTagExtendedFolderFlags property ([MS-OXOSRCH] section 2.2.2.1.2) can be set on a folder. If the property is set, the value of this property MUST be a binary stream that contains encoded subproperties for the folder. The format of the binary stream MUST be as follows.


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

Sub-property1 (variable)

...

Sub-property2 (variable)

...

...

Sub-property3 (variable)

...

The binary stream is divided into variable-length subproperty fields. The subproperty fields are byte-aligned within the binary stream. Each subproperty MUST be encoded as specified in section 2.2.7.1.

Show: