📄 aspvendorbiz_tlb.pas
字号:
unit aspVendorBiz_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 : 1.2
// File generated on 2004-7-24 13:04:46 from Type Library described below.
// ************************************************************************ //
// Type Lib: G:\物资管理系统\ASP定制对象\aspVendorBiz.tlb (1)
// LIBID: {929ECC75-827F-4AB0-8F5F-B841F10774DB}
// LCID: 0
// Helpfile:
// HelpString: aspVendorBiz Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
// *********************************************************************//
// 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
// TypeLibrary Major and minor versions
aspVendorBizMajorVersion = 1;
aspVendorBizMinorVersion = 0;
LIBID_aspVendorBiz: TGUID = '{929ECC75-827F-4AB0-8F5F-B841F10774DB}';
IID_ImtsASPVendor: TGUID = '{4EAC34B9-53E2-4BAB-B99D-7EF483FD7DAB}';
CLASS_mtsASPVendor: TGUID = '{5D1D209A-C5D3-4D80-898A-19A6830AAA42}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
ImtsASPVendor = interface;
ImtsASPVendorDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
mtsASPVendor = ImtsASPVendor;
// *********************************************************************//
// Interface: ImtsASPVendor
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {4EAC34B9-53E2-4BAB-B99D-7EF483FD7DAB}
// *********************************************************************//
ImtsASPVendor = interface(IDispatch)
['{4EAC34B9-53E2-4BAB-B99D-7EF483FD7DAB}']
function Login(const AUserId: WideString; const APassword: WideString): WordBool; safecall;
function ChangePassword(const AUserId: WideString; const AOldPassword: WideString;
const ANewPassword: WideString): WordBool; safecall;
function GetVendorInfoByVendorId(const AId: WideString): WordBool; safecall;
function SetVendorInfoByVendorId(const AId: WideString; const AZipCode: WideString;
const ATelephone: WideString; const AMobilePhone: WideString;
const AFax: WideString; const AContactMan: WideString;
const AEmail: WideString; const AWebSite: WideString;
const ACurrentBank: WideString;
const ABankAccount: WideString;
const AOperatorMobilePhone: WideString;
const AOperatorname: WideString;
const AOperatorTelePhone: WideString): WordBool; safecall;
function Get_ZipCode: WideString; safecall;
function Get_Email: WideString; safecall;
function Get_Telephone: WideString; safecall;
function Get_MobilePhone: WideString; safecall;
function Get_Fax: WideString; safecall;
function Get_ContactMan: WideString; safecall;
function Get_WebSite: WideString; safecall;
function Get_CurrentBank: WideString; safecall;
function Get_BankAccount: WideString; safecall;
function Get_OperatorMobilePhone: WideString; safecall;
function Get_Operatorname: WideString; safecall;
function Get_OperatorTelePhone: WideString; safecall;
property ZipCode: WideString read Get_ZipCode;
property Email: WideString read Get_Email;
property Telephone: WideString read Get_Telephone;
property MobilePhone: WideString read Get_MobilePhone;
property Fax: WideString read Get_Fax;
property ContactMan: WideString read Get_ContactMan;
property WebSite: WideString read Get_WebSite;
property CurrentBank: WideString read Get_CurrentBank;
property BankAccount: WideString read Get_BankAccount;
property OperatorMobilePhone: WideString read Get_OperatorMobilePhone;
property Operatorname: WideString read Get_Operatorname;
property OperatorTelePhone: WideString read Get_OperatorTelePhone;
end;
// *********************************************************************//
// DispIntf: ImtsASPVendorDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {4EAC34B9-53E2-4BAB-B99D-7EF483FD7DAB}
// *********************************************************************//
ImtsASPVendorDisp = dispinterface
['{4EAC34B9-53E2-4BAB-B99D-7EF483FD7DAB}']
function Login(const AUserId: WideString; const APassword: WideString): WordBool; dispid 201;
function ChangePassword(const AUserId: WideString; const AOldPassword: WideString;
const ANewPassword: WideString): WordBool; dispid 202;
function GetVendorInfoByVendorId(const AId: WideString): WordBool; dispid 203;
function SetVendorInfoByVendorId(const AId: WideString; const AZipCode: WideString;
const ATelephone: WideString; const AMobilePhone: WideString;
const AFax: WideString; const AContactMan: WideString;
const AEmail: WideString; const AWebSite: WideString;
const ACurrentBank: WideString;
const ABankAccount: WideString;
const AOperatorMobilePhone: WideString;
const AOperatorname: WideString;
const AOperatorTelePhone: WideString): WordBool; dispid 204;
property ZipCode: WideString readonly dispid 205;
property Email: WideString readonly dispid 207;
property Telephone: WideString readonly dispid 208;
property MobilePhone: WideString readonly dispid 209;
property Fax: WideString readonly dispid 210;
property ContactMan: WideString readonly dispid 211;
property WebSite: WideString readonly dispid 212;
property CurrentBank: WideString readonly dispid 213;
property BankAccount: WideString readonly dispid 214;
property OperatorMobilePhone: WideString readonly dispid 215;
property Operatorname: WideString readonly dispid 216;
property OperatorTelePhone: WideString readonly dispid 217;
end;
// *********************************************************************//
// The Class ComtsASPVendor provides a Create and CreateRemote method to
// create instances of the default interface ImtsASPVendor exposed by
// the CoClass mtsASPVendor. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
ComtsASPVendor = class
class function Create: ImtsASPVendor;
class function CreateRemote(const MachineName: string): ImtsASPVendor;
end;
implementation
uses ComObj;
class function ComtsASPVendor.Create: ImtsASPVendor;
begin
Result := CreateComObject(CLASS_mtsASPVendor) as ImtsASPVendor;
end;
class function ComtsASPVendor.CreateRemote(const MachineName: string): ImtsASPVendor;
begin
Result := CreateRemoteComObject(MachineName, CLASS_mtsASPVendor) as ImtsASPVendor;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -