point.h
资源名称:COM 原理与应用.rar [点击查看]
上传用户:biuytresa
上传日期:2007-12-07
资源大小:721k
文件大小:10k
源码类别:
DNA
开发平台:
Visual C++
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 5.01.0164 */
- /* at Thu Apr 22 11:26:48 1999
- */
- /* Compiler settings for d:point.odl:
- Os (OptLev=s), 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 __point_h__
- #define __point_h__
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* Forward Declarations */
- #ifndef __IPoint_FWD_DEFINED__
- #define __IPoint_FWD_DEFINED__
- typedef interface IPoint IPoint;
- #endif /* __IPoint_FWD_DEFINED__ */
- #ifndef __DIPoint_FWD_DEFINED__
- #define __DIPoint_FWD_DEFINED__
- typedef interface DIPoint DIPoint;
- #endif /* __DIPoint_FWD_DEFINED__ */
- #ifndef __Point_FWD_DEFINED__
- #define __Point_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class Point Point;
- #else
- typedef struct Point Point;
- #endif /* __cplusplus */
- #endif /* __Point_FWD_DEFINED__ */
- void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void __RPC_FAR * );
- #ifndef __Point_LIBRARY_DEFINED__
- #define __Point_LIBRARY_DEFINED__
- /* library Point */
- /* [version][lcid][helpstring][uuid] */
- EXTERN_C const IID LIBID_Point;
- #ifndef __IPoint_INTERFACE_DEFINED__
- #define __IPoint_INTERFACE_DEFINED__
- /* interface IPoint */
- /* [object][helpstring][uuid] */
- EXTERN_C const IID IID_IPoint;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("3C591B25-1F13-101B-B826-00DD01103DE1")
- IPoint : public IUnknown
- {
- public:
- virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_x(
- /* [retval][out] */ int __RPC_FAR *retval) = 0;
- virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_x(
- /* [in] */ int Value) = 0;
- virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_y(
- /* [retval][out] */ int __RPC_FAR *retval) = 0;
- virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_y(
- /* [in] */ int Value) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE MoveTo(
- /* [in] */ int newX,
- /* [in] */ int newy) = 0;
- };
- #else /* C style interface */
- typedef struct IPointVtbl
- {
- BEGIN_INTERFACE
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- IPoint __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- IPoint __RPC_FAR * This);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- IPoint __RPC_FAR * This);
- /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_x )(
- IPoint __RPC_FAR * This,
- /* [retval][out] */ int __RPC_FAR *retval);
- /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_x )(
- IPoint __RPC_FAR * This,
- /* [in] */ int Value);
- /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_y )(
- IPoint __RPC_FAR * This,
- /* [retval][out] */ int __RPC_FAR *retval);
- /* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_y )(
- IPoint __RPC_FAR * This,
- /* [in] */ int Value);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveTo )(
- IPoint __RPC_FAR * This,
- /* [in] */ int newX,
- /* [in] */ int newy);
- END_INTERFACE
- } IPointVtbl;
- interface IPoint
- {
- CONST_VTBL struct IPointVtbl __RPC_FAR *lpVtbl;
- };
- #ifdef COBJMACROS
- #define IPoint_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IPoint_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IPoint_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IPoint_get_x(This,retval)
- (This)->lpVtbl -> get_x(This,retval)
- #define IPoint_put_x(This,Value)
- (This)->lpVtbl -> put_x(This,Value)
- #define IPoint_get_y(This,retval)
- (This)->lpVtbl -> get_y(This,retval)
- #define IPoint_put_y(This,Value)
- (This)->lpVtbl -> put_y(This,Value)
- #define IPoint_MoveTo(This,newX,newy)
- (This)->lpVtbl -> MoveTo(This,newX,newy)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPoint_get_x_Proxy(
- IPoint __RPC_FAR * This,
- /* [retval][out] */ int __RPC_FAR *retval);
- void __RPC_STUB IPoint_get_x_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPoint_put_x_Proxy(
- IPoint __RPC_FAR * This,
- /* [in] */ int Value);
- void __RPC_STUB IPoint_put_x_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE IPoint_get_y_Proxy(
- IPoint __RPC_FAR * This,
- /* [retval][out] */ int __RPC_FAR *retval);
- void __RPC_STUB IPoint_get_y_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE IPoint_put_y_Proxy(
- IPoint __RPC_FAR * This,
- /* [in] */ int Value);
- void __RPC_STUB IPoint_put_y_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPoint_MoveTo_Proxy(
- IPoint __RPC_FAR * This,
- /* [in] */ int newX,
- /* [in] */ int newy);
- void __RPC_STUB IPoint_MoveTo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IPoint_INTERFACE_DEFINED__ */
- #ifndef __DIPoint_DISPINTERFACE_DEFINED__
- #define __DIPoint_DISPINTERFACE_DEFINED__
- /* dispinterface DIPoint */
- /* [helpstring][uuid] */
- EXTERN_C const IID DIID_DIPoint;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("3C591B26-1F13-101B-B826-00DD01103DE1")
- DIPoint : public IDispatch
- {
- };
- #else /* C style interface */
- typedef struct DIPointVtbl
- {
- BEGIN_INTERFACE
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- DIPoint __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- DIPoint __RPC_FAR * This);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- DIPoint __RPC_FAR * This);
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
- DIPoint __RPC_FAR * This,
- /* [out] */ UINT __RPC_FAR *pctinfo);
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
- DIPoint __RPC_FAR * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
- DIPoint __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 )(
- DIPoint __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);
- END_INTERFACE
- } DIPointVtbl;
- interface DIPoint
- {
- CONST_VTBL struct DIPointVtbl __RPC_FAR *lpVtbl;
- };
- #ifdef COBJMACROS
- #define DIPoint_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define DIPoint_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define DIPoint_Release(This)
- (This)->lpVtbl -> Release(This)
- #define DIPoint_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define DIPoint_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define DIPoint_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define DIPoint_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __DIPoint_DISPINTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_Point;
- #ifdef __cplusplus
- class DECLSPEC_UUID("3C591B21-1F13-101B-B826-00DD01103DE1")
- Point;
- #endif
- #endif /* __Point_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif