_COMServer.h
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:15k
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0361 */
- /* at Sun Aug 24 11:58:32 2003
- */
- /* Compiler settings for _COMServer.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #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 ___COMServer_h__
- #define ___COMServer_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IMath_FWD_DEFINED__
- #define __IMath_FWD_DEFINED__
- typedef interface IMath IMath;
- #endif /* __IMath_FWD_DEFINED__ */
- #ifndef __IWelcome_FWD_DEFINED__
- #define __IWelcome_FWD_DEFINED__
- typedef interface IWelcome IWelcome;
- #endif /* __IWelcome_FWD_DEFINED__ */
- #ifndef ___ICompletedEvents_FWD_DEFINED__
- #define ___ICompletedEvents_FWD_DEFINED__
- typedef interface _ICompletedEvents _ICompletedEvents;
- #endif /* ___ICompletedEvents_FWD_DEFINED__ */
- #ifndef __CCOMDemo_FWD_DEFINED__
- #define __CCOMDemo_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class CCOMDemo CCOMDemo;
- #else
- typedef struct CCOMDemo CCOMDemo;
- #endif /* __cplusplus */
- #endif /* __CCOMDemo_FWD_DEFINED__ */
- /* header files for imported files */
- #include "prsht.h"
- #include "mshtml.h"
- #include "mshtmhst.h"
- #include "exdisp.h"
- #include "objsafe.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- #ifndef __IMath_INTERFACE_DEFINED__
- #define __IMath_INTERFACE_DEFINED__
- /* interface IMath */
- /* [custom][unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IMath;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2158751B-896E-461d-9012-EF1680BE0628")
- IMath : public IDispatch
- {
- public:
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Add(
- /* [in] */ LONG val1,
- /* [in] */ LONG val2,
- /* [retval][out] */ LONG *result) = 0;
-
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Sub(
- /* [in] */ LONG val1,
- /* [in] */ LONG val2,
- /* [retval][out] */ LONG *result) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMathVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMath * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMath * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMath * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IMath * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IMath * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IMath * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IMath * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
- IMath * This,
- /* [in] */ LONG val1,
- /* [in] */ LONG val2,
- /* [retval][out] */ LONG *result);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE *Sub )(
- IMath * This,
- /* [in] */ LONG val1,
- /* [in] */ LONG val2,
- /* [retval][out] */ LONG *result);
-
- END_INTERFACE
- } IMathVtbl;
- interface IMath
- {
- CONST_VTBL struct IMathVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMath_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMath_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMath_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMath_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IMath_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IMath_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IMath_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IMath_Add(This,val1,val2,result)
- (This)->lpVtbl -> Add(This,val1,val2,result)
- #define IMath_Sub(This,val1,val2,result)
- (This)->lpVtbl -> Sub(This,val1,val2,result)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id] */ HRESULT STDMETHODCALLTYPE IMath_Add_Proxy(
- IMath * This,
- /* [in] */ LONG val1,
- /* [in] */ LONG val2,
- /* [retval][out] */ LONG *result);
- void __RPC_STUB IMath_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [id] */ HRESULT STDMETHODCALLTYPE IMath_Sub_Proxy(
- IMath * This,
- /* [in] */ LONG val1,
- /* [in] */ LONG val2,
- /* [retval][out] */ LONG *result);
- void __RPC_STUB IMath_Sub_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMath_INTERFACE_DEFINED__ */
- #ifndef __IWelcome_INTERFACE_DEFINED__
- #define __IWelcome_INTERFACE_DEFINED__
- /* interface IWelcome */
- /* [custom][unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IWelcome;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("015ED275-3DE6-4716-A6FA-4EBC71E4A8EA")
- IWelcome : public IDispatch
- {
- public:
- virtual /* [id] */ HRESULT STDMETHODCALLTYPE Greeting(
- /* [in] */ BSTR name,
- /* [retval][out] */ BSTR *message) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWelcomeVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWelcome * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWelcome * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWelcome * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IWelcome * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IWelcome * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IWelcome * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IWelcome * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [id] */ HRESULT ( STDMETHODCALLTYPE *Greeting )(
- IWelcome * This,
- /* [in] */ BSTR name,
- /* [retval][out] */ BSTR *message);
-
- END_INTERFACE
- } IWelcomeVtbl;
- interface IWelcome
- {
- CONST_VTBL struct IWelcomeVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWelcome_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWelcome_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWelcome_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWelcome_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IWelcome_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IWelcome_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IWelcome_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IWelcome_Greeting(This,name,message)
- (This)->lpVtbl -> Greeting(This,name,message)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [id] */ HRESULT STDMETHODCALLTYPE IWelcome_Greeting_Proxy(
- IWelcome * This,
- /* [in] */ BSTR name,
- /* [retval][out] */ BSTR *message);
- void __RPC_STUB IWelcome_Greeting_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWelcome_INTERFACE_DEFINED__ */
- #ifndef __COMServer_LIBRARY_DEFINED__
- #define __COMServer_LIBRARY_DEFINED__
- /* library COMServer */
- /* [helpstring][uuid][version] */
- EXTERN_C const IID LIBID_COMServer;
- #ifndef ___ICompletedEvents_DISPINTERFACE_DEFINED__
- #define ___ICompletedEvents_DISPINTERFACE_DEFINED__
- /* dispinterface _ICompletedEvents */
- /* [helpstring][custom][uuid] */
- EXTERN_C const IID DIID__ICompletedEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("B2CBBCD3-2993-4148-8EF4-356EACFD834B")
- _ICompletedEvents : public IDispatch
- {
- };
-
- #else /* C style interface */
- typedef struct _ICompletedEventsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _ICompletedEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _ICompletedEvents * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _ICompletedEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _ICompletedEvents * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _ICompletedEvents * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _ICompletedEvents * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _ICompletedEvents * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- END_INTERFACE
- } _ICompletedEventsVtbl;
- interface _ICompletedEvents
- {
- CONST_VTBL struct _ICompletedEventsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _ICompletedEvents_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _ICompletedEvents_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _ICompletedEvents_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _ICompletedEvents_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _ICompletedEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _ICompletedEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _ICompletedEvents_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 /* ___ICompletedEvents_DISPINTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_CCOMDemo;
- #ifdef __cplusplus
- class DECLSPEC_UUID("2388AAA8-AD72-4022-948D-555316F708E8")
- CCOMDemo;
- #endif
- #endif /* __COMServer_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
- unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
- unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
- void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif