3
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
6
/* File created by MIDL compiler version 7.00.0555 */
7
/* at Thu Mar 08 14:53:53 2012
9
/* Compiler settings for AccessibleHypertext.idl:
10
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
11
protocol : dce , ms_ext, c_ext, robust
12
error checks: allocation ref bounds_check enum stub_data
13
VC __declspec() decoration level:
14
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
15
DECLSPEC_UUID(), MIDL_INTERFACE()
17
/* @@MIDL_FILE_HEADING( ) */
19
#pragma warning( disable: 4049 ) /* more than 64k source lines */
22
/* verify that the <rpcndr.h> version is high enough to compile this file*/
23
#ifndef __REQUIRED_RPCNDR_H_VERSION__
24
#define __REQUIRED_RPCNDR_H_VERSION__ 475
30
#ifndef __RPCNDR_H_VERSION__
31
#error this stub requires an updated version of <rpcndr.h>
32
#endif // __RPCNDR_H_VERSION__
34
#ifndef COM_NO_WINDOWS_H
37
#endif /*COM_NO_WINDOWS_H*/
39
#ifndef __AccessibleHypertext_h__
40
#define __AccessibleHypertext_h__
42
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
46
/* Forward Declarations */
48
#ifndef __IAccessibleHypertext_FWD_DEFINED__
49
#define __IAccessibleHypertext_FWD_DEFINED__
50
typedef interface IAccessibleHypertext IAccessibleHypertext;
51
#endif /* __IAccessibleHypertext_FWD_DEFINED__ */
54
/* header files for imported files */
58
#include "AccessibleText.h"
59
#include "AccessibleHyperlink.h"
66
#ifndef __IAccessibleHypertext_INTERFACE_DEFINED__
67
#define __IAccessibleHypertext_INTERFACE_DEFINED__
69
/* interface IAccessibleHypertext */
73
EXTERN_C const IID IID_IAccessibleHypertext;
75
#if defined(__cplusplus) && !defined(CINTERFACE)
77
MIDL_INTERFACE("6B4F8BBF-F1F2-418a-B35E-A195BC4103B9")
78
IAccessibleHypertext : public IAccessibleText
81
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nHyperlinks(
82
/* [retval][out] */ long *hyperlinkCount) = 0;
84
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlink(
85
/* [in] */ long index,
86
/* [retval][out] */ IAccessibleHyperlink **hyperlink) = 0;
88
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlinkIndex(
89
/* [in] */ long charIndex,
90
/* [retval][out] */ long *hyperlinkIndex) = 0;
94
#else /* C style interface */
96
typedef struct IAccessibleHypertextVtbl
100
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
101
IAccessibleHypertext * This,
102
/* [in] */ REFIID riid,
103
/* [annotation][iid_is][out] */
104
__RPC__deref_out void **ppvObject);
106
ULONG ( STDMETHODCALLTYPE *AddRef )(
107
IAccessibleHypertext * This);
109
ULONG ( STDMETHODCALLTYPE *Release )(
110
IAccessibleHypertext * This);
112
HRESULT ( STDMETHODCALLTYPE *addSelection )(
113
IAccessibleHypertext * This,
114
/* [in] */ long startOffset,
115
/* [in] */ long endOffset);
117
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_attributes )(
118
IAccessibleHypertext * This,
119
/* [in] */ long offset,
120
/* [out] */ long *startOffset,
121
/* [out] */ long *endOffset,
122
/* [retval][out] */ BSTR *textAttributes);
124
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_caretOffset )(
125
IAccessibleHypertext * This,
126
/* [retval][out] */ long *offset);
128
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_characterExtents )(
129
IAccessibleHypertext * This,
130
/* [in] */ long offset,
131
/* [in] */ enum IA2CoordinateType coordType,
134
/* [out] */ long *width,
135
/* [retval][out] */ long *height);
137
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelections )(
138
IAccessibleHypertext * This,
139
/* [retval][out] */ long *nSelections);
141
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_offsetAtPoint )(
142
IAccessibleHypertext * This,
145
/* [in] */ enum IA2CoordinateType coordType,
146
/* [retval][out] */ long *offset);
148
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selection )(
149
IAccessibleHypertext * This,
150
/* [in] */ long selectionIndex,
151
/* [out] */ long *startOffset,
152
/* [retval][out] */ long *endOffset);
154
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_text )(
155
IAccessibleHypertext * This,
156
/* [in] */ long startOffset,
157
/* [in] */ long endOffset,
158
/* [retval][out] */ BSTR *text);
160
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textBeforeOffset )(
161
IAccessibleHypertext * This,
162
/* [in] */ long offset,
163
/* [in] */ enum IA2TextBoundaryType boundaryType,
164
/* [out] */ long *startOffset,
165
/* [out] */ long *endOffset,
166
/* [retval][out] */ BSTR *text);
168
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textAfterOffset )(
169
IAccessibleHypertext * This,
170
/* [in] */ long offset,
171
/* [in] */ enum IA2TextBoundaryType boundaryType,
172
/* [out] */ long *startOffset,
173
/* [out] */ long *endOffset,
174
/* [retval][out] */ BSTR *text);
176
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textAtOffset )(
177
IAccessibleHypertext * This,
178
/* [in] */ long offset,
179
/* [in] */ enum IA2TextBoundaryType boundaryType,
180
/* [out] */ long *startOffset,
181
/* [out] */ long *endOffset,
182
/* [retval][out] */ BSTR *text);
184
HRESULT ( STDMETHODCALLTYPE *removeSelection )(
185
IAccessibleHypertext * This,
186
/* [in] */ long selectionIndex);
188
HRESULT ( STDMETHODCALLTYPE *setCaretOffset )(
189
IAccessibleHypertext * This,
190
/* [in] */ long offset);
192
HRESULT ( STDMETHODCALLTYPE *setSelection )(
193
IAccessibleHypertext * This,
194
/* [in] */ long selectionIndex,
195
/* [in] */ long startOffset,
196
/* [in] */ long endOffset);
198
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nCharacters )(
199
IAccessibleHypertext * This,
200
/* [retval][out] */ long *nCharacters);
202
HRESULT ( STDMETHODCALLTYPE *scrollSubstringTo )(
203
IAccessibleHypertext * This,
204
/* [in] */ long startIndex,
205
/* [in] */ long endIndex,
206
/* [in] */ enum IA2ScrollType scrollType);
208
HRESULT ( STDMETHODCALLTYPE *scrollSubstringToPoint )(
209
IAccessibleHypertext * This,
210
/* [in] */ long startIndex,
211
/* [in] */ long endIndex,
212
/* [in] */ enum IA2CoordinateType coordinateType,
216
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_newText )(
217
IAccessibleHypertext * This,
218
/* [retval][out] */ IA2TextSegment *newText);
220
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_oldText )(
221
IAccessibleHypertext * This,
222
/* [retval][out] */ IA2TextSegment *oldText);
224
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nHyperlinks )(
225
IAccessibleHypertext * This,
226
/* [retval][out] */ long *hyperlinkCount);
228
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_hyperlink )(
229
IAccessibleHypertext * This,
230
/* [in] */ long index,
231
/* [retval][out] */ IAccessibleHyperlink **hyperlink);
233
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_hyperlinkIndex )(
234
IAccessibleHypertext * This,
235
/* [in] */ long charIndex,
236
/* [retval][out] */ long *hyperlinkIndex);
239
} IAccessibleHypertextVtbl;
241
interface IAccessibleHypertext
243
CONST_VTBL struct IAccessibleHypertextVtbl *lpVtbl;
251
#define IAccessibleHypertext_QueryInterface(This,riid,ppvObject) \
252
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
254
#define IAccessibleHypertext_AddRef(This) \
255
( (This)->lpVtbl -> AddRef(This) )
257
#define IAccessibleHypertext_Release(This) \
258
( (This)->lpVtbl -> Release(This) )
261
#define IAccessibleHypertext_addSelection(This,startOffset,endOffset) \
262
( (This)->lpVtbl -> addSelection(This,startOffset,endOffset) )
264
#define IAccessibleHypertext_get_attributes(This,offset,startOffset,endOffset,textAttributes) \
265
( (This)->lpVtbl -> get_attributes(This,offset,startOffset,endOffset,textAttributes) )
267
#define IAccessibleHypertext_get_caretOffset(This,offset) \
268
( (This)->lpVtbl -> get_caretOffset(This,offset) )
270
#define IAccessibleHypertext_get_characterExtents(This,offset,coordType,x,y,width,height) \
271
( (This)->lpVtbl -> get_characterExtents(This,offset,coordType,x,y,width,height) )
273
#define IAccessibleHypertext_get_nSelections(This,nSelections) \
274
( (This)->lpVtbl -> get_nSelections(This,nSelections) )
276
#define IAccessibleHypertext_get_offsetAtPoint(This,x,y,coordType,offset) \
277
( (This)->lpVtbl -> get_offsetAtPoint(This,x,y,coordType,offset) )
279
#define IAccessibleHypertext_get_selection(This,selectionIndex,startOffset,endOffset) \
280
( (This)->lpVtbl -> get_selection(This,selectionIndex,startOffset,endOffset) )
282
#define IAccessibleHypertext_get_text(This,startOffset,endOffset,text) \
283
( (This)->lpVtbl -> get_text(This,startOffset,endOffset,text) )
285
#define IAccessibleHypertext_get_textBeforeOffset(This,offset,boundaryType,startOffset,endOffset,text) \
286
( (This)->lpVtbl -> get_textBeforeOffset(This,offset,boundaryType,startOffset,endOffset,text) )
288
#define IAccessibleHypertext_get_textAfterOffset(This,offset,boundaryType,startOffset,endOffset,text) \
289
( (This)->lpVtbl -> get_textAfterOffset(This,offset,boundaryType,startOffset,endOffset,text) )
291
#define IAccessibleHypertext_get_textAtOffset(This,offset,boundaryType,startOffset,endOffset,text) \
292
( (This)->lpVtbl -> get_textAtOffset(This,offset,boundaryType,startOffset,endOffset,text) )
294
#define IAccessibleHypertext_removeSelection(This,selectionIndex) \
295
( (This)->lpVtbl -> removeSelection(This,selectionIndex) )
297
#define IAccessibleHypertext_setCaretOffset(This,offset) \
298
( (This)->lpVtbl -> setCaretOffset(This,offset) )
300
#define IAccessibleHypertext_setSelection(This,selectionIndex,startOffset,endOffset) \
301
( (This)->lpVtbl -> setSelection(This,selectionIndex,startOffset,endOffset) )
303
#define IAccessibleHypertext_get_nCharacters(This,nCharacters) \
304
( (This)->lpVtbl -> get_nCharacters(This,nCharacters) )
306
#define IAccessibleHypertext_scrollSubstringTo(This,startIndex,endIndex,scrollType) \
307
( (This)->lpVtbl -> scrollSubstringTo(This,startIndex,endIndex,scrollType) )
309
#define IAccessibleHypertext_scrollSubstringToPoint(This,startIndex,endIndex,coordinateType,x,y) \
310
( (This)->lpVtbl -> scrollSubstringToPoint(This,startIndex,endIndex,coordinateType,x,y) )
312
#define IAccessibleHypertext_get_newText(This,newText) \
313
( (This)->lpVtbl -> get_newText(This,newText) )
315
#define IAccessibleHypertext_get_oldText(This,oldText) \
316
( (This)->lpVtbl -> get_oldText(This,oldText) )
319
#define IAccessibleHypertext_get_nHyperlinks(This,hyperlinkCount) \
320
( (This)->lpVtbl -> get_nHyperlinks(This,hyperlinkCount) )
322
#define IAccessibleHypertext_get_hyperlink(This,index,hyperlink) \
323
( (This)->lpVtbl -> get_hyperlink(This,index,hyperlink) )
325
#define IAccessibleHypertext_get_hyperlinkIndex(This,charIndex,hyperlinkIndex) \
326
( (This)->lpVtbl -> get_hyperlinkIndex(This,charIndex,hyperlinkIndex) )
328
#endif /* COBJMACROS */
331
#endif /* C style interface */
336
#endif /* __IAccessibleHypertext_INTERFACE_DEFINED__ */
339
/* Additional Prototypes for ALL interfaces */
341
/* end of Additional Prototypes */