2.2.7.1.2 ExtendedFlags

If the Id field is set to ExtendedFlags, the value of the Data field is in the following format. If the subproperty does not exist, or if the PidTagExtendedFolderFlags property ([MS-OXOSRCH] section 2.2.2.1.2) is not set on the folder, each flag SHOULD assume the specified default value.


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

r1

a

r2

b

r3

r1 (2 bits):  Reserved. The application can set these flags to any value when writing the subproperty. The application MUST ignore these flags when reading the subproperty, but it MUST preserve preexisting values if it rewrites the subproperty.

a (1 bit):  If the folder is subject to an administrative retention policy, this flag controls whether the application displays a string that describes the policy. The possible values are listed in the following table.

Value

Meaning

0

The application SHOULD<20> display a policy description. This is the default value.

1

The application MUST NOT display a policy description.

r2 (3 bits):  Reserved. The application can set these flags to any value when writing the subproperty. The application MUST ignore these flags when reading the subproperty, but it MUST preserve preexisting values if it rewrites the subproperty.

b (2 bits):  These 2 bits control whether the application SHOULD display the total number of messages in the folder or only the number of unread messages in the folder. The possible values are listed in the following table.

Value

Meaning

00

The application uses the default value for this folder.

01

The application uses the number of unread messages in the folder. This is the default value for all folders except for the Outbox, Drafts, and Junk E-mail special folders, as specified in [MS-OXOSFLD].

10

The application uses the total number of messages in the folder. This is the default value for the Outbox, Drafts, and Junk E-mail special folders.

11

This value is invalid. The application MUST NOT use it.

r3 (3 bytes):  Reserved. The application can set these flags to any value when writing the subproperty. The application MUST ignore these flags when reading the subproperty, but it MUST preserve preexisting values if it rewrites the subproperty.