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

mapi_utils.h File Reference

Go to the source code of this file.

Classes

class  mapi_TEntryid
struct  mapi_TLibraryInfo
struct  mapi_TFolderInfo
struct  mapi_TStoreInfo

Defines

#define PR_BODY_HTML   (PROP_TAG(PT_TSTRING,0x1013))
#define PR_ATTACH_CONTENT_ID   (PROP_TAG(PT_TSTRING,0x3712))
#define PR_ATTACH_CONTENT_LOCATION   (PROP_TAG(PT_TSTRING,0x3713))
#define PR_ATTACH_FLAGS   (PROP_TAG(PT_LONG,0x3714))
#define PR_ATTACH_TRANSPORT_NAME   (PROP_TAG(PT_TSTRING,0x370C))
#define PR_ATTACH_MIME_SEQUENCE   (PROP_TAG(PT_LONG,0x3710))
#define PR_SMTP_MESSAGE_ID   (PROP_TAG(PT_TSTRING,0x1035))

Typedefs

typedef ULONG ulFlags
typedef ULONG BOOL FAR * lpfMessageUpdated
typedef ULONG LPSTREAM FAR * lpUncompressedRTFStream

Enumerations

enum  mapi_TFolderType {
  mftInbox, mftOutbox, mftSent, mftDeleted,
  mftCalendar, mftContacts, mftJournal, mftNotes,
  mftTasks, mftSpecial, mftMail, mftStuff
}
enum  mapi_TStoreType { mstProfile, mstProfileSecret, mstStore }

Functions

void mapi_EnsureLibraries ()
void mapi_EnsureStores (const std::string libpath)
void mapi_EnsureFolders (HWND h, const std::string profile, const std::string store)
void mapi_EnsureFinished ()
bool isrtfhtml (const char *buf, unsigned int len)
void decodertfhtml (char *buf, unsigned int *len)
typedef HRESULT (STDMETHODCALLTYPE RTFSYNC)(LPMESSAGE lpMessage
HRESULT pHrGetOneProp (LPMAPIPROP lpMapiProp, ULONG ulPropTag, LPSPropValue FAR *lppProp)
void pFreeProws (LPSRowSet lpRows)
HRESULT pHrQueryAllRows (LPMAPITABLE lpTable, LPSPropTagArray lpPropTags, LPSRestriction lpRestriction, LPSSortOrderSet lpSortOrderSet, LONG crowsMax, LPSRowSet FAR *lppRows)

Variables

std::list< mapi_TLibraryInfomapi_Libraries
std::list< mapi_TStoreInfomapi_Stores
RTFSYNC * pRTFSync
WRAPCOMPRESSEDRTFSTREAM * pWrapCompressedRTFStream
MAPIFREEBUFFER * pMAPIFreeBuffer
IMAPISession * mapi_session
IMsgStore * mapi_msgstore
std::list< mapi_TFolderInfomapi_Folders
mapi_TEntryid eid_deleted


Define Documentation

#define PR_ATTACH_CONTENT_ID   (PROP_TAG(PT_TSTRING,0x3712))
 

#define PR_ATTACH_CONTENT_LOCATION   (PROP_TAG(PT_TSTRING,0x3713))
 

#define PR_ATTACH_FLAGS   (PROP_TAG(PT_LONG,0x3714))
 

#define PR_ATTACH_MIME_SEQUENCE   (PROP_TAG(PT_LONG,0x3710))
 

#define PR_ATTACH_TRANSPORT_NAME   (PROP_TAG(PT_TSTRING,0x370C))
 

#define PR_BODY_HTML   (PROP_TAG(PT_TSTRING,0x1013))
 

#define PR_SMTP_MESSAGE_ID   (PROP_TAG(PT_TSTRING,0x1035))
 


Typedef Documentation

typedef ULONG BOOL FAR* lpfMessageUpdated
 

typedef ULONG LPSTREAM FAR* lpUncompressedRTFStream
 

typedef ULONG ulFlags
 


Enumeration Type Documentation

enum mapi_TFolderType
 

Enumerator:
mftInbox 
mftOutbox 
mftSent 
mftDeleted 
mftCalendar 
mftContacts 
mftJournal 
mftNotes 
mftTasks 
mftSpecial 
mftMail 
mftStuff 

enum mapi_TStoreType
 

Enumerator:
mstProfile 
mstProfileSecret 
mstStore 


Function Documentation

void decodertfhtml char *  buf,
unsigned int *  len
 

typedef HRESULT STDMETHODCALLTYPE  WRAPCOMPRESSEDRTFSTREAM  ) 
 

bool isrtfhtml const char *  buf,
unsigned int  len
 

void mapi_EnsureFinished  ) 
 

void mapi_EnsureFolders HWND  h,
const std::string  profile,
const std::string  store
 

void mapi_EnsureLibraries  ) 
 

void mapi_EnsureStores const std::string  libpath  ) 
 

void pFreeProws LPSRowSet  lpRows  ) 
 

HRESULT pHrGetOneProp LPMAPIPROP  lpMapiProp,
ULONG  ulPropTag,
LPSPropValue FAR *  lppProp
 

HRESULT pHrQueryAllRows LPMAPITABLE  lpTable,
LPSPropTagArray  lpPropTags,
LPSRestriction  lpRestriction,
LPSSortOrderSet  lpSortOrderSet,
LONG  crowsMax,
LPSRowSet FAR *  lppRows
 


Variable Documentation

mapi_TEntryid eid_deleted
 

std::list<mapi_TFolderInfo> mapi_Folders
 

std::list<mapi_TLibraryInfo> mapi_Libraries
 

IMsgStore* mapi_msgstore
 

IMAPISession* mapi_session
 

std::list<mapi_TStoreInfo> mapi_Stores
 

MAPIFREEBUFFER* pMAPIFreeBuffer
 

RTFSYNC* pRTFSync
 

WRAPCOMPRESSEDRTFSTREAM* pWrapCompressedRTFStream
 


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