Plugin2.h
上传用户:easylife05
上传日期:2007-02-14
资源大小:393k
文件大小:15k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* at Tue Sep 30 22:13:28 2003
- */
- /* Compiler settings for Plugin2.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext
- 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( )
- /* 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 __Plugin2_h__
- #define __Plugin2_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IPlugin_FWD_DEFINED__
- #define __IPlugin_FWD_DEFINED__
- typedef interface IPlugin IPlugin;
- #endif /* __IPlugin_FWD_DEFINED__ */
- #ifndef ___IPluginEvents_FWD_DEFINED__
- #define ___IPluginEvents_FWD_DEFINED__
- typedef interface _IPluginEvents _IPluginEvents;
- #endif /* ___IPluginEvents_FWD_DEFINED__ */
- #ifndef __Plugin_FWD_DEFINED__
- #define __Plugin_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class Plugin Plugin;
- #else
- typedef struct Plugin Plugin;
- #endif /* __cplusplus */
- #endif /* __Plugin_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- #ifndef __IPlugin_INTERFACE_DEFINED__
- #define __IPlugin_INTERFACE_DEFINED__
- /* interface IPlugin */
- /* [unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IPlugin;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("366A1C18-E58F-49E2-807F-AAEB05A93AEB")
- IPlugin : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetFunctionCount(
- /* [out] */ SHORT *pCount) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DoFunction(
- /* [in] */ SHORT index) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetFunctionName(
- /* [in] */ SHORT index,
- /* [out] */ CHAR *name) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPluginName(
- /* [out] */ CHAR *name) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SendMouseMessage(
- UINT Message,
- UINT flags,
- int x,
- int y) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PassHDC(
- HDC hDC) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PassHWND(
- HWND mHWND) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetServer(
- IUnknown *iServer) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ReDraw( void) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetToolBarBitmap(
- /* [out] */ HBITMAP *hBitmap) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IPluginVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IPlugin * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IPlugin * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IPlugin * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetFunctionCount )(
- IPlugin * This,
- /* [out] */ SHORT *pCount);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DoFunction )(
- IPlugin * This,
- /* [in] */ SHORT index);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetFunctionName )(
- IPlugin * This,
- /* [in] */ SHORT index,
- /* [out] */ CHAR *name);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPluginName )(
- IPlugin * This,
- /* [out] */ CHAR *name);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SendMouseMessage )(
- IPlugin * This,
- UINT Message,
- UINT flags,
- int x,
- int y);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PassHDC )(
- IPlugin * This,
- HDC hDC);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PassHWND )(
- IPlugin * This,
- HWND mHWND);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetServer )(
- IPlugin * This,
- IUnknown *iServer);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ReDraw )(
- IPlugin * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetToolBarBitmap )(
- IPlugin * This,
- /* [out] */ HBITMAP *hBitmap);
-
- END_INTERFACE
- } IPluginVtbl;
- interface IPlugin
- {
- CONST_VTBL struct IPluginVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IPlugin_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IPlugin_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IPlugin_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IPlugin_GetFunctionCount(This,pCount)
- (This)->lpVtbl -> GetFunctionCount(This,pCount)
- #define IPlugin_DoFunction(This,index)
- (This)->lpVtbl -> DoFunction(This,index)
- #define IPlugin_GetFunctionName(This,index,name)
- (This)->lpVtbl -> GetFunctionName(This,index,name)
- #define IPlugin_GetPluginName(This,name)
- (This)->lpVtbl -> GetPluginName(This,name)
- #define IPlugin_SendMouseMessage(This,Message,flags,x,y)
- (This)->lpVtbl -> SendMouseMessage(This,Message,flags,x,y)
- #define IPlugin_PassHDC(This,hDC)
- (This)->lpVtbl -> PassHDC(This,hDC)
- #define IPlugin_PassHWND(This,mHWND)
- (This)->lpVtbl -> PassHWND(This,mHWND)
- #define IPlugin_SetServer(This,iServer)
- (This)->lpVtbl -> SetServer(This,iServer)
- #define IPlugin_ReDraw(This)
- (This)->lpVtbl -> ReDraw(This)
- #define IPlugin_GetToolBarBitmap(This,hBitmap)
- (This)->lpVtbl -> GetToolBarBitmap(This,hBitmap)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_GetFunctionCount_Proxy(
- IPlugin * This,
- /* [out] */ SHORT *pCount);
- void __RPC_STUB IPlugin_GetFunctionCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_DoFunction_Proxy(
- IPlugin * This,
- /* [in] */ SHORT index);
- void __RPC_STUB IPlugin_DoFunction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_GetFunctionName_Proxy(
- IPlugin * This,
- /* [in] */ SHORT index,
- /* [out] */ CHAR *name);
- void __RPC_STUB IPlugin_GetFunctionName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_GetPluginName_Proxy(
- IPlugin * This,
- /* [out] */ CHAR *name);
- void __RPC_STUB IPlugin_GetPluginName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_SendMouseMessage_Proxy(
- IPlugin * This,
- UINT Message,
- UINT flags,
- int x,
- int y);
- void __RPC_STUB IPlugin_SendMouseMessage_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_PassHDC_Proxy(
- IPlugin * This,
- HDC hDC);
- void __RPC_STUB IPlugin_PassHDC_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_PassHWND_Proxy(
- IPlugin * This,
- HWND mHWND);
- void __RPC_STUB IPlugin_PassHWND_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_SetServer_Proxy(
- IPlugin * This,
- IUnknown *iServer);
- void __RPC_STUB IPlugin_SetServer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_ReDraw_Proxy(
- IPlugin * This);
- void __RPC_STUB IPlugin_ReDraw_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IPlugin_GetToolBarBitmap_Proxy(
- IPlugin * This,
- /* [out] */ HBITMAP *hBitmap);
- void __RPC_STUB IPlugin_GetToolBarBitmap_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IPlugin_INTERFACE_DEFINED__ */
- #ifndef __Plugin2Lib_LIBRARY_DEFINED__
- #define __Plugin2Lib_LIBRARY_DEFINED__
- /* library Plugin2Lib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_Plugin2Lib;
- #ifndef ___IPluginEvents_DISPINTERFACE_DEFINED__
- #define ___IPluginEvents_DISPINTERFACE_DEFINED__
- /* dispinterface _IPluginEvents */
- /* [helpstring][uuid] */
- EXTERN_C const IID DIID__IPluginEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("1C62E8F6-3A0C-46C8-8A34-D6B64C167A43")
- _IPluginEvents : public IDispatch
- {
- };
-
- #else /* C style interface */
- typedef struct _IPluginEventsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- _IPluginEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- _IPluginEvents * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- _IPluginEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- _IPluginEvents * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- _IPluginEvents * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- _IPluginEvents * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- _IPluginEvents * 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
- } _IPluginEventsVtbl;
- interface _IPluginEvents
- {
- CONST_VTBL struct _IPluginEventsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define _IPluginEvents_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define _IPluginEvents_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define _IPluginEvents_Release(This)
- (This)->lpVtbl -> Release(This)
- #define _IPluginEvents_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define _IPluginEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define _IPluginEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define _IPluginEvents_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 /* ___IPluginEvents_DISPINTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_Plugin;
- #ifdef __cplusplus
- class DECLSPEC_UUID("37FB9DC4-2CC1-482E-8166-B4075D77EBF4")
- Plugin;
- #endif
- #endif /* __Plugin2Lib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER HBITMAP_UserSize( unsigned long *, unsigned long , HBITMAP * );
- unsigned char * __RPC_USER HBITMAP_UserMarshal( unsigned long *, unsigned char *, HBITMAP * );
- unsigned char * __RPC_USER HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP * );
- void __RPC_USER HBITMAP_UserFree( unsigned long *, HBITMAP * );
- unsigned long __RPC_USER HDC_UserSize( unsigned long *, unsigned long , HDC * );
- unsigned char * __RPC_USER HDC_UserMarshal( unsigned long *, unsigned char *, HDC * );
- unsigned char * __RPC_USER HDC_UserUnmarshal(unsigned long *, unsigned char *, HDC * );
- void __RPC_USER HDC_UserFree( unsigned long *, HDC * );
- unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
- unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
- unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
- void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif