home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / FILTER.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  9.8 KB  |  368 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.03.0110 */
  6. /* at Thu Sep 11 10:57:11 1997
  7.  */
  8. /* Compiler settings for filter.idl:
  9.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13.  
  14.  
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  18. #endif
  19.  
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22.  
  23. #ifndef __RPCNDR_H_VERSION__
  24. #error this stub requires an updated version of <rpcndr.h>
  25. #endif // __RPCNDR_H_VERSION__
  26.  
  27. #ifndef COM_NO_WINDOWS_H
  28. #include "windows.h"
  29. #include "ole2.h"
  30. #endif /*COM_NO_WINDOWS_H*/
  31.  
  32. #ifndef __filter_h__
  33. #define __filter_h__
  34.  
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif 
  38.  
  39. /* Forward Declarations */ 
  40.  
  41. #ifndef __IFilter_FWD_DEFINED__
  42. #define __IFilter_FWD_DEFINED__
  43. typedef interface IFilter IFilter;
  44. #endif     /* __IFilter_FWD_DEFINED__ */
  45.  
  46.  
  47. /* header files for imported files */
  48. #include "unknwn.h"
  49. #include "objidl.h"
  50.  
  51. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  52. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  53.  
  54. /****************************************
  55.  * Generated header for interface: __MIDL_itf_filter_0000
  56.  * at Thu Sep 11 10:57:11 1997
  57.  * using MIDL 3.03.0110
  58.  ****************************************/
  59. /* [local] */ 
  60.  
  61.  
  62. //+-------------------------------------------------------------------------
  63. //
  64. //  Microsoft Windows
  65. //  Copyright (C) Microsoft Corporation, 1993-1997.
  66. //
  67. //--------------------------------------------------------------------------
  68. #if !defined(_TAGFULLPROPSPEC_DEFINED_)
  69. #define _TAGFULLPROPSPEC_DEFINED_
  70. typedef struct  tagFULLPROPSPEC
  71.     {
  72.     GUID guidPropSet;
  73.     PROPSPEC psProperty;
  74.     }    FULLPROPSPEC;
  75.  
  76. #endif // #if !defined(_TAGFULLPROPSPEC_DEFINED_)
  77.  
  78.  
  79. extern RPC_IF_HANDLE __MIDL_itf_filter_0000_v0_0_c_ifspec;
  80. extern RPC_IF_HANDLE __MIDL_itf_filter_0000_v0_0_s_ifspec;
  81.  
  82. #ifndef __IFilter_INTERFACE_DEFINED__
  83. #define __IFilter_INTERFACE_DEFINED__
  84.  
  85. /****************************************
  86.  * Generated header for interface: IFilter
  87.  * at Thu Sep 11 10:57:11 1997
  88.  * using MIDL 3.03.0110
  89.  ****************************************/
  90. /* [unique][uuid][object][local] */ 
  91.  
  92.  
  93. #ifndef _tagIFILTER_INIT_DEFINED
  94. typedef 
  95. enum tagIFILTER_INIT
  96.     {    IFILTER_INIT_CANON_PARAGRAPHS    = 1,
  97.     IFILTER_INIT_HARD_LINE_BREAKS    = 2,
  98.     IFILTER_INIT_CANON_HYPHENS    = 4,
  99.     IFILTER_INIT_CANON_SPACES    = 8,
  100.     IFILTER_INIT_APPLY_INDEX_ATTRIBUTES    = 16,
  101.     IFILTER_INIT_APPLY_OTHER_ATTRIBUTES    = 32,
  102.     IFILTER_INIT_INDEXING_ONLY    = 64,
  103.     IFILTER_INIT_SEARCH_LINKS    = 128
  104.     }    IFILTER_INIT;
  105.  
  106. #define _tagIFILTER_INIT_DEFINED
  107. #define _IFILTER_INIT_DEFINED
  108. #endif
  109. #ifndef _tagIFILTER_FLAGS_DEFINED
  110. typedef 
  111. enum tagIFILTER_FLAGS
  112.     {    IFILTER_FLAGS_OLE_PROPERTIES    = 1
  113.     }    IFILTER_FLAGS;
  114.  
  115. #define _tagIFILTER_FLAGS_DEFINED
  116. #define _IFILTER_FLAGS_DEFINED
  117. #endif
  118. #ifndef _tagCHUNKSTATE_DEFINED
  119. typedef 
  120. enum tagCHUNKSTATE
  121.     {    CHUNK_TEXT    = 0x1,
  122.     CHUNK_VALUE    = 0x2
  123.     }    CHUNKSTATE;
  124.  
  125. #define _tagCHUNKSTATE_DEFINED
  126. #define _CHUNKSTATE_DEFINED
  127. #endif
  128. #ifndef _tagCHUNK_BREAKTYPE_DEFINED
  129. typedef 
  130. enum tagCHUNK_BREAKTYPE
  131.     {    CHUNK_NO_BREAK    = 0,
  132.     CHUNK_EOW    = 1,
  133.     CHUNK_EOS    = 2,
  134.     CHUNK_EOP    = 3,
  135.     CHUNK_EOC    = 4
  136.     }    CHUNK_BREAKTYPE;
  137.  
  138. #define _tagCHUNK_BREAKTYPE_DEFINED
  139. #define _CHUNK_BREAKTYPE_DEFINED
  140. #endif
  141. #ifndef _tagFILTERREGION_DEFINED
  142. typedef struct  tagFILTERREGION
  143.     {
  144.     ULONG idChunk;
  145.     ULONG cwcStart;
  146.     ULONG cwcExtent;
  147.     }    FILTERREGION;
  148.  
  149. #define _tagFILTERREGION_DEFINED
  150. #define _FILTERREGION_DEFINED
  151. #endif
  152. #ifndef _tagSTAT_CHUNK_DEFINED
  153. typedef struct  tagSTAT_CHUNK
  154.     {
  155.     ULONG idChunk;
  156.     CHUNK_BREAKTYPE breakType;
  157.     CHUNKSTATE flags;
  158.     LCID locale;
  159.     FULLPROPSPEC attribute;
  160.     ULONG idChunkSource;
  161.     ULONG cwcStartSource;
  162.     ULONG cwcLenSource;
  163.     }    STAT_CHUNK;
  164.  
  165. #define _tagSTAT_CHUNK_DEFINED
  166. #define _STAT_CHUNK_DEFINED
  167. #endif
  168.  
  169. EXTERN_C const IID IID_IFilter;
  170.  
  171. #if defined(__cplusplus) && !defined(CINTERFACE)
  172.     
  173.     MIDL_INTERFACE("89BCB740-6119-101A-BCB7-00DD010655AF")
  174.     IFilter : public IUnknown
  175.     {
  176.     public:
  177.         virtual SCODE STDMETHODCALLTYPE Init( 
  178.             /* [in] */ ULONG grfFlags,
  179.             /* [in] */ ULONG cAttributes,
  180.             /* [size_is][in] */ const FULLPROPSPEC __RPC_FAR *aAttributes,
  181.             /* [out] */ ULONG __RPC_FAR *pFlags) = 0;
  182.         
  183.         virtual SCODE STDMETHODCALLTYPE GetChunk( 
  184.             /* [out] */ STAT_CHUNK __RPC_FAR *pStat) = 0;
  185.         
  186.         virtual SCODE STDMETHODCALLTYPE GetText( 
  187.             /* [out][in] */ ULONG __RPC_FAR *pcwcBuffer,
  188.             /* [size_is][out] */ WCHAR __RPC_FAR *awcBuffer) = 0;
  189.         
  190.         virtual SCODE STDMETHODCALLTYPE GetValue( 
  191.             /* [out] */ PROPVARIANT __RPC_FAR *__RPC_FAR *ppPropValue) = 0;
  192.         
  193.         virtual SCODE STDMETHODCALLTYPE BindRegion( 
  194.             /* [in] */ FILTERREGION origPos,
  195.             /* [in] */ REFIID riid,
  196.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppunk) = 0;
  197.         
  198.     };
  199.     
  200. #else     /* C style interface */
  201.  
  202.     typedef struct IFilterVtbl
  203.     {
  204.         BEGIN_INTERFACE
  205.         
  206.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  207.             IFilter __RPC_FAR * This,
  208.             /* [in] */ REFIID riid,
  209.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  210.         
  211.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  212.             IFilter __RPC_FAR * This);
  213.         
  214.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  215.             IFilter __RPC_FAR * This);
  216.         
  217.         SCODE ( STDMETHODCALLTYPE __RPC_FAR *Init )( 
  218.             IFilter __RPC_FAR * This,
  219.             /* [in] */ ULONG grfFlags,
  220.             /* [in] */ ULONG cAttributes,
  221.             /* [size_is][in] */ const FULLPROPSPEC __RPC_FAR *aAttributes,
  222.             /* [out] */ ULONG __RPC_FAR *pFlags);
  223.         
  224.         SCODE ( STDMETHODCALLTYPE __RPC_FAR *GetChunk )( 
  225.             IFilter __RPC_FAR * This,
  226.             /* [out] */ STAT_CHUNK __RPC_FAR *pStat);
  227.         
  228.         SCODE ( STDMETHODCALLTYPE __RPC_FAR *GetText )( 
  229.             IFilter __RPC_FAR * This,
  230.             /* [out][in] */ ULONG __RPC_FAR *pcwcBuffer,
  231.             /* [size_is][out] */ WCHAR __RPC_FAR *awcBuffer);
  232.         
  233.         SCODE ( STDMETHODCALLTYPE __RPC_FAR *GetValue )( 
  234.             IFilter __RPC_FAR * This,
  235.             /* [out] */ PROPVARIANT __RPC_FAR *__RPC_FAR *ppPropValue);
  236.         
  237.         SCODE ( STDMETHODCALLTYPE __RPC_FAR *BindRegion )( 
  238.             IFilter __RPC_FAR * This,
  239.             /* [in] */ FILTERREGION origPos,
  240.             /* [in] */ REFIID riid,
  241.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppunk);
  242.         
  243.         END_INTERFACE
  244.     } IFilterVtbl;
  245.  
  246.     interface IFilter
  247.     {
  248.         CONST_VTBL struct IFilterVtbl __RPC_FAR *lpVtbl;
  249.     };
  250.  
  251.     
  252.  
  253. #ifdef COBJMACROS
  254.  
  255.  
  256. #define IFilter_QueryInterface(This,riid,ppvObject)    \
  257.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  258.  
  259. #define IFilter_AddRef(This)    \
  260.     (This)->lpVtbl -> AddRef(This)
  261.  
  262. #define IFilter_Release(This)    \
  263.     (This)->lpVtbl -> Release(This)
  264.  
  265.  
  266. #define IFilter_Init(This,grfFlags,cAttributes,aAttributes,pFlags)    \
  267.     (This)->lpVtbl -> Init(This,grfFlags,cAttributes,aAttributes,pFlags)
  268.  
  269. #define IFilter_GetChunk(This,pStat)    \
  270.     (This)->lpVtbl -> GetChunk(This,pStat)
  271.  
  272. #define IFilter_GetText(This,pcwcBuffer,awcBuffer)    \
  273.     (This)->lpVtbl -> GetText(This,pcwcBuffer,awcBuffer)
  274.  
  275. #define IFilter_GetValue(This,ppPropValue)    \
  276.     (This)->lpVtbl -> GetValue(This,ppPropValue)
  277.  
  278. #define IFilter_BindRegion(This,origPos,riid,ppunk)    \
  279.     (This)->lpVtbl -> BindRegion(This,origPos,riid,ppunk)
  280.  
  281. #endif /* COBJMACROS */
  282.  
  283.  
  284. #endif     /* C style interface */
  285.  
  286.  
  287.  
  288. SCODE STDMETHODCALLTYPE IFilter_Init_Proxy( 
  289.     IFilter __RPC_FAR * This,
  290.     /* [in] */ ULONG grfFlags,
  291.     /* [in] */ ULONG cAttributes,
  292.     /* [size_is][in] */ const FULLPROPSPEC __RPC_FAR *aAttributes,
  293.     /* [out] */ ULONG __RPC_FAR *pFlags);
  294.  
  295.  
  296. void __RPC_STUB IFilter_Init_Stub(
  297.     IRpcStubBuffer *This,
  298.     IRpcChannelBuffer *_pRpcChannelBuffer,
  299.     PRPC_MESSAGE _pRpcMessage,
  300.     DWORD *_pdwStubPhase);
  301.  
  302.  
  303. SCODE STDMETHODCALLTYPE IFilter_GetChunk_Proxy( 
  304.     IFilter __RPC_FAR * This,
  305.     /* [out] */ STAT_CHUNK __RPC_FAR *pStat);
  306.  
  307.  
  308. void __RPC_STUB IFilter_GetChunk_Stub(
  309.     IRpcStubBuffer *This,
  310.     IRpcChannelBuffer *_pRpcChannelBuffer,
  311.     PRPC_MESSAGE _pRpcMessage,
  312.     DWORD *_pdwStubPhase);
  313.  
  314.  
  315. SCODE STDMETHODCALLTYPE IFilter_GetText_Proxy( 
  316.     IFilter __RPC_FAR * This,
  317.     /* [out][in] */ ULONG __RPC_FAR *pcwcBuffer,
  318.     /* [size_is][out] */ WCHAR __RPC_FAR *awcBuffer);
  319.  
  320.  
  321. void __RPC_STUB IFilter_GetText_Stub(
  322.     IRpcStubBuffer *This,
  323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  324.     PRPC_MESSAGE _pRpcMessage,
  325.     DWORD *_pdwStubPhase);
  326.  
  327.  
  328. SCODE STDMETHODCALLTYPE IFilter_GetValue_Proxy( 
  329.     IFilter __RPC_FAR * This,
  330.     /* [out] */ PROPVARIANT __RPC_FAR *__RPC_FAR *ppPropValue);
  331.  
  332.  
  333. void __RPC_STUB IFilter_GetValue_Stub(
  334.     IRpcStubBuffer *This,
  335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  336.     PRPC_MESSAGE _pRpcMessage,
  337.     DWORD *_pdwStubPhase);
  338.  
  339.  
  340. SCODE STDMETHODCALLTYPE IFilter_BindRegion_Proxy( 
  341.     IFilter __RPC_FAR * This,
  342.     /* [in] */ FILTERREGION origPos,
  343.     /* [in] */ REFIID riid,
  344.     /* [out] */ void __RPC_FAR *__RPC_FAR *ppunk);
  345.  
  346.  
  347. void __RPC_STUB IFilter_BindRegion_Stub(
  348.     IRpcStubBuffer *This,
  349.     IRpcChannelBuffer *_pRpcChannelBuffer,
  350.     PRPC_MESSAGE _pRpcMessage,
  351.     DWORD *_pdwStubPhase);
  352.  
  353.  
  354.  
  355. #endif     /* __IFilter_INTERFACE_DEFINED__ */
  356.  
  357.  
  358. /* Additional Prototypes for ALL interfaces */
  359.  
  360. /* end of Additional Prototypes */
  361.  
  362. #ifdef __cplusplus
  363. }
  364. #endif
  365.  
  366. #endif
  367. #pragma option pop /*P_O_Pop*/
  368.