| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- unit IEContext_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: 8291 $
- // File generated on 2016/5/30 18:08:12 from Type Library described below.
- // ************************************************************************ //
- // Type Lib: D:\DelphiProjects\RealICQClient\COM\IEContext\IEContext.tlb (1)
- // LIBID: {8564F7B8-40DD-4AF6-A8B7-217F5F36F771}
- // LCID: 0
- // Helpfile:
- // HelpString: IEContext 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
- IEContextMajorVersion = 1;
- IEContextMinorVersion = 0;
- LIBID_IEContext: TGUID = '{8564F7B8-40DD-4AF6-A8B7-217F5F36F771}';
- IID_IIEContextMenu: TGUID = '{B3CA8622-D314-48B2-8FE9-8EBD67AAE259}';
- CLASS_IEContextMenu: TGUID = '{02F7709B-66CA-4DF5-9ECB-1051B45B4417}';
- type
- // *********************************************************************//
- // Forward declaration of types defined in TypeLibrary
- // *********************************************************************//
- IIEContextMenu = interface;
- IIEContextMenuDisp = dispinterface;
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library
- // (NOTE: Here we map each CoClass to its Default Interface)
- // *********************************************************************//
- IEContextMenu = IIEContextMenu;
- // *********************************************************************//
- // Interface: IIEContextMenu
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {B3CA8622-D314-48B2-8FE9-8EBD67AAE259}
- // *********************************************************************//
- IIEContextMenu = interface(IDispatch)
- ['{B3CA8622-D314-48B2-8FE9-8EBD67AAE259}']
- procedure AddFace(FileName: OleVariant); safecall;
- procedure OpenUmc; safecall;
- end;
- // *********************************************************************//
- // DispIntf: IIEContextMenuDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {B3CA8622-D314-48B2-8FE9-8EBD67AAE259}
- // *********************************************************************//
- IIEContextMenuDisp = dispinterface
- ['{B3CA8622-D314-48B2-8FE9-8EBD67AAE259}']
- procedure AddFace(FileName: OleVariant); dispid 201;
- procedure OpenUmc; dispid 202;
- end;
- // *********************************************************************//
- // The Class CoIEContextMenu provides a Create and CreateRemote method to
- // create instances of the default interface IIEContextMenu exposed by
- // the CoClass IEContextMenu. The functions are intended to be used by
- // clients wishing to automate the CoClass objects exposed by the
- // server of this typelibrary.
- // *********************************************************************//
- CoIEContextMenu = class
- class function Create: IIEContextMenu;
- class function CreateRemote(const MachineName: string): IIEContextMenu;
- end;
- implementation
- uses ComObj;
- class function CoIEContextMenu.Create: IIEContextMenu;
- begin
- Result := CreateComObject(CLASS_IEContextMenu) as IIEContextMenu;
- end;
- class function CoIEContextMenu.CreateRemote(const MachineName: string): IIEContextMenu;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_IEContextMenu) as IIEContextMenu;
- end;
- end.
|