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

📄 email.tli

📁 Email的收发源代码
💻 TLI
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8447.0 (28c877ce).
//
// Email.tli
//
// Wrapper implementations for Win32 type library C:\Documents and Settings\aikram\Desktop\Email\Debug\Email.dll
// compiler-generated file created 09/24/02 at 11:35:19 - DO NOT EDIT!

#pragma once

//
// interface IMail wrapper method implementations
//

inline _bstr_t IMail::get_strSubject ( ) {
    BSTR _result;
    HRESULT _hr = raw_get_strSubject(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

inline HRESULT IMail::put_strSubject ( _bstr_t sSubject ) {
    HRESULT _hr = raw_put_strSubject(sSubject);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::put_strProfileName ( _bstr_t sProfileName ) {
    HRESULT _hr = raw_put_strProfileName(sProfileName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::Logon ( ) {
    HRESULT _hr = raw_Logon();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::put_strEmailAddress ( _bstr_t sEmailAddress ) {
    HRESULT _hr = raw_put_strEmailAddress(sEmailAddress);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::Send ( ) {
    HRESULT _hr = raw_Send();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::Logoff ( ) {
    HRESULT _hr = raw_Logoff();
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::put_strRecipient ( _bstr_t sRecipientEmail ) {
    HRESULT _hr = raw_put_strRecipient(sRecipientEmail);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline HRESULT IMail::put_strMessage ( _bstr_t sMessageText ) {
    HRESULT _hr = raw_put_strMessage(sMessageText);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline _bstr_t IMail::get_strMessage ( ) {
    BSTR _result;
    HRESULT _hr = raw_get_strMessage(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

inline HRESULT IMail::put_strAttachmentFile ( _bstr_t sAttachmentFileName ) {
    HRESULT _hr = raw_put_strAttachmentFile(sAttachmentFileName);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline _bstr_t IMail::get_strAttachmentFile ( ) {
    BSTR _result;
    HRESULT _hr = raw_get_strAttachmentFile(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

inline HRESULT IMail::put_strAttachmentFilePath ( _bstr_t sAttachmentFilePath ) {
    HRESULT _hr = raw_put_strAttachmentFilePath(sAttachmentFilePath);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _hr;
}

inline _bstr_t IMail::get_strAttachmentFilePath ( ) {
    BSTR _result;
    HRESULT _hr = raw_get_strAttachmentFilePath(&_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

⌨️ 快捷键说明

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