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

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 5.03.0279 */
  4. /* at Mon Sep 20 16:32:23 1999
  5.  */
  6. /* Compiler settings for ieventq.idl:
  7.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  8.     error checks: allocation ref bounds_check enum stub_data 
  9.     VC __declspec() decoration level: 
  10.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11.          DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING(  )
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18. #include "rpc.h"
  19. #include "rpcndr.h"
  20. #ifndef __RPCNDR_H_VERSION__
  21. #error this stub requires an updated version of <rpcndr.h>
  22. #endif // __RPCNDR_H_VERSION__
  23. #ifndef COM_NO_WINDOWS_H
  24. #include "windows.h"
  25. #include "ole2.h"
  26. #endif /*COM_NO_WINDOWS_H*/
  27. #ifndef __ieventq_h__
  28. #define __ieventq_h__
  29. /* Forward Declarations */ 
  30. #ifndef __IAddEvents_FWD_DEFINED__
  31. #define __IAddEvents_FWD_DEFINED__
  32. typedef interface IAddEvents IAddEvents;
  33. #endif  /* __IAddEvents_FWD_DEFINED__ */
  34. #ifndef __IReadEvents_FWD_DEFINED__
  35. #define __IReadEvents_FWD_DEFINED__
  36. typedef interface IReadEvents IReadEvents;
  37. #endif  /* __IReadEvents_FWD_DEFINED__ */
  38. #ifndef __EVENTQUEUE_FWD_DEFINED__
  39. #define __EVENTQUEUE_FWD_DEFINED__
  40. #ifdef __cplusplus
  41. typedef class EVENTQUEUE EVENTQUEUE;
  42. #else
  43. typedef struct EVENTQUEUE EVENTQUEUE;
  44. #endif /* __cplusplus */
  45. #endif  /* __EVENTQUEUE_FWD_DEFINED__ */
  46. /* header files for imported files */
  47. #include "nmevent.h"
  48. #ifdef __cplusplus
  49. extern "C"{
  50. #endif 
  51. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  52. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  53. /* interface __MIDL_itf_ieventq_0000 */
  54. /* [local] */ 
  55. // The new event notification callback, expose this function:
  56. // void WINAPI Callback(LPVOID pInstanceData, DWORD QueueIndex, DWORD EventIndex);
  57. typedef void (WINAPI * PEVENTQCALLBACK )( LPVOID, DWORD, DWORD );
  58. typedef struct _COLUMNENTRY
  59.     {
  60.     DWORD ColumnNumber;
  61.     char __RPC_FAR *pColumnString;
  62.     } COLUMNENTRY;
  63. typedef COLUMNENTRY __RPC_FAR *PCOLUMNENTRY;
  64. typedef struct _COLUMNSTRINGTABLE
  65.     {
  66.     DWORD NumStrings;
  67.     SIZE_T TotalStringLength;
  68.     /* [size_is] */ COLUMNENTRY ColumnEntry[ 1 ];
  69.     } COLUMNSTRINGTABLE;
  70. typedef COLUMNSTRINGTABLE __RPC_FAR *PCOLUMNSTRINGTABLE;
  71. typedef struct _COLUMNFORMATARRAY
  72.     {
  73.     DWORD NumColumns;
  74.     /* [size_is] */ DWORD FormatFlags[ 1 ];
  75.     } COLUMNFORMATARRAY;
  76. typedef COLUMNFORMATARRAY __RPC_FAR *PCOLUMNFORMATARRAY;
  77. #define FORMAT_HEX    0x00000001
  78. #define FORMAT_YESNO  0x00000002
  79. #define FORMAT_ONOFF  0x00000004
  80. #define FORMAT_NODATE 0x00000010
  81. typedef 
  82. enum _EVENTFILTEROP
  83.     { EVENTFILTEROP_Equal = 0,
  84. EVENTFILTEROP_NotEqual = EVENTFILTEROP_Equal + 1,
  85. EVENTFILTEROP_GreaterThan = EVENTFILTEROP_NotEqual + 1,
  86. EVENTFILTEROP_EqualOrGreaterThan = EVENTFILTEROP_GreaterThan + 1,
  87. EVENTFILTEROP_LessThan = EVENTFILTEROP_EqualOrGreaterThan + 1,
  88. EVENTFILTEROP_EqualOrLessThan = EVENTFILTEROP_LessThan + 1
  89.     } EVENTFILTEROP;
  90. typedef struct _EVENTFILTERENTRY
  91.     {
  92.     DWORD dwColumnNumber;
  93.     EVENTFILTEROP Operator;
  94.     NMCOLUMNVARIANT ColumnVariant;
  95.     } EVENTFILTERENTRY;
  96. typedef EVENTFILTERENTRY __RPC_FAR *PEVENTFILTERENTRY;
  97. typedef struct _EVENTFILTER
  98.     {
  99.     DWORD NumEntries;
  100.     /* [size_is] */ EVENTFILTERENTRY Entry[ 1 ];
  101.     } EVENTFILTER;
  102. typedef EVENTFILTER __RPC_FAR *PEVENTFILTER;
  103. #define EVENT_FIXED_DISPLAYABLE_COLUMNS 7          
  104. extern RPC_IF_HANDLE __MIDL_itf_ieventq_0000_v0_0_c_ifspec;
  105. extern RPC_IF_HANDLE __MIDL_itf_ieventq_0000_v0_0_s_ifspec;
  106. #ifndef __IAddEvents_INTERFACE_DEFINED__
  107. #define __IAddEvents_INTERFACE_DEFINED__
  108. /* interface IAddEvents */
  109. /* [local][unique][uuid][object] */ 
  110. EXTERN_C const IID IID_IAddEvents;
  111. #if defined(__cplusplus) && !defined(CINTERFACE)
  112.     
  113.     MIDL_INTERFACE("D710A6AE-3371-11d1-BE5B-00C04FC9E2BB")
  114.     IAddEvents : public IUnknown
  115.     {
  116.     public:
  117.         virtual HRESULT STDMETHODCALLTYPE AddQueue( 
  118.             /* [in] */ const char __RPC_FAR *szBaseDirectory,
  119.             /* [in] */ char __RPC_FAR *szQueueName,
  120.             /* [out] */ DWORD __RPC_FAR *pdwQueueIndex) = 0;
  121.         
  122.         virtual HRESULT STDMETHODCALLTYPE AddEvent( 
  123.             /* [in] */ DWORD dwQueueIndex,
  124.             /* [in] */ PNMEVENTDATA pEvent) = 0;
  125.         
  126.     };
  127.     
  128. #else  /* C style interface */
  129.     typedef struct IAddEventsVtbl
  130.     {
  131.         BEGIN_INTERFACE
  132.         
  133.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  134.             IAddEvents __RPC_FAR * This,
  135.             /* [in] */ REFIID riid,
  136.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  137.         
  138.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  139.             IAddEvents __RPC_FAR * This);
  140.         
  141.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  142.             IAddEvents __RPC_FAR * This);
  143.         
  144.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddQueue )( 
  145.             IAddEvents __RPC_FAR * This,
  146.             /* [in] */ const char __RPC_FAR *szBaseDirectory,
  147.             /* [in] */ char __RPC_FAR *szQueueName,
  148.             /* [out] */ DWORD __RPC_FAR *pdwQueueIndex);
  149.         
  150.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddEvent )( 
  151.             IAddEvents __RPC_FAR * This,
  152.             /* [in] */ DWORD dwQueueIndex,
  153.             /* [in] */ PNMEVENTDATA pEvent);
  154.         
  155.         END_INTERFACE
  156.     } IAddEventsVtbl;
  157.     interface IAddEvents
  158.     {
  159.         CONST_VTBL struct IAddEventsVtbl __RPC_FAR *lpVtbl;
  160.     };
  161.     
  162. #ifdef COBJMACROS
  163. #define IAddEvents_QueryInterface(This,riid,ppvObject)
  164.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  165. #define IAddEvents_AddRef(This)
  166.     (This)->lpVtbl -> AddRef(This)
  167. #define IAddEvents_Release(This)
  168.     (This)->lpVtbl -> Release(This)
  169. #define IAddEvents_AddQueue(This,szBaseDirectory,szQueueName,pdwQueueIndex)
  170.     (This)->lpVtbl -> AddQueue(This,szBaseDirectory,szQueueName,pdwQueueIndex)
  171. #define IAddEvents_AddEvent(This,dwQueueIndex,pEvent)
  172.     (This)->lpVtbl -> AddEvent(This,dwQueueIndex,pEvent)
  173. #endif /* COBJMACROS */
  174. #endif  /* C style interface */
  175. HRESULT STDMETHODCALLTYPE IAddEvents_AddQueue_Proxy( 
  176.     IAddEvents __RPC_FAR * This,
  177.     /* [in] */ const char __RPC_FAR *szBaseDirectory,
  178.     /* [in] */ char __RPC_FAR *szQueueName,
  179.     /* [out] */ DWORD __RPC_FAR *pdwQueueIndex);
  180. void __RPC_STUB IAddEvents_AddQueue_Stub(
  181.     IRpcStubBuffer *This,
  182.     IRpcChannelBuffer *_pRpcChannelBuffer,
  183.     PRPC_MESSAGE _pRpcMessage,
  184.     DWORD *_pdwStubPhase);
  185. HRESULT STDMETHODCALLTYPE IAddEvents_AddEvent_Proxy( 
  186.     IAddEvents __RPC_FAR * This,
  187.     /* [in] */ DWORD dwQueueIndex,
  188.     /* [in] */ PNMEVENTDATA pEvent);
  189. void __RPC_STUB IAddEvents_AddEvent_Stub(
  190.     IRpcStubBuffer *This,
  191.     IRpcChannelBuffer *_pRpcChannelBuffer,
  192.     PRPC_MESSAGE _pRpcMessage,
  193.     DWORD *_pdwStubPhase);
  194. #endif  /* __IAddEvents_INTERFACE_DEFINED__ */
  195. #ifndef __IReadEvents_INTERFACE_DEFINED__
  196. #define __IReadEvents_INTERFACE_DEFINED__
  197. /* interface IReadEvents */
  198. /* [local][unique][uuid][object] */ 
  199. EXTERN_C const IID IID_IReadEvents;
  200. #if defined(__cplusplus) && !defined(CINTERFACE)
  201.     
  202.     MIDL_INTERFACE("F64AEFDE-3376-11d1-BE5B-00C04FC9E2BB")
  203.     IReadEvents : public IUnknown
  204.     {
  205.     public:
  206.         virtual HRESULT STDMETHODCALLTYPE RegisterNotificationCallback( 
  207.             /* [in] */ LPVOID pEventCallback,
  208.             /* [in] */ LPVOID pInstanceData,
  209.             /* [out] */ DWORD __RPC_FAR *pCallbackKey) = 0;
  210.         
  211.         virtual HRESULT STDMETHODCALLTYPE DeregisterNotificationCallback( 
  212.             /* [in] */ DWORD CallbackKey) = 0;
  213.         
  214.         virtual HRESULT STDMETHODCALLTYPE GetLatestQueueIndex( 
  215.             /* [out] */ DWORD __RPC_FAR *pdwQueueIndex) = 0;
  216.         
  217.         virtual HRESULT STDMETHODCALLTYPE GetQueueName( 
  218.             /* [in] */ DWORD dwQueueIndex,
  219.             /* [out] */ char __RPC_FAR *__RPC_FAR *ppColumnName) = 0;
  220.         
  221.         virtual HRESULT STDMETHODCALLTYPE GetLatestEventIndex( 
  222.             /* [in] */ DWORD dwQueueIndex,
  223.             /* [out] */ DWORD __RPC_FAR *pdwEventIndex) = 0;
  224.         
  225.         virtual HRESULT STDMETHODCALLTYPE DoesEventPassFilter( 
  226.             /* [in] */ DWORD dwQueueIndex,
  227.             /* [in] */ DWORD dwEventIndex,
  228.             /* [in] */ PEVENTFILTER pFilter,
  229.             /* [out] */ BOOL __RPC_FAR *pfDoesItPass) = 0;
  230.         
  231.         virtual HRESULT STDMETHODCALLTYPE CompareEvents( 
  232.             /* [in] */ DWORD dwQueueIndex,
  233.             /* [in] */ DWORD dwFirstEventIndex,
  234.             /* [in] */ DWORD dwSecondEventIndex,
  235.             /* [in] */ DWORD dwColumnNumber,
  236.             /* [out] */ long __RPC_FAR *plResult) = 0;
  237.         
  238.         virtual HRESULT STDMETHODCALLTYPE GetEvent( 
  239.             /* [in] */ DWORD dwQueueIndex,
  240.             /* [in] */ DWORD dwEventIndex,
  241.             /* [out] */ PNMEVENTDATA __RPC_FAR *ppEvent) = 0;
  242.         
  243.         virtual HRESULT STDMETHODCALLTYPE GetFullFormattedEvent( 
  244.             /* [in] */ DWORD dwQueueIndex,
  245.             /* [in] */ DWORD dwEventIndex,
  246.             /* [in] */ PCOLUMNFORMATARRAY pColumnFormatArray,
  247.             /* [out] */ PCOLUMNSTRINGTABLE __RPC_FAR *ppColumnStringTable) = 0;
  248.         
  249.         virtual HRESULT STDMETHODCALLTYPE GetSparseFormattedEvent( 
  250.             /* [in] */ DWORD dwQueueIndex,
  251.             /* [in] */ DWORD dwEventIndex,
  252.             /* [in] */ PCOLUMNFORMATARRAY pColumnFormatArray,
  253.             /* [out] */ PCOLUMNSTRINGTABLE __RPC_FAR *ppColumnStringTable) = 0;
  254.         
  255.         virtual HRESULT STDMETHODCALLTYPE GetColumnIndex( 
  256.             /* [in] */ DWORD dwQueueIndex,
  257.             /* [in] */ char __RPC_FAR *szColumnName,
  258.             /* [out] */ DWORD __RPC_FAR *pdwColumnNumber) = 0;
  259.         
  260.         virtual HRESULT STDMETHODCALLTYPE GetColumnName( 
  261.             /* [in] */ DWORD dwQueueIndex,
  262.             /* [in] */ DWORD dwColumnNumber,
  263.             /* [out] */ char __RPC_FAR *__RPC_FAR *ppColumnName) = 0;
  264.         
  265.         virtual HRESULT STDMETHODCALLTYPE FlushEvents( 
  266.             /* [in] */ DWORD dwQueueIndex,
  267.             /* [in] */ DWORD dwNumberOfEventsToDelete) = 0;
  268.         
  269.     };
  270.     
  271. #else  /* C style interface */
  272.     typedef struct IReadEventsVtbl
  273.     {
  274.         BEGIN_INTERFACE
  275.         
  276.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  277.             IReadEvents __RPC_FAR * This,
  278.             /* [in] */ REFIID riid,
  279.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  280.         
  281.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  282.             IReadEvents __RPC_FAR * This);
  283.         
  284.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  285.             IReadEvents __RPC_FAR * This);
  286.         
  287.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterNotificationCallback )( 
  288.             IReadEvents __RPC_FAR * This,
  289.             /* [in] */ LPVOID pEventCallback,
  290.             /* [in] */ LPVOID pInstanceData,
  291.             /* [out] */ DWORD __RPC_FAR *pCallbackKey);
  292.         
  293.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeregisterNotificationCallback )( 
  294.             IReadEvents __RPC_FAR * This,
  295.             /* [in] */ DWORD CallbackKey);
  296.         
  297.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLatestQueueIndex )( 
  298.             IReadEvents __RPC_FAR * This,
  299.             /* [out] */ DWORD __RPC_FAR *pdwQueueIndex);
  300.         
  301.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetQueueName )( 
  302.             IReadEvents __RPC_FAR * This,
  303.             /* [in] */ DWORD dwQueueIndex,
  304.             /* [out] */ char __RPC_FAR *__RPC_FAR *ppColumnName);
  305.         
  306.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLatestEventIndex )( 
  307.             IReadEvents __RPC_FAR * This,
  308.             /* [in] */ DWORD dwQueueIndex,
  309.             /* [out] */ DWORD __RPC_FAR *pdwEventIndex);
  310.         
  311.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoesEventPassFilter )( 
  312.             IReadEvents __RPC_FAR * This,
  313.             /* [in] */ DWORD dwQueueIndex,
  314.             /* [in] */ DWORD dwEventIndex,
  315.             /* [in] */ PEVENTFILTER pFilter,
  316.             /* [out] */ BOOL __RPC_FAR *pfDoesItPass);
  317.         
  318.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CompareEvents )( 
  319.             IReadEvents __RPC_FAR * This,
  320.             /* [in] */ DWORD dwQueueIndex,
  321.             /* [in] */ DWORD dwFirstEventIndex,
  322.             /* [in] */ DWORD dwSecondEventIndex,
  323.             /* [in] */ DWORD dwColumnNumber,
  324.             /* [out] */ long __RPC_FAR *plResult);
  325.         
  326.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEvent )( 
  327.             IReadEvents __RPC_FAR * This,
  328.             /* [in] */ DWORD dwQueueIndex,
  329.             /* [in] */ DWORD dwEventIndex,
  330.             /* [out] */ PNMEVENTDATA __RPC_FAR *ppEvent);
  331.         
  332.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFullFormattedEvent )( 
  333.             IReadEvents __RPC_FAR * This,
  334.             /* [in] */ DWORD dwQueueIndex,
  335.             /* [in] */ DWORD dwEventIndex,
  336.             /* [in] */ PCOLUMNFORMATARRAY pColumnFormatArray,
  337.             /* [out] */ PCOLUMNSTRINGTABLE __RPC_FAR *ppColumnStringTable);
  338.         
  339.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSparseFormattedEvent )( 
  340.             IReadEvents __RPC_FAR * This,
  341.             /* [in] */ DWORD dwQueueIndex,
  342.             /* [in] */ DWORD dwEventIndex,
  343.             /* [in] */ PCOLUMNFORMATARRAY pColumnFormatArray,
  344.             /* [out] */ PCOLUMNSTRINGTABLE __RPC_FAR *ppColumnStringTable);
  345.         
  346.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColumnIndex )( 
  347.             IReadEvents __RPC_FAR * This,
  348.             /* [in] */ DWORD dwQueueIndex,
  349.             /* [in] */ char __RPC_FAR *szColumnName,
  350.             /* [out] */ DWORD __RPC_FAR *pdwColumnNumber);
  351.         
  352.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColumnName )( 
  353.             IReadEvents __RPC_FAR * This,
  354.             /* [in] */ DWORD dwQueueIndex,
  355.             /* [in] */ DWORD dwColumnNumber,
  356.             /* [out] */ char __RPC_FAR *__RPC_FAR *ppColumnName);
  357.         
  358.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FlushEvents )( 
  359.             IReadEvents __RPC_FAR * This,
  360.             /* [in] */ DWORD dwQueueIndex,
  361.             /* [in] */ DWORD dwNumberOfEventsToDelete);
  362.         
  363.         END_INTERFACE
  364.     } IReadEventsVtbl;
  365.     interface IReadEvents
  366.     {
  367.         CONST_VTBL struct IReadEventsVtbl __RPC_FAR *lpVtbl;
  368.     };
  369.     
  370. #ifdef COBJMACROS
  371. #define IReadEvents_QueryInterface(This,riid,ppvObject)
  372.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  373. #define IReadEvents_AddRef(This)
  374.     (This)->lpVtbl -> AddRef(This)
  375. #define IReadEvents_Release(This)
  376.     (This)->lpVtbl -> Release(This)
  377. #define IReadEvents_RegisterNotificationCallback(This,pEventCallback,pInstanceData,pCallbackKey)
  378.     (This)->lpVtbl -> RegisterNotificationCallback(This,pEventCallback,pInstanceData,pCallbackKey)
  379. #define IReadEvents_DeregisterNotificationCallback(This,CallbackKey)
  380.     (This)->lpVtbl -> DeregisterNotificationCallback(This,CallbackKey)
  381. #define IReadEvents_GetLatestQueueIndex(This,pdwQueueIndex)
  382.     (This)->lpVtbl -> GetLatestQueueIndex(This,pdwQueueIndex)
  383. #define IReadEvents_GetQueueName(This,dwQueueIndex,ppColumnName)
  384.     (This)->lpVtbl -> GetQueueName(This,dwQueueIndex,ppColumnName)
  385. #define IReadEvents_GetLatestEventIndex(This,dwQueueIndex,pdwEventIndex)
  386.     (This)->lpVtbl -> GetLatestEventIndex(This,dwQueueIndex,pdwEventIndex)
  387. #define IReadEvents_DoesEventPassFilter(This,dwQueueIndex,dwEventIndex,pFilter,pfDoesItPass)
  388.     (This)->lpVtbl -> DoesEventPassFilter(This,dwQueueIndex,dwEventIndex,pFilter,pfDoesItPass)
  389. #define IReadEvents_CompareEvents(This,dwQueueIndex,dwFirstEventIndex,dwSecondEventIndex,dwColumnNumber,plResult)
  390.     (This)->lpVtbl -> CompareEvents(This,dwQueueIndex,dwFirstEventIndex,dwSecondEventIndex,dwColumnNumber,plResult)
  391. #define IReadEvents_GetEvent(This,dwQueueIndex,dwEventIndex,ppEvent)
  392.     (This)->lpVtbl -> GetEvent(This,dwQueueIndex,dwEventIndex,ppEvent)
  393. #define IReadEvents_GetFullFormattedEvent(This,dwQueueIndex,dwEventIndex,pColumnFormatArray,ppColumnStringTable)
  394.     (This)->lpVtbl -> GetFullFormattedEvent(This,dwQueueIndex,dwEventIndex,pColumnFormatArray,ppColumnStringTable)
  395. #define IReadEvents_GetSparseFormattedEvent(This,dwQueueIndex,dwEventIndex,pColumnFormatArray,ppColumnStringTable)
  396.     (This)->lpVtbl -> GetSparseFormattedEvent(This,dwQueueIndex,dwEventIndex,pColumnFormatArray,ppColumnStringTable)
  397. #define IReadEvents_GetColumnIndex(This,dwQueueIndex,szColumnName,pdwColumnNumber)
  398.     (This)->lpVtbl -> GetColumnIndex(This,dwQueueIndex,szColumnName,pdwColumnNumber)
  399. #define IReadEvents_GetColumnName(This,dwQueueIndex,dwColumnNumber,ppColumnName)
  400.     (This)->lpVtbl -> GetColumnName(This,dwQueueIndex,dwColumnNumber,ppColumnName)
  401. #define IReadEvents_FlushEvents(This,dwQueueIndex,dwNumberOfEventsToDelete)
  402.     (This)->lpVtbl -> FlushEvents(This,dwQueueIndex,dwNumberOfEventsToDelete)
  403. #endif /* COBJMACROS */
  404. #endif  /* C style interface */
  405. HRESULT STDMETHODCALLTYPE IReadEvents_RegisterNotificationCallback_Proxy( 
  406.     IReadEvents __RPC_FAR * This,
  407.     /* [in] */ LPVOID pEventCallback,
  408.     /* [in] */ LPVOID pInstanceData,
  409.     /* [out] */ DWORD __RPC_FAR *pCallbackKey);
  410. void __RPC_STUB IReadEvents_RegisterNotificationCallback_Stub(
  411.     IRpcStubBuffer *This,
  412.     IRpcChannelBuffer *_pRpcChannelBuffer,
  413.     PRPC_MESSAGE _pRpcMessage,
  414.     DWORD *_pdwStubPhase);
  415. HRESULT STDMETHODCALLTYPE IReadEvents_DeregisterNotificationCallback_Proxy( 
  416.     IReadEvents __RPC_FAR * This,
  417.     /* [in] */ DWORD CallbackKey);
  418. void __RPC_STUB IReadEvents_DeregisterNotificationCallback_Stub(
  419.     IRpcStubBuffer *This,
  420.     IRpcChannelBuffer *_pRpcChannelBuffer,
  421.     PRPC_MESSAGE _pRpcMessage,
  422.     DWORD *_pdwStubPhase);
  423. HRESULT STDMETHODCALLTYPE IReadEvents_GetLatestQueueIndex_Proxy( 
  424.     IReadEvents __RPC_FAR * This,
  425.     /* [out] */ DWORD __RPC_FAR *pdwQueueIndex);
  426. void __RPC_STUB IReadEvents_GetLatestQueueIndex_Stub(
  427.     IRpcStubBuffer *This,
  428.     IRpcChannelBuffer *_pRpcChannelBuffer,
  429.     PRPC_MESSAGE _pRpcMessage,
  430.     DWORD *_pdwStubPhase);
  431. HRESULT STDMETHODCALLTYPE IReadEvents_GetQueueName_Proxy( 
  432.     IReadEvents __RPC_FAR * This,
  433.     /* [in] */ DWORD dwQueueIndex,
  434.     /* [out] */ char __RPC_FAR *__RPC_FAR *ppColumnName);
  435. void __RPC_STUB IReadEvents_GetQueueName_Stub(
  436.     IRpcStubBuffer *This,
  437.     IRpcChannelBuffer *_pRpcChannelBuffer,
  438.     PRPC_MESSAGE _pRpcMessage,
  439.     DWORD *_pdwStubPhase);
  440. HRESULT STDMETHODCALLTYPE IReadEvents_GetLatestEventIndex_Proxy( 
  441.     IReadEvents __RPC_FAR * This,
  442.     /* [in] */ DWORD dwQueueIndex,
  443.     /* [out] */ DWORD __RPC_FAR *pdwEventIndex);
  444. void __RPC_STUB IReadEvents_GetLatestEventIndex_Stub(
  445.     IRpcStubBuffer *This,
  446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  447.     PRPC_MESSAGE _pRpcMessage,
  448.     DWORD *_pdwStubPhase);
  449. HRESULT STDMETHODCALLTYPE IReadEvents_DoesEventPassFilter_Proxy( 
  450.     IReadEvents __RPC_FAR * This,
  451.     /* [in] */ DWORD dwQueueIndex,
  452.     /* [in] */ DWORD dwEventIndex,
  453.     /* [in] */ PEVENTFILTER pFilter,
  454.     /* [out] */ BOOL __RPC_FAR *pfDoesItPass);
  455. void __RPC_STUB IReadEvents_DoesEventPassFilter_Stub(
  456.     IRpcStubBuffer *This,
  457.     IRpcChannelBuffer *_pRpcChannelBuffer,
  458.     PRPC_MESSAGE _pRpcMessage,
  459.     DWORD *_pdwStubPhase);
  460. HRESULT STDMETHODCALLTYPE IReadEvents_CompareEvents_Proxy( 
  461.     IReadEvents __RPC_FAR * This,
  462.     /* [in] */ DWORD dwQueueIndex,
  463.     /* [in] */ DWORD dwFirstEventIndex,
  464.     /* [in] */ DWORD dwSecondEventIndex,
  465.     /* [in] */ DWORD dwColumnNumber,
  466.     /* [out] */ long __RPC_FAR *plResult);
  467. void __RPC_STUB IReadEvents_CompareEvents_Stub(
  468.     IRpcStubBuffer *This,
  469.     IRpcChannelBuffer *_pRpcChannelBuffer,
  470.     PRPC_MESSAGE _pRpcMessage,
  471.     DWORD *_pdwStubPhase);
  472. HRESULT STDMETHODCALLTYPE IReadEvents_GetEvent_Proxy( 
  473.     IReadEvents __RPC_FAR * This,
  474.     /* [in] */ DWORD dwQueueIndex,
  475.     /* [in] */ DWORD dwEventIndex,
  476.     /* [out] */ PNMEVENTDATA __RPC_FAR *ppEvent);
  477. void __RPC_STUB IReadEvents_GetEvent_Stub(
  478.     IRpcStubBuffer *This,
  479.     IRpcChannelBuffer *_pRpcChannelBuffer,
  480.     PRPC_MESSAGE _pRpcMessage,
  481.     DWORD *_pdwStubPhase);
  482. HRESULT STDMETHODCALLTYPE IReadEvents_GetFullFormattedEvent_Proxy( 
  483.     IReadEvents __RPC_FAR * This,
  484.     /* [in] */ DWORD dwQueueIndex,
  485.     /* [in] */ DWORD dwEventIndex,
  486.     /* [in] */ PCOLUMNFORMATARRAY pColumnFormatArray,
  487.     /* [out] */ PCOLUMNSTRINGTABLE __RPC_FAR *ppColumnStringTable);
  488. void __RPC_STUB IReadEvents_GetFullFormattedEvent_Stub(
  489.     IRpcStubBuffer *This,
  490.     IRpcChannelBuffer *_pRpcChannelBuffer,
  491.     PRPC_MESSAGE _pRpcMessage,
  492.     DWORD *_pdwStubPhase);
  493. HRESULT STDMETHODCALLTYPE IReadEvents_GetSparseFormattedEvent_Proxy( 
  494.     IReadEvents __RPC_FAR * This,
  495.     /* [in] */ DWORD dwQueueIndex,
  496.     /* [in] */ DWORD dwEventIndex,
  497.     /* [in] */ PCOLUMNFORMATARRAY pColumnFormatArray,
  498.     /* [out] */ PCOLUMNSTRINGTABLE __RPC_FAR *ppColumnStringTable);
  499. void __RPC_STUB IReadEvents_GetSparseFormattedEvent_Stub(
  500.     IRpcStubBuffer *This,
  501.     IRpcChannelBuffer *_pRpcChannelBuffer,
  502.     PRPC_MESSAGE _pRpcMessage,
  503.     DWORD *_pdwStubPhase);
  504. HRESULT STDMETHODCALLTYPE IReadEvents_GetColumnIndex_Proxy( 
  505.     IReadEvents __RPC_FAR * This,
  506.     /* [in] */ DWORD dwQueueIndex,
  507.     /* [in] */ char __RPC_FAR *szColumnName,
  508.     /* [out] */ DWORD __RPC_FAR *pdwColumnNumber);
  509. void __RPC_STUB IReadEvents_GetColumnIndex_Stub(
  510.     IRpcStubBuffer *This,
  511.     IRpcChannelBuffer *_pRpcChannelBuffer,
  512.     PRPC_MESSAGE _pRpcMessage,
  513.     DWORD *_pdwStubPhase);
  514. HRESULT STDMETHODCALLTYPE IReadEvents_GetColumnName_Proxy( 
  515.     IReadEvents __RPC_FAR * This,
  516.     /* [in] */ DWORD dwQueueIndex,
  517.     /* [in] */ DWORD dwColumnNumber,
  518.     /* [out] */ char __RPC_FAR *__RPC_FAR *ppColumnName);
  519. void __RPC_STUB IReadEvents_GetColumnName_Stub(
  520.     IRpcStubBuffer *This,
  521.     IRpcChannelBuffer *_pRpcChannelBuffer,
  522.     PRPC_MESSAGE _pRpcMessage,
  523.     DWORD *_pdwStubPhase);
  524. HRESULT STDMETHODCALLTYPE IReadEvents_FlushEvents_Proxy( 
  525.     IReadEvents __RPC_FAR * This,
  526.     /* [in] */ DWORD dwQueueIndex,
  527.     /* [in] */ DWORD dwNumberOfEventsToDelete);
  528. void __RPC_STUB IReadEvents_FlushEvents_Stub(
  529.     IRpcStubBuffer *This,
  530.     IRpcChannelBuffer *_pRpcChannelBuffer,
  531.     PRPC_MESSAGE _pRpcMessage,
  532.     DWORD *_pdwStubPhase);
  533. #endif  /* __IReadEvents_INTERFACE_DEFINED__ */
  534. #ifndef __EventQLib_LIBRARY_DEFINED__
  535. #define __EventQLib_LIBRARY_DEFINED__
  536. /* library EventQLib */
  537. /* [helpstring][version][uuid] */ 
  538. EXTERN_C const IID LIBID_EventQLib;
  539. EXTERN_C const CLSID CLSID_EVENTQUEUE;
  540. #ifdef __cplusplus
  541. class DECLSPEC_UUID("6E0FF466-339E-11d1-BE5B-00C04FC9E2BB")
  542. EVENTQUEUE;
  543. #endif
  544. #endif /* __EventQLib_LIBRARY_DEFINED__ */
  545. /* Additional Prototypes for ALL interfaces */
  546. /* end of Additional Prototypes */
  547. #ifdef __cplusplus
  548. }
  549. #endif
  550. #endif