📄 psgupdateserver_tlb.pas
字号:
unit PsgUpdateServer_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.63.1.0.1.0 $
// File generated on 1998/8/27 PM 07:16:51 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\LEEWEI\Delphi4\SGUpdate\PsgUpdateServer.tlb
// IID\LCID: {B9C07E85-3DDE-11D2-ADCE-0080C87BADB9}\0
// Helpfile:
// HelpString: Project1 Library
// 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_PsgUpdateServer: TGUID = '{B9C07E85-3DDE-11D2-ADCE-0080C87BADB9}';
IID_ISingleUpdate: TGUID = '{B9C07E86-3DDE-11D2-ADCE-0080C87BADB9}';
CLASS_SingleUpdate: TGUID = '{B9C07E88-3DDE-11D2-ADCE-0080C87BADB9}';
type
// *********************************************************************//
// Forward declaration of interfaces defined in Type Library //
// *********************************************************************//
ISingleUpdate = interface;
ISingleUpdateDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library //
// (NOTE: Here we map each CoClass to its Default Interface) //
// *********************************************************************//
SingleUpdate = ISingleUpdate;
// *********************************************************************//
// Interface: ISingleUpdate
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {B9C07E86-3DDE-11D2-ADCE-0080C87BADB9}
// *********************************************************************//
ISingleUpdate = interface(IDataBroker)
['{B9C07E86-3DDE-11D2-ADCE-0080C87BADB9}']
function Get_sgUpdateSQLProvider: IProvider; safecall;
function Get_sgUpdateDataSetProvider: IProvider; safecall;
property sgUpdateSQLProvider: IProvider read Get_sgUpdateSQLProvider;
property sgUpdateDataSetProvider: IProvider read Get_sgUpdateDataSetProvider;
end;
// *********************************************************************//
// DispIntf: ISingleUpdateDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {B9C07E86-3DDE-11D2-ADCE-0080C87BADB9}
// *********************************************************************//
ISingleUpdateDisp = dispinterface
['{B9C07E86-3DDE-11D2-ADCE-0080C87BADB9}']
property sgUpdateSQLProvider: IProvider readonly dispid 1;
property sgUpdateDataSetProvider: IProvider readonly dispid 2;
function GetProviderNames: OleVariant; dispid 22929905;
end;
CoSingleUpdate = class
class function Create: ISingleUpdate;
class function CreateRemote(const MachineName: string): ISingleUpdate;
end;
implementation
uses ComObj;
class function CoSingleUpdate.Create: ISingleUpdate;
begin
Result := CreateComObject(CLASS_SingleUpdate) as ISingleUpdate;
end;
class function CoSingleUpdate.CreateRemote(const MachineName: string): ISingleUpdate;
begin
Result := CreateRemoteComObject(MachineName, CLASS_SingleUpdate) as ISingleUpdate;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -