ex24a.tli

来自「VC技术内幕」· TLI 代码 · 共 35 行

TLI
35
字号
// Created by Microsoft (R) C/C++ Compiler Version 11.00.0000 (af473f31).
//
// Debug/ex24a.tli
//
// Wrapper implementations for Win32 type library ..\ex24a\debug\ex24a.tlb
// compiler-generated file created 04/22/97 at 22:06:00 - DO NOT EDIT!

#pragma once

//
// dispinterface IBank wrapper method implementations
//

inline double IBank::Withdrawal ( double dAount ) {
    double _result;
    _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_R8, (void*)&_result, 
        L"\x0005", dAount);
    return _result;
}

inline HRESULT IBank::Deposit ( double dAmount ) {
    return _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0005", dAmount);
}

inline double IBank::GetBalance ( ) {
    double _result;
    _com_dispatch_propget(this, 0x1, VT_R8, (void*)&_result);
    return _result;
}

inline void IBank::PutBalance ( double _val ) {
    _com_dispatch_propput(this, 0x1, VT_R8, _val);
}

⌨️ 快捷键说明

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