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

📄 empsrvr_tlb.h

📁 C++
💻 H
📖 第 1 页 / 共 2 页
字号:
// ************************************************************************ //
// 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.                                         
// ************************************************************************ //

// C++ TLBWRTR : $Revision:   1.0.1.1  $
// File generated on 12/9/1999 2:17:15 PM from Type Library described below.

// *************************************************************************//
// NOTE:                                                                      
// Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties  
// which return objects that may need to be explicitly created via a function 
// call prior to any access via the property. These items have been disabled  
// in order to prevent accidental use from within the object inspector. You   
// may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively   
// removing them from the $IFDEF blocks. However, such items must still be    
// programmatically created via a method of the appropriate CoClass before    
// they can be used.                                                          
// ************************************************************************ //
// Type Lib: EmpSrvr.tlb (1)
// IID\LCID: {090EB200-07D6-4E77-9478-8B0A45A7A6BB}\0
// Helpfile: 
// DepndLst: 
//   (1) v2.0 stdole, (C:\WIN2K\System32\STDOLE2.TLB)
//   (2) v4.0 StdVCL, (C:\WIN2K\System32\STDVCL40.DLL)
//   (3) v1.0 Midas, (C:\WIN2K\System32\midas.dll)
// ************************************************************************ //
#ifndef   __EmpSrvr_TLB_h__
#define   __EmpSrvr_TLB_h__

#pragma option push -b -w-inl

#include <utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0200)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary 
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an 
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
       "You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif

#include "databkr.hpp"

using Midas::IAppServer;

// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP)    
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;

namespace Empsrvr_tlb
{

// *********************************************************************//
// HelpString: EmpSrvr Library
// Version:    1.0
// *********************************************************************//


// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:        
//   Type Libraries     : LIBID_xxxx                                      
//   CoClasses          : CLSID_xxxx                                      
//   DISPInterfaces     : DIID_xxxx                                       
//   Non-DISP interfaces: IID_xxxx                                        
// *********************************************************************//
extern const GUID LIBID_EmpSrvr;
extern const GUID IID_IEmpServer_BCB;
extern const GUID CLSID_EmpServer_BCB;

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
interface DECLSPEC_UUID("{74147FC5-21C8-4EAB-8652-CE77E3FCDEC7}") IEmpServer_BCB;
typedef TComInterface<IEmpServer_BCB, &IID_IEmpServer_BCB> IEmpServer_BCBPtr;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
//                                                                        
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this  
// TypeLibrary. It simplifies the updating of macros when CoClass name    
// change.                                                                
// *********************************************************************//

#define LIBID_OF_EmpServer_BCB (&LIBID_EmpSrvr)
// *********************************************************************//
// Interface: IEmpServer_BCB
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {74147FC5-21C8-4EAB-8652-CE77E3FCDEC7}
// *********************************************************************//
interface IEmpServer_BCB  : public IAppServer
{
public:

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
// *********************************************************************//
// SmartIntf: TCOMIEmpServer_BCB
// Interface: IEmpServer_BCB
// *********************************************************************//
template <class T /* IEmpServer_BCB */ >
class TCOMIEmpServer_BCBT : public TComInterface<IEmpServer_BCB>, public TComInterfaceBase<IUnknown>
{
public:
  TCOMIEmpServer_BCBT() {}
  TCOMIEmpServer_BCBT(IEmpServer_BCB *intf, bool addRef = false) : TComInterface<IEmpServer_BCB>(intf, addRef) {}
  TCOMIEmpServer_BCBT(const TCOMIEmpServer_BCBT& src) : TComInterface<IEmpServer_BCB>(src) {}
  TCOMIEmpServer_BCBT& operator=(const TCOMIEmpServer_BCBT& src) { Bind(src, true); return *this;}


};
typedef TCOMIEmpServer_BCBT<IEmpServer_BCB> TCOMIEmpServer_BCB;

// *********************************************************************//
// DispIntf:  IEmpServer_BCB
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {74147FC5-21C8-4EAB-8652-CE77E3FCDEC7}
// *********************************************************************//
template<class T>
class IEmpServer_BCBDispT : public TAutoDriver<IEmpServer_BCB>
{
public:
  IEmpServer_BCBDispT(){}

  IEmpServer_BCBDispT(IEmpServer_BCB *pintf)
  {
    TAutoDriver<IEmpServer_BCB>::Bind(pintf, false);
  }

  IEmpServer_BCBDispT(IEmpServer_BCBPtr pintf)
  {
    TAutoDriver<IEmpServer_BCB>::Bind(pintf, true);
  }

  IEmpServer_BCBDispT& operator=(IEmpServer_BCB *pintf)
  {
    TAutoDriver<IEmpServer_BCB>::Bind(pintf, false);
    return *this;
  }

  IEmpServer_BCBDispT& operator=(IEmpServer_BCBPtr pintf)
  {
    TAutoDriver<IEmpServer_BCB>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EmpServer_BCB));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EmpServer_BCB);
  }

  HRESULT         __fastcall AS_ApplyUpdates(BSTR ProviderName/*[in]*/, TVariant Delta/*[in]*/, 
                                             long MaxErrors/*[in]*/, long* ErrorCount/*[out]*/, 
                                             TVariant* OwnerData/*[in,out]*/, 
                                             TVariant* Value/*[out,retval]*/);
  TVariant        __fastcall AS_ApplyUpdates(BSTR ProviderName/*[in]*/, TVariant Delta/*[in]*/, 
                                             long MaxErrors/*[in]*/, long* ErrorCount/*[out]*/, 
                                             TVariant* OwnerData/*[in,out]*/);
  HRESULT         __fastcall AS_GetRecords(BSTR ProviderName/*[in]*/, long Count/*[in]*/, 
                                           long* RecsOut/*[out]*/, long Options/*[in]*/, 
                                           BSTR CommandText/*[in]*/, TVariant* Params/*[in,out]*/, 
                                           TVariant* OwnerData/*[in,out]*/, 
                                           TVariant* Value/*[out,retval]*/);
  TVariant        __fastcall AS_GetRecords(BSTR ProviderName/*[in]*/, long Count/*[in]*/, 
                                           long* RecsOut/*[out]*/, long Options/*[in]*/, 
                                           BSTR CommandText/*[in]*/, TVariant* Params/*[in,out]*/, 
                                           TVariant* OwnerData/*[in,out]*/);
  HRESULT         __fastcall AS_DataRequest(BSTR ProviderName/*[in]*/, TVariant Data/*[in]*/, 
                                            TVariant* Value/*[out,retval]*/);

⌨️ 快捷键说明

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