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

📄 project1_tlb.h

📁 bcb应用开发技术解析 包括多线程
💻 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.151.1.0.1.27  $
// File generated on 2003-7-3 21:17:13 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\Borland\CBuilder6\Projects\czp\bread\Database\MultiTier\AppServer_Query\Project1.tlb (1)
// LIBID: {B6CD3EE7-3F3A-4D7D-BE0A-8D8D0AB086E4}
// LCID: 0
// Helpfile: 
// HelpString: Project1 Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
//   (2) v1.0 Midas, (C:\WINNT\System32\midas.dll)
// ************************************************************************ //
#ifndef   Project1_TLBH
#define   Project1_TLBH

#pragma option push -b -w-inl

#include <utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0600)
//
// 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 Project1_tlb
{

// *********************************************************************//
// HelpString: Project1 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 "C" const __declspec(selectany) GUID LIBID_Project1 = {0xB6CD3EE7, 0x3F3A, 0x4D7D,{ 0xBE, 0x0A, 0x8D,0x8D, 0x0A, 0xB0,0x86, 0xE4} };
extern "C" const __declspec(selectany) GUID IID_IMyAppServer_Query = {0xDD4889C7, 0x7153, 0x4708,{ 0x80, 0xC1, 0xC4,0x66, 0x20, 0xB7,0xEC, 0x88} };
extern "C" const __declspec(selectany) GUID CLSID_MyAppServer_Query = {0xECE9C70E, 0x3C77, 0x4C09,{ 0xBA, 0x39, 0x13,0x87, 0x61, 0x62,0xE3, 0xE1} };

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
interface DECLSPEC_UUID("{DD4889C7-7153-4708-80C1-C46620B7EC88}") IMyAppServer_Query;
typedef TComInterface<IMyAppServer_Query, &IID_IMyAppServer_Query> IMyAppServer_QueryPtr;


// *********************************************************************//
// 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_MyAppServer_Query (&LIBID_Project1)
// *********************************************************************//
// Interface: IMyAppServer_Query
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DD4889C7-7153-4708-80C1-C46620B7EC88}
// *********************************************************************//
interface IMyAppServer_Query  : public IAppServer
{
public:

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

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


};
typedef TCOMIMyAppServer_QueryT<IMyAppServer_Query> TCOMIMyAppServer_Query;

// *********************************************************************//
// DispIntf:  IMyAppServer_Query
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DD4889C7-7153-4708-80C1-C46620B7EC88}
// *********************************************************************//
template<class T>
class IMyAppServer_QueryDispT : public TAutoDriver<IMyAppServer_Query>
{
public:
  IMyAppServer_QueryDispT(){}

  IMyAppServer_QueryDispT(IMyAppServer_Query *pintf)
  {
    TAutoDriver<IMyAppServer_Query>::Bind(pintf, false);
  }

  IMyAppServer_QueryDispT(IMyAppServer_QueryPtr pintf)
  {
    TAutoDriver<IMyAppServer_Query>::Bind(pintf, true);
  }

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

  IMyAppServer_QueryDispT& operator=(IMyAppServer_QueryPtr pintf)
  {
    TAutoDriver<IMyAppServer_Query>::Bind(pintf, true);
    return *this;
  }

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

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

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

⌨️ 快捷键说明

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