Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
5.0 KiB

  1. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  2. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  3. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  4. #endif
  5. #include "rpc.h"
  6. #include "rpcndr.h"
  7. #ifndef __RPCNDR_H_VERSION__
  8. #error this stub requires an updated version of <rpcndr.h>
  9. #endif // __RPCNDR_H_VERSION__
  10. #ifndef COM_NO_WINDOWS_H
  11. #include "windows.h"
  12. #include "ole2.h"
  13. #endif /*COM_NO_WINDOWS_H*/
  14. #ifndef __isearch_h__
  15. #define __isearch_h__
  16. #ifndef __ISearchQueryHits_FWD_DEFINED__
  17. #define __ISearchQueryHits_FWD_DEFINED__
  18. typedef interface ISearchQueryHits ISearchQueryHits;
  19. #endif /* __ISearchQueryHits_FWD_DEFINED__ */
  20. #ifndef __ISearchQueryHits_INTERFACE_DEFINED__
  21. #define __ISearchQueryHits_INTERFACE_DEFINED__
  22. /* interface ISearchQueryHits */
  23. /* [unique][uuid][object][local] */
  24. EXTERN_C const IID IID_ISearchQueryHits;
  25. #if defined(__cplusplus) && !defined(CINTERFACE)
  26. MIDL_INTERFACE("ed8ce7e0-106c-11ce-84e2-00aa004b9986")
  27. ISearchQueryHits : public IUnknown
  28. {
  29. public:
  30. virtual SCODE STDMETHODCALLTYPE Init(
  31. /* [in] */ IFilter __RPC_FAR *pflt,
  32. /* [in] */ ULONG ulFlags) = 0;
  33. virtual SCODE STDMETHODCALLTYPE NextHitMoniker(
  34. /* [out][in] */ ULONG __RPC_FAR *pcMnk,
  35. /* [size_is][out] */ IMoniker __RPC_FAR *__RPC_FAR *__RPC_FAR *papMnk) = 0;
  36. virtual SCODE STDMETHODCALLTYPE NextHitOffset(
  37. /* [out][in] */ ULONG __RPC_FAR *pcRegion,
  38. /* [size_is][out] */ FILTERREGION __RPC_FAR *__RPC_FAR *paRegion) = 0;
  39. };
  40. #else /* C style interface */
  41. typedef struct ISearchQueryHitsVtbl
  42. {
  43. BEGIN_INTERFACE
  44. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  45. ISearchQueryHits __RPC_FAR * This,
  46. /* [in] */ REFIID riid,
  47. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  48. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  49. ISearchQueryHits __RPC_FAR * This);
  50. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  51. ISearchQueryHits __RPC_FAR * This);
  52. SCODE ( STDMETHODCALLTYPE __RPC_FAR *Init )(
  53. ISearchQueryHits __RPC_FAR * This,
  54. /* [in] */ IFilter __RPC_FAR *pflt,
  55. /* [in] */ ULONG ulFlags);
  56. SCODE ( STDMETHODCALLTYPE __RPC_FAR *NextHitMoniker )(
  57. ISearchQueryHits __RPC_FAR * This,
  58. /* [out][in] */ ULONG __RPC_FAR *pcMnk,
  59. /* [size_is][out] */ IMoniker __RPC_FAR *__RPC_FAR *__RPC_FAR *papMnk);
  60. SCODE ( STDMETHODCALLTYPE __RPC_FAR *NextHitOffset )(
  61. ISearchQueryHits __RPC_FAR * This,
  62. /* [out][in] */ ULONG __RPC_FAR *pcRegion,
  63. /* [size_is][out] */ FILTERREGION __RPC_FAR *__RPC_FAR *paRegion);
  64. END_INTERFACE
  65. } ISearchQueryHitsVtbl;
  66. interface ISearchQueryHits
  67. {
  68. CONST_VTBL struct ISearchQueryHitsVtbl __RPC_FAR *lpVtbl;
  69. };
  70. #ifdef COBJMACROS
  71. #define ISearchQueryHits_QueryInterface(This,riid,ppvObject) \
  72. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  73. #define ISearchQueryHits_AddRef(This) \
  74. (This)->lpVtbl -> AddRef(This)
  75. #define ISearchQueryHits_Release(This) \
  76. (This)->lpVtbl -> Release(This)
  77. #define ISearchQueryHits_Init(This,pflt,ulFlags) \
  78. (This)->lpVtbl -> Init(This,pflt,ulFlags)
  79. #define ISearchQueryHits_NextHitMoniker(This,pcMnk,papMnk) \
  80. (This)->lpVtbl -> NextHitMoniker(This,pcMnk,papMnk)
  81. #define ISearchQueryHits_NextHitOffset(This,pcRegion,paRegion) \
  82. (This)->lpVtbl -> NextHitOffset(This,pcRegion,paRegion)
  83. #endif /* COBJMACROS */
  84. #endif /* C style interface */
  85. SCODE STDMETHODCALLTYPE ISearchQueryHits_Init_Proxy(
  86. ISearchQueryHits __RPC_FAR * This,
  87. /* [in] */ IFilter __RPC_FAR *pflt,
  88. /* [in] */ ULONG ulFlags);
  89. void __RPC_STUB ISearchQueryHits_Init_Stub(
  90. IRpcStubBuffer *This,
  91. IRpcChannelBuffer *_pRpcChannelBuffer,
  92. PRPC_MESSAGE _pRpcMessage,
  93. DWORD *_pdwStubPhase);
  94. SCODE STDMETHODCALLTYPE ISearchQueryHits_NextHitMoniker_Proxy(
  95. ISearchQueryHits __RPC_FAR * This,
  96. /* [out][in] */ ULONG __RPC_FAR *pcMnk,
  97. /* [size_is][out] */ IMoniker __RPC_FAR *__RPC_FAR *__RPC_FAR *papMnk);
  98. void __RPC_STUB ISearchQueryHits_NextHitMoniker_Stub(
  99. IRpcStubBuffer *This,
  100. IRpcChannelBuffer *_pRpcChannelBuffer,
  101. PRPC_MESSAGE _pRpcMessage,
  102. DWORD *_pdwStubPhase);
  103. SCODE STDMETHODCALLTYPE ISearchQueryHits_NextHitOffset_Proxy(
  104. ISearchQueryHits __RPC_FAR * This,
  105. /* [out][in] */ ULONG __RPC_FAR *pcRegion,
  106. /* [size_is][out] */ FILTERREGION __RPC_FAR *__RPC_FAR *paRegion);
  107. void __RPC_STUB ISearchQueryHits_NextHitOffset_Stub(
  108. IRpcStubBuffer *This,
  109. IRpcChannelBuffer *_pRpcChannelBuffer,
  110. PRPC_MESSAGE _pRpcMessage,
  111. DWORD *_pdwStubPhase);
  112. #endif /* __ISearchQueryHits_INTERFACE_DEFINED__ */
  113. #endif