unit CM2VIS_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 : 1.2
// File generated on 14-09-2003 19:58:52 from Type Library described below.

// ************************************************************************  //
// Type Lib: CM2VIS.tlb (1)
// LIBID: {81F3999E-A095-4DDB-B5C9-8950FAD93541}
// LCID: 0
// Helpfile: 
// HelpString: CM2VIS_Test 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
  CM2VISMajorVersion = 1;
  CM2VISMinorVersion = 0;

  LIBID_CM2VIS: TGUID = '{81F3999E-A095-4DDB-B5C9-8950FAD93541}';

  IID_ICM2VisPlug: TGUID = '{7C178F03-2F9C-4EAC-92BD-4848756A9433}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  ICM2VisPlug = interface;
  ICM2VisPlugDisp = dispinterface;

// *********************************************************************//
// Interface: ICM2VisPlug
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {7C178F03-2F9C-4EAC-92BD-4848756A9433}
// *********************************************************************//
  ICM2VisPlug = interface(IDispatch)
    ['{7C178F03-2F9C-4EAC-92BD-4848756A9433}']
    procedure Name(out Name: WideString); safecall;
    procedure Version(out Version: Word); safecall;
    procedure RequiredCoreVersion(out RCV: Word); safecall;
    procedure GetDC(out DC: OLE_HANDLE); safecall;
    procedure SetDC(NewDC: OLE_HANDLE); safecall;
    procedure GetDimensions(out Left: Integer; out Top: Integer; out Height: Integer; 
                            out Width: Integer); safecall;
    procedure SetDimensions(Left: Integer; Top: Integer; Height: Integer; Width: Integer); safecall;
    procedure GetConfigString(out ConfigString: WideString); safecall;
    procedure SetConfigString(const NewConfigString: WideString); safecall;
    procedure Redraw; safecall;
    procedure Update(const NewString: WideString; NewValue: Double); safecall;
    procedure Init(NewDC: OLE_HANDLE); safecall;
    procedure Terminating; safecall;
    procedure Setup; safecall;
  end;

// *********************************************************************//
// DispIntf:  ICM2VisPlugDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {7C178F03-2F9C-4EAC-92BD-4848756A9433}
// *********************************************************************//
  ICM2VisPlugDisp = dispinterface
    ['{7C178F03-2F9C-4EAC-92BD-4848756A9433}']
    procedure Name(out Name: WideString); dispid 201;
    procedure Version(out Version: {??Word}OleVariant); dispid 202;
    procedure RequiredCoreVersion(out RCV: {??Word}OleVariant); dispid 203;
    procedure GetDC(out DC: OLE_HANDLE); dispid 204;
    procedure SetDC(NewDC: OLE_HANDLE); dispid 205;
    procedure GetDimensions(out Left: Integer; out Top: Integer; out Height: Integer; 
                            out Width: Integer); dispid 206;
    procedure SetDimensions(Left: Integer; Top: Integer; Height: Integer; Width: Integer); dispid 207;
    procedure GetConfigString(out ConfigString: WideString); dispid 208;
    procedure SetConfigString(const NewConfigString: WideString); dispid 209;
    procedure Redraw; dispid 210;
    procedure Update(const NewString: WideString; NewValue: Double); dispid 211;
    procedure Init(NewDC: OLE_HANDLE); dispid 212;
    procedure Terminating; dispid 213;
    procedure Setup; dispid 214;
  end;

implementation

uses ComObj;

end.
