RNSO.h
资源名称:rnso.zip [点击查看]
上传用户:lianquan
上传日期:2007-01-02
资源大小:197k
文件大小:16k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 5.01.0164 */
- /* at Wed Nov 04 21:05:38 1998
- */
- /* Compiler settings for RNSO.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 __RNSO_h__
- #define __RNSO_h__
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* Forward Declarations */
- #ifndef __IGenericObserver_FWD_DEFINED__
- #define __IGenericObserver_FWD_DEFINED__
- typedef interface IGenericObserver IGenericObserver;
- #endif /* __IGenericObserver_FWD_DEFINED__ */
- #ifndef __IGenericObserverNotification_FWD_DEFINED__
- #define __IGenericObserverNotification_FWD_DEFINED__
- typedef interface IGenericObserverNotification IGenericObserverNotification;
- #endif /* __IGenericObserverNotification_FWD_DEFINED__ */
- #ifndef __GenericObserver_FWD_DEFINED__
- #define __GenericObserver_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class GenericObserver GenericObserver;
- #else
- typedef struct GenericObserver GenericObserver;
- #endif /* __cplusplus */
- #endif /* __GenericObserver_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 __IGenericObserver_INTERFACE_DEFINED__
- #define __IGenericObserver_INTERFACE_DEFINED__
- /* interface IGenericObserver */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IGenericObserver;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("9398D870-4F98-11D2-A93D-BE57B2000000")
- IGenericObserver : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Subscribe(
- /* [in] */ DWORD dwSubjectID) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Unsubscribe(
- /* [in] */ DWORD dwSubjectID,
- /* [in] */ BOOL bAllSubjects) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsSubscribed(
- DWORD dwSubjectID) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCountSubscriptions(
- /* [out] */ long __RPC_FAR *lCount) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCountSubscribers(
- /* [out] */ long __RPC_FAR *lCount) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
- /* [in] */ long nSizeNotification,
- /* [full][size_is][in] */ byte __RPC_FAR *pNotification) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindObjectID(
- /* [in] */ BSTR strname,
- /* [out] */ DWORD __RPC_FAR *dwObjectID) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetObjectID(
- /* [out] */ DWORD __RPC_FAR *dwID) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetName(
- /* [retval][out] */ BSTR __RPC_FAR *strName) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetName(
- /* [string][in] */ BSTR strName) = 0;
- };
- #else /* C style interface */
- typedef struct IGenericObserverVtbl
- {
- BEGIN_INTERFACE
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- IGenericObserver __RPC_FAR * This);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- IGenericObserver __RPC_FAR * This);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Subscribe )(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectID);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unsubscribe )(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectID,
- /* [in] */ BOOL bAllSubjects);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsSubscribed )(
- IGenericObserver __RPC_FAR * This,
- DWORD dwSubjectID);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCountSubscriptions )(
- IGenericObserver __RPC_FAR * This,
- /* [out] */ long __RPC_FAR *lCount);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCountSubscribers )(
- IGenericObserver __RPC_FAR * This,
- /* [out] */ long __RPC_FAR *lCount);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Notify )(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ long nSizeNotification,
- /* [full][size_is][in] */ byte __RPC_FAR *pNotification);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindObjectID )(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ BSTR strname,
- /* [out] */ DWORD __RPC_FAR *dwObjectID);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectID )(
- IGenericObserver __RPC_FAR * This,
- /* [out] */ DWORD __RPC_FAR *dwID);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
- IGenericObserver __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *strName);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
- IGenericObserver __RPC_FAR * This,
- /* [string][in] */ BSTR strName);
- END_INTERFACE
- } IGenericObserverVtbl;
- interface IGenericObserver
- {
- CONST_VTBL struct IGenericObserverVtbl __RPC_FAR *lpVtbl;
- };
- #ifdef COBJMACROS
- #define IGenericObserver_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IGenericObserver_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IGenericObserver_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IGenericObserver_Subscribe(This,dwSubjectID)
- (This)->lpVtbl -> Subscribe(This,dwSubjectID)
- #define IGenericObserver_Unsubscribe(This,dwSubjectID,bAllSubjects)
- (This)->lpVtbl -> Unsubscribe(This,dwSubjectID,bAllSubjects)
- #define IGenericObserver_IsSubscribed(This,dwSubjectID)
- (This)->lpVtbl -> IsSubscribed(This,dwSubjectID)
- #define IGenericObserver_GetCountSubscriptions(This,lCount)
- (This)->lpVtbl -> GetCountSubscriptions(This,lCount)
- #define IGenericObserver_GetCountSubscribers(This,lCount)
- (This)->lpVtbl -> GetCountSubscribers(This,lCount)
- #define IGenericObserver_Notify(This,nSizeNotification,pNotification)
- (This)->lpVtbl -> Notify(This,nSizeNotification,pNotification)
- #define IGenericObserver_FindObjectID(This,strname,dwObjectID)
- (This)->lpVtbl -> FindObjectID(This,strname,dwObjectID)
- #define IGenericObserver_GetObjectID(This,dwID)
- (This)->lpVtbl -> GetObjectID(This,dwID)
- #define IGenericObserver_GetName(This,strName)
- (This)->lpVtbl -> GetName(This,strName)
- #define IGenericObserver_SetName(This,strName)
- (This)->lpVtbl -> SetName(This,strName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_Subscribe_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectID);
- void __RPC_STUB IGenericObserver_Subscribe_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_Unsubscribe_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectID,
- /* [in] */ BOOL bAllSubjects);
- void __RPC_STUB IGenericObserver_Unsubscribe_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_IsSubscribed_Proxy(
- IGenericObserver __RPC_FAR * This,
- DWORD dwSubjectID);
- void __RPC_STUB IGenericObserver_IsSubscribed_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_GetCountSubscriptions_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [out] */ long __RPC_FAR *lCount);
- void __RPC_STUB IGenericObserver_GetCountSubscriptions_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_GetCountSubscribers_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [out] */ long __RPC_FAR *lCount);
- void __RPC_STUB IGenericObserver_GetCountSubscribers_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_Notify_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ long nSizeNotification,
- /* [full][size_is][in] */ byte __RPC_FAR *pNotification);
- void __RPC_STUB IGenericObserver_Notify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_FindObjectID_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [in] */ BSTR strname,
- /* [out] */ DWORD __RPC_FAR *dwObjectID);
- void __RPC_STUB IGenericObserver_FindObjectID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_GetObjectID_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [out] */ DWORD __RPC_FAR *dwID);
- void __RPC_STUB IGenericObserver_GetObjectID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_GetName_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [retval][out] */ BSTR __RPC_FAR *strName);
- void __RPC_STUB IGenericObserver_GetName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserver_SetName_Proxy(
- IGenericObserver __RPC_FAR * This,
- /* [string][in] */ BSTR strName);
- void __RPC_STUB IGenericObserver_SetName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IGenericObserver_INTERFACE_DEFINED__ */
- #ifndef __IGenericObserverNotification_INTERFACE_DEFINED__
- #define __IGenericObserverNotification_INTERFACE_DEFINED__
- /* interface IGenericObserverNotification */
- /* [object][unique][helpstring][uuid] */
- EXTERN_C const IID IID_IGenericObserverNotification;
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("E47357D4-5074-11D2-A93F-900842000000")
- IGenericObserverNotification : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnNotify(
- /* [in] */ DWORD dwSubjectSender,
- /* [in] */ long nSizeNotification,
- /* [full][size_is][in] */ byte __RPC_FAR *pNotification) = 0;
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnNotifySubjectBroken(
- /* [in] */ DWORD dwSubjectID) = 0;
- };
- #else /* C style interface */
- typedef struct IGenericObserverNotificationVtbl
- {
- BEGIN_INTERFACE
- HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
- IGenericObserverNotification __RPC_FAR * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
- IGenericObserverNotification __RPC_FAR * This);
- ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
- IGenericObserverNotification __RPC_FAR * This);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnNotify )(
- IGenericObserverNotification __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectSender,
- /* [in] */ long nSizeNotification,
- /* [full][size_is][in] */ byte __RPC_FAR *pNotification);
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnNotifySubjectBroken )(
- IGenericObserverNotification __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectID);
- END_INTERFACE
- } IGenericObserverNotificationVtbl;
- interface IGenericObserverNotification
- {
- CONST_VTBL struct IGenericObserverNotificationVtbl __RPC_FAR *lpVtbl;
- };
- #ifdef COBJMACROS
- #define IGenericObserverNotification_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IGenericObserverNotification_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IGenericObserverNotification_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IGenericObserverNotification_OnNotify(This,dwSubjectSender,nSizeNotification,pNotification)
- (This)->lpVtbl -> OnNotify(This,dwSubjectSender,nSizeNotification,pNotification)
- #define IGenericObserverNotification_OnNotifySubjectBroken(This,dwSubjectID)
- (This)->lpVtbl -> OnNotifySubjectBroken(This,dwSubjectID)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserverNotification_OnNotify_Proxy(
- IGenericObserverNotification __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectSender,
- /* [in] */ long nSizeNotification,
- /* [full][size_is][in] */ byte __RPC_FAR *pNotification);
- void __RPC_STUB IGenericObserverNotification_OnNotify_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IGenericObserverNotification_OnNotifySubjectBroken_Proxy(
- IGenericObserverNotification __RPC_FAR * This,
- /* [in] */ DWORD dwSubjectID);
- void __RPC_STUB IGenericObserverNotification_OnNotifySubjectBroken_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IGenericObserverNotification_INTERFACE_DEFINED__ */
- #ifndef __RNSOLib_LIBRARY_DEFINED__
- #define __RNSOLib_LIBRARY_DEFINED__
- /* library RNSOLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_RNSOLib;
- EXTERN_C const CLSID CLSID_GenericObserver;
- #ifdef __cplusplus
- class DECLSPEC_UUID("9398D871-4F98-11D2-A93D-BE57B2000000")
- GenericObserver;
- #endif
- #endif /* __RNSOLib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
- unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
- unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
- void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif