Simple1.tlh
资源名称: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.tlh
- //
- // C++ source equivalent of Win32 type library ..Simple1Simple1.tlb
- // compiler-generated file created 07/07/05 at 20:29:50 - DO NOT EDIT!
- #pragma once
- #pragma pack(push, 8)
- #include <comdef.h>
- //
- // Forward references and typedefs
- //
- struct /* coclass */ Fun;
- struct __declspec(uuid("1f0bd295-9a78-42a4-9256-d7f45c7e4551"))
- /* interface */ IFun;
- //
- // Smart pointer typedef declarations
- //
- _COM_SMARTPTR_TYPEDEF(IFun, __uuidof(IFun));
- //
- // Type library items
- //
- struct __declspec(uuid("f8b8deec-9428-4c85-a4c2-301df8ab0a9a"))
- Fun;
- // [ default ] interface IFun
- struct __declspec(uuid("1f0bd295-9a78-42a4-9256-d7f45c7e4551"))
- IFun : IUnknown
- {
- //
- // Wrapper methods for error-handling
- //
- long Add (
- long n1,
- long n2 );
- _bstr_t Cat (
- _bstr_t s1,
- _bstr_t s2 );
- //
- // Raw methods provided by interface
- //
- virtual HRESULT __stdcall raw_Add (
- long n1,
- long n2,
- long * pVal ) = 0;
- virtual HRESULT __stdcall raw_Cat (
- BSTR s1,
- BSTR s2,
- BSTR * pVal ) = 0;
- };
- //
- // Wrapper method implementations
- //
- #include "Simple1.tli"
- #pragma pack(pop)