2.2.7.1 Sub-property

The sub-property fields for folder flags specified in section 2.2.7.1 have the following format.


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

Cb

Data (variable)

...

Id (1 byte):  The subproperty ID value. The value of this field SHOULD be one of the following. All other values of the Id field are reserved and MUST be ignored by the application. If the application needs to rewrite the PidTagExtendedFolderFlags property ([MS-OXOSRCH] section 2.2.2.1.2) with different values for the subproperties that it does understand, it MUST preserve the values of any subproperties that it did not understand. Each valid subproperty ID MUST appear 0 to 1 times in the PidTagExtendedFolderFlags property. The subproperties can appear in any order within the PidTagExtendedFolderFlags property stream.

Flag name

Value

Data format

Invalid

0x00

As specified in section 2.2.7.1.1.

ExtendedFlags

0x01

As specified in section 2.2.7.1.2.

SearchFolderID

0x02

As specified in section 2.2.7.1.3.

SearchFolderTag

0x03

As specified in [MS-OXOSRCH].

Reserved

0x04

N/A

ToDoFolderVersion

0x05

As specified in section 2.2.7.1.4.

Reserved

0x06

N/A

Cb (1 byte):  This field specifies the unsigned size, in bytes, of the Data field of the subproperty.

Data (variable):  This field contains the value of the subproperty. This field MUST be a variable-length buffer. Because the size is specified in a single unsigned byte in the Cb field, the minimum size of the buffer is 0 bytes and the maximum size is 255 bytes. The interpretation of this field is specified in the table earlier in this section.