imonitor.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:12k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.01.75 */
  3. /* at Thu Nov 19 19:26:51 1998
  4.  */
  5. /* Compiler settings for imonitor.idl:
  6.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7.     error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING(  )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __imonitor_h__
  17. #define __imonitor_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif 
  21. /* Forward Declarations */ 
  22. #ifndef __IMonitor_FWD_DEFINED__
  23. #define __IMonitor_FWD_DEFINED__
  24. typedef interface IMonitor IMonitor;
  25. #endif  /* __IMonitor_FWD_DEFINED__ */
  26. #ifndef __IMonitorEventer_FWD_DEFINED__
  27. #define __IMonitorEventer_FWD_DEFINED__
  28. typedef interface IMonitorEventer IMonitorEventer;
  29. #endif  /* __IMonitorEventer_FWD_DEFINED__ */
  30. /* header files for imported files */
  31. #include "nmevent.h"
  32. #include "nmMCS.h"
  33. #include "oaidl.h"
  34. #include "ocidl.h"
  35. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  36. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  37. #ifndef __IMonitor_INTERFACE_DEFINED__
  38. #define __IMonitor_INTERFACE_DEFINED__
  39. /****************************************
  40.  * Generated header for interface: IMonitor
  41.  * at Thu Nov 19 19:26:51 1998
  42.  * using MIDL 3.01.75
  43.  ****************************************/
  44. /* [local][unique][uuid][object] */ 
  45. EXTERN_C const IID IID_IMonitor;
  46. #if defined(__cplusplus) && !defined(CINTERFACE)
  47.     
  48.     interface DECLSPEC_UUID("B22A7F70-9398-11d1-A5D6-00A024BA4B62")
  49.     IMonitor : public IUnknown
  50.     {
  51.     public:
  52.         virtual HRESULT STDMETHODCALLTYPE DoInitialize( 
  53.             /* [in] */ IUnknown __RPC_FAR *pUnkMonitorCtrl,
  54.             /* [out][in] */ HBLOB hNPPBlob) = 0;
  55.         
  56.         virtual HRESULT STDMETHODCALLTYPE DoConfigure( 
  57.             /* [in] */ char __RPC_FAR *pName,
  58.             /* [in] */ char __RPC_FAR *pConfiguration,
  59.             /* [out] */ char __RPC_FAR *__RPC_FAR *ppScriptInstance) = 0;
  60.         
  61.         virtual HRESULT STDMETHODCALLTYPE OnStart( 
  62.             /* [in] */ IUnknown __RPC_FAR *pUnkNPP) = 0;
  63.         
  64.         virtual HRESULT STDMETHODCALLTYPE OnStop( void) = 0;
  65.         
  66.         virtual HRESULT STDMETHODCALLTYPE OnFrames( 
  67.             /* [in] */ UPDATE_EVENT Event) = 0;
  68.         
  69.         virtual HRESULT STDMETHODCALLTYPE OnStatus( 
  70.             /* [in] */ UPDATE_EVENT Event) = 0;
  71.         
  72.     };
  73.     
  74. #else  /* C style interface */
  75.     typedef struct IMonitorVtbl
  76.     {
  77.         BEGIN_INTERFACE
  78.         
  79.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  80.             IMonitor __RPC_FAR * This,
  81.             /* [in] */ REFIID riid,
  82.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  83.         
  84.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  85.             IMonitor __RPC_FAR * This);
  86.         
  87.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  88.             IMonitor __RPC_FAR * This);
  89.         
  90.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoInitialize )( 
  91.             IMonitor __RPC_FAR * This,
  92.             /* [in] */ IUnknown __RPC_FAR *pUnkMonitorCtrl,
  93.             /* [out][in] */ HBLOB hNPPBlob);
  94.         
  95.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoConfigure )( 
  96.             IMonitor __RPC_FAR * This,
  97.             /* [in] */ char __RPC_FAR *pName,
  98.             /* [in] */ char __RPC_FAR *pConfiguration,
  99.             /* [out] */ char __RPC_FAR *__RPC_FAR *ppScriptInstance);
  100.         
  101.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStart )( 
  102.             IMonitor __RPC_FAR * This,
  103.             /* [in] */ IUnknown __RPC_FAR *pUnkNPP);
  104.         
  105.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStop )( 
  106.             IMonitor __RPC_FAR * This);
  107.         
  108.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnFrames )( 
  109.             IMonitor __RPC_FAR * This,
  110.             /* [in] */ UPDATE_EVENT Event);
  111.         
  112.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStatus )( 
  113.             IMonitor __RPC_FAR * This,
  114.             /* [in] */ UPDATE_EVENT Event);
  115.         
  116.         END_INTERFACE
  117.     } IMonitorVtbl;
  118.     interface IMonitor
  119.     {
  120.         CONST_VTBL struct IMonitorVtbl __RPC_FAR *lpVtbl;
  121.     };
  122.     
  123. #ifdef COBJMACROS
  124. #define IMonitor_QueryInterface(This,riid,ppvObject)
  125.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  126. #define IMonitor_AddRef(This)
  127.     (This)->lpVtbl -> AddRef(This)
  128. #define IMonitor_Release(This)
  129.     (This)->lpVtbl -> Release(This)
  130. #define IMonitor_DoInitialize(This,pUnkMonitorCtrl,hNPPBlob)
  131.     (This)->lpVtbl -> DoInitialize(This,pUnkMonitorCtrl,hNPPBlob)
  132. #define IMonitor_DoConfigure(This,pName,pConfiguration,ppScriptInstance)
  133.     (This)->lpVtbl -> DoConfigure(This,pName,pConfiguration,ppScriptInstance)
  134. #define IMonitor_OnStart(This,pUnkNPP)
  135.     (This)->lpVtbl -> OnStart(This,pUnkNPP)
  136. #define IMonitor_OnStop(This)
  137.     (This)->lpVtbl -> OnStop(This)
  138. #define IMonitor_OnFrames(This,Event)
  139.     (This)->lpVtbl -> OnFrames(This,Event)
  140. #define IMonitor_OnStatus(This,Event)
  141.     (This)->lpVtbl -> OnStatus(This,Event)
  142. #endif /* COBJMACROS */
  143. #endif  /* C style interface */
  144. HRESULT STDMETHODCALLTYPE IMonitor_DoInitialize_Proxy( 
  145.     IMonitor __RPC_FAR * This,
  146.     /* [in] */ IUnknown __RPC_FAR *pUnkMonitorCtrl,
  147.     /* [out][in] */ HBLOB hNPPBlob);
  148. void __RPC_STUB IMonitor_DoInitialize_Stub(
  149.     IRpcStubBuffer *This,
  150.     IRpcChannelBuffer *_pRpcChannelBuffer,
  151.     PRPC_MESSAGE _pRpcMessage,
  152.     DWORD *_pdwStubPhase);
  153. HRESULT STDMETHODCALLTYPE IMonitor_DoConfigure_Proxy( 
  154.     IMonitor __RPC_FAR * This,
  155.     /* [in] */ char __RPC_FAR *pName,
  156.     /* [in] */ char __RPC_FAR *pConfiguration,
  157.     /* [out] */ char __RPC_FAR *__RPC_FAR *ppScriptInstance);
  158. void __RPC_STUB IMonitor_DoConfigure_Stub(
  159.     IRpcStubBuffer *This,
  160.     IRpcChannelBuffer *_pRpcChannelBuffer,
  161.     PRPC_MESSAGE _pRpcMessage,
  162.     DWORD *_pdwStubPhase);
  163. HRESULT STDMETHODCALLTYPE IMonitor_OnStart_Proxy( 
  164.     IMonitor __RPC_FAR * This,
  165.     /* [in] */ IUnknown __RPC_FAR *pUnkNPP);
  166. void __RPC_STUB IMonitor_OnStart_Stub(
  167.     IRpcStubBuffer *This,
  168.     IRpcChannelBuffer *_pRpcChannelBuffer,
  169.     PRPC_MESSAGE _pRpcMessage,
  170.     DWORD *_pdwStubPhase);
  171. HRESULT STDMETHODCALLTYPE IMonitor_OnStop_Proxy( 
  172.     IMonitor __RPC_FAR * This);
  173. void __RPC_STUB IMonitor_OnStop_Stub(
  174.     IRpcStubBuffer *This,
  175.     IRpcChannelBuffer *_pRpcChannelBuffer,
  176.     PRPC_MESSAGE _pRpcMessage,
  177.     DWORD *_pdwStubPhase);
  178. HRESULT STDMETHODCALLTYPE IMonitor_OnFrames_Proxy( 
  179.     IMonitor __RPC_FAR * This,
  180.     /* [in] */ UPDATE_EVENT Event);
  181. void __RPC_STUB IMonitor_OnFrames_Stub(
  182.     IRpcStubBuffer *This,
  183.     IRpcChannelBuffer *_pRpcChannelBuffer,
  184.     PRPC_MESSAGE _pRpcMessage,
  185.     DWORD *_pdwStubPhase);
  186. HRESULT STDMETHODCALLTYPE IMonitor_OnStatus_Proxy( 
  187.     IMonitor __RPC_FAR * This,
  188.     /* [in] */ UPDATE_EVENT Event);
  189. void __RPC_STUB IMonitor_OnStatus_Stub(
  190.     IRpcStubBuffer *This,
  191.     IRpcChannelBuffer *_pRpcChannelBuffer,
  192.     PRPC_MESSAGE _pRpcMessage,
  193.     DWORD *_pdwStubPhase);
  194. #endif  /* __IMonitor_INTERFACE_DEFINED__ */
  195. #ifndef __IMonitorEventer_INTERFACE_DEFINED__
  196. #define __IMonitorEventer_INTERFACE_DEFINED__
  197. /****************************************
  198.  * Generated header for interface: IMonitorEventer
  199.  * at Thu Nov 19 19:26:51 1998
  200.  * using MIDL 3.01.75
  201.  ****************************************/
  202. /* [local][unique][uuid][object] */ 
  203. EXTERN_C const IID IID_IMonitorEventer;
  204. #if defined(__cplusplus) && !defined(CINTERFACE)
  205.     
  206.     interface DECLSPEC_UUID("7390CC40-95D8-11d1-A5D8-00A024BA4B62")
  207.     IMonitorEventer : public IUnknown
  208.     {
  209.     public:
  210.         virtual HRESULT STDMETHODCALLTYPE GetEventData( 
  211.             /* [in] */ BYTE bNumColumns,
  212.             /* [out] */ PNMEVENTDATA __RPC_FAR *ppNMEventData) = 0;
  213.         
  214.         virtual HRESULT STDMETHODCALLTYPE SendNMEvent( 
  215.             /* [in] */ PNMEVENTDATA pNMEventData) = 0;
  216.         
  217.         virtual HRESULT STDMETHODCALLTYPE FreeEventData( 
  218.             /* [in] */ PNMEVENTDATA pNMEventData) = 0;
  219.         
  220.     };
  221.     
  222. #else  /* C style interface */
  223.     typedef struct IMonitorEventerVtbl
  224.     {
  225.         BEGIN_INTERFACE
  226.         
  227.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  228.             IMonitorEventer __RPC_FAR * This,
  229.             /* [in] */ REFIID riid,
  230.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  231.         
  232.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  233.             IMonitorEventer __RPC_FAR * This);
  234.         
  235.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  236.             IMonitorEventer __RPC_FAR * This);
  237.         
  238.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEventData )( 
  239.             IMonitorEventer __RPC_FAR * This,
  240.             /* [in] */ BYTE bNumColumns,
  241.             /* [out] */ PNMEVENTDATA __RPC_FAR *ppNMEventData);
  242.         
  243.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendNMEvent )( 
  244.             IMonitorEventer __RPC_FAR * This,
  245.             /* [in] */ PNMEVENTDATA pNMEventData);
  246.         
  247.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FreeEventData )( 
  248.             IMonitorEventer __RPC_FAR * This,
  249.             /* [in] */ PNMEVENTDATA pNMEventData);
  250.         
  251.         END_INTERFACE
  252.     } IMonitorEventerVtbl;
  253.     interface IMonitorEventer
  254.     {
  255.         CONST_VTBL struct IMonitorEventerVtbl __RPC_FAR *lpVtbl;
  256.     };
  257.     
  258. #ifdef COBJMACROS
  259. #define IMonitorEventer_QueryInterface(This,riid,ppvObject)
  260.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  261. #define IMonitorEventer_AddRef(This)
  262.     (This)->lpVtbl -> AddRef(This)
  263. #define IMonitorEventer_Release(This)
  264.     (This)->lpVtbl -> Release(This)
  265. #define IMonitorEventer_GetEventData(This,bNumColumns,ppNMEventData)
  266.     (This)->lpVtbl -> GetEventData(This,bNumColumns,ppNMEventData)
  267. #define IMonitorEventer_SendNMEvent(This,pNMEventData)
  268.     (This)->lpVtbl -> SendNMEvent(This,pNMEventData)
  269. #define IMonitorEventer_FreeEventData(This,pNMEventData)
  270.     (This)->lpVtbl -> FreeEventData(This,pNMEventData)
  271. #endif /* COBJMACROS */
  272. #endif  /* C style interface */
  273. HRESULT STDMETHODCALLTYPE IMonitorEventer_GetEventData_Proxy( 
  274.     IMonitorEventer __RPC_FAR * This,
  275.     /* [in] */ BYTE bNumColumns,
  276.     /* [out] */ PNMEVENTDATA __RPC_FAR *ppNMEventData);
  277. void __RPC_STUB IMonitorEventer_GetEventData_Stub(
  278.     IRpcStubBuffer *This,
  279.     IRpcChannelBuffer *_pRpcChannelBuffer,
  280.     PRPC_MESSAGE _pRpcMessage,
  281.     DWORD *_pdwStubPhase);
  282. HRESULT STDMETHODCALLTYPE IMonitorEventer_SendNMEvent_Proxy( 
  283.     IMonitorEventer __RPC_FAR * This,
  284.     /* [in] */ PNMEVENTDATA pNMEventData);
  285. void __RPC_STUB IMonitorEventer_SendNMEvent_Stub(
  286.     IRpcStubBuffer *This,
  287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  288.     PRPC_MESSAGE _pRpcMessage,
  289.     DWORD *_pdwStubPhase);
  290. HRESULT STDMETHODCALLTYPE IMonitorEventer_FreeEventData_Proxy( 
  291.     IMonitorEventer __RPC_FAR * This,
  292.     /* [in] */ PNMEVENTDATA pNMEventData);
  293. void __RPC_STUB IMonitorEventer_FreeEventData_Stub(
  294.     IRpcStubBuffer *This,
  295.     IRpcChannelBuffer *_pRpcChannelBuffer,
  296.     PRPC_MESSAGE _pRpcMessage,
  297.     DWORD *_pdwStubPhase);
  298. #endif  /* __IMonitorEventer_INTERFACE_DEFINED__ */
  299. /****************************************
  300.  * Generated header for interface: __MIDL_itf_imonitor_0140
  301.  * at Thu Nov 19 19:26:51 1998
  302.  * using MIDL 3.01.75
  303.  ****************************************/
  304. /* [local] */ 
  305. __MIDL_DECLSPEC_DLLEXPORT HRESULT DllGetMonitorObject( 
  306.     REFIID riid,
  307.     LPVOID __RPC_FAR *ppObj);
  308. __MIDL_DECLSPEC_DLLEXPORT HRESULT OnLoadingDLL( 
  309.     HBLOB hFilterBlob,
  310.     DWORD __RPC_FAR *pCreateFlags,
  311.     char __RPC_FAR *__RPC_FAR *ppDefaultName,
  312.     char __RPC_FAR *__RPC_FAR *ppDescription,
  313.     char __RPC_FAR *__RPC_FAR *ppDefaultScript,
  314.     char __RPC_FAR *__RPC_FAR *ppDefaultConfiguration);
  315. extern RPC_IF_HANDLE __MIDL_itf_imonitor_0140_v0_0_c_ifspec;
  316. extern RPC_IF_HANDLE __MIDL_itf_imonitor_0140_v0_0_s_ifspec;
  317. /* Additional Prototypes for ALL interfaces */
  318. /* end of Additional Prototypes */
  319. #ifdef __cplusplus
  320. }
  321. #endif
  322. #endif