⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hardwareinitialize_tlb.pas

📁 汽车行驶记录仪的数据初始化组件
💻 PAS
字号:
unit HardWareInitialize_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 : $Revision:   1.130.1.0.1.0.1.6  $
// File generated on 2003-11-15 22:14:06 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\CarMM\Code\Component\FORM\硬件初始化组件\HardWareInitialize.tlb (1)
// LIBID: {6BDEA5C7-2DE9-4CC5-9F72-A0AC997344AC}
// LCID: 0
// Helpfile: 
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINNT\System32\STDOLE2.TLB)
//   (2) v4.0 StdVCL, (C:\WINNT\System32\stdvcl40.dll)
// ************************************************************************ //
{$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
  HardWareInitializeMajorVersion = 1;
  HardWareInitializeMinorVersion = 0;

  LIBID_HardWareInitialize: TGUID = '{6BDEA5C7-2DE9-4CC5-9F72-A0AC997344AC}';

  IID_IHardWareInitialize_COM: TGUID = '{C7354A2F-FBEA-4741-80D1-773230DA0A8F}';
  CLASS_HardWareInitialize_COM: TGUID = '{3C921D4C-7DCD-425D-9565-BFB6DAD045AA}';
type

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
  IHardWareInitialize_COM = interface;
  IHardWareInitialize_COMDisp = dispinterface;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
// *********************************************************************//
  HardWareInitialize_COM = IHardWareInitialize_COM;


// *********************************************************************//
// Interface: IHardWareInitialize_COM
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {C7354A2F-FBEA-4741-80D1-773230DA0A8F}
// *********************************************************************//
  IHardWareInitialize_COM = interface(IDispatch)
    ['{C7354A2F-FBEA-4741-80D1-773230DA0A8F}']
    function MMInvoke(const POperation: WideString; const PTmpID: WideString; 
                      const PUser: WideString; const PConnString: WideString): WideString; safecall;
  end;

// *********************************************************************//
// DispIntf:  IHardWareInitialize_COMDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {C7354A2F-FBEA-4741-80D1-773230DA0A8F}
// *********************************************************************//
  IHardWareInitialize_COMDisp = dispinterface
    ['{C7354A2F-FBEA-4741-80D1-773230DA0A8F}']
    function MMInvoke(const POperation: WideString; const PTmpID: WideString; 
                      const PUser: WideString; const PConnString: WideString): WideString; dispid 1;
  end;

// *********************************************************************//
// The Class CoHardWareInitialize_COM provides a Create and CreateRemote method to          
// create instances of the default interface IHardWareInitialize_COM exposed by              
// the CoClass HardWareInitialize_COM. The functions are intended to be used by             
// clients wishing to automate the CoClass objects exposed by the         
// server of this typelibrary.                                            
// *********************************************************************//
  CoHardWareInitialize_COM = class
    class function Create: IHardWareInitialize_COM;
    class function CreateRemote(const MachineName: string): IHardWareInitialize_COM;
  end;

implementation

uses ComObj;

class function CoHardWareInitialize_COM.Create: IHardWareInitialize_COM;
begin
  Result := CreateComObject(CLASS_HardWareInitialize_COM) as IHardWareInitialize_COM;
end;

class function CoHardWareInitialize_COM.CreateRemote(const MachineName: string): IHardWareInitialize_COM;
begin
  Result := CreateRemoteComObject(MachineName, CLASS_HardWareInitialize_COM) as IHardWareInitialize_COM;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -