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

📄 dotnetcomponent.tli

📁 C#高级编程第6版随书源代码 值得下载
💻 TLI
字号:
// Created by Microsoft (R) C/C++ Compiler Version 15.00.20706.01 (c6d752c6).
//
// k:\proc#\interop\dotnetcomponent\comclient\debug\dotnetcomponent.tli
//
// Wrapper implementations for Win32 type library ../DotNetComponent/bin/debug/DotnetComponent.tlb
// compiler-generated file created 09/03/07 at 13:19:55 - DO NOT EDIT!

#pragma once

//
// dispinterface IMathEvents wrapper method implementations
//

inline HRESULT IMathEvents::CalculationCompleted ( ) {
    return _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

//
// interface IWelcome wrapper method implementations
//

inline _bstr_t IWelcome::Greeting ( _bstr_t name ) {
    BSTR _result = 0;
    HRESULT _hr = raw_Greeting(name, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _bstr_t(_result, false);
}

//
// interface IMath wrapper method implementations
//

inline long IMath::Add ( long val1, long val2 ) {
    long _result = 0;
    HRESULT _hr = raw_Add(val1, val2, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

inline long IMath::Sub ( long val1, long val2 ) {
    long _result = 0;
    HRESULT _hr = raw_Sub(val1, val2, &_result);
    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
    return _result;
}

⌨️ 快捷键说明

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