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

📄 ecole.tli

📁 IBM 开发的easy cics通讯相关的源代码
💻 TLI
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8447.0 (a0eaf6ec).
//
// EcOle.tli
//
// Wrapper implementations for Win32 type library d:\bcfiles\cics\c\ReleaseMinDependency\EcOle.dll
// compiler-generated file created 04/01/03 at 12:01:01 - DO NOT EDIT!

#pragma once

//
// dispinterface IApp wrapper method implementations
//

inline HRESULT IApp::About ( ) {
    return _com_dispatch_method(this, 0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::BeginWrite ( ) {
    return _com_dispatch_method(this, 0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::CallProgram ( _bstr_t ProgramName ) {
    return _com_dispatch_method(this, 0x3, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)ProgramName);
}

inline HRESULT IApp::CallProgramAndCommit ( _bstr_t ProgramName ) {
    return _com_dispatch_method(this, 0x4, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)ProgramName);
}

inline HRESULT IApp::CallProgramDSync ( _bstr_t ProgramName ) {
    return _com_dispatch_method(this, 0x5, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)ProgramName);
}

inline HRESULT IApp::CallProgramDSyncAndCommit ( _bstr_t ProgramName ) {
    return _com_dispatch_method(this, 0x6, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)ProgramName);
}

inline HRESULT IApp::Commit ( ) {
    return _com_dispatch_method(this, 0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline short IApp::ConnectServer ( _bstr_t ServerName, _bstr_t UserName, _bstr_t Password ) {
    short _result;
    _com_dispatch_method(this, 0x8, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0008\x0008\x0008", (BSTR)ServerName, (BSTR)UserName, (BSTR)Password);
    return _result;
}

inline short IApp::ConnectServer2 ( _bstr_t ServerName1, _bstr_t ServerName2, _bstr_t UserName, _bstr_t Password ) {
    short _result;
    _com_dispatch_method(this, 0x9, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0008\x0008\x0008\x0008", (BSTR)ServerName1, (BSTR)ServerName2, (BSTR)UserName, (BSTR)Password);
    return _result;
}

inline long IApp::GetBlockSize ( ) {
    long _result;
    _com_dispatch_method(this, 0xa, DISPATCH_METHOD, VT_I4, (void*)&_result, NULL);
    return _result;
}

inline _bstr_t IApp::GetErr ( ) {
    BSTR _result;
    _com_dispatch_method(this, 0xb, DISPATCH_METHOD, VT_BSTR, (void*)&_result, NULL);
    return _bstr_t(_result, false);
}

inline short IApp::GetErrCode ( ) {
    short _result;
    _com_dispatch_method(this, 0xc, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline short IApp::GetReply ( ) {
    short _result;
    _com_dispatch_method(this, 0xd, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline _bstr_t IApp::GetValue ( _bstr_t KeyName ) {
    BSTR _result;
    _com_dispatch_method(this, 0xe, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0008", (BSTR)KeyName);
    return _bstr_t(_result, false);
}

inline HRESULT IApp::RollBack ( ) {
    return _com_dispatch_method(this, 0xf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::RsAddRow ( ) {
    return _com_dispatch_method(this, 0x10, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::RsCreate ( short ColNum ) {
    return _com_dispatch_method(this, 0x11, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002", ColNum);
}

inline HRESULT IApp::RsFetchRow ( ) {
    return _com_dispatch_method(this, 0x12, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline _bstr_t IApp::RsGetCol ( short Col ) {
    BSTR _result;
    _com_dispatch_method(this, 0x13, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0002", Col);
    return _bstr_t(_result, false);
}

inline short IApp::RsGetColNum ( ) {
    short _result;
    _com_dispatch_method(this, 0x14, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline int IApp::RsGetRowNum ( ) {
    int _result;
    _com_dispatch_method(this, 0x15, DISPATCH_METHOD, VT_I4, (void*)&_result, NULL);
    return _result;
}

inline short IApp::RsGetTableColNum ( short nt ) {
    short _result;
    _com_dispatch_method(this, 0x16, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0002", nt);
    return _result;
}

inline int IApp::RsGetTableRowNum ( short nt ) {
    int _result;
    _com_dispatch_method(this, 0x17, DISPATCH_METHOD, VT_I4, (void*)&_result, 
        L"\x0002", nt);
    return _result;
}

inline HRESULT IApp::RsNewTable ( short ColNum ) {
    return _com_dispatch_method(this, 0x18, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002", ColNum);
}

inline HRESULT IApp::RsOpen ( ) {
    return _com_dispatch_method(this, 0x19, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::RsSaveRow ( ) {
    return _com_dispatch_method(this, 0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::RsSetCol ( short Col, _bstr_t Vlu ) {
    return _com_dispatch_method(this, 0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002\x0008", Col, (BSTR)Vlu);
}

inline HRESULT IApp::SetEciTimeOut ( short t ) {
    return _com_dispatch_method(this, 0x1c, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002", t);
}

inline HRESULT IApp::SetValue ( _bstr_t KeyName, _bstr_t StrValue ) {
    return _com_dispatch_method(this, 0x1d, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008\x0008", (BSTR)KeyName, (BSTR)StrValue);
}

inline HRESULT IApp::Upload ( _bstr_t FileName, _bstr_t ServerFileName ) {
    return _com_dispatch_method(this, 0x1e, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008\x0008", (BSTR)FileName, (BSTR)ServerFileName);
}

inline _variant_t IApp::T_T ( ) {
    VARIANT _result;
    _com_dispatch_method(this, 0x1f, DISPATCH_METHOD, VT_VARIANT, (void*)&_result, NULL);
    return _variant_t(_result, false);
}

inline _bstr_t IApp::FetchStrFromFile ( _bstr_t fs ) {
    BSTR _result;
    _com_dispatch_method(this, 0x20, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0008", (BSTR)fs);
    return _bstr_t(_result, false);
}

inline HRESULT IApp::GetValueToFile ( _bstr_t KeyName, _bstr_t fs ) {
    return _com_dispatch_method(this, 0x21, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008\x0008", (BSTR)KeyName, (BSTR)fs);
}

inline _bstr_t IApp::RsGetColByName ( _bstr_t ColName ) {
    BSTR _result;
    _com_dispatch_method(this, 0x22, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0008", (BSTR)ColName);
    return _bstr_t(_result, false);
}

inline _bstr_t IApp::RsGetColName ( short ColNo1 ) {
    BSTR _result;
    _com_dispatch_method(this, 0x23, DISPATCH_METHOD, VT_BSTR, (void*)&_result, 
        L"\x0002", ColNo1);
    return _bstr_t(_result, false);
}

inline HRESULT IApp::SaveStrToFile ( _bstr_t s, _bstr_t fs ) {
    return _com_dispatch_method(this, 0x24, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008\x0008", (BSTR)s, (BSTR)fs);
}

inline _variant_t IApp::LoadBlock ( ) {
    VARIANT _result;
    _com_dispatch_method(this, 0x25, DISPATCH_METHOD, VT_VARIANT, (void*)&_result, NULL);
    return _variant_t(_result, false);
}

inline HRESULT IApp::SetTransId ( _bstr_t TransId ) {
    return _com_dispatch_method(this, 0x26, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)TransId);
}

inline HRESULT IApp::EcInit ( ) {
    return _com_dispatch_method(this, 0x27, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::ConnectServer0 ( _bstr_t ServerName, _bstr_t UserName, _bstr_t Password ) {
    return _com_dispatch_method(this, 0x28, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008\x0008\x0008", (BSTR)ServerName, (BSTR)UserName, (BSTR)Password);
}

inline HRESULT IApp::CallProgramAndCommit1 ( _bstr_t ProgramName ) {
    return _com_dispatch_method(this, 0x29, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)ProgramName);
}

inline HRESULT IApp::RsClose ( ) {
    return _com_dispatch_method(this, 0x2a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::RestartWindow ( ) {
    return _com_dispatch_method(this, 0x2b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::ServerListInit ( short SrvNum ) {
    return _com_dispatch_method(this, 0x2c, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002", SrvNum);
}

inline HRESULT IApp::ServerListAdd ( _bstr_t ServerName ) {
    return _com_dispatch_method(this, 0x2d, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)ServerName);
}

inline short IApp::ConnectServerListX ( _bstr_t ListName, _bstr_t UserName, _bstr_t Password ) {
    short _result;
    _com_dispatch_method(this, 0x2e, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0008\x0008\x0008", (BSTR)ListName, (BSTR)UserName, (BSTR)Password);
    return _result;
}

inline HRESULT IApp::SetMsgQlf ( short qlf ) {
    return _com_dispatch_method(this, 0x2f, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002", qlf);
}

inline short IApp::GetMsgQlf ( ) {
    short _result;
    _com_dispatch_method(this, 0x30, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline short IApp::ConnectServerList ( _bstr_t UserName, _bstr_t Password ) {
    short _result;
    _com_dispatch_method(this, 0x31, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0008\x0008", (BSTR)UserName, (BSTR)Password);
    return _result;
}

inline short IApp::GetReplyWait ( ) {
    short _result;
    _com_dispatch_method(this, 0x32, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline short IApp::GetSpecReply ( ) {
    short _result;
    _com_dispatch_method(this, 0x33, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline short IApp::GetSpecReplyWait ( ) {
    short _result;
    _com_dispatch_method(this, 0x34, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline short IApp::EPIConnectServer ( _bstr_t ServerName ) {
    short _result;
    _com_dispatch_method(this, 0x35, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0008", (BSTR)ServerName);
    return _result;
}

inline HRESULT IApp::DisConnect ( ) {
    return _com_dispatch_method(this, 0x36, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::EPIDisConnect ( ) {
    return _com_dispatch_method(this, 0x37, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

inline HRESULT IApp::EPIStartTran ( _bstr_t TranName ) {
    return _com_dispatch_method(this, 0x38, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)TranName);
}

inline short IApp::EPIGetEvent ( ) {
    short _result;
    _com_dispatch_method(this, 0x39, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline _bstr_t IApp::EPIGetEventData ( ) {
    BSTR _result;
    _com_dispatch_method(this, 0x3a, DISPATCH_METHOD, VT_BSTR, (void*)&_result, NULL);
    return _bstr_t(_result, false);
}

inline short IApp::EPIGetEventType ( ) {
    short _result;
    _com_dispatch_method(this, 0x3b, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline short IApp::EPIReply ( _bstr_t Data ) {
    short _result;
    _com_dispatch_method(this, 0x3c, DISPATCH_METHOD, VT_I2, (void*)&_result, 
        L"\x0008", (BSTR)Data);
    return _result;
}

inline short IApp::EPIGetEventNoWait ( ) {
    short _result;
    _com_dispatch_method(this, 0x3d, DISPATCH_METHOD, VT_I2, (void*)&_result, NULL);
    return _result;
}

inline HRESULT IApp::InitLogFile ( _bstr_t FileName ) {
    return _com_dispatch_method(this, 0x3e, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)FileName);
}

inline HRESULT IApp::WriteLogFile ( _bstr_t LogStr ) {
    return _com_dispatch_method(this, 0x3f, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)LogStr);
}

inline HRESULT IApp::LogValue ( _bstr_t KeyName ) {
    return _com_dispatch_method(this, 0x40, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)KeyName);
}

inline HRESULT IApp::RsLogCol ( short Col ) {
    return _com_dispatch_method(this, 0x41, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0002", Col);
}

inline HRESULT IApp::WriteLogFileLine ( _bstr_t LogStr ) {
    return _com_dispatch_method(this, 0x42, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008", (BSTR)LogStr);
}

inline HRESULT IApp::SetProperty ( _bstr_t Name, _bstr_t Value ) {
    return _com_dispatch_method(this, 0x43, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x0008\x0008", (BSTR)Name, (BSTR)Value);
}

inline HRESULT IApp::SetUploadBlk ( const _variant_t & Blk, _bstr_t PrgName ) {
    return _com_dispatch_method(this, 0x44, DISPATCH_METHOD, VT_EMPTY, NULL, 
        L"\x000c\x0008", &Blk, (BSTR)PrgName);
}

⌨️ 快捷键说明

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