simple6.tlh

来自「Thinkinc++English 电子书籍,英文版」· TLH 代码 · 共 68 行

TLH
68
字号
// Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (483e17b8).
//
// simple6.tlh
//
// C++ source equivalent of Win32 type library ..\simple6.dll
// compiler-generated file created 08/22/05 at 16:44:20 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct /* coclass */ DispSimple;
struct __declspec(uuid("0960e2c4-c717-4cff-87b9-f042b4a92b45"))
/* dual interface */ IDispSimple;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IDispSimple, __uuidof(IDispSimple));

//
// Type library items
//

struct __declspec(uuid("b7d101c2-1d9e-4cbc-8f2c-dc3db7a1bc1c"))
DispSimple;
    // [ default ] interface IDispSimple

struct __declspec(uuid("0960e2c4-c717-4cff-87b9-f042b4a92b45"))
IDispSimple : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    _variant_t Add (
        const _variant_t & v1,
        const _variant_t & v2 );
    _bstr_t Upper (
        _bstr_t str );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Add (
        VARIANT v1,
        VARIANT v2,
        VARIANT * pVal ) = 0;
    virtual HRESULT __stdcall raw_Upper (
        BSTR str,
        BSTR * pVal ) = 0;
};

//
// Wrapper method implementations
//

#include "simple6.tli"

#pragma pack(pop)

⌨️ 快捷键说明

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