[pywin32-checkins] /hgroot/pywin32/pywin32: Add missing IConverterSession.h file
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2014-01-25 03:23:05
|
changeset e83b6c43e736 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=e83b6c43e736 summary: Add missing IConverterSession.h file diffstat: com/win32comext/mapi/src/IConverterSession.h | 50 ++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diffs (54 lines): diff -r 90d1d37b2444 -r e83b6c43e736 com/win32comext/mapi/src/IConverterSession.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/com/win32comext/mapi/src/IConverterSession.h Sat Jan 25 14:23:00 2014 +1100 @@ -0,0 +1,50 @@ +#pragma once + +//Class Identifiers +// {4e3a7680-b77a-11d0-9da5-00c04fd65685} +DEFINE_GUID(CLSID_IConverterSession, 0x4e3a7680, 0xb77a, + 0x11d0, 0x9d, 0xa5, 0x0, 0xc0, 0x4f, 0xd6, 0x56, 0x85); + +//Interface Identifiers +// {4b401570-b77b-11d0-9da5-00c04fd65685} +DEFINE_GUID(IID_IConverterSession, 0x4b401570, 0xb77b, + 0x11d0, 0x9d, 0xa5, 0x0, 0xc0, 0x4f, 0xd6, 0x56, 0x85); + +// Constants +#define CCSF_SMTP 0x0002 // the converter is being passed an SMTP message +#define CCSF_NOHEADERS 0x0004 // the converter should ignore the headers on the outside message +#define CCSF_USE_TNEF 0x0010 // the converter should embed TNEF in the MIME message +#define CCSF_INCLUDE_BCC 0x0020 // the converter should include Bcc recipients +#define CCSF_8BITHEADERS 0x0040 // the converter should allow 8 bit headers +#define CCSF_USE_RTF 0x0080 // the converter should do HTML->RTF conversion +#define CCSF_PLAIN_TEXT_ONLY 0x1000 // the converter should just send plain text +#define CCSF_NO_MSGID 0x4000 // don't include Message-Id field in outgoing messages +#define CCSF_EMBEDDED_MESSAGE 0x8000 // sent/unsent information is persisted in X-Unsent +#define CCSF_PRESERVE_SOURCE 0x40000 // don't modify the source message + +// http://msdn2.microsoft.com/en-us/library/bb905202.aspx +interface IConverterSession : public IUnknown +{ +public: + virtual HRESULT STDMETHODCALLTYPE SetAdrBook(LPADRBOOK pab); + + virtual HRESULT PlaceHolder1(); + virtual HRESULT PlaceHolder2(); + + virtual HRESULT STDMETHODCALLTYPE MIMEToMAPI(LPSTREAM pstm, + LPMESSAGE pmsg, + LPCSTR pszSrcSrv, + ULONG ulFlags); + + virtual HRESULT STDMETHODCALLTYPE MAPIToMIMEStm(LPMESSAGE pmsg, + LPSTREAM pstm, + ULONG ulFlags); + + virtual HRESULT PlaceHolder3(); + virtual HRESULT PlaceHolder4(); + virtual HRESULT PlaceHolder5(); + virtual HRESULT PlaceHolder6(); + virtual HRESULT PlaceHolder7(); + virtual HRESULT PlaceHolder8(); + virtual HRESULT PlaceHolder9(); +}; |