|
PST File Format SDK v0.4
|
Collaboration diagram for Util Layer:Modules | |
| BTree | |
| Exceptions | |
| Primitive Types | |
Files | |
| file | btree.h |
| Generic BTree implementation. | |
| file | errors.h |
| The exceptions used by pstsdk. | |
| file | primitives.h |
| Primitive structures defined by MS-PST and MAPI. | |
| file | util.h |
| General utility functions and classes. | |
Classes | |
| class | pstsdk::file |
| A generic class to read and write to a file. More... | |
Functions | |
| time_t | pstsdk::filetime_to_time_t (ulonglong filetime) |
| Convert from a filetime to time_t. | |
| ulonglong | pstsdk::time_t_to_filetime (time_t time) |
| Convert from a time_t to filetime. | |
| time_t | pstsdk::vt_date_to_time_t (double vt_time) |
| Convert from a VT_DATE to a time_t. | |
| double | pstsdk::time_t_to_vt_date (time_t time) |
| Convert from a time_t to a VT_DATE. | |
| bool | pstsdk::test_bit (const byte *pbytes, ulong bit) |
| Test to see if the specified bit in the buffer is set. | |
| std::string | pstsdk::bytes_to_string (const std::vector< byte > &bytes) |
| Convert an array of bytes to a std::wstring. | |
| std::wstring | pstsdk::bytes_to_wstring (const std::vector< byte > &bytes) |
| Convert an array of bytes to a std::wstring. | |
| std::vector< byte > | pstsdk::wstring_to_bytes (const std::wstring &wstr) |
| Convert a std::wstring to an array of bytes. | |
|
inline |
Convert from a time_t to a VT_DATE.
VT_DATE is an OLE date/time type where the integer part is the date and the fraction part is the time. This function converts to it from a standard time_t.
| [in] | time | The time to convert from |
|
inline |