| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- unit RealICQCOMInterfaces_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.
- // ************************************************************************ //
- // $Rev: 5081 $
- // File generated on 2014/11/28 16:13:08 from Type Library described below.
- // ************************************************************************ //
- // Type Lib: D:\ÀöË®°æ20141125\COM\RealICQCOMInterfaces\RealICQCOMInterfaces.tlb (1)
- // LIBID: {CE78C617-89B7-412F-BF8D-06FE79DA7B61}
- // LCID: 0
- // Helpfile:
- // HelpString: RealICQCOMInterfaces Library
- // DepndLst:
- // (1) v2.0 stdole, (C:\Windows\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
- RealICQCOMInterfacesMajorVersion = 1;
- RealICQCOMInterfacesMinorVersion = 0;
- LIBID_RealICQCOMInterfaces: TGUID = '{CE78C617-89B7-412F-BF8D-06FE79DA7B61}';
- IID_ICustomMessageSender: TGUID = '{85ACC616-2A33-4519-ADB8-0E00138D19BB}';
- DIID_ICustomMessageSenderEvents: TGUID = '{35A2EDC8-5AE9-403F-99B9-FC0B7B3CBE0B}';
- CLASS_CustomMessageSender: TGUID = '{405FEBB0-C9CA-43E4-9F7D-EA9C1E6A1AAB}';
- type
- // *********************************************************************//
- // Forward declaration of types defined in TypeLibrary
- // *********************************************************************//
- ICustomMessageSender = interface;
- ICustomMessageSenderDisp = dispinterface;
- ICustomMessageSenderEvents = dispinterface;
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library
- // (NOTE: Here we map each CoClass to its Default Interface)
- // *********************************************************************//
- CustomMessageSender = ICustomMessageSender;
- // *********************************************************************//
- // Interface: ICustomMessageSender
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {85ACC616-2A33-4519-ADB8-0E00138D19BB}
- // *********************************************************************//
- ICustomMessageSender = interface(IDispatch)
- ['{85ACC616-2A33-4519-ADB8-0E00138D19BB}']
- procedure OnStartPage(const unk: IUnknown); safecall;
- procedure OnEndPage; safecall;
- procedure Send(ServerAddress: OleVariant; ServerPort: SYSINT; LoginName: OleVariant;
- Content: OleVariant; Flag: SYSINT); safecall;
- function Get_Result: SYSINT; safecall;
- property Result: SYSINT read Get_Result;
- end;
- // *********************************************************************//
- // DispIntf: ICustomMessageSenderDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {85ACC616-2A33-4519-ADB8-0E00138D19BB}
- // *********************************************************************//
- ICustomMessageSenderDisp = dispinterface
- ['{85ACC616-2A33-4519-ADB8-0E00138D19BB}']
- procedure OnStartPage(const unk: IUnknown); dispid 201;
- procedure OnEndPage; dispid 202;
- procedure Send(ServerAddress: OleVariant; ServerPort: SYSINT; LoginName: OleVariant;
- Content: OleVariant; Flag: SYSINT); dispid 203;
- property Result: SYSINT readonly dispid 204;
- end;
- // *********************************************************************//
- // DispIntf: ICustomMessageSenderEvents
- // Flags: (4096) Dispatchable
- // GUID: {35A2EDC8-5AE9-403F-99B9-FC0B7B3CBE0B}
- // *********************************************************************//
- ICustomMessageSenderEvents = dispinterface
- ['{35A2EDC8-5AE9-403F-99B9-FC0B7B3CBE0B}']
- end;
- // *********************************************************************//
- // The Class CoCustomMessageSender provides a Create and CreateRemote method to
- // create instances of the default interface ICustomMessageSender exposed by
- // the CoClass CustomMessageSender. The functions are intended to be used by
- // clients wishing to automate the CoClass objects exposed by the
- // server of this typelibrary.
- // *********************************************************************//
- CoCustomMessageSender = class
- class function Create: ICustomMessageSender;
- class function CreateRemote(const MachineName: string): ICustomMessageSender;
- end;
- implementation
- uses ComObj;
- class function CoCustomMessageSender.Create: ICustomMessageSender;
- begin
- Result := CreateComObject(CLASS_CustomMessageSender) as ICustomMessageSender;
- end;
- class function CoCustomMessageSender.CreateRemote(const MachineName: string): ICustomMessageSender;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_CustomMessageSender) as ICustomMessageSender;
- end;
- end.
|