📄 transmanagerc_tlb.pas
字号:
unit TransManagerC_TLB;
// ************************************************************************ //
// WARNING //
// ------- //
// The types declared in this file were generated from data read from a //
// Type Library. If this type library is explicitly or indirectly (via //
// another type library referring to this type library) re-imported, or the //
// 'Refresh' command of the Type Library Editor activated while editing the //
// Type Library, the contents of this file will be regenerated and all //
// manual modifications will be lost. //
// ************************************************************************ //
// PASTLWTR : $Revision: 1.11.1.75 $
// File generated on 89/6/5 AM 11:30:18 from Type Library described below.
// ************************************************************************ //
// Type Lib: N:\Work\670\N100\TransManagerC.tlb
// IID\LCID: {79FD10E6-30F5-11D3-8A43-0080C86DC5A9}\0
// Helpfile:
// HelpString: Dispatch interface for TxnManager Object
// Version: 1.0
// ************************************************************************ //
interface
uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used: //
// Type Libraries : LIBID_xxxx //
// CoClasses : CLASS_xxxx //
// DISPInterfaces : DIID_xxxx //
// Non-DISP interfaces: IID_xxxx //
// *********************************************************************//
const
LIBID_TransManagerC: TGUID = '{79FD10E6-30F5-11D3-8A43-0080C86DC5A9}';
IID_IClass1: TGUID = '{79FD10E7-30F5-11D3-8A43-0080C86DC5A9}';
CLASS_Class1: TGUID = '{79FD10E9-30F5-11D3-8A43-0080C86DC5A9}';
type
// *********************************************************************//
// Forward declaration of interfaces defined in Type Library //
// *********************************************************************//
IClass1 = interface;
IClass1Disp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library //
// (NOTE: Here we map each CoClass to its Default Interface) //
// *********************************************************************//
Class1 = IClass1;
// *********************************************************************//
// Interface: IClass1
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {79FD10E7-30F5-11D3-8A43-0080C86DC5A9}
// *********************************************************************//
IClass1 = interface(IDataBroker)
['{79FD10E7-30F5-11D3-8A43-0080C86DC5A9}']
function DoIt(xValue: OleVariant): WordBool; safecall;
procedure CloseCom; safecall;
function Get_ErrorCode: Integer; safecall;
function Get_ErrorDescript: WideString; safecall;
function Get_ResultDesc: OleVariant; safecall;
function Get_ReturnSeq: WideString; safecall;
procedure Set_LotID(const Param1: WideString); safecall;
function Doit2(xValue: OleVariant; xKind: OleVariant): WordBool; safecall;
property ErrorCode: Integer read Get_ErrorCode;
property ErrorDescript: WideString read Get_ErrorDescript;
property ResultDesc: OleVariant read Get_ResultDesc;
property ReturnSeq: WideString read Get_ReturnSeq;
property LotID: WideString write Set_LotID;
end;
// *********************************************************************//
// DispIntf: IClass1Disp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {79FD10E7-30F5-11D3-8A43-0080C86DC5A9}
// *********************************************************************//
IClass1Disp = dispinterface
['{79FD10E7-30F5-11D3-8A43-0080C86DC5A9}']
function DoIt(xValue: OleVariant): WordBool; dispid 1;
procedure CloseCom; dispid 2;
property ErrorCode: Integer readonly dispid 3;
property ErrorDescript: WideString readonly dispid 4;
property ResultDesc: OleVariant readonly dispid 5;
property ReturnSeq: WideString readonly dispid 6;
property LotID: WideString writeonly dispid 7;
function Doit2(xValue: OleVariant; xKind: OleVariant): WordBool; dispid 8;
function GetProviderNames: OleVariant; dispid 22929905;
end;
CoClass1 = class
class function Create: IClass1;
class function CreateRemote(const MachineName: string): IClass1;
end;
implementation
uses ComObj;
class function CoClass1.Create: IClass1;
begin
Result := CreateComObject(CLASS_Class1) as IClass1;
end;
class function CoClass1.CreateRemote(const MachineName: string): IClass1;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Class1) as IClass1;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -