IETools_TLB.pas 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. unit IETools_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 2008/7/30 8:44:34 from Type Library described below.
  14. // ************************************************************************ //
  15. // Type Lib: F:\RealICQ\RealICQ For LINKING\RealICQ_2008_07_07\COM\CopyScreen\IETools.tlb (1)
  16. // LIBID: {57A6AF8D-182C-47F8-AFA1-734EC987B6AE}
  17. // LCID: 0
  18. // Helpfile:
  19. // HelpString: IETools Library
  20. // DepndLst:
  21. // (1) v2.0 stdole, (C:\Windows\SysWOW64\stdole2.tlb)
  22. // ************************************************************************ //
  23. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
  24. {$WARN SYMBOL_PLATFORM OFF}
  25. {$WRITEABLECONST ON}
  26. {$VARPROPSETTER ON}
  27. interface
  28. uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
  29. // *********************************************************************//
  30. // GUIDS declared in the TypeLibrary. Following prefixes are used:
  31. // Type Libraries : LIBID_xxxx
  32. // CoClasses : CLASS_xxxx
  33. // DISPInterfaces : DIID_xxxx
  34. // Non-DISP interfaces: IID_xxxx
  35. // *********************************************************************//
  36. const
  37. // TypeLibrary Major and minor versions
  38. IEToolsMajorVersion = 1;
  39. IEToolsMinorVersion = 0;
  40. LIBID_IETools: TGUID = '{57A6AF8D-182C-47F8-AFA1-734EC987B6AE}';
  41. IID_ICopyScreen: TGUID = '{C69F97A6-25F5-433D-8437-087730482ADA}';
  42. CLASS_CopyScreen: TGUID = '{F55BEBFE-B587-4414-A3CB-93493C617BF4}';
  43. type
  44. // *********************************************************************//
  45. // Forward declaration of types defined in TypeLibrary
  46. // *********************************************************************//
  47. ICopyScreen = interface;
  48. ICopyScreenDisp = dispinterface;
  49. // *********************************************************************//
  50. // Declaration of CoClasses defined in Type Library
  51. // (NOTE: Here we map each CoClass to its Default Interface)
  52. // *********************************************************************//
  53. CopyScreen = ICopyScreen;
  54. // *********************************************************************//
  55. // Interface: ICopyScreen
  56. // Flags: (4416) Dual OleAutomation Dispatchable
  57. // GUID: {C69F97A6-25F5-433D-8437-087730482ADA}
  58. // *********************************************************************//
  59. ICopyScreen = interface(IDispatch)
  60. ['{C69F97A6-25F5-433D-8437-087730482ADA}']
  61. procedure Start; safecall;
  62. function Get_FileName: OleVariant; safecall;
  63. procedure Upload(URL: OleVariant); safecall;
  64. property FileName: OleVariant read Get_FileName;
  65. end;
  66. // *********************************************************************//
  67. // DispIntf: ICopyScreenDisp
  68. // Flags: (4416) Dual OleAutomation Dispatchable
  69. // GUID: {C69F97A6-25F5-433D-8437-087730482ADA}
  70. // *********************************************************************//
  71. ICopyScreenDisp = dispinterface
  72. ['{C69F97A6-25F5-433D-8437-087730482ADA}']
  73. procedure Start; dispid 201;
  74. property FileName: OleVariant readonly dispid 202;
  75. procedure Upload(URL: OleVariant); dispid 203;
  76. end;
  77. // *********************************************************************//
  78. // The Class CoCopyScreen provides a Create and CreateRemote method to
  79. // create instances of the default interface ICopyScreen exposed by
  80. // the CoClass CopyScreen. The functions are intended to be used by
  81. // clients wishing to automate the CoClass objects exposed by the
  82. // server of this typelibrary.
  83. // *********************************************************************//
  84. CoCopyScreen = class
  85. class function Create: ICopyScreen;
  86. class function CreateRemote(const MachineName: string): ICopyScreen;
  87. end;
  88. implementation
  89. uses ComObj;
  90. class function CoCopyScreen.Create: ICopyScreen;
  91. begin
  92. Result := CreateComObject(CLASS_CopyScreen) as ICopyScreen;
  93. end;
  94. class function CoCopyScreen.CreateRemote(const MachineName: string): ICopyScreen;
  95. begin
  96. Result := CreateRemoteComObject(MachineName, CLASS_CopyScreen) as ICopyScreen;
  97. end;
  98. end.