Simple1.tli
Upload User: sz6275
Upload Date: 2022-06-17
Package Size: 80k
Code Size: 1k
Development Platform:

Visual C++

  1. // Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (0c49bd0d).
  2. //
  3. // Simple1.tli
  4. //
  5. // Wrapper implementations for Win32 type library ..Simple1Simple1.tlb
  6. // compiler-generated file created 07/07/05 at 20:29:50 - DO NOT EDIT!
  7. #pragma once
  8. //
  9. // interface IFun wrapper method implementations
  10. //
  11. inline long IFun::Add ( long n1, long n2 ) {
  12.     long _result;
  13.     HRESULT _hr = raw_Add(n1, n2, &_result);
  14.     if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  15.     return _result;
  16. }
  17. inline _bstr_t IFun::Cat ( _bstr_t s1, _bstr_t s2 ) {
  18.     BSTR _result;
  19.     HRESULT _hr = raw_Cat(s1, s2, &_result);
  20.     if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
  21.     return _bstr_t(_result, false);
  22. }