PST File Format SDK v0.4
Loading...
Searching...
No Matches
pstsdk::disk::amap_page< T > Struct Template Reference

The authoritative source of free space in the file. More...

#include <disk.h>

+ Inheritance diagram for pstsdk::disk::amap_page< T >:
+ Collaboration diagram for pstsdk::disk::amap_page< T >:

Additional Inherited Members

- Public Attributes inherited from pstsdk::disk::page< T >
byte data [page_data_size]
 space used for actual data
 
page_trailer< T > trailer
 The page trailer for this page.
 
- Static Public Attributes inherited from pstsdk::disk::page< T >
static const size_t page_data_size = page_size - sizeof(page_trailer<T>)
 Amount of usable space in a page.
 

Detailed Description

template<typename T>
struct pstsdk::disk::amap_page< T >

The authoritative source of free space in the file.

Each bit in an AMap page refers to bytes_per_slot bytes of the file. If that bit is set, that indicates those bytes in the file are occupied. If the bit is not set, that indicates those bytes in the file are available for allocation. Note that each AMap page "maps" itself. Since an AMap page (like all pages) is page_size bytes (512), this means the first 8 bytes of an AMap page are by definition always 0xFF.

Template Parameters
Tulonglong for a unicode store, ulong for an ANSI store
See also
[MS-PST] 2.2.2.7.2.1

Definition at line 630 of file disk.h.


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