comparison fuhtark_test/include/winapi/tom.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER 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 __tomtmp_h__
23 #define __tomtmp_h__
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 #ifndef __ITextDocument_FWD_DEFINED__
30 #define __ITextDocument_FWD_DEFINED__
31 typedef struct ITextDocument ITextDocument;
32 #endif
33
34 #ifndef __ITextRange_FWD_DEFINED__
35 #define __ITextRange_FWD_DEFINED__
36 typedef struct ITextRange ITextRange;
37 #endif
38
39 #ifndef __ITextSelection_FWD_DEFINED__
40 #define __ITextSelection_FWD_DEFINED__
41 typedef struct ITextSelection ITextSelection;
42 #endif
43
44 #ifndef __ITextFont_FWD_DEFINED__
45 #define __ITextFont_FWD_DEFINED__
46 typedef struct ITextFont ITextFont;
47 #endif
48
49 #ifndef __ITextPara_FWD_DEFINED__
50 #define __ITextPara_FWD_DEFINED__
51 typedef struct ITextPara ITextPara;
52 #endif
53
54 #ifndef __ITextStoryRanges_FWD_DEFINED__
55 #define __ITextStoryRanges_FWD_DEFINED__
56 typedef struct ITextStoryRanges ITextStoryRanges;
57 #endif
58
59 #ifndef __ITextDocument2_FWD_DEFINED__
60 #define __ITextDocument2_FWD_DEFINED__
61 typedef struct ITextDocument2 ITextDocument2;
62 #endif
63
64 #ifndef __ITextMsgFilter_FWD_DEFINED__
65 #define __ITextMsgFilter_FWD_DEFINED__
66 typedef struct ITextMsgFilter ITextMsgFilter;
67 #endif
68
69 #ifndef __ITextDocument_FWD_DEFINED__
70 #define __ITextDocument_FWD_DEFINED__
71 typedef struct ITextDocument ITextDocument;
72 #endif
73
74 #ifndef __ITextRange_FWD_DEFINED__
75 #define __ITextRange_FWD_DEFINED__
76 typedef struct ITextRange ITextRange;
77 #endif
78
79 #ifndef __ITextSelection_FWD_DEFINED__
80 #define __ITextSelection_FWD_DEFINED__
81 typedef struct ITextSelection ITextSelection;
82 #endif
83
84 #ifndef __ITextFont_FWD_DEFINED__
85 #define __ITextFont_FWD_DEFINED__
86 typedef struct ITextFont ITextFont;
87 #endif
88
89 #ifndef __ITextPara_FWD_DEFINED__
90 #define __ITextPara_FWD_DEFINED__
91 typedef struct ITextPara ITextPara;
92 #endif
93
94 #ifndef __ITextStoryRanges_FWD_DEFINED__
95 #define __ITextStoryRanges_FWD_DEFINED__
96 typedef struct ITextStoryRanges ITextStoryRanges;
97 #endif
98
99 #ifndef __ITextDocument2_FWD_DEFINED__
100 #define __ITextDocument2_FWD_DEFINED__
101 typedef struct ITextDocument2 ITextDocument2;
102 #endif
103
104 #ifndef __ITextMsgFilter_FWD_DEFINED__
105 #define __ITextMsgFilter_FWD_DEFINED__
106 typedef struct ITextMsgFilter ITextMsgFilter;
107 #endif
108
109 #include "oaidl.h"
110 #include "ocidl.h"
111
112 #ifndef __MIDL_user_allocate_free_DEFINED__
113 #define __MIDL_user_allocate_free_DEFINED__
114 void *__RPC_API MIDL_user_allocate(size_t);
115 void __RPC_API MIDL_user_free(void *);
116 #endif
117
118 extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_c_ifspec;
119 extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_s_ifspec;
120
121 #ifndef __tom_LIBRARY_DEFINED__
122 #define __tom_LIBRARY_DEFINED__
123 typedef enum __MIDL___MIDL_itf_tom_0000_0001 {
124 tomFalse = 0,tomTrue = -1,tomUndefined = -9999999,tomToggle = -9999998,tomAutoColor = -9999997,tomDefault = -9999996,tomSuspend = -9999995,
125 tomResume = -9999994,tomApplyNow = 0,tomApplyLater = 1,tomTrackParms = 2,tomCacheParms = 3,tomBackward = 0xc0000001,tomForward = 0x3fffffff,
126 tomMove = 0,tomExtend = 1,tomNoSelection = 0,tomSelectionIP = 1,tomSelectionNormal = 2,tomSelectionFrame = 3,tomSelectionColumn = 4,
127 tomSelectionRow = 5,tomSelectionBlock = 6,tomSelectionInlineShape = 7,tomSelectionShape = 8,tomSelStartActive = 1,tomSelAtEOL = 2,
128 tomSelOvertype = 4,tomSelActive = 8,tomSelReplace = 16,tomEnd = 0,tomStart = 32,tomCollapseEnd = 0,tomCollapseStart = 1,tomClientCoord = 256,
129 tomNone = 0,tomSingle = 1,tomWords = 2,tomDouble = 3,tomDotted = 4,tomDash = 5,tomDashDot = 6,tomDashDotDot = 7,tomWave = 8,tomThick = 9,
130 tomHair = 10,tomLineSpaceSingle = 0,tomLineSpace1pt5 = 1,tomLineSpaceDouble = 2,tomLineSpaceAtLeast = 3,tomLineSpaceExactly = 4,
131 tomLineSpaceMultiple = 5,tomAlignLeft = 0,tomAlignCenter = 1,tomAlignRight = 2,tomAlignJustify = 3,tomAlignDecimal = 3,tomAlignBar = 4,
132 tomAlignInterWord = 3,tomAlignInterLetter = 4,tomAlignScaled = 5,tomAlignGlyphs = 6,tomAlignSnapGrid = 7,tomSpaces = 0,tomDots = 1,tomDashes = 2,
133 tomLines = 3,tomThickLines = 4,tomEquals = 5,tomTabBack = -3,tomTabNext = -2,tomTabHere = -1,tomListNone = 0,tomListBullet = 1,
134 tomListNumberAsArabic = 2,tomListNumberAsLCLetter = 3,tomListNumberAsUCLetter = 4,tomListNumberAsLCRoman = 5,tomListNumberAsUCRoman = 6,
135 tomListNumberAsSequence = 7,tomListParentheses = 0x10000,tomListPeriod = 0x20000,tomListPlain = 0x30000,tomCharacter = 1,tomWord = 2,
136 tomSentence = 3,tomParagraph = 4,tomLine = 5,tomStory = 6,tomScreen = 7,tomSection = 8,tomColumn = 9,tomRow = 10,tomWindow = 11,tomCell = 12,
137 tomCharFormat = 13,tomParaFormat = 14,tomTable = 15,tomObject = 16,tomMatchWord = 2,tomMatchCase = 4,tomMatchPattern = 8,tomUnknownStory = 0,
138 tomMainTextStory = 1,tomFootnotesStory = 2,tomEndnotesStory = 3,tomCommentsStory = 4,tomTextFrameStory = 5,tomEvenPagesHeaderStory = 6,
139 tomPrimaryHeaderStory = 7,tomEvenPagesFooterStory = 8,tomPrimaryFooterStory = 9,tomFirstPageHeaderStory = 10,tomFirstPageFooterStory = 11,
140 tomNoAnimation = 0,tomLasVegasLights = 1,tomBlinkingBackground = 2,tomSparkleText = 3,tomMarchingBlackAnts = 4,tomMarchingRedAnts = 5,
141 tomShimmer = 6,tomWipeDown = 7,tomWipeRight = 8,tomAnimationMax = 8,tomLowerCase = 0,tomUpperCase = 1,tomTitleCase = 2,tomSentenceCase = 4,
142 tomToggleCase = 5,tomReadOnly = 0x100,tomShareDenyRead = 0x200,tomShareDenyWrite = 0x400,tomPasteFile = 0x1000,tomCreateNew = 0x10,
143 tomCreateAlways = 0x20,tomOpenExisting = 0x30,tomOpenAlways = 0x40,tomTruncateExisting = 0x50,tomRTF = 0x1,tomText = 0x2,tomHTML = 0x3,
144 tomWordDocument = 0x4,tomBold = 0x80000001,tomItalic = 0x80000002,tomUnderline = 0x80000004,tomStrikeout = 0x80000008,tomProtected = 0x80000010,
145 tomLink = 0x80000020,tomSmallCaps = 0x80000040,tomAllCaps = 0x80000080,tomHidden = 0x80000100,tomOutline = 0x80000200,tomShadow = 0x80000400,
146 tomEmboss = 0x80000800,tomImprint = 0x80001000,tomDisabled = 0x80002000,tomRevised = 0x80004000,tomNormalCaret = 0,tomKoreanBlockCaret = 0x1,
147 tomIncludeInset = 0x1,tomIgnoreCurrentFont = 0,tomMatchFontCharset = 0x1,tomMatchFontSignature = 0x2,tomCharset = 0x80000000,tomRE10Mode = 0x1,
148 tomNoIME = 0x80000,tomSelfIME = 0x40000
149 } tomConstants;
150
151 EXTERN_C const IID LIBID_tom;
152 #ifndef __ITextDocument_INTERFACE_DEFINED__
153 #define __ITextDocument_INTERFACE_DEFINED__
154 EXTERN_C const IID IID_ITextDocument;
155 #if defined(__cplusplus) && !defined(CINTERFACE)
156 struct ITextDocument : public IDispatch {
157 public:
158 virtual HRESULT WINAPI GetName(BSTR *pName) = 0;
159 virtual HRESULT WINAPI GetSelection(ITextSelection **ppSel) = 0;
160 virtual HRESULT WINAPI GetStoryCount(long *pCount) = 0;
161 virtual HRESULT WINAPI GetStoryRanges(ITextStoryRanges **ppStories) = 0;
162 virtual HRESULT WINAPI GetSaved(long *pValue) = 0;
163 virtual HRESULT WINAPI SetSaved(long Value) = 0;
164 virtual HRESULT WINAPI GetDefaultTabStop(float *pValue) = 0;
165 virtual HRESULT WINAPI SetDefaultTabStop(float Value) = 0;
166 virtual HRESULT WINAPI New(void) = 0;
167 virtual HRESULT WINAPI Open(VARIANT *pVar,long Flags,long CodePage) = 0;
168 virtual HRESULT WINAPI Save(VARIANT *pVar,long Flags,long CodePage) = 0;
169 virtual HRESULT WINAPI Freeze(long *pCount) = 0;
170 virtual HRESULT WINAPI Unfreeze(long *pCount) = 0;
171 virtual HRESULT WINAPI BeginEditCollection(void) = 0;
172 virtual HRESULT WINAPI EndEditCollection(void) = 0;
173 virtual HRESULT WINAPI Undo(long Count,long *prop) = 0;
174 virtual HRESULT WINAPI Redo(long Count,long *prop) = 0;
175 virtual HRESULT WINAPI Range(long cp1,long cp2,ITextRange **ppRange) = 0;
176 virtual HRESULT WINAPI RangeFromPoint(long x,long y,ITextRange **ppRange) = 0;
177 };
178 #else
179 typedef struct ITextDocumentVtbl {
180 BEGIN_INTERFACE
181 HRESULT (WINAPI *QueryInterface)(ITextDocument *This,REFIID riid,void **ppvObject);
182 ULONG (WINAPI *AddRef)(ITextDocument *This);
183 ULONG (WINAPI *Release)(ITextDocument *This);
184 HRESULT (WINAPI *GetTypeInfoCount)(ITextDocument *This,UINT *pctinfo);
185 HRESULT (WINAPI *GetTypeInfo)(ITextDocument *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
186 HRESULT (WINAPI *GetIDsOfNames)(ITextDocument *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
187 HRESULT (WINAPI *Invoke)(ITextDocument *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
188 HRESULT (WINAPI *GetName)(ITextDocument *This,BSTR *pName);
189 HRESULT (WINAPI *GetSelection)(ITextDocument *This,ITextSelection **ppSel);
190 HRESULT (WINAPI *GetStoryCount)(ITextDocument *This,long *pCount);
191 HRESULT (WINAPI *GetStoryRanges)(ITextDocument *This,ITextStoryRanges **ppStories);
192 HRESULT (WINAPI *GetSaved)(ITextDocument *This,long *pValue);
193 HRESULT (WINAPI *SetSaved)(ITextDocument *This,long Value);
194 HRESULT (WINAPI *GetDefaultTabStop)(ITextDocument *This,float *pValue);
195 HRESULT (WINAPI *SetDefaultTabStop)(ITextDocument *This,float Value);
196 HRESULT (WINAPI *New)(ITextDocument *This);
197 HRESULT (WINAPI *Open)(ITextDocument *This,VARIANT *pVar,long Flags,long CodePage);
198 HRESULT (WINAPI *Save)(ITextDocument *This,VARIANT *pVar,long Flags,long CodePage);
199 HRESULT (WINAPI *Freeze)(ITextDocument *This,long *pCount);
200 HRESULT (WINAPI *Unfreeze)(ITextDocument *This,long *pCount);
201 HRESULT (WINAPI *BeginEditCollection)(ITextDocument *This);
202 HRESULT (WINAPI *EndEditCollection)(ITextDocument *This);
203 HRESULT (WINAPI *Undo)(ITextDocument *This,long Count,long *prop);
204 HRESULT (WINAPI *Redo)(ITextDocument *This,long Count,long *prop);
205 HRESULT (WINAPI *Range)(ITextDocument *This,long cp1,long cp2,ITextRange **ppRange);
206 HRESULT (WINAPI *RangeFromPoint)(ITextDocument *This,long x,long y,ITextRange **ppRange);
207 END_INTERFACE
208 } ITextDocumentVtbl;
209 struct ITextDocument {
210 CONST_VTBL struct ITextDocumentVtbl *lpVtbl;
211 };
212 #ifdef COBJMACROS
213 #define ITextDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
214 #define ITextDocument_AddRef(This) (This)->lpVtbl->AddRef(This)
215 #define ITextDocument_Release(This) (This)->lpVtbl->Release(This)
216 #define ITextDocument_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
217 #define ITextDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
218 #define ITextDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
219 #define ITextDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
220 #define ITextDocument_GetName(This,pName) (This)->lpVtbl->GetName(This,pName)
221 #define ITextDocument_GetSelection(This,ppSel) (This)->lpVtbl->GetSelection(This,ppSel)
222 #define ITextDocument_GetStoryCount(This,pCount) (This)->lpVtbl->GetStoryCount(This,pCount)
223 #define ITextDocument_GetStoryRanges(This,ppStories) (This)->lpVtbl->GetStoryRanges(This,ppStories)
224 #define ITextDocument_GetSaved(This,pValue) (This)->lpVtbl->GetSaved(This,pValue)
225 #define ITextDocument_SetSaved(This,Value) (This)->lpVtbl->SetSaved(This,Value)
226 #define ITextDocument_GetDefaultTabStop(This,pValue) (This)->lpVtbl->GetDefaultTabStop(This,pValue)
227 #define ITextDocument_SetDefaultTabStop(This,Value) (This)->lpVtbl->SetDefaultTabStop(This,Value)
228 #define ITextDocument_New(This) (This)->lpVtbl->New(This)
229 #define ITextDocument_Open(This,pVar,Flags,CodePage) (This)->lpVtbl->Open(This,pVar,Flags,CodePage)
230 #define ITextDocument_Save(This,pVar,Flags,CodePage) (This)->lpVtbl->Save(This,pVar,Flags,CodePage)
231 #define ITextDocument_Freeze(This,pCount) (This)->lpVtbl->Freeze(This,pCount)
232 #define ITextDocument_Unfreeze(This,pCount) (This)->lpVtbl->Unfreeze(This,pCount)
233 #define ITextDocument_BeginEditCollection(This) (This)->lpVtbl->BeginEditCollection(This)
234 #define ITextDocument_EndEditCollection(This) (This)->lpVtbl->EndEditCollection(This)
235 #define ITextDocument_Undo(This,Count,prop) (This)->lpVtbl->Undo(This,Count,prop)
236 #define ITextDocument_Redo(This,Count,prop) (This)->lpVtbl->Redo(This,Count,prop)
237 #define ITextDocument_Range(This,cp1,cp2,ppRange) (This)->lpVtbl->Range(This,cp1,cp2,ppRange)
238 #define ITextDocument_RangeFromPoint(This,x,y,ppRange) (This)->lpVtbl->RangeFromPoint(This,x,y,ppRange)
239 #endif
240 #endif
241 HRESULT WINAPI ITextDocument_GetName_Proxy(ITextDocument *This,BSTR *pName);
242 void __RPC_STUB ITextDocument_GetName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
243 HRESULT WINAPI ITextDocument_GetSelection_Proxy(ITextDocument *This,ITextSelection **ppSel);
244 void __RPC_STUB ITextDocument_GetSelection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
245 HRESULT WINAPI ITextDocument_GetStoryCount_Proxy(ITextDocument *This,long *pCount);
246 void __RPC_STUB ITextDocument_GetStoryCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
247 HRESULT WINAPI ITextDocument_GetStoryRanges_Proxy(ITextDocument *This,ITextStoryRanges **ppStories);
248 void __RPC_STUB ITextDocument_GetStoryRanges_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
249 HRESULT WINAPI ITextDocument_GetSaved_Proxy(ITextDocument *This,long *pValue);
250 void __RPC_STUB ITextDocument_GetSaved_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
251 HRESULT WINAPI ITextDocument_SetSaved_Proxy(ITextDocument *This,long Value);
252 void __RPC_STUB ITextDocument_SetSaved_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
253 HRESULT WINAPI ITextDocument_GetDefaultTabStop_Proxy(ITextDocument *This,float *pValue);
254 void __RPC_STUB ITextDocument_GetDefaultTabStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
255 HRESULT WINAPI ITextDocument_SetDefaultTabStop_Proxy(ITextDocument *This,float Value);
256 void __RPC_STUB ITextDocument_SetDefaultTabStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
257 HRESULT WINAPI ITextDocument_New_Proxy(ITextDocument *This);
258 void __RPC_STUB ITextDocument_New_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
259 HRESULT WINAPI ITextDocument_Open_Proxy(ITextDocument *This,VARIANT *pVar,long Flags,long CodePage);
260 void __RPC_STUB ITextDocument_Open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
261 HRESULT WINAPI ITextDocument_Save_Proxy(ITextDocument *This,VARIANT *pVar,long Flags,long CodePage);
262 void __RPC_STUB ITextDocument_Save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
263 HRESULT WINAPI ITextDocument_Freeze_Proxy(ITextDocument *This,long *pCount);
264 void __RPC_STUB ITextDocument_Freeze_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
265 HRESULT WINAPI ITextDocument_Unfreeze_Proxy(ITextDocument *This,long *pCount);
266 void __RPC_STUB ITextDocument_Unfreeze_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
267 HRESULT WINAPI ITextDocument_BeginEditCollection_Proxy(ITextDocument *This);
268 void __RPC_STUB ITextDocument_BeginEditCollection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
269 HRESULT WINAPI ITextDocument_EndEditCollection_Proxy(ITextDocument *This);
270 void __RPC_STUB ITextDocument_EndEditCollection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
271 HRESULT WINAPI ITextDocument_Undo_Proxy(ITextDocument *This,long Count,long *prop);
272 void __RPC_STUB ITextDocument_Undo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
273 HRESULT WINAPI ITextDocument_Redo_Proxy(ITextDocument *This,long Count,long *prop);
274 void __RPC_STUB ITextDocument_Redo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
275 HRESULT WINAPI ITextDocument_Range_Proxy(ITextDocument *This,long cp1,long cp2,ITextRange **ppRange);
276 void __RPC_STUB ITextDocument_Range_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
277 HRESULT WINAPI ITextDocument_RangeFromPoint_Proxy(ITextDocument *This,long x,long y,ITextRange **ppRange);
278 void __RPC_STUB ITextDocument_RangeFromPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
279 #endif
280
281 #ifndef __ITextRange_INTERFACE_DEFINED__
282 #define __ITextRange_INTERFACE_DEFINED__
283 EXTERN_C const IID IID_ITextRange;
284 #if defined(__cplusplus) && !defined(CINTERFACE)
285 struct ITextRange : public IDispatch {
286 public:
287 virtual HRESULT WINAPI GetText(BSTR *pbstr) = 0;
288 virtual HRESULT WINAPI SetText(BSTR bstr) = 0;
289 virtual HRESULT WINAPI GetChar(long *pch) = 0;
290 virtual HRESULT WINAPI SetChar(long ch) = 0;
291 virtual HRESULT WINAPI GetDuplicate(ITextRange **ppRange) = 0;
292 virtual HRESULT WINAPI GetFormattedText(ITextRange **ppRange) = 0;
293 virtual HRESULT WINAPI SetFormattedText(ITextRange *pRange) = 0;
294 virtual HRESULT WINAPI GetStart(long *pcpFirst) = 0;
295 virtual HRESULT WINAPI SetStart(long cpFirst) = 0;
296 virtual HRESULT WINAPI GetEnd(long *pcpLim) = 0;
297 virtual HRESULT WINAPI SetEnd(long cpLim) = 0;
298 virtual HRESULT WINAPI GetFont(ITextFont **pFont) = 0;
299 virtual HRESULT WINAPI SetFont(ITextFont *pFont) = 0;
300 virtual HRESULT WINAPI GetPara(ITextPara **pPara) = 0;
301 virtual HRESULT WINAPI SetPara(ITextPara *pPara) = 0;
302 virtual HRESULT WINAPI GetStoryLength(long *pcch) = 0;
303 virtual HRESULT WINAPI GetStoryType(long *pValue) = 0;
304 virtual HRESULT WINAPI Collapse(long bStart) = 0;
305 virtual HRESULT WINAPI Expand(long Unit,long *pDelta) = 0;
306 virtual HRESULT WINAPI GetIndex(long Unit,long *pIndex) = 0;
307 virtual HRESULT WINAPI SetIndex(long Unit,long Index,long Extend) = 0;
308 virtual HRESULT WINAPI SetRange(long cpActive,long cpOther) = 0;
309 virtual HRESULT WINAPI InRange(ITextRange *pRange,long *pb) = 0;
310 virtual HRESULT WINAPI InStory(ITextRange *pRange,long *pb) = 0;
311 virtual HRESULT WINAPI IsEqual(ITextRange *pRange,long *pb) = 0;
312 virtual HRESULT WINAPI Select(void) = 0;
313 virtual HRESULT WINAPI StartOf(long Unit,long Extend,long *pDelta) = 0;
314 virtual HRESULT WINAPI EndOf(long Unit,long Extend,long *pDelta) = 0;
315 virtual HRESULT WINAPI Move(long Unit,long Count,long *pDelta) = 0;
316 virtual HRESULT WINAPI MoveStart(long Unit,long Count,long *pDelta) = 0;
317 virtual HRESULT WINAPI MoveEnd(long Unit,long Count,long *pDelta) = 0;
318 virtual HRESULT WINAPI MoveWhile(VARIANT *Cset,long Count,long *pDelta) = 0;
319 virtual HRESULT WINAPI MoveStartWhile(VARIANT *Cset,long Count,long *pDelta) = 0;
320 virtual HRESULT WINAPI MoveEndWhile(VARIANT *Cset,long Count,long *pDelta) = 0;
321 virtual HRESULT WINAPI MoveUntil(VARIANT *Cset,long Count,long *pDelta) = 0;
322 virtual HRESULT WINAPI MoveStartUntil(VARIANT *Cset,long Count,long *pDelta) = 0;
323 virtual HRESULT WINAPI MoveEndUntil(VARIANT *Cset,long Count,long *pDelta) = 0;
324 virtual HRESULT WINAPI FindText(BSTR bstr,long cch,long Flags,long *pLength) = 0;
325 virtual HRESULT WINAPI FindTextStart(BSTR bstr,long cch,long Flags,long *pLength) = 0;
326 virtual HRESULT WINAPI FindTextEnd(BSTR bstr,long cch,long Flags,long *pLength) = 0;
327 virtual HRESULT WINAPI Delete(long Unit,long Count,long *pDelta) = 0;
328 virtual HRESULT WINAPI Cut(VARIANT *pVar) = 0;
329 virtual HRESULT WINAPI Copy(VARIANT *pVar) = 0;
330 virtual HRESULT WINAPI Paste(VARIANT *pVar,long Format) = 0;
331 virtual HRESULT WINAPI CanPaste(VARIANT *pVar,long Format,long *pb) = 0;
332 virtual HRESULT WINAPI CanEdit(long *pbCanEdit) = 0;
333 virtual HRESULT WINAPI ChangeCase(long Type) = 0;
334 virtual HRESULT WINAPI GetPoint(long Type,long *px,long *py) = 0;
335 virtual HRESULT WINAPI SetPoint(long x,long y,long Type,long Extend) = 0;
336 virtual HRESULT WINAPI ScrollIntoView(long Value) = 0;
337 virtual HRESULT WINAPI GetEmbeddedObject(IUnknown **ppv) = 0;
338 };
339 #else
340 typedef struct ITextRangeVtbl {
341 BEGIN_INTERFACE
342 HRESULT (WINAPI *QueryInterface)(ITextRange *This,REFIID riid,void **ppvObject);
343 ULONG (WINAPI *AddRef)(ITextRange *This);
344 ULONG (WINAPI *Release)(ITextRange *This);
345 HRESULT (WINAPI *GetTypeInfoCount)(ITextRange *This,UINT *pctinfo);
346 HRESULT (WINAPI *GetTypeInfo)(ITextRange *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
347 HRESULT (WINAPI *GetIDsOfNames)(ITextRange *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
348 HRESULT (WINAPI *Invoke)(ITextRange *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
349 HRESULT (WINAPI *GetText)(ITextRange *This,BSTR *pbstr);
350 HRESULT (WINAPI *SetText)(ITextRange *This,BSTR bstr);
351 HRESULT (WINAPI *GetChar)(ITextRange *This,long *pch);
352 HRESULT (WINAPI *SetChar)(ITextRange *This,long ch);
353 HRESULT (WINAPI *GetDuplicate)(ITextRange *This,ITextRange **ppRange);
354 HRESULT (WINAPI *GetFormattedText)(ITextRange *This,ITextRange **ppRange);
355 HRESULT (WINAPI *SetFormattedText)(ITextRange *This,ITextRange *pRange);
356 HRESULT (WINAPI *GetStart)(ITextRange *This,long *pcpFirst);
357 HRESULT (WINAPI *SetStart)(ITextRange *This,long cpFirst);
358 HRESULT (WINAPI *GetEnd)(ITextRange *This,long *pcpLim);
359 HRESULT (WINAPI *SetEnd)(ITextRange *This,long cpLim);
360 HRESULT (WINAPI *GetFont)(ITextRange *This,ITextFont **pFont);
361 HRESULT (WINAPI *SetFont)(ITextRange *This,ITextFont *pFont);
362 HRESULT (WINAPI *GetPara)(ITextRange *This,ITextPara **pPara);
363 HRESULT (WINAPI *SetPara)(ITextRange *This,ITextPara *pPara);
364 HRESULT (WINAPI *GetStoryLength)(ITextRange *This,long *pcch);
365 HRESULT (WINAPI *GetStoryType)(ITextRange *This,long *pValue);
366 HRESULT (WINAPI *Collapse)(ITextRange *This,long bStart);
367 HRESULT (WINAPI *Expand)(ITextRange *This,long Unit,long *pDelta);
368 HRESULT (WINAPI *GetIndex)(ITextRange *This,long Unit,long *pIndex);
369 HRESULT (WINAPI *SetIndex)(ITextRange *This,long Unit,long Index,long Extend);
370 HRESULT (WINAPI *SetRange)(ITextRange *This,long cpActive,long cpOther);
371 HRESULT (WINAPI *InRange)(ITextRange *This,ITextRange *pRange,long *pb);
372 HRESULT (WINAPI *InStory)(ITextRange *This,ITextRange *pRange,long *pb);
373 HRESULT (WINAPI *IsEqual)(ITextRange *This,ITextRange *pRange,long *pb);
374 HRESULT (WINAPI *Select)(ITextRange *This);
375 HRESULT (WINAPI *StartOf)(ITextRange *This,long Unit,long Extend,long *pDelta);
376 HRESULT (WINAPI *EndOf)(ITextRange *This,long Unit,long Extend,long *pDelta);
377 HRESULT (WINAPI *Move)(ITextRange *This,long Unit,long Count,long *pDelta);
378 HRESULT (WINAPI *MoveStart)(ITextRange *This,long Unit,long Count,long *pDelta);
379 HRESULT (WINAPI *MoveEnd)(ITextRange *This,long Unit,long Count,long *pDelta);
380 HRESULT (WINAPI *MoveWhile)(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
381 HRESULT (WINAPI *MoveStartWhile)(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
382 HRESULT (WINAPI *MoveEndWhile)(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
383 HRESULT (WINAPI *MoveUntil)(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
384 HRESULT (WINAPI *MoveStartUntil)(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
385 HRESULT (WINAPI *MoveEndUntil)(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
386 HRESULT (WINAPI *FindText)(ITextRange *This,BSTR bstr,long cch,long Flags,long *pLength);
387 HRESULT (WINAPI *FindTextStart)(ITextRange *This,BSTR bstr,long cch,long Flags,long *pLength);
388 HRESULT (WINAPI *FindTextEnd)(ITextRange *This,BSTR bstr,long cch,long Flags,long *pLength);
389 HRESULT (WINAPI *Delete)(ITextRange *This,long Unit,long Count,long *pDelta);
390 HRESULT (WINAPI *Cut)(ITextRange *This,VARIANT *pVar);
391 HRESULT (WINAPI *Copy)(ITextRange *This,VARIANT *pVar);
392 HRESULT (WINAPI *Paste)(ITextRange *This,VARIANT *pVar,long Format);
393 HRESULT (WINAPI *CanPaste)(ITextRange *This,VARIANT *pVar,long Format,long *pb);
394 HRESULT (WINAPI *CanEdit)(ITextRange *This,long *pbCanEdit);
395 HRESULT (WINAPI *ChangeCase)(ITextRange *This,long Type);
396 HRESULT (WINAPI *GetPoint)(ITextRange *This,long Type,long *px,long *py);
397 HRESULT (WINAPI *SetPoint)(ITextRange *This,long x,long y,long Type,long Extend);
398 HRESULT (WINAPI *ScrollIntoView)(ITextRange *This,long Value);
399 HRESULT (WINAPI *GetEmbeddedObject)(ITextRange *This,IUnknown **ppv);
400 END_INTERFACE
401 } ITextRangeVtbl;
402 struct ITextRange {
403 CONST_VTBL struct ITextRangeVtbl *lpVtbl;
404 };
405 #ifdef COBJMACROS
406 #define ITextRange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
407 #define ITextRange_AddRef(This) (This)->lpVtbl->AddRef(This)
408 #define ITextRange_Release(This) (This)->lpVtbl->Release(This)
409 #define ITextRange_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
410 #define ITextRange_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
411 #define ITextRange_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
412 #define ITextRange_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
413 #define ITextRange_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr)
414 #define ITextRange_SetText(This,bstr) (This)->lpVtbl->SetText(This,bstr)
415 #define ITextRange_GetChar(This,pch) (This)->lpVtbl->GetChar(This,pch)
416 #define ITextRange_SetChar(This,ch) (This)->lpVtbl->SetChar(This,ch)
417 #define ITextRange_GetDuplicate(This,ppRange) (This)->lpVtbl->GetDuplicate(This,ppRange)
418 #define ITextRange_GetFormattedText(This,ppRange) (This)->lpVtbl->GetFormattedText(This,ppRange)
419 #define ITextRange_SetFormattedText(This,pRange) (This)->lpVtbl->SetFormattedText(This,pRange)
420 #define ITextRange_GetStart(This,pcpFirst) (This)->lpVtbl->GetStart(This,pcpFirst)
421 #define ITextRange_SetStart(This,cpFirst) (This)->lpVtbl->SetStart(This,cpFirst)
422 #define ITextRange_GetEnd(This,pcpLim) (This)->lpVtbl->GetEnd(This,pcpLim)
423 #define ITextRange_SetEnd(This,cpLim) (This)->lpVtbl->SetEnd(This,cpLim)
424 #define ITextRange_GetFont(This,pFont) (This)->lpVtbl->GetFont(This,pFont)
425 #define ITextRange_SetFont(This,pFont) (This)->lpVtbl->SetFont(This,pFont)
426 #define ITextRange_GetPara(This,pPara) (This)->lpVtbl->GetPara(This,pPara)
427 #define ITextRange_SetPara(This,pPara) (This)->lpVtbl->SetPara(This,pPara)
428 #define ITextRange_GetStoryLength(This,pcch) (This)->lpVtbl->GetStoryLength(This,pcch)
429 #define ITextRange_GetStoryType(This,pValue) (This)->lpVtbl->GetStoryType(This,pValue)
430 #define ITextRange_Collapse(This,bStart) (This)->lpVtbl->Collapse(This,bStart)
431 #define ITextRange_Expand(This,Unit,pDelta) (This)->lpVtbl->Expand(This,Unit,pDelta)
432 #define ITextRange_GetIndex(This,Unit,pIndex) (This)->lpVtbl->GetIndex(This,Unit,pIndex)
433 #define ITextRange_SetIndex(This,Unit,Index,Extend) (This)->lpVtbl->SetIndex(This,Unit,Index,Extend)
434 #define ITextRange_SetRange(This,cpActive,cpOther) (This)->lpVtbl->SetRange(This,cpActive,cpOther)
435 #define ITextRange_InRange(This,pRange,pb) (This)->lpVtbl->InRange(This,pRange,pb)
436 #define ITextRange_InStory(This,pRange,pb) (This)->lpVtbl->InStory(This,pRange,pb)
437 #define ITextRange_IsEqual(This,pRange,pb) (This)->lpVtbl->IsEqual(This,pRange,pb)
438 #define ITextRange_Select(This) (This)->lpVtbl->Select(This)
439 #define ITextRange_StartOf(This,Unit,Extend,pDelta) (This)->lpVtbl->StartOf(This,Unit,Extend,pDelta)
440 #define ITextRange_EndOf(This,Unit,Extend,pDelta) (This)->lpVtbl->EndOf(This,Unit,Extend,pDelta)
441 #define ITextRange_Move(This,Unit,Count,pDelta) (This)->lpVtbl->Move(This,Unit,Count,pDelta)
442 #define ITextRange_MoveStart(This,Unit,Count,pDelta) (This)->lpVtbl->MoveStart(This,Unit,Count,pDelta)
443 #define ITextRange_MoveEnd(This,Unit,Count,pDelta) (This)->lpVtbl->MoveEnd(This,Unit,Count,pDelta)
444 #define ITextRange_MoveWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveWhile(This,Cset,Count,pDelta)
445 #define ITextRange_MoveStartWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartWhile(This,Cset,Count,pDelta)
446 #define ITextRange_MoveEndWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndWhile(This,Cset,Count,pDelta)
447 #define ITextRange_MoveUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveUntil(This,Cset,Count,pDelta)
448 #define ITextRange_MoveStartUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartUntil(This,Cset,Count,pDelta)
449 #define ITextRange_MoveEndUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndUntil(This,Cset,Count,pDelta)
450 #define ITextRange_FindText(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindText(This,bstr,cch,Flags,pLength)
451 #define ITextRange_FindTextStart(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextStart(This,bstr,cch,Flags,pLength)
452 #define ITextRange_FindTextEnd(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextEnd(This,bstr,cch,Flags,pLength)
453 #define ITextRange_Delete(This,Unit,Count,pDelta) (This)->lpVtbl->Delete(This,Unit,Count,pDelta)
454 #define ITextRange_Cut(This,pVar) (This)->lpVtbl->Cut(This,pVar)
455 #define ITextRange_Copy(This,pVar) (This)->lpVtbl->Copy(This,pVar)
456 #define ITextRange_Paste(This,pVar,Format) (This)->lpVtbl->Paste(This,pVar,Format)
457 #define ITextRange_CanPaste(This,pVar,Format,pb) (This)->lpVtbl->CanPaste(This,pVar,Format,pb)
458 #define ITextRange_CanEdit(This,pbCanEdit) (This)->lpVtbl->CanEdit(This,pbCanEdit)
459 #define ITextRange_ChangeCase(This,Type) (This)->lpVtbl->ChangeCase(This,Type)
460 #define ITextRange_GetPoint(This,Type,px,py) (This)->lpVtbl->GetPoint(This,Type,px,py)
461 #define ITextRange_SetPoint(This,x,y,Type,Extend) (This)->lpVtbl->SetPoint(This,x,y,Type,Extend)
462 #define ITextRange_ScrollIntoView(This,Value) (This)->lpVtbl->ScrollIntoView(This,Value)
463 #define ITextRange_GetEmbeddedObject(This,ppv) (This)->lpVtbl->GetEmbeddedObject(This,ppv)
464 #endif
465 #endif
466 HRESULT WINAPI ITextRange_GetText_Proxy(ITextRange *This,BSTR *pbstr);
467 void __RPC_STUB ITextRange_GetText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
468 HRESULT WINAPI ITextRange_SetText_Proxy(ITextRange *This,BSTR bstr);
469 void __RPC_STUB ITextRange_SetText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
470 HRESULT WINAPI ITextRange_GetChar_Proxy(ITextRange *This,long *pch);
471 void __RPC_STUB ITextRange_GetChar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
472 HRESULT WINAPI ITextRange_SetChar_Proxy(ITextRange *This,long ch);
473 void __RPC_STUB ITextRange_SetChar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
474 HRESULT WINAPI ITextRange_GetDuplicate_Proxy(ITextRange *This,ITextRange **ppRange);
475 void __RPC_STUB ITextRange_GetDuplicate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
476 HRESULT WINAPI ITextRange_GetFormattedText_Proxy(ITextRange *This,ITextRange **ppRange);
477 void __RPC_STUB ITextRange_GetFormattedText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
478 HRESULT WINAPI ITextRange_SetFormattedText_Proxy(ITextRange *This,ITextRange *pRange);
479 void __RPC_STUB ITextRange_SetFormattedText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
480 HRESULT WINAPI ITextRange_GetStart_Proxy(ITextRange *This,long *pcpFirst);
481 void __RPC_STUB ITextRange_GetStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
482 HRESULT WINAPI ITextRange_SetStart_Proxy(ITextRange *This,long cpFirst);
483 void __RPC_STUB ITextRange_SetStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
484 HRESULT WINAPI ITextRange_GetEnd_Proxy(ITextRange *This,long *pcpLim);
485 void __RPC_STUB ITextRange_GetEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
486 HRESULT WINAPI ITextRange_SetEnd_Proxy(ITextRange *This,long cpLim);
487 void __RPC_STUB ITextRange_SetEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
488 HRESULT WINAPI ITextRange_GetFont_Proxy(ITextRange *This,ITextFont **pFont);
489 void __RPC_STUB ITextRange_GetFont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
490 HRESULT WINAPI ITextRange_SetFont_Proxy(ITextRange *This,ITextFont *pFont);
491 void __RPC_STUB ITextRange_SetFont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
492 HRESULT WINAPI ITextRange_GetPara_Proxy(ITextRange *This,ITextPara **pPara);
493 void __RPC_STUB ITextRange_GetPara_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
494 HRESULT WINAPI ITextRange_SetPara_Proxy(ITextRange *This,ITextPara *pPara);
495 void __RPC_STUB ITextRange_SetPara_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
496 HRESULT WINAPI ITextRange_GetStoryLength_Proxy(ITextRange *This,long *pcch);
497 void __RPC_STUB ITextRange_GetStoryLength_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
498 HRESULT WINAPI ITextRange_GetStoryType_Proxy(ITextRange *This,long *pValue);
499 void __RPC_STUB ITextRange_GetStoryType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
500 HRESULT WINAPI ITextRange_Collapse_Proxy(ITextRange *This,long bStart);
501 void __RPC_STUB ITextRange_Collapse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
502 HRESULT WINAPI ITextRange_Expand_Proxy(ITextRange *This,long Unit,long *pDelta);
503 void __RPC_STUB ITextRange_Expand_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
504 HRESULT WINAPI ITextRange_GetIndex_Proxy(ITextRange *This,long Unit,long *pIndex);
505 void __RPC_STUB ITextRange_GetIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
506 HRESULT WINAPI ITextRange_SetIndex_Proxy(ITextRange *This,long Unit,long Index,long Extend);
507 void __RPC_STUB ITextRange_SetIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
508 HRESULT WINAPI ITextRange_SetRange_Proxy(ITextRange *This,long cpActive,long cpOther);
509 void __RPC_STUB ITextRange_SetRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
510 HRESULT WINAPI ITextRange_InRange_Proxy(ITextRange *This,ITextRange *pRange,long *pb);
511 void __RPC_STUB ITextRange_InRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
512 HRESULT WINAPI ITextRange_InStory_Proxy(ITextRange *This,ITextRange *pRange,long *pb);
513 void __RPC_STUB ITextRange_InStory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
514 HRESULT WINAPI ITextRange_IsEqual_Proxy(ITextRange *This,ITextRange *pRange,long *pb);
515 void __RPC_STUB ITextRange_IsEqual_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
516 HRESULT WINAPI ITextRange_Select_Proxy(ITextRange *This);
517 void __RPC_STUB ITextRange_Select_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
518 HRESULT WINAPI ITextRange_StartOf_Proxy(ITextRange *This,long Unit,long Extend,long *pDelta);
519 void __RPC_STUB ITextRange_StartOf_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
520 HRESULT WINAPI ITextRange_EndOf_Proxy(ITextRange *This,long Unit,long Extend,long *pDelta);
521 void __RPC_STUB ITextRange_EndOf_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
522 HRESULT WINAPI ITextRange_Move_Proxy(ITextRange *This,long Unit,long Count,long *pDelta);
523 void __RPC_STUB ITextRange_Move_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
524 HRESULT WINAPI ITextRange_MoveStart_Proxy(ITextRange *This,long Unit,long Count,long *pDelta);
525 void __RPC_STUB ITextRange_MoveStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
526 HRESULT WINAPI ITextRange_MoveEnd_Proxy(ITextRange *This,long Unit,long Count,long *pDelta);
527 void __RPC_STUB ITextRange_MoveEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
528 HRESULT WINAPI ITextRange_MoveWhile_Proxy(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
529 void __RPC_STUB ITextRange_MoveWhile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
530 HRESULT WINAPI ITextRange_MoveStartWhile_Proxy(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
531 void __RPC_STUB ITextRange_MoveStartWhile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
532 HRESULT WINAPI ITextRange_MoveEndWhile_Proxy(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
533 void __RPC_STUB ITextRange_MoveEndWhile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
534 HRESULT WINAPI ITextRange_MoveUntil_Proxy(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
535 void __RPC_STUB ITextRange_MoveUntil_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
536 HRESULT WINAPI ITextRange_MoveStartUntil_Proxy(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
537 void __RPC_STUB ITextRange_MoveStartUntil_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
538 HRESULT WINAPI ITextRange_MoveEndUntil_Proxy(ITextRange *This,VARIANT *Cset,long Count,long *pDelta);
539 void __RPC_STUB ITextRange_MoveEndUntil_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
540 HRESULT WINAPI ITextRange_FindText_Proxy(ITextRange *This,BSTR bstr,long cch,long Flags,long *pLength);
541 void __RPC_STUB ITextRange_FindText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
542 HRESULT WINAPI ITextRange_FindTextStart_Proxy(ITextRange *This,BSTR bstr,long cch,long Flags,long *pLength);
543 void __RPC_STUB ITextRange_FindTextStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
544 HRESULT WINAPI ITextRange_FindTextEnd_Proxy(ITextRange *This,BSTR bstr,long cch,long Flags,long *pLength);
545 void __RPC_STUB ITextRange_FindTextEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
546 HRESULT WINAPI ITextRange_Delete_Proxy(ITextRange *This,long Unit,long Count,long *pDelta);
547 void __RPC_STUB ITextRange_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
548 HRESULT WINAPI ITextRange_Cut_Proxy(ITextRange *This,VARIANT *pVar);
549 void __RPC_STUB ITextRange_Cut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
550 HRESULT WINAPI ITextRange_Copy_Proxy(ITextRange *This,VARIANT *pVar);
551 void __RPC_STUB ITextRange_Copy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
552 HRESULT WINAPI ITextRange_Paste_Proxy(ITextRange *This,VARIANT *pVar,long Format);
553 void __RPC_STUB ITextRange_Paste_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
554 HRESULT WINAPI ITextRange_CanPaste_Proxy(ITextRange *This,VARIANT *pVar,long Format,long *pb);
555 void __RPC_STUB ITextRange_CanPaste_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
556 HRESULT WINAPI ITextRange_CanEdit_Proxy(ITextRange *This,long *pbCanEdit);
557 void __RPC_STUB ITextRange_CanEdit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
558 HRESULT WINAPI ITextRange_ChangeCase_Proxy(ITextRange *This,long Type);
559 void __RPC_STUB ITextRange_ChangeCase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
560 HRESULT WINAPI ITextRange_GetPoint_Proxy(ITextRange *This,long Type,long *px,long *py);
561 void __RPC_STUB ITextRange_GetPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
562 HRESULT WINAPI ITextRange_SetPoint_Proxy(ITextRange *This,long x,long y,long Type,long Extend);
563 void __RPC_STUB ITextRange_SetPoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
564 HRESULT WINAPI ITextRange_ScrollIntoView_Proxy(ITextRange *This,long Value);
565 void __RPC_STUB ITextRange_ScrollIntoView_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
566 HRESULT WINAPI ITextRange_GetEmbeddedObject_Proxy(ITextRange *This,IUnknown **ppv);
567 void __RPC_STUB ITextRange_GetEmbeddedObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
568 #endif
569
570 #ifndef __ITextSelection_INTERFACE_DEFINED__
571 #define __ITextSelection_INTERFACE_DEFINED__
572 EXTERN_C const IID IID_ITextSelection;
573 #if defined(__cplusplus) && !defined(CINTERFACE)
574 struct ITextSelection : public ITextRange {
575 public:
576 virtual HRESULT WINAPI GetFlags(long *pFlags) = 0;
577 virtual HRESULT WINAPI SetFlags(LONG Flags) = 0;
578 virtual HRESULT WINAPI GetType(long *pType) = 0;
579 virtual HRESULT WINAPI MoveLeft(long Unit,long Count,long Extend,long *pDelta) = 0;
580 virtual HRESULT WINAPI MoveRight(long Unit,long Count,long Extend,long *pDelta) = 0;
581 virtual HRESULT WINAPI MoveUp(long Unit,long Count,long Extend,long *pDelta) = 0;
582 virtual HRESULT WINAPI MoveDown(long Unit,long Count,long Extend,long *pDelta) = 0;
583 virtual HRESULT WINAPI HomeKey(long Unit,long Extend,long *pDelta) = 0;
584 virtual HRESULT WINAPI EndKey(long Unit,long Extend,long *pDelta) = 0;
585 virtual HRESULT WINAPI TypeText(BSTR bstr) = 0;
586 };
587 #else
588 typedef struct ITextSelectionVtbl {
589 BEGIN_INTERFACE
590 HRESULT (WINAPI *QueryInterface)(ITextSelection *This,REFIID riid,void **ppvObject);
591 ULONG (WINAPI *AddRef)(ITextSelection *This);
592 ULONG (WINAPI *Release)(ITextSelection *This);
593 HRESULT (WINAPI *GetTypeInfoCount)(ITextSelection *This,UINT *pctinfo);
594 HRESULT (WINAPI *GetTypeInfo)(ITextSelection *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
595 HRESULT (WINAPI *GetIDsOfNames)(ITextSelection *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
596 HRESULT (WINAPI *Invoke)(ITextSelection *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
597 HRESULT (WINAPI *GetText)(ITextSelection *This,BSTR *pbstr);
598 HRESULT (WINAPI *SetText)(ITextSelection *This,BSTR bstr);
599 HRESULT (WINAPI *GetChar)(ITextSelection *This,long *pch);
600 HRESULT (WINAPI *SetChar)(ITextSelection *This,long ch);
601 HRESULT (WINAPI *GetDuplicate)(ITextSelection *This,ITextRange **ppRange);
602 HRESULT (WINAPI *GetFormattedText)(ITextSelection *This,ITextRange **ppRange);
603 HRESULT (WINAPI *SetFormattedText)(ITextSelection *This,ITextRange *pRange);
604 HRESULT (WINAPI *GetStart)(ITextSelection *This,long *pcpFirst);
605 HRESULT (WINAPI *SetStart)(ITextSelection *This,long cpFirst);
606 HRESULT (WINAPI *GetEnd)(ITextSelection *This,long *pcpLim);
607 HRESULT (WINAPI *SetEnd)(ITextSelection *This,long cpLim);
608 HRESULT (WINAPI *GetFont)(ITextSelection *This,ITextFont **pFont);
609 HRESULT (WINAPI *SetFont)(ITextSelection *This,ITextFont *pFont);
610 HRESULT (WINAPI *GetPara)(ITextSelection *This,ITextPara **pPara);
611 HRESULT (WINAPI *SetPara)(ITextSelection *This,ITextPara *pPara);
612 HRESULT (WINAPI *GetStoryLength)(ITextSelection *This,long *pcch);
613 HRESULT (WINAPI *GetStoryType)(ITextSelection *This,long *pValue);
614 HRESULT (WINAPI *Collapse)(ITextSelection *This,long bStart);
615 HRESULT (WINAPI *Expand)(ITextSelection *This,long Unit,long *pDelta);
616 HRESULT (WINAPI *GetIndex)(ITextSelection *This,long Unit,long *pIndex);
617 HRESULT (WINAPI *SetIndex)(ITextSelection *This,long Unit,long Index,long Extend);
618 HRESULT (WINAPI *SetRange)(ITextSelection *This,long cpActive,long cpOther);
619 HRESULT (WINAPI *InRange)(ITextSelection *This,ITextRange *pRange,long *pb);
620 HRESULT (WINAPI *InStory)(ITextSelection *This,ITextRange *pRange,long *pb);
621 HRESULT (WINAPI *IsEqual)(ITextSelection *This,ITextRange *pRange,long *pb);
622 HRESULT (WINAPI *Select)(ITextSelection *This);
623 HRESULT (WINAPI *StartOf)(ITextSelection *This,long Unit,long Extend,long *pDelta);
624 HRESULT (WINAPI *EndOf)(ITextSelection *This,long Unit,long Extend,long *pDelta);
625 HRESULT (WINAPI *Move)(ITextSelection *This,long Unit,long Count,long *pDelta);
626 HRESULT (WINAPI *MoveStart)(ITextSelection *This,long Unit,long Count,long *pDelta);
627 HRESULT (WINAPI *MoveEnd)(ITextSelection *This,long Unit,long Count,long *pDelta);
628 HRESULT (WINAPI *MoveWhile)(ITextSelection *This,VARIANT *Cset,long Count,long *pDelta);
629 HRESULT (WINAPI *MoveStartWhile)(ITextSelection *This,VARIANT *Cset,long Count,long *pDelta);
630 HRESULT (WINAPI *MoveEndWhile)(ITextSelection *This,VARIANT *Cset,long Count,long *pDelta);
631 HRESULT (WINAPI *MoveUntil)(ITextSelection *This,VARIANT *Cset,long Count,long *pDelta);
632 HRESULT (WINAPI *MoveStartUntil)(ITextSelection *This,VARIANT *Cset,long Count,long *pDelta);
633 HRESULT (WINAPI *MoveEndUntil)(ITextSelection *This,VARIANT *Cset,long Count,long *pDelta);
634 HRESULT (WINAPI *FindText)(ITextSelection *This,BSTR bstr,long cch,long Flags,long *pLength);
635 HRESULT (WINAPI *FindTextStart)(ITextSelection *This,BSTR bstr,long cch,long Flags,long *pLength);
636 HRESULT (WINAPI *FindTextEnd)(ITextSelection *This,BSTR bstr,long cch,long Flags,long *pLength);
637 HRESULT (WINAPI *Delete)(ITextSelection *This,long Unit,long Count,long *pDelta);
638 HRESULT (WINAPI *Cut)(ITextSelection *This,VARIANT *pVar);
639 HRESULT (WINAPI *Copy)(ITextSelection *This,VARIANT *pVar);
640 HRESULT (WINAPI *Paste)(ITextSelection *This,VARIANT *pVar,long Format);
641 HRESULT (WINAPI *CanPaste)(ITextSelection *This,VARIANT *pVar,long Format,long *pb);
642 HRESULT (WINAPI *CanEdit)(ITextSelection *This,long *pbCanEdit);
643 HRESULT (WINAPI *ChangeCase)(ITextSelection *This,long Type);
644 HRESULT (WINAPI *GetPoint)(ITextSelection *This,long Type,long *px,long *py);
645 HRESULT (WINAPI *SetPoint)(ITextSelection *This,long x,long y,long Type,long Extend);
646 HRESULT (WINAPI *ScrollIntoView)(ITextSelection *This,long Value);
647 HRESULT (WINAPI *GetEmbeddedObject)(ITextSelection *This,IUnknown **ppv);
648 HRESULT (WINAPI *GetFlags)(ITextSelection *This,long *pFlags);
649 HRESULT (WINAPI *SetFlags)(ITextSelection *This,LONG Flags);
650 HRESULT (WINAPI *GetType)(ITextSelection *This,long *pType);
651 HRESULT (WINAPI *MoveLeft)(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
652 HRESULT (WINAPI *MoveRight)(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
653 HRESULT (WINAPI *MoveUp)(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
654 HRESULT (WINAPI *MoveDown)(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
655 HRESULT (WINAPI *HomeKey)(ITextSelection *This,long Unit,long Extend,long *pDelta);
656 HRESULT (WINAPI *EndKey)(ITextSelection *This,long Unit,long Extend,long *pDelta);
657 HRESULT (WINAPI *TypeText)(ITextSelection *This,BSTR bstr);
658 END_INTERFACE
659 } ITextSelectionVtbl;
660
661 struct ITextSelection {
662 CONST_VTBL struct ITextSelectionVtbl *lpVtbl;
663 };
664 #ifdef COBJMACROS
665 #define ITextSelection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
666 #define ITextSelection_AddRef(This) (This)->lpVtbl->AddRef(This)
667 #define ITextSelection_Release(This) (This)->lpVtbl->Release(This)
668 #define ITextSelection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
669 #define ITextSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
670 #define ITextSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
671 #define ITextSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
672 #define ITextSelection_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr)
673 #define ITextSelection_SetText(This,bstr) (This)->lpVtbl->SetText(This,bstr)
674 #define ITextSelection_GetChar(This,pch) (This)->lpVtbl->GetChar(This,pch)
675 #define ITextSelection_SetChar(This,ch) (This)->lpVtbl->SetChar(This,ch)
676 #define ITextSelection_GetDuplicate(This,ppRange) (This)->lpVtbl->GetDuplicate(This,ppRange)
677 #define ITextSelection_GetFormattedText(This,ppRange) (This)->lpVtbl->GetFormattedText(This,ppRange)
678 #define ITextSelection_SetFormattedText(This,pRange) (This)->lpVtbl->SetFormattedText(This,pRange)
679 #define ITextSelection_GetStart(This,pcpFirst) (This)->lpVtbl->GetStart(This,pcpFirst)
680 #define ITextSelection_SetStart(This,cpFirst) (This)->lpVtbl->SetStart(This,cpFirst)
681 #define ITextSelection_GetEnd(This,pcpLim) (This)->lpVtbl->GetEnd(This,pcpLim)
682 #define ITextSelection_SetEnd(This,cpLim) (This)->lpVtbl->SetEnd(This,cpLim)
683 #define ITextSelection_GetFont(This,pFont) (This)->lpVtbl->GetFont(This,pFont)
684 #define ITextSelection_SetFont(This,pFont) (This)->lpVtbl->SetFont(This,pFont)
685 #define ITextSelection_GetPara(This,pPara) (This)->lpVtbl->GetPara(This,pPara)
686 #define ITextSelection_SetPara(This,pPara) (This)->lpVtbl->SetPara(This,pPara)
687 #define ITextSelection_GetStoryLength(This,pcch) (This)->lpVtbl->GetStoryLength(This,pcch)
688 #define ITextSelection_GetStoryType(This,pValue) (This)->lpVtbl->GetStoryType(This,pValue)
689 #define ITextSelection_Collapse(This,bStart) (This)->lpVtbl->Collapse(This,bStart)
690 #define ITextSelection_Expand(This,Unit,pDelta) (This)->lpVtbl->Expand(This,Unit,pDelta)
691 #define ITextSelection_GetIndex(This,Unit,pIndex) (This)->lpVtbl->GetIndex(This,Unit,pIndex)
692 #define ITextSelection_SetIndex(This,Unit,Index,Extend) (This)->lpVtbl->SetIndex(This,Unit,Index,Extend)
693 #define ITextSelection_SetRange(This,cpActive,cpOther) (This)->lpVtbl->SetRange(This,cpActive,cpOther)
694 #define ITextSelection_InRange(This,pRange,pb) (This)->lpVtbl->InRange(This,pRange,pb)
695 #define ITextSelection_InStory(This,pRange,pb) (This)->lpVtbl->InStory(This,pRange,pb)
696 #define ITextSelection_IsEqual(This,pRange,pb) (This)->lpVtbl->IsEqual(This,pRange,pb)
697 #define ITextSelection_Select(This) (This)->lpVtbl->Select(This)
698 #define ITextSelection_StartOf(This,Unit,Extend,pDelta) (This)->lpVtbl->StartOf(This,Unit,Extend,pDelta)
699 #define ITextSelection_EndOf(This,Unit,Extend,pDelta) (This)->lpVtbl->EndOf(This,Unit,Extend,pDelta)
700 #define ITextSelection_Move(This,Unit,Count,pDelta) (This)->lpVtbl->Move(This,Unit,Count,pDelta)
701 #define ITextSelection_MoveStart(This,Unit,Count,pDelta) (This)->lpVtbl->MoveStart(This,Unit,Count,pDelta)
702 #define ITextSelection_MoveEnd(This,Unit,Count,pDelta) (This)->lpVtbl->MoveEnd(This,Unit,Count,pDelta)
703 #define ITextSelection_MoveWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveWhile(This,Cset,Count,pDelta)
704 #define ITextSelection_MoveStartWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartWhile(This,Cset,Count,pDelta)
705 #define ITextSelection_MoveEndWhile(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndWhile(This,Cset,Count,pDelta)
706 #define ITextSelection_MoveUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveUntil(This,Cset,Count,pDelta)
707 #define ITextSelection_MoveStartUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveStartUntil(This,Cset,Count,pDelta)
708 #define ITextSelection_MoveEndUntil(This,Cset,Count,pDelta) (This)->lpVtbl->MoveEndUntil(This,Cset,Count,pDelta)
709 #define ITextSelection_FindText(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindText(This,bstr,cch,Flags,pLength)
710 #define ITextSelection_FindTextStart(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextStart(This,bstr,cch,Flags,pLength)
711 #define ITextSelection_FindTextEnd(This,bstr,cch,Flags,pLength) (This)->lpVtbl->FindTextEnd(This,bstr,cch,Flags,pLength)
712 #define ITextSelection_Delete(This,Unit,Count,pDelta) (This)->lpVtbl->Delete(This,Unit,Count,pDelta)
713 #define ITextSelection_Cut(This,pVar) (This)->lpVtbl->Cut(This,pVar)
714 #define ITextSelection_Copy(This,pVar) (This)->lpVtbl->Copy(This,pVar)
715 #define ITextSelection_Paste(This,pVar,Format) (This)->lpVtbl->Paste(This,pVar,Format)
716 #define ITextSelection_CanPaste(This,pVar,Format,pb) (This)->lpVtbl->CanPaste(This,pVar,Format,pb)
717 #define ITextSelection_CanEdit(This,pbCanEdit) (This)->lpVtbl->CanEdit(This,pbCanEdit)
718 #define ITextSelection_ChangeCase(This,Type) (This)->lpVtbl->ChangeCase(This,Type)
719 #define ITextSelection_GetPoint(This,Type,px,py) (This)->lpVtbl->GetPoint(This,Type,px,py)
720 #define ITextSelection_SetPoint(This,x,y,Type,Extend) (This)->lpVtbl->SetPoint(This,x,y,Type,Extend)
721 #define ITextSelection_ScrollIntoView(This,Value) (This)->lpVtbl->ScrollIntoView(This,Value)
722 #define ITextSelection_GetEmbeddedObject(This,ppv) (This)->lpVtbl->GetEmbeddedObject(This,ppv)
723 #define ITextSelection_GetFlags(This,pFlags) (This)->lpVtbl->GetFlags(This,pFlags)
724 #define ITextSelection_SetFlags(This,Flags) (This)->lpVtbl->SetFlags(This,Flags)
725 #define ITextSelection_GetType(This,pType) (This)->lpVtbl->GetType(This,pType)
726 #define ITextSelection_MoveLeft(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveLeft(This,Unit,Count,Extend,pDelta)
727 #define ITextSelection_MoveRight(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveRight(This,Unit,Count,Extend,pDelta)
728 #define ITextSelection_MoveUp(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveUp(This,Unit,Count,Extend,pDelta)
729 #define ITextSelection_MoveDown(This,Unit,Count,Extend,pDelta) (This)->lpVtbl->MoveDown(This,Unit,Count,Extend,pDelta)
730 #define ITextSelection_HomeKey(This,Unit,Extend,pDelta) (This)->lpVtbl->HomeKey(This,Unit,Extend,pDelta)
731 #define ITextSelection_EndKey(This,Unit,Extend,pDelta) (This)->lpVtbl->EndKey(This,Unit,Extend,pDelta)
732 #define ITextSelection_TypeText(This,bstr) (This)->lpVtbl->TypeText(This,bstr)
733 #endif
734 #endif
735 HRESULT WINAPI ITextSelection_GetFlags_Proxy(ITextSelection *This,long *pFlags);
736 void __RPC_STUB ITextSelection_GetFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
737 HRESULT WINAPI ITextSelection_SetFlags_Proxy(ITextSelection *This,LONG Flags);
738 void __RPC_STUB ITextSelection_SetFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
739 HRESULT WINAPI ITextSelection_GetType_Proxy(ITextSelection *This,long *pType);
740 void __RPC_STUB ITextSelection_GetType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
741 HRESULT WINAPI ITextSelection_MoveLeft_Proxy(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
742 void __RPC_STUB ITextSelection_MoveLeft_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
743 HRESULT WINAPI ITextSelection_MoveRight_Proxy(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
744 void __RPC_STUB ITextSelection_MoveRight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
745 HRESULT WINAPI ITextSelection_MoveUp_Proxy(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
746 void __RPC_STUB ITextSelection_MoveUp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
747 HRESULT WINAPI ITextSelection_MoveDown_Proxy(ITextSelection *This,long Unit,long Count,long Extend,long *pDelta);
748 void __RPC_STUB ITextSelection_MoveDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
749 HRESULT WINAPI ITextSelection_HomeKey_Proxy(ITextSelection *This,long Unit,long Extend,long *pDelta);
750 void __RPC_STUB ITextSelection_HomeKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
751 HRESULT WINAPI ITextSelection_EndKey_Proxy(ITextSelection *This,long Unit,long Extend,long *pDelta);
752 void __RPC_STUB ITextSelection_EndKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
753 HRESULT WINAPI ITextSelection_TypeText_Proxy(ITextSelection *This,BSTR bstr);
754 void __RPC_STUB ITextSelection_TypeText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
755 #endif
756
757 #ifndef __ITextFont_INTERFACE_DEFINED__
758 #define __ITextFont_INTERFACE_DEFINED__
759 EXTERN_C const IID IID_ITextFont;
760 #if defined(__cplusplus) && !defined(CINTERFACE)
761 struct ITextFont : public IDispatch {
762 public:
763 virtual HRESULT WINAPI GetDuplicate(ITextFont **ppFont) = 0;
764 virtual HRESULT WINAPI SetDuplicate(ITextFont *pFont) = 0;
765 virtual HRESULT WINAPI CanChange(long *pB) = 0;
766 virtual HRESULT WINAPI IsEqual(ITextFont *pFont,long *pB) = 0;
767 virtual HRESULT WINAPI Reset(long Value) = 0;
768 virtual HRESULT WINAPI GetStyle(long *pValue) = 0;
769 virtual HRESULT WINAPI SetStyle(long Value) = 0;
770 virtual HRESULT WINAPI GetAllCaps(long *pValue) = 0;
771 virtual HRESULT WINAPI SetAllCaps(long Value) = 0;
772 virtual HRESULT WINAPI GetAnimation(long *pValue) = 0;
773 virtual HRESULT WINAPI SetAnimation(long Value) = 0;
774 virtual HRESULT WINAPI GetBackColor(long *pValue) = 0;
775 virtual HRESULT WINAPI SetBackColor(long Value) = 0;
776 virtual HRESULT WINAPI GetBold(long *pValue) = 0;
777 virtual HRESULT WINAPI SetBold(long Value) = 0;
778 virtual HRESULT WINAPI GetEmboss(long *pValue) = 0;
779 virtual HRESULT WINAPI SetEmboss(long Value) = 0;
780 virtual HRESULT WINAPI GetForeColor(long *pValue) = 0;
781 virtual HRESULT WINAPI SetForeColor(long Value) = 0;
782 virtual HRESULT WINAPI GetHidden(long *pValue) = 0;
783 virtual HRESULT WINAPI SetHidden(long Value) = 0;
784 virtual HRESULT WINAPI GetEngrave(long *pValue) = 0;
785 virtual HRESULT WINAPI SetEngrave(long Value) = 0;
786 virtual HRESULT WINAPI GetItalic(long *pValue) = 0;
787 virtual HRESULT WINAPI SetItalic(long Value) = 0;
788 virtual HRESULT WINAPI GetKerning(float *pValue) = 0;
789 virtual HRESULT WINAPI SetKerning(float Value) = 0;
790 virtual HRESULT WINAPI GetLanguageID(long *pValue) = 0;
791 virtual HRESULT WINAPI SetLanguageID(long Value) = 0;
792 virtual HRESULT WINAPI GetName(BSTR *pbstr) = 0;
793 virtual HRESULT WINAPI SetName(BSTR bstr) = 0;
794 virtual HRESULT WINAPI GetOutline(long *pValue) = 0;
795 virtual HRESULT WINAPI SetOutline(long Value) = 0;
796 virtual HRESULT WINAPI GetPosition(float *pValue) = 0;
797 virtual HRESULT WINAPI SetPosition(float Value) = 0;
798 virtual HRESULT WINAPI GetProtected(long *pValue) = 0;
799 virtual HRESULT WINAPI SetProtected(long Value) = 0;
800 virtual HRESULT WINAPI GetShadow(long *pValue) = 0;
801 virtual HRESULT WINAPI SetShadow(long Value) = 0;
802 virtual HRESULT WINAPI GetSize(float *pValue) = 0;
803 virtual HRESULT WINAPI SetSize(float Value) = 0;
804 virtual HRESULT WINAPI GetSmallCaps(long *pValue) = 0;
805 virtual HRESULT WINAPI SetSmallCaps(long Value) = 0;
806 virtual HRESULT WINAPI GetSpacing(float *pValue) = 0;
807 virtual HRESULT WINAPI SetSpacing(float Value) = 0;
808 virtual HRESULT WINAPI GetStrikeThrough(long *pValue) = 0;
809 virtual HRESULT WINAPI SetStrikeThrough(long Value) = 0;
810 virtual HRESULT WINAPI GetSubscript(long *pValue) = 0;
811 virtual HRESULT WINAPI SetSubscript(long Value) = 0;
812 virtual HRESULT WINAPI GetSuperscript(long *pValue) = 0;
813 virtual HRESULT WINAPI SetSuperscript(long Value) = 0;
814 virtual HRESULT WINAPI GetUnderline(long *pValue) = 0;
815 virtual HRESULT WINAPI SetUnderline(long Value) = 0;
816 virtual HRESULT WINAPI GetWeight(long *pValue) = 0;
817 virtual HRESULT WINAPI SetWeight(long Value) = 0;
818 };
819 #else
820 typedef struct ITextFontVtbl {
821 BEGIN_INTERFACE
822 HRESULT (WINAPI *QueryInterface)(ITextFont *This,REFIID riid,void **ppvObject);
823 ULONG (WINAPI *AddRef)(ITextFont *This);
824 ULONG (WINAPI *Release)(ITextFont *This);
825 HRESULT (WINAPI *GetTypeInfoCount)(ITextFont *This,UINT *pctinfo);
826 HRESULT (WINAPI *GetTypeInfo)(ITextFont *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
827 HRESULT (WINAPI *GetIDsOfNames)(ITextFont *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
828 HRESULT (WINAPI *Invoke)(ITextFont *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
829 HRESULT (WINAPI *GetDuplicate)(ITextFont *This,ITextFont **ppFont);
830 HRESULT (WINAPI *SetDuplicate)(ITextFont *This,ITextFont *pFont);
831 HRESULT (WINAPI *CanChange)(ITextFont *This,long *pB);
832 HRESULT (WINAPI *IsEqual)(ITextFont *This,ITextFont *pFont,long *pB);
833 HRESULT (WINAPI *Reset)(ITextFont *This,long Value);
834 HRESULT (WINAPI *GetStyle)(ITextFont *This,long *pValue);
835 HRESULT (WINAPI *SetStyle)(ITextFont *This,long Value);
836 HRESULT (WINAPI *GetAllCaps)(ITextFont *This,long *pValue);
837 HRESULT (WINAPI *SetAllCaps)(ITextFont *This,long Value);
838 HRESULT (WINAPI *GetAnimation)(ITextFont *This,long *pValue);
839 HRESULT (WINAPI *SetAnimation)(ITextFont *This,long Value);
840 HRESULT (WINAPI *GetBackColor)(ITextFont *This,long *pValue);
841 HRESULT (WINAPI *SetBackColor)(ITextFont *This,long Value);
842 HRESULT (WINAPI *GetBold)(ITextFont *This,long *pValue);
843 HRESULT (WINAPI *SetBold)(ITextFont *This,long Value);
844 HRESULT (WINAPI *GetEmboss)(ITextFont *This,long *pValue);
845 HRESULT (WINAPI *SetEmboss)(ITextFont *This,long Value);
846 HRESULT (WINAPI *GetForeColor)(ITextFont *This,long *pValue);
847 HRESULT (WINAPI *SetForeColor)(ITextFont *This,long Value);
848 HRESULT (WINAPI *GetHidden)(ITextFont *This,long *pValue);
849 HRESULT (WINAPI *SetHidden)(ITextFont *This,long Value);
850 HRESULT (WINAPI *GetEngrave)(ITextFont *This,long *pValue);
851 HRESULT (WINAPI *SetEngrave)(ITextFont *This,long Value);
852 HRESULT (WINAPI *GetItalic)(ITextFont *This,long *pValue);
853 HRESULT (WINAPI *SetItalic)(ITextFont *This,long Value);
854 HRESULT (WINAPI *GetKerning)(ITextFont *This,float *pValue);
855 HRESULT (WINAPI *SetKerning)(ITextFont *This,float Value);
856 HRESULT (WINAPI *GetLanguageID)(ITextFont *This,long *pValue);
857 HRESULT (WINAPI *SetLanguageID)(ITextFont *This,long Value);
858 HRESULT (WINAPI *GetName)(ITextFont *This,BSTR *pbstr);
859 HRESULT (WINAPI *SetName)(ITextFont *This,BSTR bstr);
860 HRESULT (WINAPI *GetOutline)(ITextFont *This,long *pValue);
861 HRESULT (WINAPI *SetOutline)(ITextFont *This,long Value);
862 HRESULT (WINAPI *GetPosition)(ITextFont *This,float *pValue);
863 HRESULT (WINAPI *SetPosition)(ITextFont *This,float Value);
864 HRESULT (WINAPI *GetProtected)(ITextFont *This,long *pValue);
865 HRESULT (WINAPI *SetProtected)(ITextFont *This,long Value);
866 HRESULT (WINAPI *GetShadow)(ITextFont *This,long *pValue);
867 HRESULT (WINAPI *SetShadow)(ITextFont *This,long Value);
868 HRESULT (WINAPI *GetSize)(ITextFont *This,float *pValue);
869 HRESULT (WINAPI *SetSize)(ITextFont *This,float Value);
870 HRESULT (WINAPI *GetSmallCaps)(ITextFont *This,long *pValue);
871 HRESULT (WINAPI *SetSmallCaps)(ITextFont *This,long Value);
872 HRESULT (WINAPI *GetSpacing)(ITextFont *This,float *pValue);
873 HRESULT (WINAPI *SetSpacing)(ITextFont *This,float Value);
874 HRESULT (WINAPI *GetStrikeThrough)(ITextFont *This,long *pValue);
875 HRESULT (WINAPI *SetStrikeThrough)(ITextFont *This,long Value);
876 HRESULT (WINAPI *GetSubscript)(ITextFont *This,long *pValue);
877 HRESULT (WINAPI *SetSubscript)(ITextFont *This,long Value);
878 HRESULT (WINAPI *GetSuperscript)(ITextFont *This,long *pValue);
879 HRESULT (WINAPI *SetSuperscript)(ITextFont *This,long Value);
880 HRESULT (WINAPI *GetUnderline)(ITextFont *This,long *pValue);
881 HRESULT (WINAPI *SetUnderline)(ITextFont *This,long Value);
882 HRESULT (WINAPI *GetWeight)(ITextFont *This,long *pValue);
883 HRESULT (WINAPI *SetWeight)(ITextFont *This,long Value);
884 END_INTERFACE
885 } ITextFontVtbl;
886 struct ITextFont {
887 CONST_VTBL struct ITextFontVtbl *lpVtbl;
888 };
889 #ifdef COBJMACROS
890 #define ITextFont_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
891 #define ITextFont_AddRef(This) (This)->lpVtbl->AddRef(This)
892 #define ITextFont_Release(This) (This)->lpVtbl->Release(This)
893 #define ITextFont_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
894 #define ITextFont_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
895 #define ITextFont_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
896 #define ITextFont_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
897 #define ITextFont_GetDuplicate(This,ppFont) (This)->lpVtbl->GetDuplicate(This,ppFont)
898 #define ITextFont_SetDuplicate(This,pFont) (This)->lpVtbl->SetDuplicate(This,pFont)
899 #define ITextFont_CanChange(This,pB) (This)->lpVtbl->CanChange(This,pB)
900 #define ITextFont_IsEqual(This,pFont,pB) (This)->lpVtbl->IsEqual(This,pFont,pB)
901 #define ITextFont_Reset(This,Value) (This)->lpVtbl->Reset(This,Value)
902 #define ITextFont_GetStyle(This,pValue) (This)->lpVtbl->GetStyle(This,pValue)
903 #define ITextFont_SetStyle(This,Value) (This)->lpVtbl->SetStyle(This,Value)
904 #define ITextFont_GetAllCaps(This,pValue) (This)->lpVtbl->GetAllCaps(This,pValue)
905 #define ITextFont_SetAllCaps(This,Value) (This)->lpVtbl->SetAllCaps(This,Value)
906 #define ITextFont_GetAnimation(This,pValue) (This)->lpVtbl->GetAnimation(This,pValue)
907 #define ITextFont_SetAnimation(This,Value) (This)->lpVtbl->SetAnimation(This,Value)
908 #define ITextFont_GetBackColor(This,pValue) (This)->lpVtbl->GetBackColor(This,pValue)
909 #define ITextFont_SetBackColor(This,Value) (This)->lpVtbl->SetBackColor(This,Value)
910 #define ITextFont_GetBold(This,pValue) (This)->lpVtbl->GetBold(This,pValue)
911 #define ITextFont_SetBold(This,Value) (This)->lpVtbl->SetBold(This,Value)
912 #define ITextFont_GetEmboss(This,pValue) (This)->lpVtbl->GetEmboss(This,pValue)
913 #define ITextFont_SetEmboss(This,Value) (This)->lpVtbl->SetEmboss(This,Value)
914 #define ITextFont_GetForeColor(This,pValue) (This)->lpVtbl->GetForeColor(This,pValue)
915 #define ITextFont_SetForeColor(This,Value) (This)->lpVtbl->SetForeColor(This,Value)
916 #define ITextFont_GetHidden(This,pValue) (This)->lpVtbl->GetHidden(This,pValue)
917 #define ITextFont_SetHidden(This,Value) (This)->lpVtbl->SetHidden(This,Value)
918 #define ITextFont_GetEngrave(This,pValue) (This)->lpVtbl->GetEngrave(This,pValue)
919 #define ITextFont_SetEngrave(This,Value) (This)->lpVtbl->SetEngrave(This,Value)
920 #define ITextFont_GetItalic(This,pValue) (This)->lpVtbl->GetItalic(This,pValue)
921 #define ITextFont_SetItalic(This,Value) (This)->lpVtbl->SetItalic(This,Value)
922 #define ITextFont_GetKerning(This,pValue) (This)->lpVtbl->GetKerning(This,pValue)
923 #define ITextFont_SetKerning(This,Value) (This)->lpVtbl->SetKerning(This,Value)
924 #define ITextFont_GetLanguageID(This,pValue) (This)->lpVtbl->GetLanguageID(This,pValue)
925 #define ITextFont_SetLanguageID(This,Value) (This)->lpVtbl->SetLanguageID(This,Value)
926 #define ITextFont_GetName(This,pbstr) (This)->lpVtbl->GetName(This,pbstr)
927 #define ITextFont_SetName(This,bstr) (This)->lpVtbl->SetName(This,bstr)
928 #define ITextFont_GetOutline(This,pValue) (This)->lpVtbl->GetOutline(This,pValue)
929 #define ITextFont_SetOutline(This,Value) (This)->lpVtbl->SetOutline(This,Value)
930 #define ITextFont_GetPosition(This,pValue) (This)->lpVtbl->GetPosition(This,pValue)
931 #define ITextFont_SetPosition(This,Value) (This)->lpVtbl->SetPosition(This,Value)
932 #define ITextFont_GetProtected(This,pValue) (This)->lpVtbl->GetProtected(This,pValue)
933 #define ITextFont_SetProtected(This,Value) (This)->lpVtbl->SetProtected(This,Value)
934 #define ITextFont_GetShadow(This,pValue) (This)->lpVtbl->GetShadow(This,pValue)
935 #define ITextFont_SetShadow(This,Value) (This)->lpVtbl->SetShadow(This,Value)
936 #define ITextFont_GetSize(This,pValue) (This)->lpVtbl->GetSize(This,pValue)
937 #define ITextFont_SetSize(This,Value) (This)->lpVtbl->SetSize(This,Value)
938 #define ITextFont_GetSmallCaps(This,pValue) (This)->lpVtbl->GetSmallCaps(This,pValue)
939 #define ITextFont_SetSmallCaps(This,Value) (This)->lpVtbl->SetSmallCaps(This,Value)
940 #define ITextFont_GetSpacing(This,pValue) (This)->lpVtbl->GetSpacing(This,pValue)
941 #define ITextFont_SetSpacing(This,Value) (This)->lpVtbl->SetSpacing(This,Value)
942 #define ITextFont_GetStrikeThrough(This,pValue) (This)->lpVtbl->GetStrikeThrough(This,pValue)
943 #define ITextFont_SetStrikeThrough(This,Value) (This)->lpVtbl->SetStrikeThrough(This,Value)
944 #define ITextFont_GetSubscript(This,pValue) (This)->lpVtbl->GetSubscript(This,pValue)
945 #define ITextFont_SetSubscript(This,Value) (This)->lpVtbl->SetSubscript(This,Value)
946 #define ITextFont_GetSuperscript(This,pValue) (This)->lpVtbl->GetSuperscript(This,pValue)
947 #define ITextFont_SetSuperscript(This,Value) (This)->lpVtbl->SetSuperscript(This,Value)
948 #define ITextFont_GetUnderline(This,pValue) (This)->lpVtbl->GetUnderline(This,pValue)
949 #define ITextFont_SetUnderline(This,Value) (This)->lpVtbl->SetUnderline(This,Value)
950 #define ITextFont_GetWeight(This,pValue) (This)->lpVtbl->GetWeight(This,pValue)
951 #define ITextFont_SetWeight(This,Value) (This)->lpVtbl->SetWeight(This,Value)
952 #endif
953 #endif
954 HRESULT WINAPI ITextFont_GetDuplicate_Proxy(ITextFont *This,ITextFont **ppFont);
955 void __RPC_STUB ITextFont_GetDuplicate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
956 HRESULT WINAPI ITextFont_SetDuplicate_Proxy(ITextFont *This,ITextFont *pFont);
957 void __RPC_STUB ITextFont_SetDuplicate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
958 HRESULT WINAPI ITextFont_CanChange_Proxy(ITextFont *This,long *pB);
959 void __RPC_STUB ITextFont_CanChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
960 HRESULT WINAPI ITextFont_IsEqual_Proxy(ITextFont *This,ITextFont *pFont,long *pB);
961 void __RPC_STUB ITextFont_IsEqual_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
962 HRESULT WINAPI ITextFont_Reset_Proxy(ITextFont *This,long Value);
963 void __RPC_STUB ITextFont_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
964 HRESULT WINAPI ITextFont_GetStyle_Proxy(ITextFont *This,long *pValue);
965 void __RPC_STUB ITextFont_GetStyle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
966 HRESULT WINAPI ITextFont_SetStyle_Proxy(ITextFont *This,long Value);
967 void __RPC_STUB ITextFont_SetStyle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
968 HRESULT WINAPI ITextFont_GetAllCaps_Proxy(ITextFont *This,long *pValue);
969 void __RPC_STUB ITextFont_GetAllCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
970 HRESULT WINAPI ITextFont_SetAllCaps_Proxy(ITextFont *This,long Value);
971 void __RPC_STUB ITextFont_SetAllCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
972 HRESULT WINAPI ITextFont_GetAnimation_Proxy(ITextFont *This,long *pValue);
973 void __RPC_STUB ITextFont_GetAnimation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
974 HRESULT WINAPI ITextFont_SetAnimation_Proxy(ITextFont *This,long Value);
975 void __RPC_STUB ITextFont_SetAnimation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
976 HRESULT WINAPI ITextFont_GetBackColor_Proxy(ITextFont *This,long *pValue);
977 void __RPC_STUB ITextFont_GetBackColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
978 HRESULT WINAPI ITextFont_SetBackColor_Proxy(ITextFont *This,long Value);
979 void __RPC_STUB ITextFont_SetBackColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
980 HRESULT WINAPI ITextFont_GetBold_Proxy(ITextFont *This,long *pValue);
981 void __RPC_STUB ITextFont_GetBold_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
982 HRESULT WINAPI ITextFont_SetBold_Proxy(ITextFont *This,long Value);
983 void __RPC_STUB ITextFont_SetBold_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
984 HRESULT WINAPI ITextFont_GetEmboss_Proxy(ITextFont *This,long *pValue);
985 void __RPC_STUB ITextFont_GetEmboss_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
986 HRESULT WINAPI ITextFont_SetEmboss_Proxy(ITextFont *This,long Value);
987 void __RPC_STUB ITextFont_SetEmboss_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
988 HRESULT WINAPI ITextFont_GetForeColor_Proxy(ITextFont *This,long *pValue);
989 void __RPC_STUB ITextFont_GetForeColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
990 HRESULT WINAPI ITextFont_SetForeColor_Proxy(ITextFont *This,long Value);
991 void __RPC_STUB ITextFont_SetForeColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
992 HRESULT WINAPI ITextFont_GetHidden_Proxy(ITextFont *This,long *pValue);
993 void __RPC_STUB ITextFont_GetHidden_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
994 HRESULT WINAPI ITextFont_SetHidden_Proxy(ITextFont *This,long Value);
995 void __RPC_STUB ITextFont_SetHidden_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
996 HRESULT WINAPI ITextFont_GetEngrave_Proxy(ITextFont *This,long *pValue);
997 void __RPC_STUB ITextFont_GetEngrave_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
998 HRESULT WINAPI ITextFont_SetEngrave_Proxy(ITextFont *This,long Value);
999 void __RPC_STUB ITextFont_SetEngrave_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1000 HRESULT WINAPI ITextFont_GetItalic_Proxy(ITextFont *This,long *pValue);
1001 void __RPC_STUB ITextFont_GetItalic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1002 HRESULT WINAPI ITextFont_SetItalic_Proxy(ITextFont *This,long Value);
1003 void __RPC_STUB ITextFont_SetItalic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1004 HRESULT WINAPI ITextFont_GetKerning_Proxy(ITextFont *This,float *pValue);
1005 void __RPC_STUB ITextFont_GetKerning_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1006 HRESULT WINAPI ITextFont_SetKerning_Proxy(ITextFont *This,float Value);
1007 void __RPC_STUB ITextFont_SetKerning_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1008 HRESULT WINAPI ITextFont_GetLanguageID_Proxy(ITextFont *This,long *pValue);
1009 void __RPC_STUB ITextFont_GetLanguageID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1010 HRESULT WINAPI ITextFont_SetLanguageID_Proxy(ITextFont *This,long Value);
1011 void __RPC_STUB ITextFont_SetLanguageID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1012 HRESULT WINAPI ITextFont_GetName_Proxy(ITextFont *This,BSTR *pbstr);
1013 void __RPC_STUB ITextFont_GetName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1014 HRESULT WINAPI ITextFont_SetName_Proxy(ITextFont *This,BSTR bstr);
1015 void __RPC_STUB ITextFont_SetName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1016 HRESULT WINAPI ITextFont_GetOutline_Proxy(ITextFont *This,long *pValue);
1017 void __RPC_STUB ITextFont_GetOutline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1018 HRESULT WINAPI ITextFont_SetOutline_Proxy(ITextFont *This,long Value);
1019 void __RPC_STUB ITextFont_SetOutline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1020 HRESULT WINAPI ITextFont_GetPosition_Proxy(ITextFont *This,float *pValue);
1021 void __RPC_STUB ITextFont_GetPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1022 HRESULT WINAPI ITextFont_SetPosition_Proxy(ITextFont *This,float Value);
1023 void __RPC_STUB ITextFont_SetPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1024 HRESULT WINAPI ITextFont_GetProtected_Proxy(ITextFont *This,long *pValue);
1025 void __RPC_STUB ITextFont_GetProtected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1026 HRESULT WINAPI ITextFont_SetProtected_Proxy(ITextFont *This,long Value);
1027 void __RPC_STUB ITextFont_SetProtected_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1028 HRESULT WINAPI ITextFont_GetShadow_Proxy(ITextFont *This,long *pValue);
1029 void __RPC_STUB ITextFont_GetShadow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1030 HRESULT WINAPI ITextFont_SetShadow_Proxy(ITextFont *This,long Value);
1031 void __RPC_STUB ITextFont_SetShadow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1032 HRESULT WINAPI ITextFont_GetSize_Proxy(ITextFont *This,float *pValue);
1033 void __RPC_STUB ITextFont_GetSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1034 HRESULT WINAPI ITextFont_SetSize_Proxy(ITextFont *This,float Value);
1035 void __RPC_STUB ITextFont_SetSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1036 HRESULT WINAPI ITextFont_GetSmallCaps_Proxy(ITextFont *This,long *pValue);
1037 void __RPC_STUB ITextFont_GetSmallCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1038 HRESULT WINAPI ITextFont_SetSmallCaps_Proxy(ITextFont *This,long Value);
1039 void __RPC_STUB ITextFont_SetSmallCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1040 HRESULT WINAPI ITextFont_GetSpacing_Proxy(ITextFont *This,float *pValue);
1041 void __RPC_STUB ITextFont_GetSpacing_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1042 HRESULT WINAPI ITextFont_SetSpacing_Proxy(ITextFont *This,float Value);
1043 void __RPC_STUB ITextFont_SetSpacing_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1044 HRESULT WINAPI ITextFont_GetStrikeThrough_Proxy(ITextFont *This,long *pValue);
1045 void __RPC_STUB ITextFont_GetStrikeThrough_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1046 HRESULT WINAPI ITextFont_SetStrikeThrough_Proxy(ITextFont *This,long Value);
1047 void __RPC_STUB ITextFont_SetStrikeThrough_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1048 HRESULT WINAPI ITextFont_GetSubscript_Proxy(ITextFont *This,long *pValue);
1049 void __RPC_STUB ITextFont_GetSubscript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1050 HRESULT WINAPI ITextFont_SetSubscript_Proxy(ITextFont *This,long Value);
1051 void __RPC_STUB ITextFont_SetSubscript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1052 HRESULT WINAPI ITextFont_GetSuperscript_Proxy(ITextFont *This,long *pValue);
1053 void __RPC_STUB ITextFont_GetSuperscript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1054 HRESULT WINAPI ITextFont_SetSuperscript_Proxy(ITextFont *This,long Value);
1055 void __RPC_STUB ITextFont_SetSuperscript_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1056 HRESULT WINAPI ITextFont_GetUnderline_Proxy(ITextFont *This,long *pValue);
1057 void __RPC_STUB ITextFont_GetUnderline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1058 HRESULT WINAPI ITextFont_SetUnderline_Proxy(ITextFont *This,long Value);
1059 void __RPC_STUB ITextFont_SetUnderline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1060 HRESULT WINAPI ITextFont_GetWeight_Proxy(ITextFont *This,long *pValue);
1061 void __RPC_STUB ITextFont_GetWeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1062 HRESULT WINAPI ITextFont_SetWeight_Proxy(ITextFont *This,long Value);
1063 void __RPC_STUB ITextFont_SetWeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1064 #endif
1065
1066 #ifndef __ITextPara_INTERFACE_DEFINED__
1067 #define __ITextPara_INTERFACE_DEFINED__
1068 EXTERN_C const IID IID_ITextPara;
1069 #if defined(__cplusplus) && !defined(CINTERFACE)
1070 struct ITextPara : public IDispatch {
1071 public:
1072 virtual HRESULT WINAPI GetDuplicate(ITextPara **ppPara) = 0;
1073 virtual HRESULT WINAPI SetDuplicate(ITextPara *pPara) = 0;
1074 virtual HRESULT WINAPI CanChange(long *pB) = 0;
1075 virtual HRESULT WINAPI IsEqual(ITextPara *pPara,long *pB) = 0;
1076 virtual HRESULT WINAPI Reset(long Value) = 0;
1077 virtual HRESULT WINAPI GetStyle(long *pValue) = 0;
1078 virtual HRESULT WINAPI SetStyle(long Value) = 0;
1079 virtual HRESULT WINAPI GetAlignment(long *pValue) = 0;
1080 virtual HRESULT WINAPI SetAlignment(long Value) = 0;
1081 virtual HRESULT WINAPI GetHyphenation(long *pValue) = 0;
1082 virtual HRESULT WINAPI SetHyphenation(long Value) = 0;
1083 virtual HRESULT WINAPI GetFirstLineIndent(float *pValue) = 0;
1084 virtual HRESULT WINAPI GetKeepTogether(long *pValue) = 0;
1085 virtual HRESULT WINAPI SetKeepTogether(long Value) = 0;
1086 virtual HRESULT WINAPI GetKeepWithNext(long *pValue) = 0;
1087 virtual HRESULT WINAPI SetKeepWithNext(long Value) = 0;
1088 virtual HRESULT WINAPI GetLeftIndent(float *pValue) = 0;
1089 virtual HRESULT WINAPI GetLineSpacing(float *pValue) = 0;
1090 virtual HRESULT WINAPI GetLineSpacingRule(long *pValue) = 0;
1091 virtual HRESULT WINAPI GetListAlignment(long *pValue) = 0;
1092 virtual HRESULT WINAPI SetListAlignment(long Value) = 0;
1093 virtual HRESULT WINAPI GetListLevelIndex(long *pValue) = 0;
1094 virtual HRESULT WINAPI SetListLevelIndex(long Value) = 0;
1095 virtual HRESULT WINAPI GetListStart(long *pValue) = 0;
1096 virtual HRESULT WINAPI SetListStart(long Value) = 0;
1097 virtual HRESULT WINAPI GetListTab(float *pValue) = 0;
1098 virtual HRESULT WINAPI SetListTab(float Value) = 0;
1099 virtual HRESULT WINAPI GetListType(long *pValue) = 0;
1100 virtual HRESULT WINAPI SetListType(long Value) = 0;
1101 virtual HRESULT WINAPI GetNoLineNumber(long *pValue) = 0;
1102 virtual HRESULT WINAPI SetNoLineNumber(long Value) = 0;
1103 virtual HRESULT WINAPI GetPageBreakBefore(long *pValue) = 0;
1104 virtual HRESULT WINAPI SetPageBreakBefore(long Value) = 0;
1105 virtual HRESULT WINAPI GetRightIndent(float *pValue) = 0;
1106 virtual HRESULT WINAPI SetRightIndent(float Value) = 0;
1107 virtual HRESULT WINAPI SetIndents(float StartIndent,float LeftIndent,float RightIndent) = 0;
1108 virtual HRESULT WINAPI SetLineSpacing(long LineSpacingRule,float LineSpacing) = 0;
1109 virtual HRESULT WINAPI GetSpaceAfter(float *pValue) = 0;
1110 virtual HRESULT WINAPI SetSpaceAfter(float Value) = 0;
1111 virtual HRESULT WINAPI GetSpaceBefore(float *pValue) = 0;
1112 virtual HRESULT WINAPI SetSpaceBefore(float Value) = 0;
1113 virtual HRESULT WINAPI GetWidowControl(long *pValue) = 0;
1114 virtual HRESULT WINAPI SetWidowControl(long Value) = 0;
1115 virtual HRESULT WINAPI GetTabCount(long *pCount) = 0;
1116 virtual HRESULT WINAPI AddTab(float tbPos,long tbAlign,long tbLeader) = 0;
1117 virtual HRESULT WINAPI ClearAllTabs(void) = 0;
1118 virtual HRESULT WINAPI DeleteTab(float tbPos) = 0;
1119 virtual HRESULT WINAPI GetTab(long iTab,float *ptbPos,long *ptbAlign,long *ptbLeader) = 0;
1120 };
1121 #else
1122 typedef struct ITextParaVtbl {
1123 BEGIN_INTERFACE
1124 HRESULT (WINAPI *QueryInterface)(ITextPara *This,REFIID riid,void **ppvObject);
1125 ULONG (WINAPI *AddRef)(ITextPara *This);
1126 ULONG (WINAPI *Release)(ITextPara *This);
1127 HRESULT (WINAPI *GetTypeInfoCount)(ITextPara *This,UINT *pctinfo);
1128 HRESULT (WINAPI *GetTypeInfo)(ITextPara *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
1129 HRESULT (WINAPI *GetIDsOfNames)(ITextPara *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
1130 HRESULT (WINAPI *Invoke)(ITextPara *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
1131 HRESULT (WINAPI *GetDuplicate)(ITextPara *This,ITextPara **ppPara);
1132 HRESULT (WINAPI *SetDuplicate)(ITextPara *This,ITextPara *pPara);
1133 HRESULT (WINAPI *CanChange)(ITextPara *This,long *pB);
1134 HRESULT (WINAPI *IsEqual)(ITextPara *This,ITextPara *pPara,long *pB);
1135 HRESULT (WINAPI *Reset)(ITextPara *This,long Value);
1136 HRESULT (WINAPI *GetStyle)(ITextPara *This,long *pValue);
1137 HRESULT (WINAPI *SetStyle)(ITextPara *This,long Value);
1138 HRESULT (WINAPI *GetAlignment)(ITextPara *This,long *pValue);
1139 HRESULT (WINAPI *SetAlignment)(ITextPara *This,long Value);
1140 HRESULT (WINAPI *GetHyphenation)(ITextPara *This,long *pValue);
1141 HRESULT (WINAPI *SetHyphenation)(ITextPara *This,long Value);
1142 HRESULT (WINAPI *GetFirstLineIndent)(ITextPara *This,float *pValue);
1143 HRESULT (WINAPI *GetKeepTogether)(ITextPara *This,long *pValue);
1144 HRESULT (WINAPI *SetKeepTogether)(ITextPara *This,long Value);
1145 HRESULT (WINAPI *GetKeepWithNext)(ITextPara *This,long *pValue);
1146 HRESULT (WINAPI *SetKeepWithNext)(ITextPara *This,long Value);
1147 HRESULT (WINAPI *GetLeftIndent)(ITextPara *This,float *pValue);
1148 HRESULT (WINAPI *GetLineSpacing)(ITextPara *This,float *pValue);
1149 HRESULT (WINAPI *GetLineSpacingRule)(ITextPara *This,long *pValue);
1150 HRESULT (WINAPI *GetListAlignment)(ITextPara *This,long *pValue);
1151 HRESULT (WINAPI *SetListAlignment)(ITextPara *This,long Value);
1152 HRESULT (WINAPI *GetListLevelIndex)(ITextPara *This,long *pValue);
1153 HRESULT (WINAPI *SetListLevelIndex)(ITextPara *This,long Value);
1154 HRESULT (WINAPI *GetListStart)(ITextPara *This,long *pValue);
1155 HRESULT (WINAPI *SetListStart)(ITextPara *This,long Value);
1156 HRESULT (WINAPI *GetListTab)(ITextPara *This,float *pValue);
1157 HRESULT (WINAPI *SetListTab)(ITextPara *This,float Value);
1158 HRESULT (WINAPI *GetListType)(ITextPara *This,long *pValue);
1159 HRESULT (WINAPI *SetListType)(ITextPara *This,long Value);
1160 HRESULT (WINAPI *GetNoLineNumber)(ITextPara *This,long *pValue);
1161 HRESULT (WINAPI *SetNoLineNumber)(ITextPara *This,long Value);
1162 HRESULT (WINAPI *GetPageBreakBefore)(ITextPara *This,long *pValue);
1163 HRESULT (WINAPI *SetPageBreakBefore)(ITextPara *This,long Value);
1164 HRESULT (WINAPI *GetRightIndent)(ITextPara *This,float *pValue);
1165 HRESULT (WINAPI *SetRightIndent)(ITextPara *This,float Value);
1166 HRESULT (WINAPI *SetIndents)(ITextPara *This,float StartIndent,float LeftIndent,float RightIndent);
1167 HRESULT (WINAPI *SetLineSpacing)(ITextPara *This,long LineSpacingRule,float LineSpacing);
1168 HRESULT (WINAPI *GetSpaceAfter)(ITextPara *This,float *pValue);
1169 HRESULT (WINAPI *SetSpaceAfter)(ITextPara *This,float Value);
1170 HRESULT (WINAPI *GetSpaceBefore)(ITextPara *This,float *pValue);
1171 HRESULT (WINAPI *SetSpaceBefore)(ITextPara *This,float Value);
1172 HRESULT (WINAPI *GetWidowControl)(ITextPara *This,long *pValue);
1173 HRESULT (WINAPI *SetWidowControl)(ITextPara *This,long Value);
1174 HRESULT (WINAPI *GetTabCount)(ITextPara *This,long *pCount);
1175 HRESULT (WINAPI *AddTab)(ITextPara *This,float tbPos,long tbAlign,long tbLeader);
1176 HRESULT (WINAPI *ClearAllTabs)(ITextPara *This);
1177 HRESULT (WINAPI *DeleteTab)(ITextPara *This,float tbPos);
1178 HRESULT (WINAPI *GetTab)(ITextPara *This,long iTab,float *ptbPos,long *ptbAlign,long *ptbLeader);
1179 END_INTERFACE
1180 } ITextParaVtbl;
1181 struct ITextPara {
1182 CONST_VTBL struct ITextParaVtbl *lpVtbl;
1183 };
1184 #ifdef COBJMACROS
1185 #define ITextPara_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1186 #define ITextPara_AddRef(This) (This)->lpVtbl->AddRef(This)
1187 #define ITextPara_Release(This) (This)->lpVtbl->Release(This)
1188 #define ITextPara_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
1189 #define ITextPara_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1190 #define ITextPara_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1191 #define ITextPara_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1192 #define ITextPara_GetDuplicate(This,ppPara) (This)->lpVtbl->GetDuplicate(This,ppPara)
1193 #define ITextPara_SetDuplicate(This,pPara) (This)->lpVtbl->SetDuplicate(This,pPara)
1194 #define ITextPara_CanChange(This,pB) (This)->lpVtbl->CanChange(This,pB)
1195 #define ITextPara_IsEqual(This,pPara,pB) (This)->lpVtbl->IsEqual(This,pPara,pB)
1196 #define ITextPara_Reset(This,Value) (This)->lpVtbl->Reset(This,Value)
1197 #define ITextPara_GetStyle(This,pValue) (This)->lpVtbl->GetStyle(This,pValue)
1198 #define ITextPara_SetStyle(This,Value) (This)->lpVtbl->SetStyle(This,Value)
1199 #define ITextPara_GetAlignment(This,pValue) (This)->lpVtbl->GetAlignment(This,pValue)
1200 #define ITextPara_SetAlignment(This,Value) (This)->lpVtbl->SetAlignment(This,Value)
1201 #define ITextPara_GetHyphenation(This,pValue) (This)->lpVtbl->GetHyphenation(This,pValue)
1202 #define ITextPara_SetHyphenation(This,Value) (This)->lpVtbl->SetHyphenation(This,Value)
1203 #define ITextPara_GetFirstLineIndent(This,pValue) (This)->lpVtbl->GetFirstLineIndent(This,pValue)
1204 #define ITextPara_GetKeepTogether(This,pValue) (This)->lpVtbl->GetKeepTogether(This,pValue)
1205 #define ITextPara_SetKeepTogether(This,Value) (This)->lpVtbl->SetKeepTogether(This,Value)
1206 #define ITextPara_GetKeepWithNext(This,pValue) (This)->lpVtbl->GetKeepWithNext(This,pValue)
1207 #define ITextPara_SetKeepWithNext(This,Value) (This)->lpVtbl->SetKeepWithNext(This,Value)
1208 #define ITextPara_GetLeftIndent(This,pValue) (This)->lpVtbl->GetLeftIndent(This,pValue)
1209 #define ITextPara_GetLineSpacing(This,pValue) (This)->lpVtbl->GetLineSpacing(This,pValue)
1210 #define ITextPara_GetLineSpacingRule(This,pValue) (This)->lpVtbl->GetLineSpacingRule(This,pValue)
1211 #define ITextPara_GetListAlignment(This,pValue) (This)->lpVtbl->GetListAlignment(This,pValue)
1212 #define ITextPara_SetListAlignment(This,Value) (This)->lpVtbl->SetListAlignment(This,Value)
1213 #define ITextPara_GetListLevelIndex(This,pValue) (This)->lpVtbl->GetListLevelIndex(This,pValue)
1214 #define ITextPara_SetListLevelIndex(This,Value) (This)->lpVtbl->SetListLevelIndex(This,Value)
1215 #define ITextPara_GetListStart(This,pValue) (This)->lpVtbl->GetListStart(This,pValue)
1216 #define ITextPara_SetListStart(This,Value) (This)->lpVtbl->SetListStart(This,Value)
1217 #define ITextPara_GetListTab(This,pValue) (This)->lpVtbl->GetListTab(This,pValue)
1218 #define ITextPara_SetListTab(This,Value) (This)->lpVtbl->SetListTab(This,Value)
1219 #define ITextPara_GetListType(This,pValue) (This)->lpVtbl->GetListType(This,pValue)
1220 #define ITextPara_SetListType(This,Value) (This)->lpVtbl->SetListType(This,Value)
1221 #define ITextPara_GetNoLineNumber(This,pValue) (This)->lpVtbl->GetNoLineNumber(This,pValue)
1222 #define ITextPara_SetNoLineNumber(This,Value) (This)->lpVtbl->SetNoLineNumber(This,Value)
1223 #define ITextPara_GetPageBreakBefore(This,pValue) (This)->lpVtbl->GetPageBreakBefore(This,pValue)
1224 #define ITextPara_SetPageBreakBefore(This,Value) (This)->lpVtbl->SetPageBreakBefore(This,Value)
1225 #define ITextPara_GetRightIndent(This,pValue) (This)->lpVtbl->GetRightIndent(This,pValue)
1226 #define ITextPara_SetRightIndent(This,Value) (This)->lpVtbl->SetRightIndent(This,Value)
1227 #define ITextPara_SetIndents(This,StartIndent,LeftIndent,RightIndent) (This)->lpVtbl->SetIndents(This,StartIndent,LeftIndent,RightIndent)
1228 #define ITextPara_SetLineSpacing(This,LineSpacingRule,LineSpacing) (This)->lpVtbl->SetLineSpacing(This,LineSpacingRule,LineSpacing)
1229 #define ITextPara_GetSpaceAfter(This,pValue) (This)->lpVtbl->GetSpaceAfter(This,pValue)
1230 #define ITextPara_SetSpaceAfter(This,Value) (This)->lpVtbl->SetSpaceAfter(This,Value)
1231 #define ITextPara_GetSpaceBefore(This,pValue) (This)->lpVtbl->GetSpaceBefore(This,pValue)
1232 #define ITextPara_SetSpaceBefore(This,Value) (This)->lpVtbl->SetSpaceBefore(This,Value)
1233 #define ITextPara_GetWidowControl(This,pValue) (This)->lpVtbl->GetWidowControl(This,pValue)
1234 #define ITextPara_SetWidowControl(This,Value) (This)->lpVtbl->SetWidowControl(This,Value)
1235 #define ITextPara_GetTabCount(This,pCount) (This)->lpVtbl->GetTabCount(This,pCount)
1236 #define ITextPara_AddTab(This,tbPos,tbAlign,tbLeader) (This)->lpVtbl->AddTab(This,tbPos,tbAlign,tbLeader)
1237 #define ITextPara_ClearAllTabs(This) (This)->lpVtbl->ClearAllTabs(This)
1238 #define ITextPara_DeleteTab(This,tbPos) (This)->lpVtbl->DeleteTab(This,tbPos)
1239 #define ITextPara_GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader) (This)->lpVtbl->GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader)
1240 #endif
1241 #endif
1242 HRESULT WINAPI ITextPara_GetDuplicate_Proxy(ITextPara *This,ITextPara **ppPara);
1243 void __RPC_STUB ITextPara_GetDuplicate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1244 HRESULT WINAPI ITextPara_SetDuplicate_Proxy(ITextPara *This,ITextPara *pPara);
1245 void __RPC_STUB ITextPara_SetDuplicate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1246 HRESULT WINAPI ITextPara_CanChange_Proxy(ITextPara *This,long *pB);
1247 void __RPC_STUB ITextPara_CanChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1248 HRESULT WINAPI ITextPara_IsEqual_Proxy(ITextPara *This,ITextPara *pPara,long *pB);
1249 void __RPC_STUB ITextPara_IsEqual_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1250 HRESULT WINAPI ITextPara_Reset_Proxy(ITextPara *This,long Value);
1251 void __RPC_STUB ITextPara_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1252 HRESULT WINAPI ITextPara_GetStyle_Proxy(ITextPara *This,long *pValue);
1253 void __RPC_STUB ITextPara_GetStyle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1254 HRESULT WINAPI ITextPara_SetStyle_Proxy(ITextPara *This,long Value);
1255 void __RPC_STUB ITextPara_SetStyle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1256 HRESULT WINAPI ITextPara_GetAlignment_Proxy(ITextPara *This,long *pValue);
1257 void __RPC_STUB ITextPara_GetAlignment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1258 HRESULT WINAPI ITextPara_SetAlignment_Proxy(ITextPara *This,long Value);
1259 void __RPC_STUB ITextPara_SetAlignment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1260 HRESULT WINAPI ITextPara_GetHyphenation_Proxy(ITextPara *This,long *pValue);
1261 void __RPC_STUB ITextPara_GetHyphenation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1262 HRESULT WINAPI ITextPara_SetHyphenation_Proxy(ITextPara *This,long Value);
1263 void __RPC_STUB ITextPara_SetHyphenation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1264 HRESULT WINAPI ITextPara_GetFirstLineIndent_Proxy(ITextPara *This,float *pValue);
1265 void __RPC_STUB ITextPara_GetFirstLineIndent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1266 HRESULT WINAPI ITextPara_GetKeepTogether_Proxy(ITextPara *This,long *pValue);
1267 void __RPC_STUB ITextPara_GetKeepTogether_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1268 HRESULT WINAPI ITextPara_SetKeepTogether_Proxy(ITextPara *This,long Value);
1269 void __RPC_STUB ITextPara_SetKeepTogether_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1270 HRESULT WINAPI ITextPara_GetKeepWithNext_Proxy(ITextPara *This,long *pValue);
1271 void __RPC_STUB ITextPara_GetKeepWithNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1272 HRESULT WINAPI ITextPara_SetKeepWithNext_Proxy(ITextPara *This,long Value);
1273 void __RPC_STUB ITextPara_SetKeepWithNext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1274 HRESULT WINAPI ITextPara_GetLeftIndent_Proxy(ITextPara *This,float *pValue);
1275 void __RPC_STUB ITextPara_GetLeftIndent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1276 HRESULT WINAPI ITextPara_GetLineSpacing_Proxy(ITextPara *This,float *pValue);
1277 void __RPC_STUB ITextPara_GetLineSpacing_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1278 HRESULT WINAPI ITextPara_GetLineSpacingRule_Proxy(ITextPara *This,long *pValue);
1279 void __RPC_STUB ITextPara_GetLineSpacingRule_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1280 HRESULT WINAPI ITextPara_GetListAlignment_Proxy(ITextPara *This,long *pValue);
1281 void __RPC_STUB ITextPara_GetListAlignment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1282 HRESULT WINAPI ITextPara_SetListAlignment_Proxy(ITextPara *This,long Value);
1283 void __RPC_STUB ITextPara_SetListAlignment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1284 HRESULT WINAPI ITextPara_GetListLevelIndex_Proxy(ITextPara *This,long *pValue);
1285 void __RPC_STUB ITextPara_GetListLevelIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1286 HRESULT WINAPI ITextPara_SetListLevelIndex_Proxy(ITextPara *This,long Value);
1287 void __RPC_STUB ITextPara_SetListLevelIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1288 HRESULT WINAPI ITextPara_GetListStart_Proxy(ITextPara *This,long *pValue);
1289 void __RPC_STUB ITextPara_GetListStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1290 HRESULT WINAPI ITextPara_SetListStart_Proxy(ITextPara *This,long Value);
1291 void __RPC_STUB ITextPara_SetListStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1292 HRESULT WINAPI ITextPara_GetListTab_Proxy(ITextPara *This,float *pValue);
1293 void __RPC_STUB ITextPara_GetListTab_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1294 HRESULT WINAPI ITextPara_SetListTab_Proxy(ITextPara *This,float Value);
1295 void __RPC_STUB ITextPara_SetListTab_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1296 HRESULT WINAPI ITextPara_GetListType_Proxy(ITextPara *This,long *pValue);
1297 void __RPC_STUB ITextPara_GetListType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1298 HRESULT WINAPI ITextPara_SetListType_Proxy(ITextPara *This,long Value);
1299 void __RPC_STUB ITextPara_SetListType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1300 HRESULT WINAPI ITextPara_GetNoLineNumber_Proxy(ITextPara *This,long *pValue);
1301 void __RPC_STUB ITextPara_GetNoLineNumber_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1302 HRESULT WINAPI ITextPara_SetNoLineNumber_Proxy(ITextPara *This,long Value);
1303 void __RPC_STUB ITextPara_SetNoLineNumber_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1304 HRESULT WINAPI ITextPara_GetPageBreakBefore_Proxy(ITextPara *This,long *pValue);
1305 void __RPC_STUB ITextPara_GetPageBreakBefore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1306 HRESULT WINAPI ITextPara_SetPageBreakBefore_Proxy(ITextPara *This,long Value);
1307 void __RPC_STUB ITextPara_SetPageBreakBefore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1308 HRESULT WINAPI ITextPara_GetRightIndent_Proxy(ITextPara *This,float *pValue);
1309 void __RPC_STUB ITextPara_GetRightIndent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1310 HRESULT WINAPI ITextPara_SetRightIndent_Proxy(ITextPara *This,float Value);
1311 void __RPC_STUB ITextPara_SetRightIndent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1312 HRESULT WINAPI ITextPara_SetIndents_Proxy(ITextPara *This,float StartIndent,float LeftIndent,float RightIndent);
1313 void __RPC_STUB ITextPara_SetIndents_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1314 HRESULT WINAPI ITextPara_SetLineSpacing_Proxy(ITextPara *This,long LineSpacingRule,float LineSpacing);
1315 void __RPC_STUB ITextPara_SetLineSpacing_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1316 HRESULT WINAPI ITextPara_GetSpaceAfter_Proxy(ITextPara *This,float *pValue);
1317 void __RPC_STUB ITextPara_GetSpaceAfter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1318 HRESULT WINAPI ITextPara_SetSpaceAfter_Proxy(ITextPara *This,float Value);
1319 void __RPC_STUB ITextPara_SetSpaceAfter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1320 HRESULT WINAPI ITextPara_GetSpaceBefore_Proxy(ITextPara *This,float *pValue);
1321 void __RPC_STUB ITextPara_GetSpaceBefore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1322 HRESULT WINAPI ITextPara_SetSpaceBefore_Proxy(ITextPara *This,float Value);
1323 void __RPC_STUB ITextPara_SetSpaceBefore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1324 HRESULT WINAPI ITextPara_GetWidowControl_Proxy(ITextPara *This,long *pValue);
1325 void __RPC_STUB ITextPara_GetWidowControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1326 HRESULT WINAPI ITextPara_SetWidowControl_Proxy(ITextPara *This,long Value);
1327 void __RPC_STUB ITextPara_SetWidowControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1328 HRESULT WINAPI ITextPara_GetTabCount_Proxy(ITextPara *This,long *pCount);
1329 void __RPC_STUB ITextPara_GetTabCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1330 HRESULT WINAPI ITextPara_AddTab_Proxy(ITextPara *This,float tbPos,long tbAlign,long tbLeader);
1331 void __RPC_STUB ITextPara_AddTab_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1332 HRESULT WINAPI ITextPara_ClearAllTabs_Proxy(ITextPara *This);
1333 void __RPC_STUB ITextPara_ClearAllTabs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1334 HRESULT WINAPI ITextPara_DeleteTab_Proxy(ITextPara *This,float tbPos);
1335 void __RPC_STUB ITextPara_DeleteTab_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1336 HRESULT WINAPI ITextPara_GetTab_Proxy(ITextPara *This,long iTab,float *ptbPos,long *ptbAlign,long *ptbLeader);
1337 void __RPC_STUB ITextPara_GetTab_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1338 #endif
1339
1340 #ifndef __ITextStoryRanges_INTERFACE_DEFINED__
1341 #define __ITextStoryRanges_INTERFACE_DEFINED__
1342 EXTERN_C const IID IID_ITextStoryRanges;
1343 #if defined(__cplusplus) && !defined(CINTERFACE)
1344 struct ITextStoryRanges : public IDispatch {
1345 public:
1346 virtual HRESULT WINAPI _NewEnum(IUnknown **ppunkEnum) = 0;
1347 virtual HRESULT WINAPI Item(long Index,ITextRange **ppRange) = 0;
1348 virtual HRESULT WINAPI GetCount(long *pCount) = 0;
1349 };
1350 #else
1351 typedef struct ITextStoryRangesVtbl {
1352 BEGIN_INTERFACE
1353 HRESULT (WINAPI *QueryInterface)(ITextStoryRanges *This,REFIID riid,void **ppvObject);
1354 ULONG (WINAPI *AddRef)(ITextStoryRanges *This);
1355 ULONG (WINAPI *Release)(ITextStoryRanges *This);
1356 HRESULT (WINAPI *GetTypeInfoCount)(ITextStoryRanges *This,UINT *pctinfo);
1357 HRESULT (WINAPI *GetTypeInfo)(ITextStoryRanges *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
1358 HRESULT (WINAPI *GetIDsOfNames)(ITextStoryRanges *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
1359 HRESULT (WINAPI *Invoke)(ITextStoryRanges *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
1360 HRESULT (WINAPI *_NewEnum)(ITextStoryRanges *This,IUnknown **ppunkEnum);
1361 HRESULT (WINAPI *Item)(ITextStoryRanges *This,long Index,ITextRange **ppRange);
1362 HRESULT (WINAPI *GetCount)(ITextStoryRanges *This,long *pCount);
1363 END_INTERFACE
1364 } ITextStoryRangesVtbl;
1365 struct ITextStoryRanges {
1366 CONST_VTBL struct ITextStoryRangesVtbl *lpVtbl;
1367 };
1368 #ifdef COBJMACROS
1369 #define ITextStoryRanges_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1370 #define ITextStoryRanges_AddRef(This) (This)->lpVtbl->AddRef(This)
1371 #define ITextStoryRanges_Release(This) (This)->lpVtbl->Release(This)
1372 #define ITextStoryRanges_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
1373 #define ITextStoryRanges_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1374 #define ITextStoryRanges_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1375 #define ITextStoryRanges_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1376 #define ITextStoryRanges__NewEnum(This,ppunkEnum) (This)->lpVtbl->_NewEnum(This,ppunkEnum)
1377 #define ITextStoryRanges_Item(This,Index,ppRange) (This)->lpVtbl->Item(This,Index,ppRange)
1378 #define ITextStoryRanges_GetCount(This,pCount) (This)->lpVtbl->GetCount(This,pCount)
1379 #endif
1380 #endif
1381 HRESULT WINAPI ITextStoryRanges__NewEnum_Proxy(ITextStoryRanges *This,IUnknown **ppunkEnum);
1382 void __RPC_STUB ITextStoryRanges__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1383 HRESULT WINAPI ITextStoryRanges_Item_Proxy(ITextStoryRanges *This,long Index,ITextRange **ppRange);
1384 void __RPC_STUB ITextStoryRanges_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1385 HRESULT WINAPI ITextStoryRanges_GetCount_Proxy(ITextStoryRanges *This,long *pCount);
1386 void __RPC_STUB ITextStoryRanges_GetCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1387 #endif
1388
1389 #ifndef __ITextDocument2_INTERFACE_DEFINED__
1390 #define __ITextDocument2_INTERFACE_DEFINED__
1391 EXTERN_C const IID IID_ITextDocument2;
1392 #if defined(__cplusplus) && !defined(CINTERFACE)
1393 struct ITextDocument2 : public ITextDocument {
1394 public:
1395 virtual HRESULT WINAPI AttachMsgFilter(IUnknown *pFilter) = 0;
1396 virtual HRESULT WINAPI SetEffectColor(long Index,COLORREF cr) = 0;
1397 virtual HRESULT WINAPI GetEffectColor(long Index,COLORREF *pcr) = 0;
1398 virtual HRESULT WINAPI GetCaretType(long *pCaretType) = 0;
1399 virtual HRESULT WINAPI SetCaretType(long CaretType) = 0;
1400 virtual HRESULT WINAPI GetImmContext(long *pContext) = 0;
1401 virtual HRESULT WINAPI ReleaseImmContext(long Context) = 0;
1402 virtual HRESULT WINAPI GetPreferredFont(long cp,long CodePage,long Option,long curCodepage,long curFontSize,BSTR *pbstr,long *pPitchAndFamily,long *pNewFontSize) = 0;
1403 virtual HRESULT WINAPI GetNotificationMode(long *pMode) = 0;
1404 virtual HRESULT WINAPI SetNotificationMode(long Mode) = 0;
1405 virtual HRESULT WINAPI GetClientRect(long Type,long *pLeft,long *pTop,long *pRight,long *pBottom) = 0;
1406 virtual HRESULT WINAPI GetSelectionEx(ITextSelection **ppSel) = 0;
1407 virtual HRESULT WINAPI GetWindow(long *phWnd) = 0;
1408 virtual HRESULT WINAPI GetFEFlags(long *pFlags) = 0;
1409 virtual HRESULT WINAPI UpdateWindow(void) = 0;
1410 virtual HRESULT WINAPI CheckTextLimit(long cch,long *pcch) = 0;
1411 virtual HRESULT WINAPI IMEInProgress(long Mode) = 0;
1412 virtual HRESULT WINAPI SysBeep(void) = 0;
1413 virtual HRESULT WINAPI Update(long Mode) = 0;
1414 virtual HRESULT WINAPI Notify(long Notify) = 0;
1415 };
1416 #else
1417 typedef struct ITextDocument2Vtbl {
1418 BEGIN_INTERFACE
1419 HRESULT (WINAPI *QueryInterface)(ITextDocument2 *This,REFIID riid,void **ppvObject);
1420 ULONG (WINAPI *AddRef)(ITextDocument2 *This);
1421 ULONG (WINAPI *Release)(ITextDocument2 *This);
1422 HRESULT (WINAPI *GetTypeInfoCount)(ITextDocument2 *This,UINT *pctinfo);
1423 HRESULT (WINAPI *GetTypeInfo)(ITextDocument2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
1424 HRESULT (WINAPI *GetIDsOfNames)(ITextDocument2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
1425 HRESULT (WINAPI *Invoke)(ITextDocument2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
1426 HRESULT (WINAPI *GetName)(ITextDocument2 *This,BSTR *pName);
1427 HRESULT (WINAPI *GetSelection)(ITextDocument2 *This,ITextSelection **ppSel);
1428 HRESULT (WINAPI *GetStoryCount)(ITextDocument2 *This,long *pCount);
1429 HRESULT (WINAPI *GetStoryRanges)(ITextDocument2 *This,ITextStoryRanges **ppStories);
1430 HRESULT (WINAPI *GetSaved)(ITextDocument2 *This,long *pValue);
1431 HRESULT (WINAPI *SetSaved)(ITextDocument2 *This,long Value);
1432 HRESULT (WINAPI *GetDefaultTabStop)(ITextDocument2 *This,float *pValue);
1433 HRESULT (WINAPI *SetDefaultTabStop)(ITextDocument2 *This,float Value);
1434 HRESULT (WINAPI *New)(ITextDocument2 *This);
1435 HRESULT (WINAPI *Open)(ITextDocument2 *This,VARIANT *pVar,long Flags,long CodePage);
1436 HRESULT (WINAPI *Save)(ITextDocument2 *This,VARIANT *pVar,long Flags,long CodePage);
1437 HRESULT (WINAPI *Freeze)(ITextDocument2 *This,long *pCount);
1438 HRESULT (WINAPI *Unfreeze)(ITextDocument2 *This,long *pCount);
1439 HRESULT (WINAPI *BeginEditCollection)(ITextDocument2 *This);
1440 HRESULT (WINAPI *EndEditCollection)(ITextDocument2 *This);
1441 HRESULT (WINAPI *Undo)(ITextDocument2 *This,long Count,long *prop);
1442 HRESULT (WINAPI *Redo)(ITextDocument2 *This,long Count,long *prop);
1443 HRESULT (WINAPI *Range)(ITextDocument2 *This,long cp1,long cp2,ITextRange **ppRange);
1444 HRESULT (WINAPI *RangeFromPoint)(ITextDocument2 *This,long x,long y,ITextRange **ppRange);
1445 HRESULT (WINAPI *AttachMsgFilter)(ITextDocument2 *This,IUnknown *pFilter);
1446 HRESULT (WINAPI *SetEffectColor)(ITextDocument2 *This,long Index,COLORREF cr);
1447 HRESULT (WINAPI *GetEffectColor)(ITextDocument2 *This,long Index,COLORREF *pcr);
1448 HRESULT (WINAPI *GetCaretType)(ITextDocument2 *This,long *pCaretType);
1449 HRESULT (WINAPI *SetCaretType)(ITextDocument2 *This,long CaretType);
1450 HRESULT (WINAPI *GetImmContext)(ITextDocument2 *This,long *pContext);
1451 HRESULT (WINAPI *ReleaseImmContext)(ITextDocument2 *This,long Context);
1452 HRESULT (WINAPI *GetPreferredFont)(ITextDocument2 *This,long cp,long CodePage,long Option,long curCodepage,long curFontSize,BSTR *pbstr,long *pPitchAndFamily,long *pNewFontSize);
1453 HRESULT (WINAPI *GetNotificationMode)(ITextDocument2 *This,long *pMode);
1454 HRESULT (WINAPI *SetNotificationMode)(ITextDocument2 *This,long Mode);
1455 HRESULT (WINAPI *GetClientRect)(ITextDocument2 *This,long Type,long *pLeft,long *pTop,long *pRight,long *pBottom);
1456 HRESULT (WINAPI *GetSelectionEx)(ITextDocument2 *This,ITextSelection **ppSel);
1457 HRESULT (WINAPI *GetWindow)(ITextDocument2 *This,long *phWnd);
1458 HRESULT (WINAPI *GetFEFlags)(ITextDocument2 *This,long *pFlags);
1459 HRESULT (WINAPI *UpdateWindow)(ITextDocument2 *This);
1460 HRESULT (WINAPI *CheckTextLimit)(ITextDocument2 *This,long cch,long *pcch);
1461 HRESULT (WINAPI *IMEInProgress)(ITextDocument2 *This,long Mode);
1462 HRESULT (WINAPI *SysBeep)(ITextDocument2 *This);
1463 HRESULT (WINAPI *Update)(ITextDocument2 *This,long Mode);
1464 HRESULT (WINAPI *Notify)(ITextDocument2 *This,long Notify);
1465 END_INTERFACE
1466 } ITextDocument2Vtbl;
1467 struct ITextDocument2 {
1468 CONST_VTBL struct ITextDocument2Vtbl *lpVtbl;
1469 };
1470 #ifdef COBJMACROS
1471 #define ITextDocument2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1472 #define ITextDocument2_AddRef(This) (This)->lpVtbl->AddRef(This)
1473 #define ITextDocument2_Release(This) (This)->lpVtbl->Release(This)
1474 #define ITextDocument2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
1475 #define ITextDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1476 #define ITextDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1477 #define ITextDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1478 #define ITextDocument2_GetName(This,pName) (This)->lpVtbl->GetName(This,pName)
1479 #define ITextDocument2_GetSelection(This,ppSel) (This)->lpVtbl->GetSelection(This,ppSel)
1480 #define ITextDocument2_GetStoryCount(This,pCount) (This)->lpVtbl->GetStoryCount(This,pCount)
1481 #define ITextDocument2_GetStoryRanges(This,ppStories) (This)->lpVtbl->GetStoryRanges(This,ppStories)
1482 #define ITextDocument2_GetSaved(This,pValue) (This)->lpVtbl->GetSaved(This,pValue)
1483 #define ITextDocument2_SetSaved(This,Value) (This)->lpVtbl->SetSaved(This,Value)
1484 #define ITextDocument2_GetDefaultTabStop(This,pValue) (This)->lpVtbl->GetDefaultTabStop(This,pValue)
1485 #define ITextDocument2_SetDefaultTabStop(This,Value) (This)->lpVtbl->SetDefaultTabStop(This,Value)
1486 #define ITextDocument2_New(This) (This)->lpVtbl->New(This)
1487 #define ITextDocument2_Open(This,pVar,Flags,CodePage) (This)->lpVtbl->Open(This,pVar,Flags,CodePage)
1488 #define ITextDocument2_Save(This,pVar,Flags,CodePage) (This)->lpVtbl->Save(This,pVar,Flags,CodePage)
1489 #define ITextDocument2_Freeze(This,pCount) (This)->lpVtbl->Freeze(This,pCount)
1490 #define ITextDocument2_Unfreeze(This,pCount) (This)->lpVtbl->Unfreeze(This,pCount)
1491 #define ITextDocument2_BeginEditCollection(This) (This)->lpVtbl->BeginEditCollection(This)
1492 #define ITextDocument2_EndEditCollection(This) (This)->lpVtbl->EndEditCollection(This)
1493 #define ITextDocument2_Undo(This,Count,prop) (This)->lpVtbl->Undo(This,Count,prop)
1494 #define ITextDocument2_Redo(This,Count,prop) (This)->lpVtbl->Redo(This,Count,prop)
1495 #define ITextDocument2_Range(This,cp1,cp2,ppRange) (This)->lpVtbl->Range(This,cp1,cp2,ppRange)
1496 #define ITextDocument2_RangeFromPoint(This,x,y,ppRange) (This)->lpVtbl->RangeFromPoint(This,x,y,ppRange)
1497 #define ITextDocument2_AttachMsgFilter(This,pFilter) (This)->lpVtbl->AttachMsgFilter(This,pFilter)
1498 #define ITextDocument2_SetEffectColor(This,Index,cr) (This)->lpVtbl->SetEffectColor(This,Index,cr)
1499 #define ITextDocument2_GetEffectColor(This,Index,pcr) (This)->lpVtbl->GetEffectColor(This,Index,pcr)
1500 #define ITextDocument2_GetCaretType(This,pCaretType) (This)->lpVtbl->GetCaretType(This,pCaretType)
1501 #define ITextDocument2_SetCaretType(This,CaretType) (This)->lpVtbl->SetCaretType(This,CaretType)
1502 #define ITextDocument2_GetImmContext(This,pContext) (This)->lpVtbl->GetImmContext(This,pContext)
1503 #define ITextDocument2_ReleaseImmContext(This,Context) (This)->lpVtbl->ReleaseImmContext(This,Context)
1504 #define ITextDocument2_GetPreferredFont(This,cp,CodePage,Option,curCodepage,curFontSize,pbstr,pPitchAndFamily,pNewFontSize) (This)->lpVtbl->GetPreferredFont(This,cp,CodePage,Option,curCodepage,curFontSize,pbstr,pPitchAndFamily,pNewFontSize)
1505 #define ITextDocument2_GetNotificationMode(This,pMode) (This)->lpVtbl->GetNotificationMode(This,pMode)
1506 #define ITextDocument2_SetNotificationMode(This,Mode) (This)->lpVtbl->SetNotificationMode(This,Mode)
1507 #define ITextDocument2_GetClientRect(This,Type,pLeft,pTop,pRight,pBottom) (This)->lpVtbl->GetClientRect(This,Type,pLeft,pTop,pRight,pBottom)
1508 #define ITextDocument2_GetSelectionEx(This,ppSel) (This)->lpVtbl->GetSelectionEx(This,ppSel)
1509 #define ITextDocument2_GetWindow(This,phWnd) (This)->lpVtbl->GetWindow(This,phWnd)
1510 #define ITextDocument2_GetFEFlags(This,pFlags) (This)->lpVtbl->GetFEFlags(This,pFlags)
1511 #define ITextDocument2_UpdateWindow(This) (This)->lpVtbl->UpdateWindow(This)
1512 #define ITextDocument2_CheckTextLimit(This,cch,pcch) (This)->lpVtbl->CheckTextLimit(This,cch,pcch)
1513 #define ITextDocument2_IMEInProgress(This,Mode) (This)->lpVtbl->IMEInProgress(This,Mode)
1514 #define ITextDocument2_SysBeep(This) (This)->lpVtbl->SysBeep(This)
1515 #define ITextDocument2_Update(This,Mode) (This)->lpVtbl->Update(This,Mode)
1516 #define ITextDocument2_Notify(This,Notify) (This)->lpVtbl->Notify(This,Notify)
1517 #endif
1518 #endif
1519 HRESULT WINAPI ITextDocument2_AttachMsgFilter_Proxy(ITextDocument2 *This,IUnknown *pFilter);
1520 void __RPC_STUB ITextDocument2_AttachMsgFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1521 HRESULT WINAPI ITextDocument2_SetEffectColor_Proxy(ITextDocument2 *This,long Index,COLORREF cr);
1522 void __RPC_STUB ITextDocument2_SetEffectColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1523 HRESULT WINAPI ITextDocument2_GetEffectColor_Proxy(ITextDocument2 *This,long Index,COLORREF *pcr);
1524 void __RPC_STUB ITextDocument2_GetEffectColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1525 HRESULT WINAPI ITextDocument2_GetCaretType_Proxy(ITextDocument2 *This,long *pCaretType);
1526 void __RPC_STUB ITextDocument2_GetCaretType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1527 HRESULT WINAPI ITextDocument2_SetCaretType_Proxy(ITextDocument2 *This,long CaretType);
1528 void __RPC_STUB ITextDocument2_SetCaretType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1529 HRESULT WINAPI ITextDocument2_GetImmContext_Proxy(ITextDocument2 *This,long *pContext);
1530 void __RPC_STUB ITextDocument2_GetImmContext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1531 HRESULT WINAPI ITextDocument2_ReleaseImmContext_Proxy(ITextDocument2 *This,long Context);
1532 void __RPC_STUB ITextDocument2_ReleaseImmContext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1533 HRESULT WINAPI ITextDocument2_GetPreferredFont_Proxy(ITextDocument2 *This,long cp,long CodePage,long Option,long curCodepage,long curFontSize,BSTR *pbstr,long *pPitchAndFamily,long *pNewFontSize);
1534 void __RPC_STUB ITextDocument2_GetPreferredFont_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1535 HRESULT WINAPI ITextDocument2_GetNotificationMode_Proxy(ITextDocument2 *This,long *pMode);
1536 void __RPC_STUB ITextDocument2_GetNotificationMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1537 HRESULT WINAPI ITextDocument2_SetNotificationMode_Proxy(ITextDocument2 *This,long Mode);
1538 void __RPC_STUB ITextDocument2_SetNotificationMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1539 HRESULT WINAPI ITextDocument2_GetClientRect_Proxy(ITextDocument2 *This,long Type,long *pLeft,long *pTop,long *pRight,long *pBottom);
1540 void __RPC_STUB ITextDocument2_GetClientRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1541 HRESULT WINAPI ITextDocument2_GetSelectionEx_Proxy(ITextDocument2 *This,ITextSelection **ppSel);
1542 void __RPC_STUB ITextDocument2_GetSelectionEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1543 HRESULT WINAPI ITextDocument2_GetWindow_Proxy(ITextDocument2 *This,long *phWnd);
1544 void __RPC_STUB ITextDocument2_GetWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1545 HRESULT WINAPI ITextDocument2_GetFEFlags_Proxy(ITextDocument2 *This,long *pFlags);
1546 void __RPC_STUB ITextDocument2_GetFEFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1547 HRESULT WINAPI ITextDocument2_UpdateWindow_Proxy(ITextDocument2 *This);
1548 void __RPC_STUB ITextDocument2_UpdateWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1549 HRESULT WINAPI ITextDocument2_CheckTextLimit_Proxy(ITextDocument2 *This,long cch,long *pcch);
1550 void __RPC_STUB ITextDocument2_CheckTextLimit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1551 HRESULT WINAPI ITextDocument2_IMEInProgress_Proxy(ITextDocument2 *This,long Mode);
1552 void __RPC_STUB ITextDocument2_IMEInProgress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1553 HRESULT WINAPI ITextDocument2_SysBeep_Proxy(ITextDocument2 *This);
1554 void __RPC_STUB ITextDocument2_SysBeep_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1555 HRESULT WINAPI ITextDocument2_Update_Proxy(ITextDocument2 *This,long Mode);
1556 void __RPC_STUB ITextDocument2_Update_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1557 HRESULT WINAPI ITextDocument2_Notify_Proxy(ITextDocument2 *This,long Notify);
1558 void __RPC_STUB ITextDocument2_Notify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1559 #endif
1560
1561 #ifndef __ITextMsgFilter_INTERFACE_DEFINED__
1562 #define __ITextMsgFilter_INTERFACE_DEFINED__
1563 EXTERN_C const IID IID_ITextMsgFilter;
1564 #if defined(__cplusplus) && !defined(CINTERFACE)
1565 struct ITextMsgFilter : public IUnknown {
1566 public:
1567 virtual HRESULT WINAPI AttachDocument(HWND hwnd,ITextDocument2 *pTextDoc) = 0;
1568 virtual HRESULT WINAPI HandleMessage(UINT *pmsg,WPARAM *pwparam,LPARAM *plparam,LRESULT *plres) = 0;
1569 virtual HRESULT WINAPI AttachMsgFilter(ITextMsgFilter *pMsgFilter) = 0;
1570 };
1571 #else
1572 typedef struct ITextMsgFilterVtbl {
1573 BEGIN_INTERFACE
1574 HRESULT (WINAPI *QueryInterface)(ITextMsgFilter *This,REFIID riid,void **ppvObject);
1575 ULONG (WINAPI *AddRef)(ITextMsgFilter *This);
1576 ULONG (WINAPI *Release)(ITextMsgFilter *This);
1577 HRESULT (WINAPI *AttachDocument)(ITextMsgFilter *This,HWND hwnd,ITextDocument2 *pTextDoc);
1578 HRESULT (WINAPI *HandleMessage)(ITextMsgFilter *This,UINT *pmsg,WPARAM *pwparam,LPARAM *plparam,LRESULT *plres);
1579 HRESULT (WINAPI *AttachMsgFilter)(ITextMsgFilter *This,ITextMsgFilter *pMsgFilter);
1580 END_INTERFACE
1581 } ITextMsgFilterVtbl;
1582 struct ITextMsgFilter {
1583 CONST_VTBL struct ITextMsgFilterVtbl *lpVtbl;
1584 };
1585 #ifdef COBJMACROS
1586 #define ITextMsgFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1587 #define ITextMsgFilter_AddRef(This) (This)->lpVtbl->AddRef(This)
1588 #define ITextMsgFilter_Release(This) (This)->lpVtbl->Release(This)
1589 #define ITextMsgFilter_AttachDocument(This,hwnd,pTextDoc) (This)->lpVtbl->AttachDocument(This,hwnd,pTextDoc)
1590 #define ITextMsgFilter_HandleMessage(This,pmsg,pwparam,plparam,plres) (This)->lpVtbl->HandleMessage(This,pmsg,pwparam,plparam,plres)
1591 #define ITextMsgFilter_AttachMsgFilter(This,pMsgFilter) (This)->lpVtbl->AttachMsgFilter(This,pMsgFilter)
1592 #endif
1593 #endif
1594 HRESULT WINAPI ITextMsgFilter_AttachDocument_Proxy(ITextMsgFilter *This,HWND hwnd,ITextDocument2 *pTextDoc);
1595 void __RPC_STUB ITextMsgFilter_AttachDocument_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1596 HRESULT WINAPI ITextMsgFilter_HandleMessage_Proxy(ITextMsgFilter *This,UINT *pmsg,WPARAM *pwparam,LPARAM *plparam,LRESULT *plres);
1597 void __RPC_STUB ITextMsgFilter_HandleMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1598 HRESULT WINAPI ITextMsgFilter_AttachMsgFilter_Proxy(ITextMsgFilter *This,ITextMsgFilter *pMsgFilter);
1599 void __RPC_STUB ITextMsgFilter_AttachMsgFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
1600 #endif
1601 #endif
1602
1603 unsigned long __RPC_API BSTR_UserSize(unsigned long *,unsigned long,BSTR *);
1604 unsigned char *__RPC_API BSTR_UserMarshal(unsigned long *,unsigned char *,BSTR *);
1605 unsigned char *__RPC_API BSTR_UserUnmarshal(unsigned long *,unsigned char *,BSTR *);
1606 void __RPC_API BSTR_UserFree(unsigned long *,BSTR *);
1607 unsigned long __RPC_API HWND_UserSize(unsigned long *,unsigned long,HWND *);
1608 unsigned char *__RPC_API HWND_UserMarshal(unsigned long *,unsigned char *,HWND *);
1609 unsigned char *__RPC_API HWND_UserUnmarshal(unsigned long *,unsigned char *,HWND *);
1610 void __RPC_API HWND_UserFree(unsigned long *,HWND *);
1611 unsigned long __RPC_API VARIANT_UserSize(unsigned long *,unsigned long,VARIANT *);
1612 unsigned char *__RPC_API VARIANT_UserMarshal(unsigned long *,unsigned char *,VARIANT *);
1613 unsigned char *__RPC_API VARIANT_UserUnmarshal(unsigned long *,unsigned char *,VARIANT *);
1614 void __RPC_API VARIANT_UserFree(unsigned long *,VARIANT *);
1615
1616 #ifdef __cplusplus
1617 }
1618 #endif
1619 #endif