usercom.tli

来自「一个调用COM的程序」· TLI 代码 · 共 39 行

TLI
39
字号
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (03f68757).
//
// UserCom.tli
//
// Wrapper implementations for Win32 type library UserCom.tlb
// compiler-generated file created 07/16/04 at 19:22:59 - DO NOT EDIT!

#pragma once

//
// dispinterface IUserCOM wrapper method implementations
//

inline VARIANT_BOOL IUserCOM::Login ( ) {
    VARIANT_BOOL _result;
    _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_BOOL, (void*)&_result, NULL);
    return _result;
}

inline _bstr_t IUserCOM::GetUserName ( ) {
    BSTR _result;
    _com_dispatch_propget(this, 0x1, VT_BSTR, (void*)&_result);
    return _bstr_t(_result, false);
}

inline void IUserCOM::PutUserName ( _bstr_t _val ) {
    _com_dispatch_propput(this, 0x1, VT_BSTR, (BSTR)_val);
}

inline _bstr_t IUserCOM::GetPWD ( ) {
    BSTR _result;
    _com_dispatch_propget(this, 0x2, VT_BSTR, (void*)&_result);
    return _bstr_t(_result, false);
}

inline void IUserCOM::PutPWD ( _bstr_t _val ) {
    _com_dispatch_propput(this, 0x2, VT_BSTR, (BSTR)_val);
}

⌨️ 快捷键说明

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