2.2.4.1 Folder EntryID Structure

A Folder EntryID structure specifies a set of data that identify a Store object. The format and information of Folder EntryID structures differ from that of EntryIDs used in ROPs. For folders, the ReplicaId field, as specified in section 2.2.1.1, is mapped to a DatabaseGuid by using the RopLongTermIdFromId ROP ([MS-OXCROPS] section 2.2.3.8).This less compact format is necessary because no assumptions can be made about the Store object context in which a Folder EntryID structure is used.


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

Flags

Provider UID

...

...

...

FolderType

DatabaseGuid

...

...

...

...

GlobalCounter

...

Pad

Flags (4 bytes): This value MUST be set to 0x00000000. Bits in this field indicate under what circumstances a short-term EntryID is valid. However, in any EntryID stored in a property value, these 4 bytes MUST be zero, indicating a long-term EntryID.

Provider UID (16 bytes): The value of this field is determined by where the folder is located. For a folder in a private mailbox, this value MUST be set to value of the MailboxGuid field from the RopLogon ROP response buffer ([MS-OXCROPS] section 2.2.3.1.2). For a folder in the public message store, this value MUST be set to %x1A.44.73.90.AA.66.11.CD.9B.C8.00.AA.00.2F.C4.5A.

FolderType (2 bytes): One of several Store object types specified in the table in section 2.2.4.

DatabaseGuid (16 bytes): A GUID associated with the Store object and corresponding to the ReplicaId field of the Folder ID structure.

GlobalCounter (6 bytes): An unsigned integer identifying the folder.

Pad (2 bytes): This value MUST be set to zero.