home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / triedit.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  12.8 KB  |  415 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. /* Microsoft Corporation Copyright 1999 */
  3. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  4.  
  5.  
  6. /* File created by MIDL compiler version 3.03.0110 */
  7. /* at Tue Jun 30 09:29:52 1998
  8.  */
  9. /* Compiler settings for triedit.idl:
  10.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  11.     error checks: none
  12. */
  13. //@@MIDL_FILE_HEADING(  )
  14.  
  15.  
  16. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  17. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  18. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  19. #endif
  20.  
  21. #include "rpc.h"
  22. #include "rpcndr.h"
  23.  
  24. #ifndef __RPCNDR_H_VERSION__
  25. #error this stub requires an updated version of <rpcndr.h>
  26. #endif // __RPCNDR_H_VERSION__
  27.  
  28. #ifndef COM_NO_WINDOWS_H
  29. #include "windows.h"
  30. #include "ole2.h"
  31. #endif /*COM_NO_WINDOWS_H*/
  32.  
  33. #ifndef __triedit_h__
  34. #define __triedit_h__
  35.  
  36. #ifdef __cplusplus
  37. extern "C"{
  38. #endif 
  39.  
  40. /* Forward Declarations */ 
  41.  
  42. #ifndef __ITriEditDocument_FWD_DEFINED__
  43. #define __ITriEditDocument_FWD_DEFINED__
  44. typedef interface ITriEditDocument ITriEditDocument;
  45. #endif     /* __ITriEditDocument_FWD_DEFINED__ */
  46.  
  47.  
  48. #ifndef __TriEditDocument_FWD_DEFINED__
  49. #define __TriEditDocument_FWD_DEFINED__
  50.  
  51. #ifdef __cplusplus
  52. typedef class TriEditDocument TriEditDocument;
  53. #else
  54. typedef struct TriEditDocument TriEditDocument;
  55. #endif /* __cplusplus */
  56.  
  57. #endif     /* __TriEditDocument_FWD_DEFINED__ */
  58.  
  59.  
  60. #ifndef __IDocHostDragDropHandler_FWD_DEFINED__
  61. #define __IDocHostDragDropHandler_FWD_DEFINED__
  62. typedef interface IDocHostDragDropHandler IDocHostDragDropHandler;
  63. #endif     /* __IDocHostDragDropHandler_FWD_DEFINED__ */
  64.  
  65.  
  66. /* header files for imported files */
  67. #include "oaidl.h"
  68. #include "ocidl.h"
  69.  
  70. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  71. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  72.  
  73. /****************************************
  74.  * Generated header for interface: __MIDL_itf_triedit_0000
  75.  * at Tue Jun 30 09:29:52 1998
  76.  * using MIDL 3.03.0110
  77.  ****************************************/
  78. /* [local] */ 
  79.  
  80.  
  81. // dwFlags to indicate what needs to be filtered
  82. #define dwFilterDefaults        0x00000000
  83. #define dwFilterNone            0x00000001
  84. #define dwFilterDTCs            0x00000002
  85. #define dwFilterDTCsWithoutMetaTags    0x00000004
  86. #define dwFilterServerSideScripts    0x00000008
  87. #define dwPreserveSourceCode        0x00000010 // whitespace & attrib order
  88. #define dwFilterSourceCode        0x00000020 // set by control for FilterSourceCode Method
  89. #define dwFilterMultiByteStream    0x10000000
  90. #define dwFilterUsePstmNew           0x20000000
  91.  
  92. #define E_FILTER_FRAMESET        0x80100001
  93. #define E_FILTER_SERVERSCRIPT    0x80100002
  94. #define E_FILTER_MULTIPLETAGS    0x80100004
  95. #define E_FILTER_SCRIPTLISTING    0x80100008
  96. #define E_FILTER_SCRIPTLABEL        0x80100010
  97. #define E_FILTER_SCRIPTTEXTAREA    0x80100020
  98. #define E_FILTER_SCRIPTSELECT    0x80100040
  99.  
  100.  
  101. extern RPC_IF_HANDLE __MIDL_itf_triedit_0000_v0_0_c_ifspec;
  102. extern RPC_IF_HANDLE __MIDL_itf_triedit_0000_v0_0_s_ifspec;
  103.  
  104. #ifndef __ITriEditDocument_INTERFACE_DEFINED__
  105. #define __ITriEditDocument_INTERFACE_DEFINED__
  106.  
  107. /****************************************
  108.  * Generated header for interface: ITriEditDocument
  109.  * at Tue Jun 30 09:29:52 1998
  110.  * using MIDL 3.03.0110
  111.  ****************************************/
  112. /* [unique][helpstring][dual][uuid][object] */ 
  113.  
  114.  
  115.  
  116. EXTERN_C const IID IID_ITriEditDocument;
  117.  
  118. #if defined(__cplusplus) && !defined(CINTERFACE)
  119.     
  120.     MIDL_INTERFACE("438DA5DF-F171-11D0-984E-0000F80270F8")
  121.     ITriEditDocument : public IDispatch
  122.     {
  123.     public:
  124.         virtual HRESULT STDMETHODCALLTYPE FilterIn( 
  125.             /* [in] */ IUnknown __RPC_FAR *pStmOld,
  126.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStmNew,
  127.             /* [in] */ DWORD dwFlags,
  128.             /* [in] */ BSTR bstrBaseURL) = 0;
  129.         
  130.         virtual HRESULT STDMETHODCALLTYPE FilterOut( 
  131.             /* [in] */ IUnknown __RPC_FAR *pStmOld,
  132.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStmNew,
  133.             /* [in] */ DWORD dwFlags,
  134.             /* [in] */ BSTR bstrBaseURL) = 0;
  135.         
  136.     };
  137.     
  138. #else     /* C style interface */
  139.  
  140.     typedef struct ITriEditDocumentVtbl
  141.     {
  142.         BEGIN_INTERFACE
  143.         
  144.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  145.             ITriEditDocument __RPC_FAR * This,
  146.             /* [in] */ REFIID riid,
  147.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  148.         
  149.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  150.             ITriEditDocument __RPC_FAR * This);
  151.         
  152.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  153.             ITriEditDocument __RPC_FAR * This);
  154.         
  155.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  156.             ITriEditDocument __RPC_FAR * This,
  157.             /* [out] */ UINT __RPC_FAR *pctinfo);
  158.         
  159.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  160.             ITriEditDocument __RPC_FAR * This,
  161.             /* [in] */ UINT iTInfo,
  162.             /* [in] */ LCID lcid,
  163.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  164.         
  165.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  166.             ITriEditDocument __RPC_FAR * This,
  167.             /* [in] */ REFIID riid,
  168.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  169.             /* [in] */ UINT cNames,
  170.             /* [in] */ LCID lcid,
  171.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  172.         
  173.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  174.             ITriEditDocument __RPC_FAR * This,
  175.             /* [in] */ DISPID dispIdMember,
  176.             /* [in] */ REFIID riid,
  177.             /* [in] */ LCID lcid,
  178.             /* [in] */ WORD wFlags,
  179.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  180.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  181.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  182.             /* [out] */ UINT __RPC_FAR *puArgErr);
  183.         
  184.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FilterIn )( 
  185.             ITriEditDocument __RPC_FAR * This,
  186.             /* [in] */ IUnknown __RPC_FAR *pStmOld,
  187.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStmNew,
  188.             /* [in] */ DWORD dwFlags,
  189.             /* [in] */ BSTR bstrBaseURL);
  190.         
  191.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FilterOut )( 
  192.             ITriEditDocument __RPC_FAR * This,
  193.             /* [in] */ IUnknown __RPC_FAR *pStmOld,
  194.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStmNew,
  195.             /* [in] */ DWORD dwFlags,
  196.             /* [in] */ BSTR bstrBaseURL);
  197.         
  198.         END_INTERFACE
  199.     } ITriEditDocumentVtbl;
  200.  
  201.     interface ITriEditDocument
  202.     {
  203.         CONST_VTBL struct ITriEditDocumentVtbl __RPC_FAR *lpVtbl;
  204.     };
  205.  
  206.     
  207.  
  208. #ifdef COBJMACROS
  209.  
  210.  
  211. #define ITriEditDocument_QueryInterface(This,riid,ppvObject)    \
  212.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  213.  
  214. #define ITriEditDocument_AddRef(This)    \
  215.     (This)->lpVtbl -> AddRef(This)
  216.  
  217. #define ITriEditDocument_Release(This)    \
  218.     (This)->lpVtbl -> Release(This)
  219.  
  220.  
  221. #define ITriEditDocument_GetTypeInfoCount(This,pctinfo)    \
  222.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  223.  
  224. #define ITriEditDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  225.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  226.  
  227. #define ITriEditDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  228.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  229.  
  230. #define ITriEditDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  231.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  232.  
  233.  
  234. #define ITriEditDocument_FilterIn(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)    \
  235.     (This)->lpVtbl -> FilterIn(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)
  236.  
  237. #define ITriEditDocument_FilterOut(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)    \
  238.     (This)->lpVtbl -> FilterOut(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)
  239.  
  240. #endif /* COBJMACROS */
  241.  
  242.  
  243. #endif     /* C style interface */
  244.  
  245.  
  246.  
  247. HRESULT STDMETHODCALLTYPE ITriEditDocument_FilterIn_Proxy( 
  248.     ITriEditDocument __RPC_FAR * This,
  249.     /* [in] */ IUnknown __RPC_FAR *pStmOld,
  250.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStmNew,
  251.     /* [in] */ DWORD dwFlags,
  252.     /* [in] */ BSTR bstrBaseURL);
  253.  
  254.  
  255. void __RPC_STUB ITriEditDocument_FilterIn_Stub(
  256.     IRpcStubBuffer *This,
  257.     IRpcChannelBuffer *_pRpcChannelBuffer,
  258.     PRPC_MESSAGE _pRpcMessage,
  259.     DWORD *_pdwStubPhase);
  260.  
  261.  
  262. HRESULT STDMETHODCALLTYPE ITriEditDocument_FilterOut_Proxy( 
  263.     ITriEditDocument __RPC_FAR * This,
  264.     /* [in] */ IUnknown __RPC_FAR *pStmOld,
  265.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppStmNew,
  266.     /* [in] */ DWORD dwFlags,
  267.     /* [in] */ BSTR bstrBaseURL);
  268.  
  269.  
  270. void __RPC_STUB ITriEditDocument_FilterOut_Stub(
  271.     IRpcStubBuffer *This,
  272.     IRpcChannelBuffer *_pRpcChannelBuffer,
  273.     PRPC_MESSAGE _pRpcMessage,
  274.     DWORD *_pdwStubPhase);
  275.  
  276.  
  277.  
  278. #endif     /* __ITriEditDocument_INTERFACE_DEFINED__ */
  279.  
  280.  
  281.  
  282. #ifndef __TRIEDITLib_LIBRARY_DEFINED__
  283. #define __TRIEDITLib_LIBRARY_DEFINED__
  284.  
  285. /****************************************
  286.  * Generated header for library: TRIEDITLib
  287.  * at Tue Jun 30 09:29:52 1998
  288.  * using MIDL 3.03.0110
  289.  ****************************************/
  290. /* [helpstring][version][uuid] */ 
  291.  
  292.  
  293.  
  294. EXTERN_C const IID LIBID_TRIEDITLib;
  295.  
  296. EXTERN_C const CLSID CLSID_TriEditDocument;
  297.  
  298. #ifdef __cplusplus
  299.  
  300. class DECLSPEC_UUID("438DA5E0-F171-11D0-984E-0000F80270F8")
  301. TriEditDocument;
  302. #endif
  303. #endif /* __TRIEDITLib_LIBRARY_DEFINED__ */
  304.  
  305. #ifndef __IDocHostDragDropHandler_INTERFACE_DEFINED__
  306. #define __IDocHostDragDropHandler_INTERFACE_DEFINED__
  307.  
  308. /****************************************
  309.  * Generated header for interface: IDocHostDragDropHandler
  310.  * at Tue Jun 30 09:29:52 1998
  311.  * using MIDL 3.03.0110
  312.  ****************************************/
  313. /* [local][unique][helpstring][uuid][object] */ 
  314.  
  315.  
  316.  
  317. EXTERN_C const IID IID_IDocHostDragDropHandler;
  318.  
  319. #if defined(__cplusplus) && !defined(CINTERFACE)
  320.     
  321.     MIDL_INTERFACE("25188F40-D959-11d1-989F-0000F80270F8")
  322.     IDocHostDragDropHandler : public IUnknown
  323.     {
  324.     public:
  325.         virtual HRESULT STDMETHODCALLTYPE DrawDragFeedback( 
  326.             /* [out][in] */ RECT __RPC_FAR *pRect) = 0;
  327.         
  328.     };
  329.     
  330. #else     /* C style interface */
  331.  
  332.     typedef struct IDocHostDragDropHandlerVtbl
  333.     {
  334.         BEGIN_INTERFACE
  335.         
  336.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  337.             IDocHostDragDropHandler __RPC_FAR * This,
  338.             /* [in] */ REFIID riid,
  339.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  340.         
  341.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  342.             IDocHostDragDropHandler __RPC_FAR * This);
  343.         
  344.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  345.             IDocHostDragDropHandler __RPC_FAR * This);
  346.         
  347.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DrawDragFeedback )( 
  348.             IDocHostDragDropHandler __RPC_FAR * This,
  349.             /* [out][in] */ RECT __RPC_FAR *pRect);
  350.         
  351.         END_INTERFACE
  352.     } IDocHostDragDropHandlerVtbl;
  353.  
  354.     interface IDocHostDragDropHandler
  355.     {
  356.         CONST_VTBL struct IDocHostDragDropHandlerVtbl __RPC_FAR *lpVtbl;
  357.     };
  358.  
  359.     
  360.  
  361. #ifdef COBJMACROS
  362.  
  363.  
  364. #define IDocHostDragDropHandler_QueryInterface(This,riid,ppvObject)    \
  365.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  366.  
  367. #define IDocHostDragDropHandler_AddRef(This)    \
  368.     (This)->lpVtbl -> AddRef(This)
  369.  
  370. #define IDocHostDragDropHandler_Release(This)    \
  371.     (This)->lpVtbl -> Release(This)
  372.  
  373.  
  374. #define IDocHostDragDropHandler_DrawDragFeedback(This,pRect)    \
  375.     (This)->lpVtbl -> DrawDragFeedback(This,pRect)
  376.  
  377. #endif /* COBJMACROS */
  378.  
  379.  
  380. #endif     /* C style interface */
  381.  
  382.  
  383.  
  384. HRESULT STDMETHODCALLTYPE IDocHostDragDropHandler_DrawDragFeedback_Proxy( 
  385.     IDocHostDragDropHandler __RPC_FAR * This,
  386.     /* [out][in] */ RECT __RPC_FAR *pRect);
  387.  
  388.  
  389. void __RPC_STUB IDocHostDragDropHandler_DrawDragFeedback_Stub(
  390.     IRpcStubBuffer *This,
  391.     IRpcChannelBuffer *_pRpcChannelBuffer,
  392.     PRPC_MESSAGE _pRpcMessage,
  393.     DWORD *_pdwStubPhase);
  394.  
  395.  
  396.  
  397. #endif     /* __IDocHostDragDropHandler_INTERFACE_DEFINED__ */
  398.  
  399.  
  400. /* Additional Prototypes for ALL interfaces */
  401.  
  402. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  403. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  404. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  405. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  406.  
  407. /* end of Additional Prototypes */
  408.  
  409. #ifdef __cplusplus
  410. }
  411. #endif
  412.  
  413. #endif
  414. #pragma option pop /*P_O_Pop*/
  415.