source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/triedit.h@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 7.4 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __REQUIRED_RPCNDR_H_VERSION__
7#define __REQUIRED_RPCNDR_H_VERSION__ 440
8#endif
9
10#include "rpc.h"
11#include "rpcndr.h"
12
13#ifndef __RPCNDR_H_VERSION__
14#error This stub requires an updated version of <rpcndr.h>
15#endif
16
17#ifndef COM_NO_WINDOWS_H
18#include "windows.h"
19#include "ole2.h"
20#endif
21
22#ifndef __triedit_h__
23#define __triedit_h__
24
25#ifdef __cplusplus
26extern "C"{
27#endif
28
29#ifndef __ITriEditDocument_FWD_DEFINED__
30#define __ITriEditDocument_FWD_DEFINED__
31 typedef struct ITriEditDocument ITriEditDocument;
32#endif
33
34#ifndef __TriEditDocument_FWD_DEFINED__
35#define __TriEditDocument_FWD_DEFINED__
36#ifdef __cplusplus
37 typedef class TriEditDocument TriEditDocument;
38#else
39 typedef struct TriEditDocument TriEditDocument;
40#endif
41#endif
42
43#ifndef __IDocHostDragDropHandler_FWD_DEFINED__
44#define __IDocHostDragDropHandler_FWD_DEFINED__
45 typedef struct IDocHostDragDropHandler IDocHostDragDropHandler;
46#endif
47
48#include "oaidl.h"
49#include "ocidl.h"
50
51#ifndef __MIDL_user_allocate_free_DEFINED__
52#define __MIDL_user_allocate_free_DEFINED__
53 void *__RPC_API MIDL_user_allocate(size_t);
54 void __RPC_API MIDL_user_free(void *);
55#endif
56
57#define dwFilterDefaults 0x00000000
58#define dwFilterNone 0x00000001
59#define dwFilterDTCs 0x00000002
60#define dwFilterDTCsWithoutMetaTags 0x00000004
61#define dwFilterServerSideScripts 0x00000008
62#define dwPreserveSourceCode 0x00000010
63#define dwFilterSourceCode 0x00000020
64#define dwFilterMultiByteStream 0x10000000
65#define dwFilterUsePstmNew 0x20000000
66
67#define E_FILTER_FRAMESET 0x80100001
68#define E_FILTER_SERVERSCRIPT 0x80100002
69#define E_FILTER_MULTIPLETAGS 0x80100004
70#define E_FILTER_SCRIPTLISTING 0x80100008
71#define E_FILTER_SCRIPTLABEL 0x80100010
72#define E_FILTER_SCRIPTTEXTAREA 0x80100020
73#define E_FILTER_SCRIPTSELECT 0x80100040
74
75 extern RPC_IF_HANDLE __MIDL_itf_triedit_0000_v0_0_c_ifspec;
76 extern RPC_IF_HANDLE __MIDL_itf_triedit_0000_v0_0_s_ifspec;
77#ifndef __ITriEditDocument_INTERFACE_DEFINED__
78#define __ITriEditDocument_INTERFACE_DEFINED__
79 EXTERN_C const IID IID_ITriEditDocument;
80#if defined(__cplusplus) && !defined(CINTERFACE)
81 struct ITriEditDocument : public IDispatch {
82 public:
83 virtual HRESULT WINAPI FilterIn(IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL) = 0;
84 virtual HRESULT WINAPI FilterOut(IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL) = 0;
85 };
86#else
87 typedef struct ITriEditDocumentVtbl {
88 BEGIN_INTERFACE
89 HRESULT (WINAPI *QueryInterface)(ITriEditDocument *This,REFIID riid,void **ppvObject);
90 ULONG (WINAPI *AddRef)(ITriEditDocument *This);
91 ULONG (WINAPI *Release)(ITriEditDocument *This);
92 HRESULT (WINAPI *GetTypeInfoCount)(ITriEditDocument *This,UINT *pctinfo);
93 HRESULT (WINAPI *GetTypeInfo)(ITriEditDocument *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
94 HRESULT (WINAPI *GetIDsOfNames)(ITriEditDocument *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
95 HRESULT (WINAPI *Invoke)(ITriEditDocument *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
96 HRESULT (WINAPI *FilterIn)(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
97 HRESULT (WINAPI *FilterOut)(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
98 END_INTERFACE
99 } ITriEditDocumentVtbl;
100 struct ITriEditDocument {
101 CONST_VTBL struct ITriEditDocumentVtbl *lpVtbl;
102 };
103#ifdef COBJMACROS
104#define ITriEditDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
105#define ITriEditDocument_AddRef(This) (This)->lpVtbl->AddRef(This)
106#define ITriEditDocument_Release(This) (This)->lpVtbl->Release(This)
107#define ITriEditDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
108#define ITriEditDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
109#define ITriEditDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
110#define ITriEditDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
111#define ITriEditDocument_FilterIn(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL) (This)->lpVtbl->FilterIn(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)
112#define ITriEditDocument_FilterOut(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL) (This)->lpVtbl->FilterOut(This,pStmOld,ppStmNew,dwFlags,bstrBaseURL)
113#endif
114#endif
115 HRESULT WINAPI ITriEditDocument_FilterIn_Proxy(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
116 void __RPC_STUB ITriEditDocument_FilterIn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
117 HRESULT WINAPI ITriEditDocument_FilterOut_Proxy(ITriEditDocument *This,IUnknown *pStmOld,IUnknown **ppStmNew,DWORD dwFlags,BSTR bstrBaseURL);
118 void __RPC_STUB ITriEditDocument_FilterOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
119#endif
120
121#ifndef __TRIEDITLib_LIBRARY_DEFINED__
122#define __TRIEDITLib_LIBRARY_DEFINED__
123 EXTERN_C const IID LIBID_TRIEDITLib;
124 EXTERN_C const CLSID CLSID_TriEditDocument;
125#ifdef __cplusplus
126 class TriEditDocument;
127#endif
128#endif
129
130#ifndef __IDocHostDragDropHandler_INTERFACE_DEFINED__
131#define __IDocHostDragDropHandler_INTERFACE_DEFINED__
132 EXTERN_C const IID IID_IDocHostDragDropHandler;
133#if defined(__cplusplus) && !defined(CINTERFACE)
134 struct IDocHostDragDropHandler : public IUnknown {
135 public:
136 virtual HRESULT WINAPI DrawDragFeedback(RECT *pRect) = 0;
137 };
138#else
139 typedef struct IDocHostDragDropHandlerVtbl {
140 BEGIN_INTERFACE
141 HRESULT (WINAPI *QueryInterface)(IDocHostDragDropHandler *This,REFIID riid,void **ppvObject);
142 ULONG (WINAPI *AddRef)(IDocHostDragDropHandler *This);
143 ULONG (WINAPI *Release)(IDocHostDragDropHandler *This);
144 HRESULT (WINAPI *DrawDragFeedback)(IDocHostDragDropHandler *This,RECT *pRect);
145 END_INTERFACE
146 } IDocHostDragDropHandlerVtbl;
147 struct IDocHostDragDropHandler {
148 CONST_VTBL struct IDocHostDragDropHandlerVtbl *lpVtbl;
149 };
150#ifdef COBJMACROS
151#define IDocHostDragDropHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
152#define IDocHostDragDropHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
153#define IDocHostDragDropHandler_Release(This) (This)->lpVtbl->Release(This)
154#define IDocHostDragDropHandler_DrawDragFeedback(This,pRect) (This)->lpVtbl->DrawDragFeedback(This,pRect)
155#endif
156#endif
157 HRESULT WINAPI IDocHostDragDropHandler_DrawDragFeedback_Proxy(IDocHostDragDropHandler *This,RECT *pRect);
158 void __RPC_STUB IDocHostDragDropHandler_DrawDragFeedback_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
159#endif
160
161 ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
162 unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
163 unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
164 void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
165
166#ifdef __cplusplus
167}
168#endif
169#endif
Note: See TracBrowser for help on using the repository browser.