1 
2 
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4 
5 
6  /* File created by MIDL compiler version 8.xx.xxxx */
7 /* at a redacted point in time
8  */
9 /* Compiler settings for ../../third_party/isimpledom/ISimpleDOMNode.idl:
10     Oicf, W1, Zp8, env=Win64 (32b run), target_arch=ARM64 8.01.0622
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()
16 */
17 /* @@MIDL_FILE_HEADING(  ) */
18 
19 #pragma warning( disable: 4049 )  /* more than 64k source lines */
20 
21 
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
25 #endif
26 
27 #include "rpc.h"
28 #include "rpcndr.h"
29 
30 #ifndef __RPCNDR_H_VERSION__
31 #error this stub requires an updated version of <rpcndr.h>
32 #endif /* __RPCNDR_H_VERSION__ */
33 
34 #ifndef COM_NO_WINDOWS_H
35 #include "windows.h"
36 #include "ole2.h"
37 #endif /*COM_NO_WINDOWS_H*/
38 
39 #ifndef __ISimpleDOMNode_h__
40 #define __ISimpleDOMNode_h__
41 
42 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
43 #pragma once
44 #endif
45 
46 /* Forward Declarations */
47 
48 #ifndef __ISimpleDOMNode_FWD_DEFINED__
49 #define __ISimpleDOMNode_FWD_DEFINED__
50 typedef interface ISimpleDOMNode ISimpleDOMNode;
51 
52 #endif 	/* __ISimpleDOMNode_FWD_DEFINED__ */
53 
54 
55 /* header files for imported files */
56 #include "objidl.h"
57 #include "oaidl.h"
58 
59 #ifdef __cplusplus
60 extern "C"{
61 #endif
62 
63 
64 /* interface __MIDL_itf_ISimpleDOMNode_0000_0000 */
65 /* [local] */
66 
67 ///////////////////////////////////////////////////////////////////////////////////////////////////////
68 //
69 // ISimpleDOMNode
70 // ---------------------------------------------------------------------------------------------------=
71 // An interface that extends MSAA's IAccessible to provide readonly DOM node information via cross-process COM.
72 //
73 // @STATUS UNDER_REVIEW
74 //
75 // get_nodeInfo(
76 //  /* [out] */ BSTR  *nodeName,   // For elements, this is the tag name
77 //  /* [out] */ short  *nameSpaceID,
78 //  /* [out] */ BSTR  *nodeValue,
79 //  /* [out] */ unsigned int    *numChildren);
80 //  /* [out] */ unsigned int    *uniqueID;  // In Win32 accessible events we generate, the target's childID matches to this
81 //  /* [out] */ unsigned short  *nodeType,
82 // ---------------------------------------------------------------------------------------------------=
83 // Get the basic information about a node.
84 // The namespace ID can be mapped to an URI using nsISimpleDOMDocument::get_nameSpaceURIForID()
85 //
86 // get_attributes(
87 //  /* [in]  */ unsigned short maxAttribs,
88 //  /* [out] */ unsigned short  *numAttribs,
89 //  /* [out] */ BSTR  *attribNames,
90 //  /* [out] */ short *nameSpaceID,
91 //  /* [out] */ BSTR  *attribValues);
92 // ---------------------------------------------------------------------------------------------------=
93 // Returns 3 arrays - the attribute names and values, and a namespace ID for each
94 // If the namespace ID is 0, it's the same namespace as the node's namespace
95 //
96 // get_attributesForNames(
97 //  /* [in] */ unsigned short numAttribs,
98 //  /* [in] */ BSTR   *attribNames,
99 //  /* [in] */ short  *nameSpaceID,
100 //  /* [out] */ BSTR  *attribValues);
101 // ---------------------------------------------------------------------------------------------------=
102 // Takes 2 arrays - the attribute names and namespace IDs, and returns an array of corresponding values
103 // If the namespace ID is 0, it's the same namespace as the node's namespace
104 //
105 // computedStyle(
106 //  /* [in]  */ unsigned short maxStyleProperties,
107 //  /* [out] */ unsigned short *numStyleProperties,
108 //  /* [in]  */ boolean useAlternateView,  // If TRUE, returns properites for media as set in nsIDOMDocument::set_alternateViewMediaTypes
109 //  /* [out] */ BSTR *styleProperties,
110 //  /* [out] */ BSTR *styleValues);
111 // ---------------------------------------------------------------------------------------------------=
112 // Returns 2 arrays -- the style properties and their values
113 //  useAlternateView=FALSE: gets properties for the default media type (usually screen)
114 //  useAlternateView=TRUE: properties for media types set w/ nsIDOMSimpleDocument::set_alternateViewMediaTypes()
115 //
116 // computedStyleForProperties(
117 //  /* [in] */  unsigned short numStyleProperties,
118 //  /* [in] */  boolean useAlternateView,  // If TRUE, returns properites for media as set in nsIDOMDocument::set_alternateViewMediaTypes
119 //  /* [in] */  BSTR *styleProperties,
120 //  /* [out] */ BSTR *styleValues);
121 // ---------------------------------------------------------------------------------------------------=
122 // Scroll the current view so that this dom node is visible.
123 //  placeTopLeft=TRUE: scroll until the top left corner of the dom node is at the top left corner of the view.
124 //  placeTopLeft=FALSE: scroll minimally to make the dom node visible. Don't scroll at all if already visible.
125 //
126 // scrollTo(
127 //  /* [in] */ boolean placeTopLeft);
128 // ---------------------------------------------------------------------------------------------------=
129 // Returns style property values for those properties in the styleProperties [in] array
130 // Returns 2 arrays -- the style properties and their values
131 //  useAlternateView=FALSE: gets properties for the default media type (usually screen)
132 //  useAlternateView=TRUE: properties for media types set w/ nsIDOMSimpleDocument::set_alternateViewMediaTypes()
133 //
134 // get_parentNode     (/* [out] */ ISimpleDOMNode **newNodePtr);
135 // get_firstChild     (/* [out] */ ISimpleDOMNode **newNodePtr);
136 // get_lastChild      (/* [out] */ ISimpleDOMNode **newNodePtr);
137 // get_previousSibling(/* [out] */ ISimpleDOMNode **newNodePtr);
138 // get_nextSibling    (/* [out] */ ISimpleDOMNode **newNodePtr);
139 // get_childAt        (/* [in] */ unsigned childIndex, /* [out] */ ISimpleDOMNode **newNodePtr);
140 // ---------------------------------------------------------------------------------------------------=
141 // DOM navigation - get a different node.
142 //
143 // get_innerHTML(/* [out] */ BSTR *htmlText);
144 // ---------------------------------------------------------------------------------------------------=
145 // Returns HTML of this DOM node's subtree. Does not include the start and end tag for this node/element.
146 //
147 //
148 // get_localInterface(/* [out] */ void **localInterface);
149 // ---------------------------------------------------------------------------------------------------=
150 // Only available in Gecko's process - casts to an XPCOM nsIAccessNode interface pointer
151 //
152 //
153 // get_language(/* [out] */ BSTR *htmlText);
154 // ---------------------------------------------------------------------------------------------------=
155 // Returns the computed language for this node, or empty string if unknown.
156 //
157 //
158 ///////////////////////////////////////////////////////////////////////////////////////////////////////
159 
160 
161 #define	DISPID_NODE_NODEINFO	( -5900 )
162 
163 #define	DISPID_NODE_ATTRIBUTES	( -5901 )
164 
165 #define	DISPID_NODE_ATTRIBUTESFORNAMES	( -5902 )
166 
167 #define	DISPID_NODE_COMPSTYLE	( -5903 )
168 
169 #define	DISPID_NODE_COMPSTYLEFORPROPS	( -5904 )
170 
171 #define	DISPID_NODE_LANGUAGE	( -5905 )
172 
173 
174 
175 extern RPC_IF_HANDLE __MIDL_itf_ISimpleDOMNode_0000_0000_v0_0_c_ifspec;
176 extern RPC_IF_HANDLE __MIDL_itf_ISimpleDOMNode_0000_0000_v0_0_s_ifspec;
177 
178 #ifndef __ISimpleDOMNode_INTERFACE_DEFINED__
179 #define __ISimpleDOMNode_INTERFACE_DEFINED__
180 
181 /* interface ISimpleDOMNode */
182 /* [uuid][object] */
183 
184 #define	NODETYPE_ELEMENT	( 1 )
185 
186 #define	NODETYPE_ATTRIBUTE	( 2 )
187 
188 #define	NODETYPE_TEXT	( 3 )
189 
190 #define	NODETYPE_CDATA_SECTION	( 4 )
191 
192 #define	NODETYPE_ENTITY_REFERENCE	( 5 )
193 
194 #define	NODETYPE_ENTITY	( 6 )
195 
196 #define	NODETYPE_PROCESSING_INSTRUCTION	( 7 )
197 
198 #define	NODETYPE_COMMENT	( 8 )
199 
200 #define	NODETYPE_DOCUMENT	( 9 )
201 
202 #define	NODETYPE_DOCUMENT_TYPE	( 10 )
203 
204 #define	NODETYPE_DOCUMENT_FRAGMENT	( 11 )
205 
206 #define	NODETYPE_NOTATION	( 12 )
207 
208 
209 EXTERN_C const IID IID_ISimpleDOMNode;
210 
211 #if defined(__cplusplus) && !defined(CINTERFACE)
212 
213     MIDL_INTERFACE("1814ceeb-49e2-407f-af99-fa755a7d2607")
214     ISimpleDOMNode : public IUnknown
215     {
216     public:
217         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_nodeInfo(
218             /* [out] */ BSTR *nodeName,
219             /* [out] */ short *nameSpaceID,
220             /* [out] */ BSTR *nodeValue,
221             /* [out] */ unsigned int *numChildren,
222             /* [out] */ unsigned int *uniqueID,
223             /* [retval][out] */ unsigned short *nodeType) = 0;
224 
225         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_attributes(
226             /* [in] */ unsigned short maxAttribs,
227             /* [length_is][size_is][out] */ BSTR *attribNames,
228             /* [length_is][size_is][out] */ short *nameSpaceID,
229             /* [length_is][size_is][out] */ BSTR *attribValues,
230             /* [retval][out] */ unsigned short *numAttribs) = 0;
231 
232         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_attributesForNames(
233             /* [in] */ unsigned short numAttribs,
234             /* [length_is][size_is][in] */ BSTR *attribNames,
235             /* [length_is][size_is][in] */ short *nameSpaceID,
236             /* [length_is][size_is][retval][out] */ BSTR *attribValues) = 0;
237 
238         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_computedStyle(
239             /* [in] */ unsigned short maxStyleProperties,
240             /* [in] */ boolean useAlternateView,
241             /* [length_is][size_is][out] */ BSTR *styleProperties,
242             /* [length_is][size_is][out] */ BSTR *styleValues,
243             /* [retval][out] */ unsigned short *numStyleProperties) = 0;
244 
245         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_computedStyleForProperties(
246             /* [in] */ unsigned short numStyleProperties,
247             /* [in] */ boolean useAlternateView,
248             /* [length_is][size_is][in] */ BSTR *styleProperties,
249             /* [length_is][size_is][retval][out] */ BSTR *styleValues) = 0;
250 
251         virtual HRESULT STDMETHODCALLTYPE scrollTo(
252             /* [in] */ boolean placeTopLeft) = 0;
253 
254         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_parentNode(
255             /* [retval][out] */ ISimpleDOMNode **node) = 0;
256 
257         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_firstChild(
258             /* [retval][out] */ ISimpleDOMNode **node) = 0;
259 
260         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_lastChild(
261             /* [retval][out] */ ISimpleDOMNode **node) = 0;
262 
263         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_previousSibling(
264             /* [retval][out] */ ISimpleDOMNode **node) = 0;
265 
266         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nextSibling(
267             /* [retval][out] */ ISimpleDOMNode **node) = 0;
268 
269         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_childAt(
270             /* [in] */ unsigned int childIndex,
271             /* [retval][out] */ ISimpleDOMNode **node) = 0;
272 
273         virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_innerHTML(
274             /* [retval][out] */ BSTR *innerHTML) = 0;
275 
276         virtual /* [local][propget] */ HRESULT STDMETHODCALLTYPE get_localInterface(
277             /* [retval][out] */ void **localInterface) = 0;
278 
279         virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_language(
280             /* [retval][out] */ BSTR *language) = 0;
281 
282     };
283 
284 
285 #else 	/* C style interface */
286 
287     typedef struct ISimpleDOMNodeVtbl
288     {
289         BEGIN_INTERFACE
290 
291         HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
292             ISimpleDOMNode * This,
293             /* [in] */ REFIID riid,
294             /* [annotation][iid_is][out] */
295             _COM_Outptr_  void **ppvObject);
296 
297         ULONG ( STDMETHODCALLTYPE *AddRef )(
298             ISimpleDOMNode * This);
299 
300         ULONG ( STDMETHODCALLTYPE *Release )(
301             ISimpleDOMNode * This);
302 
303         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_nodeInfo )(
304             ISimpleDOMNode * This,
305             /* [out] */ BSTR *nodeName,
306             /* [out] */ short *nameSpaceID,
307             /* [out] */ BSTR *nodeValue,
308             /* [out] */ unsigned int *numChildren,
309             /* [out] */ unsigned int *uniqueID,
310             /* [retval][out] */ unsigned short *nodeType);
311 
312         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_attributes )(
313             ISimpleDOMNode * This,
314             /* [in] */ unsigned short maxAttribs,
315             /* [length_is][size_is][out] */ BSTR *attribNames,
316             /* [length_is][size_is][out] */ short *nameSpaceID,
317             /* [length_is][size_is][out] */ BSTR *attribValues,
318             /* [retval][out] */ unsigned short *numAttribs);
319 
320         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_attributesForNames )(
321             ISimpleDOMNode * This,
322             /* [in] */ unsigned short numAttribs,
323             /* [length_is][size_is][in] */ BSTR *attribNames,
324             /* [length_is][size_is][in] */ short *nameSpaceID,
325             /* [length_is][size_is][retval][out] */ BSTR *attribValues);
326 
327         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_computedStyle )(
328             ISimpleDOMNode * This,
329             /* [in] */ unsigned short maxStyleProperties,
330             /* [in] */ boolean useAlternateView,
331             /* [length_is][size_is][out] */ BSTR *styleProperties,
332             /* [length_is][size_is][out] */ BSTR *styleValues,
333             /* [retval][out] */ unsigned short *numStyleProperties);
334 
335         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_computedStyleForProperties )(
336             ISimpleDOMNode * This,
337             /* [in] */ unsigned short numStyleProperties,
338             /* [in] */ boolean useAlternateView,
339             /* [length_is][size_is][in] */ BSTR *styleProperties,
340             /* [length_is][size_is][retval][out] */ BSTR *styleValues);
341 
342         HRESULT ( STDMETHODCALLTYPE *scrollTo )(
343             ISimpleDOMNode * This,
344             /* [in] */ boolean placeTopLeft);
345 
346         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_parentNode )(
347             ISimpleDOMNode * This,
348             /* [retval][out] */ ISimpleDOMNode **node);
349 
350         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_firstChild )(
351             ISimpleDOMNode * This,
352             /* [retval][out] */ ISimpleDOMNode **node);
353 
354         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_lastChild )(
355             ISimpleDOMNode * This,
356             /* [retval][out] */ ISimpleDOMNode **node);
357 
358         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_previousSibling )(
359             ISimpleDOMNode * This,
360             /* [retval][out] */ ISimpleDOMNode **node);
361 
362         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nextSibling )(
363             ISimpleDOMNode * This,
364             /* [retval][out] */ ISimpleDOMNode **node);
365 
366         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_childAt )(
367             ISimpleDOMNode * This,
368             /* [in] */ unsigned int childIndex,
369             /* [retval][out] */ ISimpleDOMNode **node);
370 
371         /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_innerHTML )(
372             ISimpleDOMNode * This,
373             /* [retval][out] */ BSTR *innerHTML);
374 
375         /* [local][propget] */ HRESULT ( STDMETHODCALLTYPE *get_localInterface )(
376             ISimpleDOMNode * This,
377             /* [retval][out] */ void **localInterface);
378 
379         /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_language )(
380             ISimpleDOMNode * This,
381             /* [retval][out] */ BSTR *language);
382 
383         END_INTERFACE
384     } ISimpleDOMNodeVtbl;
385 
386     interface ISimpleDOMNode
387     {
388         CONST_VTBL struct ISimpleDOMNodeVtbl *lpVtbl;
389     };
390 
391 
392 
393 #ifdef COBJMACROS
394 
395 
396 #define ISimpleDOMNode_QueryInterface(This,riid,ppvObject)	\
397     ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
398 
399 #define ISimpleDOMNode_AddRef(This)	\
400     ( (This)->lpVtbl -> AddRef(This) )
401 
402 #define ISimpleDOMNode_Release(This)	\
403     ( (This)->lpVtbl -> Release(This) )
404 
405 
406 #define ISimpleDOMNode_get_nodeInfo(This,nodeName,nameSpaceID,nodeValue,numChildren,uniqueID,nodeType)	\
407     ( (This)->lpVtbl -> get_nodeInfo(This,nodeName,nameSpaceID,nodeValue,numChildren,uniqueID,nodeType) )
408 
409 #define ISimpleDOMNode_get_attributes(This,maxAttribs,attribNames,nameSpaceID,attribValues,numAttribs)	\
410     ( (This)->lpVtbl -> get_attributes(This,maxAttribs,attribNames,nameSpaceID,attribValues,numAttribs) )
411 
412 #define ISimpleDOMNode_get_attributesForNames(This,numAttribs,attribNames,nameSpaceID,attribValues)	\
413     ( (This)->lpVtbl -> get_attributesForNames(This,numAttribs,attribNames,nameSpaceID,attribValues) )
414 
415 #define ISimpleDOMNode_get_computedStyle(This,maxStyleProperties,useAlternateView,styleProperties,styleValues,numStyleProperties)	\
416     ( (This)->lpVtbl -> get_computedStyle(This,maxStyleProperties,useAlternateView,styleProperties,styleValues,numStyleProperties) )
417 
418 #define ISimpleDOMNode_get_computedStyleForProperties(This,numStyleProperties,useAlternateView,styleProperties,styleValues)	\
419     ( (This)->lpVtbl -> get_computedStyleForProperties(This,numStyleProperties,useAlternateView,styleProperties,styleValues) )
420 
421 #define ISimpleDOMNode_scrollTo(This,placeTopLeft)	\
422     ( (This)->lpVtbl -> scrollTo(This,placeTopLeft) )
423 
424 #define ISimpleDOMNode_get_parentNode(This,node)	\
425     ( (This)->lpVtbl -> get_parentNode(This,node) )
426 
427 #define ISimpleDOMNode_get_firstChild(This,node)	\
428     ( (This)->lpVtbl -> get_firstChild(This,node) )
429 
430 #define ISimpleDOMNode_get_lastChild(This,node)	\
431     ( (This)->lpVtbl -> get_lastChild(This,node) )
432 
433 #define ISimpleDOMNode_get_previousSibling(This,node)	\
434     ( (This)->lpVtbl -> get_previousSibling(This,node) )
435 
436 #define ISimpleDOMNode_get_nextSibling(This,node)	\
437     ( (This)->lpVtbl -> get_nextSibling(This,node) )
438 
439 #define ISimpleDOMNode_get_childAt(This,childIndex,node)	\
440     ( (This)->lpVtbl -> get_childAt(This,childIndex,node) )
441 
442 #define ISimpleDOMNode_get_innerHTML(This,innerHTML)	\
443     ( (This)->lpVtbl -> get_innerHTML(This,innerHTML) )
444 
445 #define ISimpleDOMNode_get_localInterface(This,localInterface)	\
446     ( (This)->lpVtbl -> get_localInterface(This,localInterface) )
447 
448 #define ISimpleDOMNode_get_language(This,language)	\
449     ( (This)->lpVtbl -> get_language(This,language) )
450 
451 #endif /* COBJMACROS */
452 
453 
454 #endif 	/* C style interface */
455 
456 
457 
458 
459 #endif 	/* __ISimpleDOMNode_INTERFACE_DEFINED__ */
460 
461 
462 /* Additional Prototypes for ALL interfaces */
463 
464 unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * );
465 unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * );
466 unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
467 void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * );
468 
469 /* end of Additional Prototypes */
470 
471 #ifdef __cplusplus
472 }
473 #endif
474 
475 #endif
476 
477 
478