2.2.2.1 NID (Node ID)

Nodes provide the primary abstraction used to reference data stored in the PST file that is not interpreted by the NDB layer. Each node is identified using its NID. Each NID is unique within the namespace in which it is used. Each node referenced by the NBT MUST have a unique NID. However, two subnodes of two different nodes can have identical NIDs, but two subnodes of the same node MUST have different NIDs.

Unicode / ANSI:


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

nidType

nidIndex

nidType (5 bits): Identifies the type of the node represented by the NID. The following table specifies a list of values for nidType. However, it is worth noting that nidType has no meaning to the structures defined in the NDB Layer.

Value

Friendly name

Description

0x00

NID_TYPE_HID

Heap node

0x01

NID_TYPE_INTERNAL

Internal node (section 2.4.1)

0x02

NID_TYPE_NORMAL_FOLDER

Normal Folder object (PC)

0x03

NID_TYPE_SEARCH_FOLDER

Search Folder object (PC)

0x04

NID_TYPE_NORMAL_MESSAGE

Normal Message object (PC)

0x05

NID_TYPE_ATTACHMENT

Attachment object (PC)

0x06

NID_TYPE_SEARCH_UPDATE_QUEUE

Queue of changed objects for search Folder objects

0x07

NID_TYPE_SEARCH_CRITERIA_OBJECT

Defines the search criteria for a search Folder object

0x08

NID_TYPE_ASSOC_MESSAGE

Folder associated information (FAI) Message object (PC)

0x0A

NID_TYPE_CONTENTS_TABLE_INDEX

Internal, persisted view-related

0X0B

NID_TYPE_RECEIVE_FOLDER_TABLE

Receive Folder object (Inbox)

0x0C

NID_TYPE_OUTGOING_QUEUE_TABLE

Outbound queue (Outbox)

0x0D

NID_TYPE_HIERARCHY_TABLE

Hierarchy table (TC)

0x0E

NID_TYPE_CONTENTS_TABLE

Contents table (TC)

0x0F

NID_TYPE_ASSOC_CONTENTS_TABLE

FAI contents table (TC)

0x10

NID_TYPE_SEARCH_CONTENTS_TABLE

Contents table (TC) of a search Folder object

0x11

NID_TYPE_ATTACHMENT_TABLE

Attachment table (TC)

0x12

NID_TYPE_RECIPIENT_TABLE

Recipient table (TC)

0x13

NID_TYPE_SEARCH_TABLE_INDEX

Internal, persisted view-related

0x1F

NID_TYPE_LTP

LTP

nidIndex (27 bits): The identification portion of the NID.