simple6.tli

来自「Thinkinc++English 电子书籍,英文版」· TLI 代码 · 共 28 行

TLI
28
字号
// Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (483e17b8).
//
// simple6.tli
//
// Wrapper implementations for Win32 type library ..\simple6.dll
// compiler-generated file created 08/22/05 at 16:44:20 - DO NOT EDIT!

#pragma once

//
// interface IDispSimple wrapper method implementations
//

inline _variant_t IDispSimple::Add ( const _variant_t & v1, const _variant_t & v2 ) {
    VARIANT _result;
    VariantInit(&_result);
    HRESULT _hr = raw_Add(v1, v2, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _variant_t(_result, false);
}

inline _bstr_t IDispSimple::Upper ( _bstr_t str ) {
    BSTR _result;
    HRESULT _hr = raw_Upper(str, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

⌨️ 快捷键说明

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