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

📄 dotnetcomponent.tlh

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

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

namespace DotnetComponent {

//
// Forward references and typedefs
//

struct __declspec(uuid("890c5cf0-f2c2-44c8-8ec8-10397f7ebd47"))
/* LIBID */ __DotnetComponent;
struct __declspec(uuid("59150a72-9f04-3d38-9906-2c3683863ce6"))
/* dispinterface */ IMathEvents;
struct __declspec(uuid("f39a4143-f88d-321e-9a33-8208e256a2df"))
/* dual interface */ IWelcome;
struct __declspec(uuid("ef596f3f-b69b-3657-9d48-c906cbf12565"))
/* interface */ IMath;
struct /* coclass */ DotnetComponent;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IMathEvents, __uuidof(IMathEvents));
_COM_SMARTPTR_TYPEDEF(IWelcome, __uuidof(IWelcome));
_COM_SMARTPTR_TYPEDEF(IMath, __uuidof(IMath));

//
// Type library items
//

struct __declspec(uuid("59150a72-9f04-3d38-9906-2c3683863ce6"))
IMathEvents : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    // Methods:
    HRESULT CalculationCompleted ( );
};

struct __declspec(uuid("f39a4143-f88d-321e-9a33-8208e256a2df"))
IWelcome : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    _bstr_t Greeting (
        _bstr_t name );

    //
    // Raw methods provided by interface
    //

      virtual HRESULT __stdcall raw_Greeting (
        /*[in]*/ BSTR name,
        /*[out,retval]*/ BSTR * pRetVal ) = 0;
};

struct __declspec(uuid("ef596f3f-b69b-3657-9d48-c906cbf12565"))
IMath : IUnknown
{
    //
    // Wrapper methods for error-handling
    //

    long Add (
        long val1,
        long val2 );
    long Sub (
        long val1,
        long val2 );

    //
    // Raw methods provided by interface
    //

      virtual HRESULT __stdcall raw_Add (
        /*[in]*/ long val1,
        /*[in]*/ long val2,
        /*[out,retval]*/ long * pRetVal ) = 0;
      virtual HRESULT __stdcall raw_Sub (
        /*[in]*/ long val1,
        /*[in]*/ long val2,
        /*[out,retval]*/ long * pRetVal ) = 0;
};

struct __declspec(uuid("77839717-40dd-4876-8297-35b98a8402c7"))
DotnetComponent;
    // interface _Object
    // [ default ] interface IWelcome
    // interface IMath
    // [ default, source ] dispinterface IMathEvents

//
// Named GUID constants initializations
//

extern "C" const GUID __declspec(selectany) LIBID_DotnetComponent =
    {0x890c5cf0,0xf2c2,0x44c8,{0x8e,0xc8,0x10,0x39,0x7f,0x7e,0xbd,0x47}};
extern "C" const GUID __declspec(selectany) DIID_IMathEvents =
    {0x59150a72,0x9f04,0x3d38,{0x99,0x06,0x2c,0x36,0x83,0x86,0x3c,0xe6}};
extern "C" const GUID __declspec(selectany) IID_IWelcome =
    {0xf39a4143,0xf88d,0x321e,{0x9a,0x33,0x82,0x08,0xe2,0x56,0xa2,0xdf}};
extern "C" const GUID __declspec(selectany) IID_IMath =
    {0xef596f3f,0xb69b,0x3657,{0x9d,0x48,0xc9,0x06,0xcb,0xf1,0x25,0x65}};
extern "C" const GUID __declspec(selectany) CLSID_DotnetComponent =
    {0x77839717,0x40dd,0x4876,{0x82,0x97,0x35,0xb9,0x8a,0x84,0x02,0xc7}};

//
// Wrapper method implementations
//

#include "k:\proc#\interop\dotnetcomponent\comclient\debug\dotnetcomponent.tli"

} // namespace DotnetComponent

#pragma pack(pop)

⌨️ 快捷键说明

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