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.

195 lines
5.4 KiB

  1. // Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 5.01.0164 */
  4. /* at Sat Oct 23 12:28:23 1999
  5. */
  6. /* Compiler settings for fil_data.idl:
  7. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  8. error checks: allocation ref bounds_check enum stub_data
  9. */
  10. //@@MIDL_FILE_HEADING( )
  11. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  12. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  13. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  14. #endif
  15. #include "rpc.h"
  16. #include "rpcndr.h"
  17. #ifndef __RPCNDR_H_VERSION__
  18. #error this stub requires an updated version of <rpcndr.h>
  19. #endif // __RPCNDR_H_VERSION__
  20. #ifndef COM_NO_WINDOWS_H
  21. #include "windows.h"
  22. #include "ole2.h"
  23. #endif /*COM_NO_WINDOWS_H*/
  24. #ifndef __fil_data_h__
  25. #define __fil_data_h__
  26. #ifdef __cplusplus
  27. extern "C"{
  28. #endif
  29. /* Forward Declarations */
  30. #ifndef __IAMFilterData_FWD_DEFINED__
  31. #define __IAMFilterData_FWD_DEFINED__
  32. typedef interface IAMFilterData IAMFilterData;
  33. #endif /* __IAMFilterData_FWD_DEFINED__ */
  34. /* header files for imported files */
  35. #include "unknwn.h"
  36. #include "strmif.h"
  37. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  38. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  39. /* interface __MIDL_itf_fil_data_0000 */
  40. /* [local] */
  41. extern RPC_IF_HANDLE __MIDL_itf_fil_data_0000_v0_0_c_ifspec;
  42. extern RPC_IF_HANDLE __MIDL_itf_fil_data_0000_v0_0_s_ifspec;
  43. #ifndef __IAMFilterData_INTERFACE_DEFINED__
  44. #define __IAMFilterData_INTERFACE_DEFINED__
  45. /* interface IAMFilterData */
  46. /* [unique][uuid][object] */
  47. EXTERN_C const IID IID_IAMFilterData;
  48. #if defined(__cplusplus) && !defined(CINTERFACE)
  49. MIDL_INTERFACE("97f7c4d4-547b-4a5f-8332-536430ad2e4d")
  50. IAMFilterData : public IUnknown
  51. {
  52. public:
  53. virtual HRESULT STDMETHODCALLTYPE ParseFilterData(
  54. /* [size_is][in] */ BYTE __RPC_FAR *rgbFilterData,
  55. /* [in] */ ULONG cb,
  56. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *prgbRegFilter2) = 0;
  57. virtual HRESULT STDMETHODCALLTYPE CreateFilterData(
  58. /* [in] */ REGFILTER2 __RPC_FAR *prf2,
  59. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *prgbFilterData,
  60. /* [out] */ ULONG __RPC_FAR *pcb) = 0;
  61. };
  62. #else /* C style interface */
  63. typedef struct IAMFilterDataVtbl
  64. {
  65. BEGIN_INTERFACE
  66. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  67. IAMFilterData __RPC_FAR * This,
  68. /* [in] */ REFIID riid,
  69. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  70. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  71. IAMFilterData __RPC_FAR * This);
  72. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  73. IAMFilterData __RPC_FAR * This);
  74. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ParseFilterData )(
  75. IAMFilterData __RPC_FAR * This,
  76. /* [size_is][in] */ BYTE __RPC_FAR *rgbFilterData,
  77. /* [in] */ ULONG cb,
  78. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *prgbRegFilter2);
  79. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateFilterData )(
  80. IAMFilterData __RPC_FAR * This,
  81. /* [in] */ REGFILTER2 __RPC_FAR *prf2,
  82. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *prgbFilterData,
  83. /* [out] */ ULONG __RPC_FAR *pcb);
  84. END_INTERFACE
  85. } IAMFilterDataVtbl;
  86. interface IAMFilterData
  87. {
  88. CONST_VTBL struct IAMFilterDataVtbl __RPC_FAR *lpVtbl;
  89. };
  90. #ifdef COBJMACROS
  91. #define IAMFilterData_QueryInterface(This,riid,ppvObject) \
  92. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  93. #define IAMFilterData_AddRef(This) \
  94. (This)->lpVtbl -> AddRef(This)
  95. #define IAMFilterData_Release(This) \
  96. (This)->lpVtbl -> Release(This)
  97. #define IAMFilterData_ParseFilterData(This,rgbFilterData,cb,prgbRegFilter2) \
  98. (This)->lpVtbl -> ParseFilterData(This,rgbFilterData,cb,prgbRegFilter2)
  99. #define IAMFilterData_CreateFilterData(This,prf2,prgbFilterData,pcb) \
  100. (This)->lpVtbl -> CreateFilterData(This,prf2,prgbFilterData,pcb)
  101. #endif /* COBJMACROS */
  102. #endif /* C style interface */
  103. HRESULT STDMETHODCALLTYPE IAMFilterData_ParseFilterData_Proxy(
  104. IAMFilterData __RPC_FAR * This,
  105. /* [size_is][in] */ BYTE __RPC_FAR *rgbFilterData,
  106. /* [in] */ ULONG cb,
  107. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *prgbRegFilter2);
  108. void __RPC_STUB IAMFilterData_ParseFilterData_Stub(
  109. IRpcStubBuffer *This,
  110. IRpcChannelBuffer *_pRpcChannelBuffer,
  111. PRPC_MESSAGE _pRpcMessage,
  112. DWORD *_pdwStubPhase);
  113. HRESULT STDMETHODCALLTYPE IAMFilterData_CreateFilterData_Proxy(
  114. IAMFilterData __RPC_FAR * This,
  115. /* [in] */ REGFILTER2 __RPC_FAR *prf2,
  116. /* [out] */ BYTE __RPC_FAR *__RPC_FAR *prgbFilterData,
  117. /* [out] */ ULONG __RPC_FAR *pcb);
  118. void __RPC_STUB IAMFilterData_CreateFilterData_Stub(
  119. IRpcStubBuffer *This,
  120. IRpcChannelBuffer *_pRpcChannelBuffer,
  121. PRPC_MESSAGE _pRpcMessage,
  122. DWORD *_pdwStubPhase);
  123. #endif /* __IAMFilterData_INTERFACE_DEFINED__ */
  124. /* Additional Prototypes for ALL interfaces */
  125. /* end of Additional Prototypes */
  126. #ifdef __cplusplus
  127. }
  128. #endif
  129. #endif