PST File Format SDK v0.4
Loading...
Searching...
No Matches
pstsdk::disk::header< ulonglong > Struct Reference

The Unicode header structure. More...

#include <disk.h>

+ Collaboration diagram for pstsdk::disk::header< ulonglong >:

Public Types

typedef ulonglong block_id_disk
 The id type used for blocks and pages in the file.
 
typedef ulonglong location
 The location type used in the file.
 
typedef ulonglong count
 The count type used in the file.
 

Public Attributes

ulong dwMagic
 Always hlmagic.
 
ulong dwCRCPartial
 
ushort wMagicClient
 Client magic number, eg pst_magic.
 
ushort wVer
 Version of the file, database_format.
 
ushort wVerClient
 Client version, database_type.
 
byte bPlatformCreate
 Always 0x1.
 
byte bPlatformAccess
 Always 0x1.
 
ulong dwOpenDBID
 Implementation specific.
 
ulong dwOpenClaimID
 Implementation specific.
 
block_id_disk bidUnused
 Unused.
 
block_id_disk bidNextP
 The page id counter.
 
ulong dwUnique
 
node_id rgnid [nid_type_max]
 Array of node_id counters, one per node type.
 
root< ulonglongroot_info
 The root info for this database.
 
byte rgbFM [header_fmap_entries]
 
byte rgbFP [header_fpmap_size]
 
byte bSentinel
 
byte bCryptMethod
 The crypt_method used in this file.
 
byte rgbReserved [2]
 Unused.
 
block_id_disk bidNextB
 The block id counter.
 
ulong dwCRCFull
 
byte rgbVersionEncoded [3]
 
byte bLockSemaphore
 Implementation specific.
 
byte rgbLock [header_lock_entries]
 Implementation specific.
 

Detailed Description

The Unicode header structure.

Located at offset zero, all parsing of a PST file begins with reading the header. Most important among the header fields is the root structure, which tells you the location of the NBT and BBT root pages.

See also
[MS-PST] 2.2.2.6

Definition at line 165 of file disk.h.

Member Typedef Documentation

◆ block_id_disk

The id type used for blocks and pages in the file.

Definition at line 167 of file disk.h.

◆ count

The count type used in the file.

Definition at line 169 of file disk.h.

◆ location

The location type used in the file.

Definition at line 168 of file disk.h.

Member Data Documentation

◆ bCryptMethod

The crypt_method used in this file.

Definition at line 188 of file disk.h.

◆ bidNextB

The block id counter.

Definition at line 195 of file disk.h.

◆ bidNextP

The page id counter.

Definition at line 181 of file disk.h.

◆ bidUnused

Unused.

Definition at line 180 of file disk.h.

◆ bLockSemaphore

byte pstsdk::disk::header< ulonglong >::bLockSemaphore

Implementation specific.

Definition at line 200 of file disk.h.

◆ bPlatformAccess

byte pstsdk::disk::header< ulonglong >::bPlatformAccess

Always 0x1.

Definition at line 177 of file disk.h.

◆ bPlatformCreate

byte pstsdk::disk::header< ulonglong >::bPlatformCreate

Always 0x1.

Definition at line 176 of file disk.h.

◆ bSentinel

Deprecated:
Sentinel byte indicating the end of the headers FPMap

Definition at line 187 of file disk.h.

◆ dwCRCFull

Definition at line 198 of file disk.h.

◆ dwCRCPartial

Definition at line 172 of file disk.h.

◆ dwMagic

Always hlmagic.

Definition at line 171 of file disk.h.

◆ dwOpenClaimID

Implementation specific.

Definition at line 179 of file disk.h.

◆ dwOpenDBID

Implementation specific.

Definition at line 178 of file disk.h.

◆ dwUnique

Definition at line 182 of file disk.h.

◆ rgbFM

Deprecated:
The header's FMap entries

Definition at line 185 of file disk.h.

◆ rgbFP

Deprecated:
The header's FPMap entries

Definition at line 186 of file disk.h.

◆ rgbLock

Implementation specific.

Definition at line 201 of file disk.h.

◆ rgbReserved

byte pstsdk::disk::header< ulonglong >::rgbReserved[2]

Unused.

Definition at line 189 of file disk.h.

◆ rgbVersionEncoded

byte pstsdk::disk::header< ulonglong >::rgbVersionEncoded[3]

Definition at line 199 of file disk.h.

◆ rgnid

Array of node_id counters, one per node type.

Definition at line 183 of file disk.h.

◆ root_info

The root info for this database.

Definition at line 184 of file disk.h.

◆ wMagicClient

Client magic number, eg pst_magic.

Definition at line 173 of file disk.h.

◆ wVer

Version of the file, database_format.

Definition at line 174 of file disk.h.

◆ wVerClient

Client version, database_type.

Definition at line 175 of file disk.h.


The documentation for this struct was generated from the following file: