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

📄 com_ex.h

📁 VC实现等值线编成的COM组件的源程序代码
💻 H
📖 第 1 页 / 共 2 页
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Thu Mar 04 16:06:17 2004
 */
/* Compiler settings for D:\contour\com_ex\com_ex\com_ex.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __com_ex_h__
#define __com_ex_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __Icontour_FWD_DEFINED__
#define __Icontour_FWD_DEFINED__
typedef interface Icontour Icontour;
#endif 	/* __Icontour_FWD_DEFINED__ */


#ifndef __contour_FWD_DEFINED__
#define __contour_FWD_DEFINED__

#ifdef __cplusplus
typedef class contour contour;
#else
typedef struct contour contour;
#endif /* __cplusplus */

#endif 	/* __contour_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __Icontour_INTERFACE_DEFINED__
#define __Icontour_INTERFACE_DEFINED__

/* interface Icontour */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_Icontour;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("41E4A5DE-0C63-4291-8042-618761BAF407")
    Icontour : public IDispatch
    {
    public:
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_startZ( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_startZ( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_incZ( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_incZ( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_endZ( 
            /* [retval][out] */ double __RPC_FAR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_endZ( 
            /* [in] */ double newVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetContourCount( 
            /* [retval][out] */ long __RPC_FAR *nCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetContourValueOf( 
            /* [in] */ long nContourIndex,
            /* [retval][out] */ double __RPC_FAR *Z) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPointsCountOf( 
            /* [in] */ long nContourIndex,
            /* [in] */ long nSegIndex,
            /* [retval][out] */ long __RPC_FAR *nPointsCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPointsOf( 
            /* [in] */ long nContourIndex,
            /* [in] */ long nSegIndex,
            /* [ref][out] */ double __RPC_FAR *pPointsX,
            /* [ref][out] */ double __RPC_FAR *pPointsY) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSegCountOf( 
            /* [in] */ long nContourIndex,
            /* [retval][out] */ long __RPC_FAR *nSegCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InitialContour( 
            /* [in] */ LPCSTR filename) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IcontourVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            Icontour __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            Icontour __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            Icontour __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            Icontour __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            Icontour __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            Icontour __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            Icontour __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_startZ )( 
            Icontour __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_startZ )( 
            Icontour __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_incZ )( 
            Icontour __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_incZ )( 
            Icontour __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_endZ )( 
            Icontour __RPC_FAR * This,
            /* [retval][out] */ double __RPC_FAR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_endZ )( 
            Icontour __RPC_FAR * This,
            /* [in] */ double newVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetContourCount )( 
            Icontour __RPC_FAR * This,
            /* [retval][out] */ long __RPC_FAR *nCount);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetContourValueOf )( 
            Icontour __RPC_FAR * This,
            /* [in] */ long nContourIndex,
            /* [retval][out] */ double __RPC_FAR *Z);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPointsCountOf )( 
            Icontour __RPC_FAR * This,
            /* [in] */ long nContourIndex,
            /* [in] */ long nSegIndex,
            /* [retval][out] */ long __RPC_FAR *nPointsCount);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPointsOf )( 
            Icontour __RPC_FAR * This,
            /* [in] */ long nContourIndex,
            /* [in] */ long nSegIndex,
            /* [ref][out] */ double __RPC_FAR *pPointsX,
            /* [ref][out] */ double __RPC_FAR *pPointsY);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSegCountOf )( 
            Icontour __RPC_FAR * This,
            /* [in] */ long nContourIndex,
            /* [retval][out] */ long __RPC_FAR *nSegCount);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InitialContour )( 
            Icontour __RPC_FAR * This,
            /* [in] */ LPCSTR filename);
        
        END_INTERFACE
    } IcontourVtbl;

    interface Icontour
    {
        CONST_VTBL struct IcontourVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define Icontour_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define Icontour_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

⌨️ 快捷键说明

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