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

📄 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-7 16:30:22 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\Program Files\Borland\CBuilder6\Projects\czp\bread\Database\MultiTier\Master_Detail\Server\Project1.tlb (1)
// LIBID: {F1D5282C-E233-4C26-B31B-73B32C478C67}
// 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 = {0xF1D5282C, 0xE233, 0x4C26,{ 0xB3, 0x1B, 0x73,0xB3, 0x2C, 0x47,0x8C, 0x67} };
extern "C" const __declspec(selectany) GUID IID_IMyAppServer_Master_Detail = {0x1AAF8DC1, 0x99E9, 0x4DAE,{ 0xB7, 0xD2, 0xEE,0x84, 0xB0, 0x30,0x9E, 0xE1} };
extern "C" const __declspec(selectany) GUID CLSID_MyAppServer_Master_Detail = {0x33FC2966, 0x2285, 0x4ECA,{ 0x80, 0x2A, 0x68,0x0C, 0xBE, 0x39,0x9C, 0xE6} };

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
interface DECLSPEC_UUID("{1AAF8DC1-99E9-4DAE-B7D2-EE84B0309EE1}") IMyAppServer_Master_Detail;
typedef TComInterface<IMyAppServer_Master_Detail, &IID_IMyAppServer_Master_Detail> IMyAppServer_Master_DetailPtr;


// *********************************************************************//
// 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_Master_Detail (&LIBID_Project1)
// *********************************************************************//
// Interface: IMyAppServer_Master_Detail
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {1AAF8DC1-99E9-4DAE-B7D2-EE84B0309EE1}
// *********************************************************************//
interface IMyAppServer_Master_Detail  : public IAppServer
{
public:

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

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


};
typedef TCOMIMyAppServer_Master_DetailT<IMyAppServer_Master_Detail> TCOMIMyAppServer_Master_Detail;

// *********************************************************************//
// DispIntf:  IMyAppServer_Master_Detail
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {1AAF8DC1-99E9-4DAE-B7D2-EE84B0309EE1}
// *********************************************************************//
template<class T>
class IMyAppServer_Master_DetailDispT : public TAutoDriver<IMyAppServer_Master_Detail>
{
public:
  IMyAppServer_Master_DetailDispT(){}

  IMyAppServer_Master_DetailDispT(IMyAppServer_Master_Detail *pintf)
  {
    TAutoDriver<IMyAppServer_Master_Detail>::Bind(pintf, false);
  }

  IMyAppServer_Master_DetailDispT(IMyAppServer_Master_DetailPtr pintf)
  {
    TAutoDriver<IMyAppServer_Master_Detail>::Bind(pintf, true);
  }

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

  IMyAppServer_Master_DetailDispT& operator=(IMyAppServer_Master_DetailPtr pintf)
  {
    TAutoDriver<IMyAppServer_Master_Detail>::Bind(pintf, true);
    return *this;
  }

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

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

  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]*/

⌨️ 快捷键说明

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