simple9.tlh
来自「Thinkinc++English 电子书籍,英文版」· TLH 代码 · 共 77 行
TLH
77 行
// Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (6c773a80).
//
// Simple9.tlh
//
// C++ source equivalent of Win32 type library ..\Simple9\Simple9.tlb
// compiler-generated file created 08/24/05 at 22:59:54 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
//
// Forward references and typedefs
//
struct /* coclass */ SimpleErr;
struct __declspec(uuid("39660e3a-4bd0-4894-a65e-3cf09da4b626"))
/* dual interface */ ISimpleErr;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(ISimpleErr, __uuidof(ISimpleErr));
//
// Type library items
//
struct __declspec(uuid("f113d12f-f934-497a-bff1-ed6f2ed5a755"))
SimpleErr;
// [ default ] interface ISimpleErr
struct __declspec(uuid("39660e3a-4bd0-4894-a65e-3cf09da4b626"))
ISimpleErr : IDispatch
{
//
// Wrapper methods for error-handling
//
long Div1 (
long n1,
long n2 );
long Div2 (
long n1,
long n2 );
long Div3 (
long n1,
long n2 );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Div1 (
long n1,
long n2,
long * pResult ) = 0;
virtual HRESULT __stdcall raw_Div2 (
long n1,
long n2,
long * pResult ) = 0;
virtual HRESULT __stdcall raw_Div3 (
long n1,
long n2,
long * pResult ) = 0;
};
//
// Wrapper method implementations
//
#include "Simple9.tli"
#pragma pack(pop)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?