Midas_TLB.pas
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:6k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. unit Midas_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 : $Revision:   1.84  $
  13. // File generated on 8/4/99 5:03:46 PM from Type Library described below.
  14. // *************************************************************************//
  15. // NOTE:                                                                      
  16. // Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties  
  17. // which return objects that may need to be explicitly created via a function 
  18. // call prior to any access via the property. These items have been disabled  
  19. // in order to prevent accidental use from within the object inspector. You   
  20. // may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively   
  21. // removing them from the $IFDEF blocks. However, such items must still be    
  22. // programmatically created via a method of the appropriate CoClass before    
  23. // they can be used.                                                          
  24. // ************************************************************************ //
  25. // Type Lib: C:WINDOWSSYSTEMMIDAS.DLL (1)
  26. // IIDLCID: {83F57D68-CA9A-11D2-9088-00C04FA35CFA}
  27. // Helpfile: 
  28. // DepndLst: 
  29. //   (1) v2.0 stdole, (C:WINDOWSSYSTEMSTDOLE2.TLB)
  30. // Parent TypeLibrary:
  31. //   (0) v1.0 AppServTwo, (C:md5codePart521AppServ2AppServ2.tlb)
  32. // ************************************************************************ //
  33. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers. 
  34. interface
  35. uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
  36. // *********************************************************************//
  37. // GUIDS declared in the TypeLibrary. Following prefixes are used:        
  38. //   Type Libraries     : LIBID_xxxx                                      
  39. //   CoClasses          : CLASS_xxxx                                      
  40. //   DISPInterfaces     : DIID_xxxx                                       
  41. //   Non-DISP interfaces: IID_xxxx                                        
  42. // *********************************************************************//
  43. const
  44.   // TypeLibrary Major and minor versions
  45.   MidasMajorVersion = 1;
  46.   MidasMinorVersion = 0;
  47.   LIBID_Midas: TGUID = '{83F57D68-CA9A-11D2-9088-00C04FA35CFA}';
  48.   IID_IAppServer: TGUID = '{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}';
  49. type
  50. // *********************************************************************//
  51. // Forward declaration of types defined in TypeLibrary                    
  52. // *********************************************************************//
  53.   IAppServer = interface;
  54.   IAppServerDisp = dispinterface;
  55. // *********************************************************************//
  56. // Interface: IAppServer
  57. // Flags:     (4416) Dual OleAutomation Dispatchable
  58. // GUID:      {1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}
  59. // *********************************************************************//
  60.   IAppServer = interface(IDispatch)
  61.     ['{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}']
  62.     function  AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant; 
  63.                               MaxErrors: Integer; out ErrorCount: Integer; var OwnerData: OleVariant): OleVariant; safecall;
  64.     function  AS_GetRecords(const ProviderName: WideString; Count: Integer; out RecsOut: Integer; 
  65.                             Options: Integer; const CommandText: WideString; 
  66.                             var Params: OleVariant; var OwnerData: OleVariant): OleVariant; safecall;
  67.     function  AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; safecall;
  68.     function  AS_GetProviderNames: OleVariant; safecall;
  69.     function  AS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; safecall;
  70.     function  AS_RowRequest(const ProviderName: WideString; Row: OleVariant; RequestType: Integer; 
  71.                             var OwnerData: OleVariant): OleVariant; safecall;
  72.     procedure AS_Execute(const ProviderName: WideString; const CommandText: WideString; 
  73.                          var Params: OleVariant; var OwnerData: OleVariant); safecall;
  74.   end;
  75. // *********************************************************************//
  76. // DispIntf:  IAppServerDisp
  77. // Flags:     (4416) Dual OleAutomation Dispatchable
  78. // GUID:      {1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}
  79. // *********************************************************************//
  80.   IAppServerDisp = dispinterface
  81.     ['{1AEFCC20-7A24-11D2-98B0-C69BEB4B5B6D}']
  82.     function  AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant; 
  83.                               MaxErrors: Integer; out ErrorCount: Integer; var OwnerData: OleVariant): OleVariant; dispid 20000000;
  84.     function  AS_GetRecords(const ProviderName: WideString; Count: Integer; out RecsOut: Integer; 
  85.                             Options: Integer; const CommandText: WideString; 
  86.                             var Params: OleVariant; var OwnerData: OleVariant): OleVariant; dispid 20000001;
  87.     function  AS_DataRequest(const ProviderName: WideString; Data: OleVariant): OleVariant; dispid 20000002;
  88.     function  AS_GetProviderNames: OleVariant; dispid 20000003;
  89.     function  AS_GetParams(const ProviderName: WideString; var OwnerData: OleVariant): OleVariant; dispid 20000004;
  90.     function  AS_RowRequest(const ProviderName: WideString; Row: OleVariant; RequestType: Integer; 
  91.                             var OwnerData: OleVariant): OleVariant; dispid 20000005;
  92.     procedure AS_Execute(const ProviderName: WideString; const CommandText: WideString; 
  93.                          var Params: OleVariant; var OwnerData: OleVariant); dispid 20000006;
  94.   end;
  95. implementation
  96. uses ComObj;
  97. end.