|
PST File Format SDK v0.4
|
Collaboration diagram for Primitive Types:Classes | |
| struct | pstsdk::alias_tag |
| Tag structure used to indicate a copy constructed class should be an alias (shallow copy) rather than a deep copy. More... | |
| struct | pstsdk::guid |
| A Win32 GUID structure. More... | |
Macros | |
| #define | PSTSDK_VALIDATION_LEVEL_WEAK |
| Global Validation Settings. | |
| #define | make_nid(nid_type, nid_index) (((nid_type)&nid_type_mask)|((nid_index) << 5)) |
| Construct a node_id (NID) from a node type and index. | |
| #define | make_prv_pub_nid(nid_index) (make_nid(nid_type_folder, nid_index_prv_pub_base + (nid_index))) |
| Construct a folders node_id for an OST file. | |
Typedefs | |
| typedef boost::uint32_t | pstsdk::uint |
| typedef boost::uint32_t | pstsdk::ulong |
| typedef boost::int32_t | pstsdk::slong |
| typedef boost::uint64_t | pstsdk::ulonglong |
| typedef boost::int64_t | pstsdk::slonglong |
| typedef boost::uint8_t | pstsdk::byte |
| typedef boost::uint16_t | pstsdk::ushort |
| typedef ulong | pstsdk::node_id |
| typedef ulonglong | pstsdk::block_id |
| typedef block_id | pstsdk::page_id |
| typedef ulong | pstsdk::heap_id |
| typedef ulong | pstsdk::heapnode_id |
| typedef ushort | pstsdk::prop_id |
| typedef ulong | pstsdk::row_id |
Functions | |
| nid_type | pstsdk::get_nid_type (node_id id) |
| Get a node type from a node id. | |
| ulong | pstsdk::get_nid_index (node_id id) |
| Get a node index from a node id. | |
| ulong | pstsdk::get_heap_page (heap_id id) |
| Get the heap page from the heap id. | |
| ulong | pstsdk::get_heap_index (heap_id id) |
| Get the index from the heap id. | |
| heap_id | pstsdk::make_heap_id (ulong page, ulong index) |
| Create a heap_id from a page and an index. | |
| bool | pstsdk::is_heap_id (heapnode_id id) |
| Inspects a heapnode_id (also known as a HNID) to determine if it is a heap_id (HID) | |
| bool | pstsdk::is_subnode_id (heapnode_id id) |
| Inspects a heapnode_id (also known as a HNID) to determine if it is a node_id (NID) | |
Variables | |
| const ulong | pstsdk::nid_type_mask = 0x1FL |
| The portion of a node_id reserved for the type. | |
| const byte | pstsdk::message_subject_prefix_lead_byte = 0x01 |
| A sentinel byte which indicates the message subject contains a prefix. | |
| const guid | pstsdk::ps_none = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } } |
| The NULL guid. | |
| const guid | pstsdk::ps_mapi = { 0x20328, 0, 0, { 0xc0, 0, 0, 0, 0, 0, 0, 0x46 } } |
| The PS_MAPI guid. | |
| const guid | pstsdk::ps_public_strings = { 0x20329, 0, 0, { 0xc0, 0, 0, 0, 0, 0, 0, 0x46 } } |
| The PS_PUBLIC_STRINGS guid. | |
| #define make_nid | ( | nid_type, | |
| nid_index | |||
| ) | (((nid_type)&nid_type_mask)|((nid_index) << 5)) |
Construct a node_id (NID) from a node type and index.
Definition at line 160 of file primitives.h.
| #define make_prv_pub_nid | ( | nid_index | ) | (make_nid(nid_type_folder, nid_index_prv_pub_base + (nid_index))) |
Construct a folders node_id for an OST file.
Definition at line 164 of file primitives.h.
| #define PSTSDK_VALIDATION_LEVEL_WEAK |
Global Validation Settings.
You may optionally define one of the following values before including any pstsdk header:
Weak validation is the default.
Definition at line 41 of file primitives.h.
Definition at line 87 of file primitives.h.
| typedef boost::uint8_t pstsdk::byte |
Definition at line 72 of file primitives.h.
Definition at line 90 of file primitives.h.
Definition at line 91 of file primitives.h.
Definition at line 86 of file primitives.h.
Definition at line 88 of file primitives.h.
Definition at line 93 of file primitives.h.
Definition at line 95 of file primitives.h.
| typedef boost::int32_t pstsdk::slong |
Definition at line 69 of file primitives.h.
| typedef boost::int64_t pstsdk::slonglong |
Definition at line 71 of file primitives.h.
| typedef boost::uint32_t pstsdk::uint |
Definition at line 67 of file primitives.h.
| typedef boost::uint32_t pstsdk::ulong |
Definition at line 68 of file primitives.h.
| typedef boost::uint64_t pstsdk::ulonglong |
Definition at line 70 of file primitives.h.
| typedef boost::uint16_t pstsdk::ushort |
Definition at line 73 of file primitives.h.
Different node types found in a PST file.
Definition at line 119 of file primitives.h.
The predefined nodes in a PST/OST file.
| Enumerator | |
|---|---|
| nid_message_store | The property bag for this file. |
| nid_name_id_map | Contains the named prop mappings. |
| nid_normal_folder_template | |
| nid_search_folder_template | |
| nid_root_folder | Root folder of the store. |
| nid_search_management_queue | |
| nid_search_activity_list | |
| nid_search_domain_alternative | |
| nid_search_domain_object | |
| nid_search_gatherer_queue | |
| nid_search_gatherer_descriptor | |
| nid_table_rebuild_queue | |
| nid_junk_mail_pihsl | |
| nid_search_gatherer_folder_queue | |
| nid_tc_sub_props | |
| nid_index_template | |
| nid_hierarchy_table_template | |
| nid_contents_table_template | |
| nid_associated_contents_table_template | |
| nid_search_contents_table_template | |
| nid_smp_template | |
| nid_tombstone_table_template | |
| nid_lrep_dups_table_template | |
| nid_receive_folders | |
| nid_outgoing_queue | |
| nid_attachment_table | |
| nid_recipient_table | |
| nid_change_history_table | |
| nid_tombstone_table | |
| nid_tombstone_date_table | |
| nid_all_message_search_folder |
|
| nid_all_message_search_contents | |
| nid_lrep_gmp | |
| nid_lrep_folders_smp | |
| nid_lrep_folders_table | |
| nid_folder_path_tombstone_table | |
| nid_hst_hmp | |
| nid_index_prv_pub_base | |
| nid_pub_root_folder | |
| nid_prv_root_folder | |
| nid_criterr_notification | |
| nid_object_notification | |
| nid_newemail_notification | |
| nid_extended_notification | |
| nid_indexing_notification | |
Definition at line 169 of file primitives.h.
The different property types as defined by MAPI.
Definition at line 291 of file primitives.h.
The different recipient types as defined by MAPI.
| Enumerator | |
|---|---|
| mapi_to | |
| mapi_cc | |
| mapi_bcc | |
Definition at line 330 of file primitives.h.
Get the index from the heap id.
| [in] | id | The heap id |
Definition at line 251 of file primitives.h.
Get the heap page from the heap id.
| [in] | id | The heap id |
Definition at line 243 of file primitives.h.
Get a node index from a node id.
| [in] | id | The node id |
Definition at line 231 of file primitives.h.
Get a node type from a node id.
| [in] | id | The node id |
Definition at line 223 of file primitives.h.
|
inline |
Inspects a heapnode_id (also known as a HNID) to determine if it is a heap_id (HID)
| [in] | id | The heapnode_id |
Definition at line 272 of file primitives.h.
|
inline |
Inspects a heapnode_id (also known as a HNID) to determine if it is a node_id (NID)
| [in] | id | The heapnode_id |
Definition at line 281 of file primitives.h.
Create a heap_id from a page and an index.
| [in] | page | The page |
| [in] | index | The index |
Definition at line 259 of file primitives.h.
A sentinel byte which indicates the message subject contains a prefix.
Definition at line 344 of file primitives.h.
The portion of a node_id reserved for the type.
Definition at line 155 of file primitives.h.
The NULL guid.
Definition at line 372 of file primitives.h.