IEBHO_TLB.pas 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. unit IEBHO_TLB;
  2. // ************************************************************************ //
  3. // WARNING
  4. // -------
  5. // The types declared in this file were generated from data read from a
  6. // Type Library. If this type library is explicitly or indirectly (via
  7. // another type library referring to this type library) re-imported, or the
  8. // 'Refresh' command of the Type Library Editor activated while editing the
  9. // Type Library, the contents of this file will be regenerated and all
  10. // manual modifications will be lost.
  11. // ************************************************************************ //
  12. // PASTLWTR : 1.2
  13. // File generated on 2006-8-3 13:38:54 from Type Library described below.
  14. // ************************************************************************ //
  15. // Type Lib: E:\RealICQ Projects For Win32\COM\IEBHO\IEBHO.tlb (1)
  16. // LIBID: {FC9C9646-EE5D-4E86-940A-BBAB06314DB0}
  17. // LCID: 0
  18. // Helpfile:
  19. // HelpString: IEBHO Library
  20. // DepndLst:
  21. // (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
  22. // (2) v4.0 StdVCL, (C:\WINDOWS\system32\stdvcl40.dll)
  23. // ************************************************************************ //
  24. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
  25. {$WARN SYMBOL_PLATFORM OFF}
  26. {$WRITEABLECONST ON}
  27. {$VARPROPSETTER ON}
  28. interface
  29. uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
  30. // *********************************************************************//
  31. // GUIDS declared in the TypeLibrary. Following prefixes are used:
  32. // Type Libraries : LIBID_xxxx
  33. // CoClasses : CLASS_xxxx
  34. // DISPInterfaces : DIID_xxxx
  35. // Non-DISP interfaces: IID_xxxx
  36. // *********************************************************************//
  37. const
  38. // TypeLibrary Major and minor versions
  39. IEBHOMajorVersion = 1;
  40. IEBHOMinorVersion = 0;
  41. LIBID_IEBHO: TGUID = '{FC9C9646-EE5D-4E86-940A-BBAB06314DB0}';
  42. IID_ICallClientInterface: TGUID = '{1062D233-0787-4589-B3D5-714A54C1430B}';
  43. CLASS_CallClientInterface: TGUID = '{8CA622A9-4A91-4189-A883-48CE58CAB9F2}';
  44. type
  45. // *********************************************************************//
  46. // Forward declaration of types defined in TypeLibrary
  47. // *********************************************************************//
  48. ICallClientInterface = interface;
  49. ICallClientInterfaceDisp = dispinterface;
  50. // *********************************************************************//
  51. // Declaration of CoClasses defined in Type Library
  52. // (NOTE: Here we map each CoClass to its Default Interface)
  53. // *********************************************************************//
  54. CallClientInterface = ICallClientInterface;
  55. // *********************************************************************//
  56. // Interface: ICallClientInterface
  57. // Flags: (4416) Dual OleAutomation Dispatchable
  58. // GUID: {1062D233-0787-4589-B3D5-714A54C1430B}
  59. // *********************************************************************//
  60. ICallClientInterface = interface(IDispatch)
  61. ['{1062D233-0787-4589-B3D5-714A54C1430B}']
  62. procedure OpenTalkingForm(LoginName: OleVariant); safecall;
  63. end;
  64. // *********************************************************************//
  65. // DispIntf: ICallClientInterfaceDisp
  66. // Flags: (4416) Dual OleAutomation Dispatchable
  67. // GUID: {1062D233-0787-4589-B3D5-714A54C1430B}
  68. // *********************************************************************//
  69. ICallClientInterfaceDisp = dispinterface
  70. ['{1062D233-0787-4589-B3D5-714A54C1430B}']
  71. procedure OpenTalkingForm(LoginName: OleVariant); dispid 201;
  72. end;
  73. // *********************************************************************//
  74. // The Class CoCallClientInterface provides a Create and CreateRemote method to
  75. // create instances of the default interface ICallClientInterface exposed by
  76. // the CoClass CallClientInterface. The functions are intended to be used by
  77. // clients wishing to automate the CoClass objects exposed by the
  78. // server of this typelibrary.
  79. // *********************************************************************//
  80. CoCallClientInterface = class
  81. class function Create: ICallClientInterface;
  82. class function CreateRemote(const MachineName: string): ICallClientInterface;
  83. end;
  84. implementation
  85. uses ComObj;
  86. class function CoCallClientInterface.Create: ICallClientInterface;
  87. begin
  88. Result := CreateComObject(CLASS_CallClientInterface) as ICallClientInterface;
  89. end;
  90. class function CoCallClientInterface.CreateRemote(const MachineName: string): ICallClientInterface;
  91. begin
  92. Result := CreateRemoteComObject(MachineName, CLASS_CallClientInterface) as ICallClientInterface;
  93. end;
  94. end.