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

📄 project1_tlb.h

📁 bcb应用开发技术解析 包括多线程
💻 H
📖 第 1 页 / 共 3 页
字号:
// ************************************************************************ //
// 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-9 15:32:39 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\Borland\CBuilder6\Projects\czp\bread\Database\MultiTier\MultiModule\Server\Project1.tlb (1)
// LIBID: {A358D71E-C7AF-4B40-909A-42003135C0C5}
// LCID: 0
// Helpfile: 
// HelpString: Project1 Library
// DepndLst: 
//   (1) v1.0 Midas, (C:\WINNT\System32\midas.dll)
//   (2) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
// ************************************************************************ //
#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 = {0xA358D71E, 0xC7AF, 0x4B40,{ 0x90, 0x9A, 0x42,0x00, 0x31, 0x35,0xC0, 0xC5} };
extern "C" const __declspec(selectany) GUID IID_IMyAppServer_MultiModule_Main = {0x58A8FD5A, 0x7916, 0x4D76,{ 0xB2, 0x41, 0xF2,0x0D, 0xB9, 0xCA,0x7A, 0xE8} };
extern "C" const __declspec(selectany) GUID CLSID_MyAppServer_MultiModule_Main = {0x599E713E, 0x6C5F, 0x452D,{ 0x92, 0xC9, 0xA9,0x4D, 0x44, 0xF8,0x39, 0x49} };
extern "C" const __declspec(selectany) GUID IID_IMyAppServer_MultiModule_Child = {0xB8607004, 0x111A, 0x4ABF,{ 0xB5, 0xE6, 0x49,0xCA, 0xCF, 0x50,0x19, 0xB7} };
extern "C" const __declspec(selectany) GUID CLSID_MyAppServer_MultiModule_Child = {0xF103CBE2, 0xF0D3, 0x4277,{ 0xAC, 0xA0, 0xE4,0x6D, 0xEB, 0x0E,0x04, 0xE6} };

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
interface DECLSPEC_UUID("{58A8FD5A-7916-4D76-B241-F20DB9CA7AE8}") IMyAppServer_MultiModule_Main;
typedef TComInterface<IMyAppServer_MultiModule_Main, &IID_IMyAppServer_MultiModule_Main> IMyAppServer_MultiModule_MainPtr;

interface DECLSPEC_UUID("{B8607004-111A-4ABF-B5E6-49CACF5019B7}") IMyAppServer_MultiModule_Child;
typedef TComInterface<IMyAppServer_MultiModule_Child, &IID_IMyAppServer_MultiModule_Child> IMyAppServer_MultiModule_ChildPtr;


// *********************************************************************//
// 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_MultiModule_Main (&LIBID_Project1)
#define LIBID_OF_MyAppServer_MultiModule_Child (&LIBID_Project1)
// *********************************************************************//
// Interface: IMyAppServer_MultiModule_Main
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {58A8FD5A-7916-4D76-B241-F20DB9CA7AE8}
// *********************************************************************//
interface IMyAppServer_MultiModule_Main  : public IAppServer
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_ChildRDM(Project1_tlb::IMyAppServer_MultiModule_Child** Value/*[out,retval]*/) = 0; // [1]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Project1_tlb::IMyAppServer_MultiModule_Child* __fastcall get_ChildRDM(void)
  {
    Project1_tlb::IMyAppServer_MultiModule_Child* Value;
    OLECHECK(this->get_ChildRDM((Project1_tlb::IMyAppServer_MultiModule_Child**)&Value));
    return Value;
  }


  __property   Project1_tlb::IMyAppServer_MultiModule_Child* ChildRDM = {read = get_ChildRDM};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: IMyAppServer_MultiModule_Child
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B8607004-111A-4ABF-B5E6-49CACF5019B7}
// *********************************************************************//
interface IMyAppServer_MultiModule_Child  : public IAppServer
{
public:

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

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

  HRESULT         __fastcall get_ChildRDM(Project1_tlb::IMyAppServer_MultiModule_Child** Value/*[out,retval]*/);
  HRESULT         __fastcall get_ChildRDM(Project1_tlb::IMyAppServer_MultiModule_ChildPtr* Value/*[out,retval]*/);
  Project1_tlb::IMyAppServer_MultiModule_ChildPtr __fastcall get_ChildRDM(void);

  __property   Project1_tlb::IMyAppServer_MultiModule_ChildPtr ChildRDM = {read = get_ChildRDM};
};
typedef TCOMIMyAppServer_MultiModule_MainT<IMyAppServer_MultiModule_Main> TCOMIMyAppServer_MultiModule_Main;

// *********************************************************************//
// DispIntf:  IMyAppServer_MultiModule_Main
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {58A8FD5A-7916-4D76-B241-F20DB9CA7AE8}
// *********************************************************************//
template<class T>
class IMyAppServer_MultiModule_MainDispT : public TAutoDriver<IMyAppServer_MultiModule_Main>
{
public:
  IMyAppServer_MultiModule_MainDispT(){}

  IMyAppServer_MultiModule_MainDispT(IMyAppServer_MultiModule_Main *pintf)
  {
    TAutoDriver<IMyAppServer_MultiModule_Main>::Bind(pintf, false);
  }

  IMyAppServer_MultiModule_MainDispT(IMyAppServer_MultiModule_MainPtr pintf)
  {
    TAutoDriver<IMyAppServer_MultiModule_Main>::Bind(pintf, true);
  }

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

  IMyAppServer_MultiModule_MainDispT& operator=(IMyAppServer_MultiModule_MainPtr pintf)
  {
    TAutoDriver<IMyAppServer_MultiModule_Main>::Bind(pintf, true);
    return *this;
  }

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

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

  HRESULT         __fastcall get_ChildRDM(Project1_tlb::IMyAppServer_MultiModule_Child** Value/*[out,retval]*/);
  Project1_tlb::IMyAppServer_MultiModule_Child* __fastcall get_ChildRDM(void);
  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]*/
                                          , VARIANT* Value/*[out,retval]*/);
  VARIANT         __fastcall AS_GetParams(BSTR ProviderName/*[in]*/, VARIANT* OwnerData/*[in,out]*/);
  HRESULT         __fastcall AS_RowRequest(BSTR ProviderName/*[in]*/, VARIANT Row/*[in]*/, 
                                           long RequestType/*[in]*/, VARIANT* OwnerData/*[in,out]*/
                                           , VARIANT* Value/*[out,retval]*/);
  VARIANT         __fastcall AS_RowRequest(BSTR ProviderName/*[in]*/, VARIANT Row/*[in]*/, 
                                           long RequestType/*[in]*/, VARIANT* OwnerData/*[in,out]*/);
  HRESULT         __fastcall AS_Execute(BSTR ProviderName/*[in]*/, BSTR CommandText/*[in]*/, 
                                        VARIANT* Params/*[in,out]*/, VARIANT* OwnerData/*[in,out]*/);

  __property   Project1_tlb::IMyAppServer_MultiModule_Child* ChildRDM = {read = get_ChildRDM};

};
typedef IMyAppServer_MultiModule_MainDispT<IMyAppServer_MultiModule_Main> IMyAppServer_MultiModule_MainDisp;

// *********************************************************************//

⌨️ 快捷键说明

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