⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jmail.tlh

📁 本压缩软件为《Visual C++6.0基础教程》(黑魔方系列)一书的源代码
💻 TLH
📖 第 1 页 / 共 4 页
字号:
    virtual HRESULT __stdcall get_ContentTransferEncoding (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall put_ContentTransferEncoding (
        BSTR Value ) = 0;
    virtual HRESULT __stdcall get_MimeVersion (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall put_MimeVersion (
        BSTR Value ) = 0;
    virtual HRESULT __stdcall get_Encoding (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall put_Encoding (
        BSTR Value ) = 0;
    virtual HRESULT __stdcall raw_AddRecipientEx (
        BSTR EMail,
        BSTR Name ) = 0;
    virtual HRESULT __stdcall get_ReturnReceipt (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_ReturnReceipt (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall raw_LogCustomMessage (
        BSTR Message ) = 0;
    virtual HRESULT __stdcall get_Log (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_Logging (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_Logging (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall get_HTMLBody (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall put_HTMLBody (
        BSTR Value ) = 0;
    virtual HRESULT __stdcall raw_Close ( ) = 0;
    virtual HRESULT __stdcall get_ISOEncodeHeaders (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_ISOEncodeHeaders (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall raw_ClearCustomHeaders ( ) = 0;
    virtual HRESULT __stdcall get_UsePipelining (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_UsePipelining (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall get_Silent (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_Silent (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall get_ErrorCode (
        long * Value ) = 0;
    virtual HRESULT __stdcall get_ErrorMessage (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_ErrorSource (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_SimpleLayout (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_SimpleLayout (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall raw_GetMessageBodyFromURL (
        BSTR bstrURL,
        BSTR bstrAuth ) = 0;
    virtual HRESULT __stdcall raw_AddURLAttachment (
        BSTR bstrURL,
        BSTR bstrAttachAs,
        BSTR bstrAuth,
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall raw_ExtractEmailAddressesFromURL (
        BSTR bstrURL,
        BSTR bstrAuth ) = 0;
    virtual HRESULT __stdcall get_Recipients (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_DeferredDelivery (
        DATE * Value ) = 0;
    virtual HRESULT __stdcall put_DeferredDelivery (
        DATE Value ) = 0;
    virtual HRESULT __stdcall get_Version (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_MemCount (
        long * Value ) = 0;
    virtual HRESULT __stdcall get_MemSize (
        long * Value ) = 0;
    virtual HRESULT __stdcall get_Message (
        struct IMessage * * Value ) = 0;
    virtual HRESULT __stdcall put_Message (
        struct IMessage * Value ) = 0;
};

struct __declspec(uuid("aed3a6b3-2171-11d2-b77c-0008c73aca8f"))
SMTPMail;
    // [ default ] interface ISMTPMail

struct __declspec(uuid("14e61a41-8846-11d2-b7e4-0008c73aca8f"))
IPOP3Mail : IDispatch
{};

struct __declspec(uuid("14e61a43-8846-11d2-b7e4-0008c73aca8f"))
POP3Mail;
    // [ default ] interface IPOP3Mail

struct __declspec(uuid("23e86816-772b-4b28-a924-a135cff6469a"))
IPGPKeys : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetCount))
    long Count;
    __declspec(property(get=GetItem))
    IPGPKeyInfoPtr Item[];

    //
    // Wrapper methods for error-handling
    //

    long GetCount ( );
    IPGPKeyInfoPtr GetItem (
        long index );
    HRESULT AddKey (
        struct IPGPKeyInfo * key );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Count (
        long * Value ) = 0;
    virtual HRESULT __stdcall get_Item (
        long index,
        struct IPGPKeyInfo * * Value ) = 0;
    virtual HRESULT __stdcall raw_AddKey (
        struct IPGPKeyInfo * key ) = 0;
};

struct __declspec(uuid("cef9ea1f-bbca-4e19-87a4-2e26c22f1d26"))
PGPKeys;
    // [ default ] interface IPGPKeys

struct __declspec(uuid("b89d0e7a-0f5b-40ee-8af3-08fa2ed9534f"))
IPGPKeyInfo : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetKeyUser))
    _bstr_t KeyUser;
    __declspec(property(get=GetKeyID))
    _bstr_t KeyID;
    __declspec(property(get=GetKeyCreationDate))
    _bstr_t KeyCreationDate;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t GetKeyUser ( );
    _bstr_t GetKeyID ( );
    _bstr_t GetKeyCreationDate ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_KeyUser (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_KeyID (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_KeyCreationDate (
        BSTR * Value ) = 0;
};

struct __declspec(uuid("37f2ddbd-5cd9-4cdf-9b30-2a904246c112"))
PGPKeyInfo;
    // [ default ] interface IPGPKeyInfo

struct __declspec(uuid("0c21b3b1-2b11-45f2-8a9e-dcc5032de98a"))
IMailMerge : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetMergeAttachments,put=PutMergeAttachments))
    VARIANT_BOOL MergeAttachments;
    __declspec(property(get=GetMailTemplate,put=PutMailTemplate))
    IMessagePtr MailTemplate;
    __declspec(property(get=GetItem,put=PutItem))
    _bstr_t Item[];

    //
    // Wrapper methods for error-handling
    //

    VARIANT_BOOL GetMergeAttachments ( );
    void PutMergeAttachments (
        VARIANT_BOOL Value );
    IMessagePtr GetMailTemplate ( );
    void PutMailTemplate (
        struct IMessage * Value );
    HRESULT SetDebugMode (
        _bstr_t TestMailAddress,
        long TestCount );
    _bstr_t GetItem (
        _bstr_t VariableName );
    void PutItem (
        _bstr_t VariableName,
        _bstr_t Value );
    IMessagePtr Expand ( );
    IMessagePtr ExpandFromRecordSet (
        const _variant_t & RecordSet );
    HRESULT BulkMerge (
        const _variant_t & RecordSet,
        VARIANT_BOOL enque,
        _bstr_t Maildestination );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_MergeAttachments (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall put_MergeAttachments (
        VARIANT_BOOL Value ) = 0;
    virtual HRESULT __stdcall get_MailTemplate (
        struct IMessage * * Value ) = 0;
    virtual HRESULT __stdcall put_MailTemplate (
        struct IMessage * Value ) = 0;
    virtual HRESULT __stdcall raw_SetDebugMode (
        BSTR TestMailAddress,
        long TestCount ) = 0;
    virtual HRESULT __stdcall get_Item (
        BSTR VariableName,
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall put_Item (
        BSTR VariableName,
        BSTR Value ) = 0;
    virtual HRESULT __stdcall raw_Expand (
        struct IMessage * * Value ) = 0;
    virtual HRESULT __stdcall raw_ExpandFromRecordSet (
        VARIANT RecordSet,
        struct IMessage * * Value ) = 0;
    virtual HRESULT __stdcall raw_BulkMerge (
        VARIANT RecordSet,
        VARIANT_BOOL enque,
        BSTR Maildestination ) = 0;
};

struct __declspec(uuid("0d821067-fcf9-4704-9287-0d8f76fe6513"))
MailMerge;
    // [ default ] interface IMailMerge

struct __declspec(uuid("821aafe5-2f19-47eb-aca9-3b4c1d64ac27"))
ISpeedMailer : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT SendMail (
        _bstr_t FromEMail,
        _bstr_t RecipientEMails,
        _bstr_t Subject,
        _bstr_t Body,
        _bstr_t MailServers );
    HRESULT EnqueMail (
        _bstr_t FromEMail,
        _bstr_t RecipientEMails,
        _bstr_t Subject,
        _bstr_t Body,
        _bstr_t MsPickupdirectory );
    HRESULT SendXMLMail (
        _bstr_t XML );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_SendMail (
        BSTR FromEMail,
        BSTR RecipientEMails,
        BSTR Subject,
        BSTR Body,
        BSTR MailServers ) = 0;
    virtual HRESULT __stdcall raw_EnqueMail (
        BSTR FromEMail,
        BSTR RecipientEMails,
        BSTR Subject,
        BSTR Body,
        BSTR MsPickupdirectory ) = 0;
    virtual HRESULT __stdcall raw_SendXMLMail (
        BSTR XML ) = 0;
};

struct __declspec(uuid("90d0a753-ad45-40fd-8c6e-555600ee5eb4"))
SpeedMailer;
    // [ default ] interface ISpeedMailer

struct __declspec(uuid("e05aea1e-bcb1-473a-8b2a-4829d9e1ad23"))
IPGPDecodeResult : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetSigningUsed))
    VARIANT_BOOL SigningUsed;
    __declspec(property(get=GetSignatureGood))
    VARIANT_BOOL SignatureGood;
    __declspec(property(get=GetSuccess))
    VARIANT_BOOL Success;
    __declspec(property(get=GetPGPErrorCode))
    long PGPErrorCode;
    __declspec(property(get=GetPGPErrorMsg))
    _bstr_t PGPErrorMsg;
    __declspec(property(get=GetEncryptionUsed))
    VARIANT_BOOL EncryptionUsed;

    //
    // Wrapper methods for error-handling
    //

    VARIANT_BOOL GetSigningUsed ( );
    VARIANT_BOOL GetSignatureGood ( );
    VARIANT_BOOL GetSuccess ( );
    long GetPGPErrorCode ( );
    _bstr_t GetPGPErrorMsg ( );
    VARIANT_BOOL GetEncryptionUsed ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_SigningUsed (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall get_SignatureGood (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall get_Success (
        VARIANT_BOOL * Value ) = 0;
    virtual HRESULT __stdcall get_PGPErrorCode (
        long * Value ) = 0;
    virtual HRESULT __stdcall get_PGPErrorMsg (
        BSTR * Value ) = 0;
    virtual HRESULT __stdcall get_EncryptionUsed (
        VARIANT_BOOL * Value ) = 0;
};

struct __declspec(uuid("81ca5571-c109-47ae-be1c-2df9cb8999ff"))
PGPDecodeResult;
    // [ default ] interface IPGPDecodeResult

struct __declspec(uuid("08b9999c-dad2-4353-b25b-8ccaffca4d16"))
IPGPDecodeResults : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetBody))
    IPGPDecodeResultPtr Body;
    __declspec(property(get=GetHTMLBody))
    IPGPDecodeResultPtr HTMLBody;
    __declspec(property(get=GetAttachments))
    IPGPDecodeResultCollectionPtr Attachments;

    //
    // Wrapper methods for error-handling
    //

    IPGPDecodeResultPtr GetBody ( );
    IPGPDecodeResultPtr GetHTMLBody ( );
    IPGPDecodeResultCollectionPtr GetAttachments ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Body (
        struct IPGPDecodeResult * * Value ) = 0;
    virtual HRESULT __stdcall get_HTMLBody (
        struct IPGPDecodeResult * * Value ) = 0;
    virtual HRESULT __stdcall get_Attachments (
        struct IPGPDecodeResultCollection * * Value ) = 0;
};

struct __declspec(uuid("ac3f1977-cd10-41b2-9977-7693a4c13377"))
PGPDecodeResults;
    // [ default ] interface IPGPDecodeResults

struct __declspec(uuid("41dba1fa-44f6-4bd5-82df-1a7fdea0475d"))
IPGPDecodeResultCollection : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetCount))
    long Count;
    __declspec(property(get=GetItem))
    IPGPDecodeResultPtr Item[];

    //
    // Wrapper methods for error-handling
    //

    long GetCount ( );
    IPGPDecodeResultPtr GetItem (
        long index );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Count (
        long * Value ) = 0;
    virtual HRESULT __stdcall get_Item (
        long index,
        struct IPGPDecodeResult * * Value ) = 0;
};

struct __declspec(uuid("10e321cc-683e-4060-b938-4f53234d9593"))
PGPDecodeResultCollection;
    // [ default ] interface IPGPDecodeResultCollection

//
// Wrapper method implementations
//

#include "jmail.tli"

} // namespace jmail

#pragma pack(pop)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -