Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

mapi_utils.cpp File Reference

#include <windows.h>
#include <shellapi.h>
#include <mapix.h>
#include <mapiutil.h>
#include <mspst.h>
#include <string>
#include <list>
#include <map>
#include "mapi_utils.h"

Functions

void mapi_EnsureCommonEids ()
mapi_TFolderType mapi_GetFolderType (mapi_TEntryid &eid, IMAPIFolder *f)
void mapi_RecEnsureFolders (IMAPIFolder *parent, int depth, string prefix, list< mapi_TFolderInfo > *folders)
void mapi_EnsureCrazyProfileDeleted (IProfAdmin *iprofadmin)
list< string > mapi_RegQuerySubkeys (HKEY key)
string mapi_RegQueryString (HKEY key, const string name)
void replaceRTFEscapeChars (char *buf, unsigned int *len)
void mapi_EnsureLibraries ()
void mapi_EnsureStores (const string libpath)
void mapi_EnsureFolders (HWND hwnd, const string profile, const string store)
void mapi_EnsureFinished ()
void decodertfhtml (char *buf, unsigned int *len)
bool isrtfhtml (const char *buf, unsigned int len)
HRESULT pHrGetOneProp (IMAPIProp *obj, ULONG tag, SPropValue **pProp)
void pFreeProws (SRowSet *r)
HRESULT pHrQueryAllRows (IMAPITable *table, SPropTagArray *tags, SRestriction *res, SSortOrderSet *sort, LONG crowsMax, SRowSet **rows)

Variables

list< mapi_TLibraryInfomapi_Libraries
bool got_libraries = false
HINSTANCE hmapilib = 0
string mapi_lib_path
list< mapi_TStoreInfomapi_Stores
MAPIADMINPROFILES * pMAPIAdminProfiles = 0
MAPIUNINITIALIZE * pMAPIUninitialize = 0
MAPILOGONEX * pMAPILogonEx = 0
MAPIFREEBUFFER * pMAPIFreeBuffer = 0
RTFSYNC * pRTFSync = 0
WRAPCOMPRESSEDRTFSTREAM * pWrapCompressedRTFStream = 0
IMAPISession * mapi_session = 0
string mapi_session_profile
IMsgStore * mapi_msgstore = 0
string mapi_msgstore_name
list< mapi_TFolderInfomapi_Folders
bool got_eids = false
mapi_TEntryid eid_inbox
mapi_TEntryid eid_outbox
mapi_TEntryid eid_sent
mapi_TEntryid eid_deleted
mapi_TEntryid eid_calendar
mapi_TEntryid eid_contacts
mapi_TEntryid eid_journal
mapi_TEntryid eid_notes
mapi_TEntryid eid_tasks

Function Documentation

void decodertfhtml char *  buf,
unsigned int *  len
 

bool isrtfhtml const char *  buf,
unsigned int  len
 

void mapi_EnsureCommonEids  ) 
 

void mapi_EnsureCrazyProfileDeleted IProfAdmin *  iprofadmin  ) 
 

void mapi_EnsureFinished  ) 
 

void mapi_EnsureFolders HWND  hwnd,
const string  profile,
const string  store
 

void mapi_EnsureLibraries  ) 
 

void mapi_EnsureStores const string  libpath  ) 
 

mapi_TFolderType mapi_GetFolderType mapi_TEntryid eid,
IMAPIFolder *  f
 

void mapi_RecEnsureFolders IMAPIFolder *  parent,
int  depth,
string  prefix,
list< mapi_TFolderInfo > *  folders
 

string mapi_RegQueryString HKEY  key,
const string  name
 

list< string > mapi_RegQuerySubkeys HKEY  key  ) 
 

void pFreeProws SRowSet *  r  ) 
 

HRESULT pHrGetOneProp IMAPIProp *  obj,
ULONG  tag,
SPropValue **  pProp
 

HRESULT pHrQueryAllRows IMAPITable *  table,
SPropTagArray *  tags,
SRestriction *  res,
SSortOrderSet *  sort,
LONG  crowsMax,
SRowSet **  rows
 

void replaceRTFEscapeChars char *  buf,
unsigned int *  len
 


Variable Documentation

mapi_TEntryid eid_calendar
 

mapi_TEntryid eid_contacts
 

mapi_TEntryid eid_deleted
 

mapi_TEntryid eid_inbox
 

mapi_TEntryid eid_journal
 

mapi_TEntryid eid_notes
 

mapi_TEntryid eid_outbox
 

mapi_TEntryid eid_sent
 

mapi_TEntryid eid_tasks
 

bool got_eids = false
 

bool got_libraries = false
 

HINSTANCE hmapilib = 0
 

list<mapi_TFolderInfo> mapi_Folders
 

string mapi_lib_path
 

list<mapi_TLibraryInfo> mapi_Libraries
 

IMsgStore* mapi_msgstore = 0
 

string mapi_msgstore_name
 

IMAPISession* mapi_session = 0
 

string mapi_session_profile
 

list<mapi_TStoreInfo> mapi_Stores
 

MAPIADMINPROFILES* pMAPIAdminProfiles = 0
 

MAPIFREEBUFFER* pMAPIFreeBuffer = 0
 

MAPILOGONEX* pMAPILogonEx = 0
 

MAPIUNINITIALIZE* pMAPIUninitialize = 0
 

RTFSYNC* pRTFSync = 0
 

WRAPCOMPRESSEDRTFSTREAM* pWrapCompressedRTFStream = 0
 


Generated on Thu Jun 16 00:13:25 2005 for Abuse! by  doxygen 1.4.3