Simple1.tli
资源名称:comp5.rar [点击查看]
上传用户:sz6275
上传日期:2022-06-17
资源大小:80k
文件大小:1k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (0c49bd0d).
- //
- // Simple1.tli
- //
- // Wrapper implementations for Win32 type library ..Simple1Simple1.tlb
- // compiler-generated file created 07/07/05 at 20:29:50 - DO NOT EDIT!
- #pragma once
- //
- // interface IFun wrapper method implementations
- //
- inline long IFun::Add ( long n1, long n2 ) {
- long _result;
- HRESULT _hr = raw_Add(n1, n2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _result;
- }
- inline _bstr_t IFun::Cat ( _bstr_t s1, _bstr_t s2 ) {
- BSTR _result;
- HRESULT _hr = raw_Cat(s1, s2, &_result);
- if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
- return _bstr_t(_result, false);
- }