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

📄 mwcomutil_tlb.h

📁 C++BUILDER与MATLAB实现混合编程源代码
💻 H
📖 第 1 页 / 共 5 页
字号:
// ************************************************************************ //
// 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 2005-9-30 17:31:21 from Type Library described below.

// ************************************************************************  //
// Type Lib: C:\2NSOFTPF\nnToolKit\bin\win32\mwcomutil.dll (1)
// LIBID: {C47EA90F-56D1-11D5-B159-00D0B7BA7544}
// LCID: 0
// Helpfile: 
// HelpString: MWComUtil 1.0 Type Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINDOWS\system32\StdOle2.tlb)
// Parent TypeLibrary:
//   (0) v1.0 nnToolKit, (C:\2NSOFTPF\nnToolKit\nnToolKit_1_0.dll)
// ************************************************************************ //
#ifndef   MWComUtil_TLBH
#define   MWComUtil_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


// *********************************************************************//
// 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 Mwcomutil_tlb
{

// *********************************************************************//
// HelpString: MWComUtil 1.0 Type 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 __declspec (package) const GUID LIBID_MWComUtil;
extern __declspec (package) const GUID IID_IMWField;
extern __declspec (package) const GUID CLSID_MWField;
extern __declspec (package) const GUID IID_IMWFlags;
extern __declspec (package) const GUID IID_IMWArrayFormatFlags;
extern __declspec (package) const GUID GUID_mwArrayFormat;
extern __declspec (package) const GUID IID_IMWDataConversionFlags;
extern __declspec (package) const GUID GUID_mwDataType;
extern __declspec (package) const GUID GUID_mwDateFormat;
extern __declspec (package) const GUID IID_IMWStruct;
extern __declspec (package) const GUID CLSID_MWStruct;
extern __declspec (package) const GUID IID_IMWComplex;
extern __declspec (package) const GUID CLSID_MWComplex;
extern __declspec (package) const GUID IID_IMWSparse;
extern __declspec (package) const GUID CLSID_MWSparse;
extern __declspec (package) const GUID IID_IMWArg;
extern __declspec (package) const GUID CLSID_MWArg;
extern __declspec (package) const GUID CLSID_MWArrayFormatFlags;
extern __declspec (package) const GUID CLSID_MWDataConversionFlags;
extern __declspec (package) const GUID IID_IMWUtil;
extern __declspec (package) const GUID CLSID_MWUtil;
extern __declspec (package) const GUID CLSID_MWFlags;

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
enum      mwArrayFormat;
enum      mwDataType;
enum      mwDateFormat;
interface DECLSPEC_UUID("{0AEC9FFB-AB0D-4A09-BE9C-78857A1B8580}") IMWField;
typedef TComInterface<IMWField, &IID_IMWField> IMWFieldPtr;

interface DECLSPEC_UUID("{0A295776-23A1-410A-94BD-0C6C61B891B7}") IMWFlags;
typedef TComInterface<IMWFlags, &IID_IMWFlags> IMWFlagsPtr;

interface DECLSPEC_UUID("{30C8EBCB-1A50-4DEE-A5E8-0C6F7DD52D4C}") IMWArrayFormatFlags;
typedef TComInterface<IMWArrayFormatFlags, &IID_IMWArrayFormatFlags> IMWArrayFormatFlagsPtr;

interface DECLSPEC_UUID("{5E0BBECB-CE72-4461-ADB8-0446AB32CF51}") IMWDataConversionFlags;
typedef TComInterface<IMWDataConversionFlags, &IID_IMWDataConversionFlags> IMWDataConversionFlagsPtr;

interface DECLSPEC_UUID("{6C70BB67-3F76-4176-8809-C66393B1FA23}") IMWStruct;
typedef TComInterface<IMWStruct, &IID_IMWStruct> IMWStructPtr;

interface DECLSPEC_UUID("{8CDD4BBF-A84C-4C50-B600-F5E90008491D}") IMWComplex;
typedef TComInterface<IMWComplex, &IID_IMWComplex> IMWComplexPtr;

interface DECLSPEC_UUID("{6D4874AD-38A1-4676-A191-BAA75F01D216}") IMWSparse;
typedef TComInterface<IMWSparse, &IID_IMWSparse> IMWSparsePtr;

interface DECLSPEC_UUID("{9C77EA62-6498-4CF5-AF36-35886B2F0570}") IMWArg;
typedef TComInterface<IMWArg, &IID_IMWArg> IMWArgPtr;

interface DECLSPEC_UUID("{C47EA90E-56D1-11D5-B159-00D0B7BA7544}") IMWUtil;
typedef TComInterface<IMWUtil, &IID_IMWUtil> IMWUtilPtr;


// *********************************************************************//
// 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.                                                                
// *********************************************************************//
typedef IMWField MWField;
typedef IMWFieldPtr MWFieldPtr;
typedef IMWStruct MWStruct;
typedef IMWStructPtr MWStructPtr;
typedef IMWComplex MWComplex;
typedef IMWComplexPtr MWComplexPtr;
typedef IMWSparse MWSparse;
typedef IMWSparsePtr MWSparsePtr;
typedef IMWArg MWArg;
typedef IMWArgPtr MWArgPtr;
typedef IMWArrayFormatFlags MWArrayFormatFlags;
typedef IMWArrayFormatFlagsPtr MWArrayFormatFlagsPtr;
typedef IMWDataConversionFlags MWDataConversionFlags;
typedef IMWDataConversionFlagsPtr MWDataConversionFlagsPtr;
typedef IMWUtil MWUtil;
typedef IMWUtilPtr MWUtilPtr;
typedef IMWFlags MWFlags;
typedef IMWFlagsPtr MWFlagsPtr;

#define LIBID_OF_MWField (&LIBID_MWComUtil)
#define LIBID_OF_MWStruct (&LIBID_MWComUtil)
#define LIBID_OF_MWComplex (&LIBID_MWComUtil)
#define LIBID_OF_MWSparse (&LIBID_MWComUtil)
#define LIBID_OF_MWArg (&LIBID_MWComUtil)
#define LIBID_OF_MWArrayFormatFlags (&LIBID_MWComUtil)
#define LIBID_OF_MWDataConversionFlags (&LIBID_MWComUtil)
#define LIBID_OF_MWUtil (&LIBID_MWComUtil)
#define LIBID_OF_MWFlags (&LIBID_MWComUtil)

// *********************************************************************//
// Declaration of Enumerations defined in Type Library                    
// *********************************************************************//
typedef enum mwArrayFormat
{
  mwArrayFormatAsIs = 0, 
  mwArrayFormatMatrix = 1, 
  mwArrayFormatCell = 2
} mwArrayFormat;

typedef enum mwDataType
{
  mwTypeDefault = 0, 
  mwTypeLogical = 3, 
  mwTypeChar = 4, 
  mwTypeDouble = 6, 
  mwTypeSingle = 7, 
  mwTypeInt8 = 8, 
  mwTypeUint8 = 9, 
  mwTypeInt16 = 10, 
  mwTypeUint16 = 11, 
  mwTypeInt32 = 12, 
  mwTypeUint32 = 13
} mwDataType;

typedef enum mwDateFormat
{
  mwDateFormatNumeric = 0, 
  mwDateFormatString = 1
} mwDateFormat;

// *********************************************************************//
// Interface: IMWField
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {0AEC9FFB-AB0D-4A09-BE9C-78857A1B8580}
// *********************************************************************//
interface IMWField  : public IDispatch
{
public:
  // [0] property Value
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pvarValue/*[out,retval]*/) = 0;
  // [0] property Value
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pvarValue/*[in]*/) = 0;
  // [1] property Name
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0;
  // [2] property MWFlags
  virtual HRESULT STDMETHODCALLTYPE get_MWFlags(Mwcomutil_tlb::IMWFlags** ppFlags/*[out,retval]*/) = 0;
  // [2] property MWFlags
  virtual HRESULT STDMETHODCALLTYPE set_MWFlags(Mwcomutil_tlb::IMWFlags* ppFlags/*[in]*/) = 0;
  // [3] Method Clone
  virtual HRESULT STDMETHODCALLTYPE Clone(Mwcomutil_tlb::IMWField** ppField/*[out]*/) = 0;

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pvarValue;
    OLECHECK(this->get_Value((VARIANT*)&pvarValue));
    return pvarValue;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  Mwcomutil_tlb::IMWFlags* __fastcall get_MWFlags(void)
  {
    Mwcomutil_tlb::IMWFlags* ppFlags;
    OLECHECK(this->get_MWFlags((Mwcomutil_tlb::IMWFlags**)&ppFlags));
    return ppFlags;
  }


  __property   BSTR            Name = {read = get_Name};
  __property   Mwcomutil_tlb::IMWFlags* MWFlags = {read = get_MWFlags, write = set_MWFlags};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: IMWFlags
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {0A295776-23A1-410A-94BD-0C6C61B891B7}
// *********************************************************************//
interface IMWFlags  : public IDispatch
{
public:
  // [1] property ArrayFormatFlags
  virtual HRESULT STDMETHODCALLTYPE get_ArrayFormatFlags(Mwcomutil_tlb::IMWArrayFormatFlags** ppFlags/*[out,retval]*/) = 0;
  // [1] property ArrayFormatFlags
  virtual HRESULT STDMETHODCALLTYPE set_ArrayFormatFlags(Mwcomutil_tlb::IMWArrayFormatFlags* ppFlags/*[in]*/) = 0;
  // [2] property DataConversionFlags
  virtual HRESULT STDMETHODCALLTYPE get_DataConversionFlags(Mwcomutil_tlb::IMWDataConversionFlags** ppFlags/*[out,retval]*/) = 0;
  // [2] property DataConversionFlags
  virtual HRESULT STDMETHODCALLTYPE set_DataConversionFlags(Mwcomutil_tlb::IMWDataConversionFlags* ppFlags/*[in]*/) = 0;
  // [3] Method Clone

⌨️ 快捷键说明

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