com_ex.h
资源名称:08.zip [点击查看]
上传用户:ynjin1970
上传日期:2014-10-13
资源大小:6438k
文件大小:16k
源码类别:
中间件编程
开发平台:
Visual C++
- /* 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:contourcom_excom_excom_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)
- #define Icontour_Release(This)
- (This)->lpVtbl -> Release(This)
- #define Icontour_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define Icontour_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define Icontour_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define Icontour_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define Icontour_get_startZ(This,pVal)
- (This)->lpVtbl -> get_startZ(This,pVal)
- #define Icontour_put_startZ(This,newVal)
- (This)->lpVtbl -> put_startZ(This,newVal)
- #define Icontour_get_incZ(This,pVal)
- (This)->lpVtbl -> get_incZ(This,pVal)
- #define Icontour_put_incZ(This,newVal)
- (This)->lpVtbl -> put_incZ(This,newVal)
- #define Icontour_get_endZ(This,pVal)
- (This)->lpVtbl -> get_endZ(This,pVal)
- #define Icontour_put_endZ(This,newVal)
- (This)->lpVtbl -> put_endZ(This,newVal)
- #define Icontour_GetContourCount(This,nCount)
- (This)->lpVtbl -> GetContourCount(This,nCount)
- #define Icontour_GetContourValueOf(This,nContourIndex,Z)
- (This)->lpVtbl -> GetContourValueOf(This,nContourIndex,Z)
- #define Icontour_GetPointsCountOf(This,nContourIndex,nSegIndex,nPointsCount)
- (This)->lpVtbl -> GetPointsCountOf(This,nContourIndex,nSegIndex,nPointsCount)
- #define Icontour_GetPointsOf(This,nContourIndex,nSegIndex,pPointsX,pPointsY)
- (This)->lpVtbl -> GetPointsOf(This,nContourIndex,nSegIndex,pPointsX,pPointsY)
- #define Icontour_GetSegCountOf(This,nContourIndex,nSegCount)
- (This)->lpVtbl -> GetSegCountOf(This,nContourIndex,nSegCount)
- #define Icontour_InitialContour(This,filename)
- (This)->lpVtbl -> InitialContour(This,filename)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE Icontour_get_startZ_Proxy(
- Icontour __RPC_FAR * This,
- /* [retval][out] */ double __RPC_FAR *pVal);
- void __RPC_STUB Icontour_get_startZ_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE Icontour_put_startZ_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ double newVal);
- void __RPC_STUB Icontour_put_startZ_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE Icontour_get_incZ_Proxy(
- Icontour __RPC_FAR * This,
- /* [retval][out] */ double __RPC_FAR *pVal);
- void __RPC_STUB Icontour_get_incZ_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE Icontour_put_incZ_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ double newVal);
- void __RPC_STUB Icontour_put_incZ_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE Icontour_get_endZ_Proxy(
- Icontour __RPC_FAR * This,
- /* [retval][out] */ double __RPC_FAR *pVal);
- void __RPC_STUB Icontour_get_endZ_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE Icontour_put_endZ_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ double newVal);
- void __RPC_STUB Icontour_put_endZ_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Icontour_GetContourCount_Proxy(
- Icontour __RPC_FAR * This,
- /* [retval][out] */ long __RPC_FAR *nCount);
- void __RPC_STUB Icontour_GetContourCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Icontour_GetContourValueOf_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ long nContourIndex,
- /* [retval][out] */ double __RPC_FAR *Z);
- void __RPC_STUB Icontour_GetContourValueOf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Icontour_GetPointsCountOf_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ long nContourIndex,
- /* [in] */ long nSegIndex,
- /* [retval][out] */ long __RPC_FAR *nPointsCount);
- void __RPC_STUB Icontour_GetPointsCountOf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Icontour_GetPointsOf_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ long nContourIndex,
- /* [in] */ long nSegIndex,
- /* [ref][out] */ double __RPC_FAR *pPointsX,
- /* [ref][out] */ double __RPC_FAR *pPointsY);
- void __RPC_STUB Icontour_GetPointsOf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Icontour_GetSegCountOf_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ long nContourIndex,
- /* [retval][out] */ long __RPC_FAR *nSegCount);
- void __RPC_STUB Icontour_GetSegCountOf_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Icontour_InitialContour_Proxy(
- Icontour __RPC_FAR * This,
- /* [in] */ LPCSTR filename);
- void __RPC_STUB Icontour_InitialContour_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __Icontour_INTERFACE_DEFINED__ */
- #ifndef __COM_EXLib_LIBRARY_DEFINED__
- #define __COM_EXLib_LIBRARY_DEFINED__
- /* library COM_EXLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_COM_EXLib;
- EXTERN_C const CLSID CLSID_contour;
- #ifdef __cplusplus
- class DECLSPEC_UUID("0DBD3FE4-2CD7-456A-830E-1E532D8F5FEC")
- contour;
- #endif
- #endif /* __COM_EXLib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif