ReactOS 0.4.16-dev-2208-g6350669
docfrag.c
Go to the documentation of this file.
1/*
2 * DOM Document Fragment implementation
3 *
4 * Copyright 2007 Alistair Leslie-Hughes
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#define COBJMACROS
22
23#include <stdarg.h>
24#include <libxml/parser.h>
25#include <libxml/xmlerror.h>
26
27#include "windef.h"
28#include "winbase.h"
29#include "winuser.h"
30#include "ole2.h"
31#include "msxml6.h"
32
33#include "msxml_private.h"
34
35#include "wine/debug.h"
36
38
39typedef struct _domfrag
40{
45
46static const tid_t domfrag_se_tids[] = {
50};
51
53{
54 return CONTAINING_RECORD(iface, domfrag, IXMLDOMDocumentFragment_iface);
55}
56
60 void** ppvObject )
61{
63 TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppvObject);
64
65 if ( IsEqualGUID( riid, &IID_IXMLDOMDocumentFragment ) ||
66 IsEqualGUID( riid, &IID_IXMLDOMNode ) ||
69 {
70 *ppvObject = iface;
71 }
72 else if(node_query_interface(&This->node, riid, ppvObject))
73 {
74 return *ppvObject ? S_OK : E_NOINTERFACE;
75 }
76 else if(IsEqualGUID( riid, &IID_ISupportErrorInfo ))
77 {
79 }
80 else
81 {
82 TRACE("Unsupported interface %s\n", debugstr_guid(riid));
83 *ppvObject = NULL;
84 return E_NOINTERFACE;
85 }
86
87 IXMLDOMDocumentFragment_AddRef(iface);
88 return S_OK;
89}
90
92{
95 TRACE("%p, refcount %lu.\n", iface, ref);
96 return ref;
97}
98
100{
103
104 TRACE("%p, refcount %lu.\n", iface, ref);
105
106 if (!ref)
107 {
109 free(domfrag);
110 }
111
112 return ref;
113}
114
117 UINT* pctinfo )
118{
120 return IDispatchEx_GetTypeInfoCount(&This->node.dispex.IDispatchEx_iface, pctinfo);
121}
122
125 UINT iTInfo, LCID lcid,
126 ITypeInfo** ppTInfo )
127{
129 return IDispatchEx_GetTypeInfo(&This->node.dispex.IDispatchEx_iface,
130 iTInfo, lcid, ppTInfo);
131}
132
135 REFIID riid, LPOLESTR* rgszNames,
136 UINT cNames, LCID lcid, DISPID* rgDispId )
137{
139 return IDispatchEx_GetIDsOfNames(&This->node.dispex.IDispatchEx_iface,
140 riid, rgszNames, cNames, lcid, rgDispId);
141}
142
145 DISPID dispIdMember, REFIID riid, LCID lcid,
146 WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
147 EXCEPINFO* pExcepInfo, UINT* puArgErr )
148{
150 return IDispatchEx_Invoke(&This->node.dispex.IDispatchEx_iface,
151 dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
152}
153
156 BSTR* p )
157{
159
160 static const WCHAR document_fragmentW[] =
161 {'#','d','o','c','u','m','e','n','t','-','f','r','a','g','m','e','n','t',0};
162
163 TRACE("(%p)->(%p)\n", This, p);
164
165 return return_bstr(document_fragmentW, p);
166}
167
170 VARIANT* value)
171{
173 TRACE("(%p)->(%p)\n", This, value);
174 return return_null_var(value);
175}
176
180{
182 TRACE("(%p)->(%s)\n", This, debugstr_variant(&value));
183 return E_FAIL;
184}
185
188 DOMNodeType* domNodeType )
189{
191
192 TRACE("(%p)->(%p)\n", This, domNodeType);
193
194 *domNodeType = NODE_DOCUMENT_FRAGMENT;
195 return S_OK;
196}
197
201{
203
204 TRACE("(%p)->(%p)\n", This, parent);
205
206 return node_get_parent(&This->node, parent);
207}
208
211 IXMLDOMNodeList** outList)
212{
214
215 TRACE("(%p)->(%p)\n", This, outList);
216
217 return node_get_child_nodes(&This->node, outList);
218}
219
222 IXMLDOMNode** domNode)
223{
225
226 TRACE("(%p)->(%p)\n", This, domNode);
227
228 return node_get_first_child(&This->node, domNode);
229}
230
233 IXMLDOMNode** domNode)
234{
236
237 TRACE("(%p)->(%p)\n", This, domNode);
238
239 return node_get_last_child(&This->node, domNode);
240}
241
244 IXMLDOMNode** domNode)
245{
247
248 TRACE("(%p)->(%p)\n", This, domNode);
249
250 return return_null_node(domNode);
251}
252
255 IXMLDOMNode** domNode)
256{
258
259 TRACE("(%p)->(%p)\n", This, domNode);
260
261 return return_null_node(domNode);
262}
263
266 IXMLDOMNamedNodeMap** attributeMap)
267{
269
270 TRACE("(%p)->(%p)\n", This, attributeMap);
271
272 return return_null_ptr((void**)attributeMap);
273}
274
277 IXMLDOMNode* newNode, VARIANT refChild,
278 IXMLDOMNode** outOldNode)
279{
281
282 TRACE("(%p)->(%p %s %p)\n", This, newNode, debugstr_variant(&refChild), outOldNode);
283
284 /* TODO: test */
285 return node_insert_before(&This->node, newNode, &refChild, outOldNode);
286}
287
290 IXMLDOMNode* newNode,
291 IXMLDOMNode* oldNode,
292 IXMLDOMNode** outOldNode)
293{
295
296 TRACE("(%p)->(%p %p %p)\n", This, newNode, oldNode, outOldNode);
297
298 /* TODO: test */
299 return node_replace_child(&This->node, newNode, oldNode, outOldNode);
300}
301
304 IXMLDOMNode *child, IXMLDOMNode **oldChild)
305{
307 TRACE("(%p)->(%p %p)\n", This, child, oldChild);
308 return node_remove_child(&This->node, child, oldChild);
309}
310
313 IXMLDOMNode *child, IXMLDOMNode **outChild)
314{
316 TRACE("(%p)->(%p %p)\n", This, child, outChild);
317 return node_append_child(&This->node, child, outChild);
318}
319
323{
325 TRACE("(%p)->(%p)\n", This, ret);
326 return node_has_childnodes(&This->node, ret);
327}
328
331 IXMLDOMDocument **doc)
332{
334 TRACE("(%p)->(%p)\n", This, doc);
335 return node_get_owner_doc(&This->node, doc);
336}
337
340 VARIANT_BOOL deep, IXMLDOMNode** outNode)
341{
343 TRACE("(%p)->(%d %p)\n", This, deep, outNode);
344 return node_clone( &This->node, deep, outNode );
345}
346
349 BSTR* p)
350{
352 static const WCHAR documentfragmentW[] = {'d','o','c','u','m','e','n','t','f','r','a','g','m','e','n','t',0};
353
354 TRACE("(%p)->(%p)\n", This, p);
355
356 return return_bstr(documentfragmentW, p);
357}
358
361 BSTR* p)
362{
364 TRACE("(%p)->(%p)\n", This, p);
365 return node_get_text(&This->node, p);
366}
367
370 BSTR p)
371{
373 TRACE("(%p)->(%s)\n", This, debugstr_w(p));
374 return node_put_text( &This->node, p );
375}
376
379 VARIANT_BOOL* isSpecified)
380{
382 FIXME("(%p)->(%p) stub!\n", This, isSpecified);
383 *isSpecified = VARIANT_TRUE;
384 return S_OK;
385}
386
389 IXMLDOMNode** definitionNode)
390{
392 FIXME("(%p)->(%p)\n", This, definitionNode);
393 return E_NOTIMPL;
394}
395
398 VARIANT *v)
399{
401 TRACE("(%p)->(%p)\n", This, v);
402 return return_null_var(v);
403}
404
407 VARIANT typedValue)
408{
410 FIXME("(%p)->(%s)\n", This, debugstr_variant(&typedValue));
411 return E_NOTIMPL;
412}
413
416 VARIANT* typename)
417{
419 TRACE("(%p)->(%p)\n", This, typename);
420 return return_null_var( typename );
421}
422
425 BSTR p)
426{
428
429 TRACE("(%p)->(%s)\n", This, debugstr_w(p));
430
431 if(!p)
432 return E_INVALIDARG;
433
434 return E_FAIL;
435}
436
439 BSTR* p)
440{
442
443 TRACE("(%p)->(%p)\n", This, p);
444
445 return node_get_xml(&This->node, FALSE, p);
446}
447
451{
453 TRACE("(%p)->(%p %p)\n", This, node, p);
454 return node_transform_node(&This->node, node, p);
455}
456
459 BSTR p, IXMLDOMNodeList** outList)
460{
462 TRACE("(%p)->(%s %p)\n", This, debugstr_w(p), outList);
463 return node_select_nodes(&This->node, p, outList);
464}
465
468 BSTR p, IXMLDOMNode** outNode)
469{
471 TRACE("(%p)->(%s %p)\n", This, debugstr_w(p), outNode);
472 return node_select_singlenode(&This->node, p, outNode);
473}
474
477 VARIANT_BOOL* isParsed)
478{
480 FIXME("(%p)->(%p) stub!\n", This, isParsed);
481 *isParsed = VARIANT_TRUE;
482 return S_OK;
483}
484
487 BSTR* p)
488{
490 TRACE("(%p)->(%p)\n", This, p);
491 return node_get_namespaceURI(&This->node, p);
492}
493
496 BSTR* prefix)
497{
499 TRACE("(%p)->(%p)\n", This, prefix);
500 return return_null_bstr( prefix );
501}
502
505 BSTR* name)
506{
508 FIXME("(%p)->(%p): needs test\n", This, name);
509 return return_null_bstr( name );
510}
511
514 IXMLDOMNode* domNode, VARIANT var1)
515{
517 FIXME("(%p)->(%p %s)\n", This, domNode, debugstr_variant(&var1));
518 return E_NOTIMPL;
519}
520
521static const struct IXMLDOMDocumentFragmentVtbl domfrag_vtbl =
522{
566};
567
568static const tid_t domfrag_iface_tids[] = {
570 0
571};
572
574 NULL,
576 NULL,
578};
579
580IUnknown* create_doc_fragment( xmlNodePtr fragment )
581{
582 domfrag *This;
583
584 This = malloc(sizeof(*This));
585 if ( !This )
586 return NULL;
587
588 This->IXMLDOMDocumentFragment_iface.lpVtbl = &domfrag_vtbl;
589 This->ref = 1;
590
591 init_xmlnode(&This->node, fragment, (IXMLDOMNode*)&This->IXMLDOMDocumentFragment_iface, &domfrag_dispex);
592
593 return (IUnknown*)&This->IXMLDOMDocumentFragment_iface;
594}
#define InterlockedIncrement
Definition: armddk.h:53
#define InterlockedDecrement
Definition: armddk.h:52
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: precomp.h:53
const GUID IID_IUnknown
#define E_INVALIDARG
Definition: ddrawi.h:101
#define E_NOTIMPL
Definition: ddrawi.h:99
#define E_FAIL
Definition: ddrawi.h:102
#define free
Definition: debug_ros.c:5
#define malloc
Definition: debug_ros.c:4
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
OLECHAR * BSTR
Definition: compat.h:2293
short VARIANT_BOOL
Definition: compat.h:2290
LCID lcid
Definition: locale.c:5656
static HRESULT WINAPI domfrag_get_dataType(IXMLDOMDocumentFragment *iface, VARIANT *typename)
Definition: docfrag.c:414
static HRESULT WINAPI domfrag_get_childNodes(IXMLDOMDocumentFragment *iface, IXMLDOMNodeList **outList)
Definition: docfrag.c:209
static HRESULT WINAPI domfrag_get_namespaceURI(IXMLDOMDocumentFragment *iface, BSTR *p)
Definition: docfrag.c:485
static HRESULT WINAPI domfrag_GetIDsOfNames(IXMLDOMDocumentFragment *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: docfrag.c:133
static HRESULT WINAPI domfrag_hasChildNodes(IXMLDOMDocumentFragment *iface, VARIANT_BOOL *ret)
Definition: docfrag.c:320
static const tid_t domfrag_se_tids[]
Definition: docfrag.c:46
static HRESULT WINAPI domfrag_get_previousSibling(IXMLDOMDocumentFragment *iface, IXMLDOMNode **domNode)
Definition: docfrag.c:242
IUnknown * create_doc_fragment(xmlNodePtr fragment)
Definition: docfrag.c:580
static domfrag * impl_from_IXMLDOMDocumentFragment(IXMLDOMDocumentFragment *iface)
Definition: docfrag.c:52
static HRESULT WINAPI domfrag_selectSingleNode(IXMLDOMDocumentFragment *iface, BSTR p, IXMLDOMNode **outNode)
Definition: docfrag.c:466
static HRESULT WINAPI domfrag_put_nodeValue(IXMLDOMDocumentFragment *iface, VARIANT value)
Definition: docfrag.c:177
static HRESULT WINAPI domfrag_appendChild(IXMLDOMDocumentFragment *iface, IXMLDOMNode *child, IXMLDOMNode **outChild)
Definition: docfrag.c:311
static const struct IXMLDOMDocumentFragmentVtbl domfrag_vtbl
Definition: docfrag.c:521
static HRESULT WINAPI domfrag_get_baseName(IXMLDOMDocumentFragment *iface, BSTR *name)
Definition: docfrag.c:503
static HRESULT WINAPI domfrag_put_nodeTypedValue(IXMLDOMDocumentFragment *iface, VARIANT typedValue)
Definition: docfrag.c:405
struct _domfrag domfrag
static HRESULT WINAPI domfrag_put_dataType(IXMLDOMDocumentFragment *iface, BSTR p)
Definition: docfrag.c:423
static HRESULT WINAPI domfrag_get_text(IXMLDOMDocumentFragment *iface, BSTR *p)
Definition: docfrag.c:359
static HRESULT WINAPI domfrag_get_attributes(IXMLDOMDocumentFragment *iface, IXMLDOMNamedNodeMap **attributeMap)
Definition: docfrag.c:264
static HRESULT WINAPI domfrag_GetTypeInfoCount(IXMLDOMDocumentFragment *iface, UINT *pctinfo)
Definition: docfrag.c:115
static HRESULT WINAPI domfrag_selectNodes(IXMLDOMDocumentFragment *iface, BSTR p, IXMLDOMNodeList **outList)
Definition: docfrag.c:457
static HRESULT WINAPI domfrag_get_xml(IXMLDOMDocumentFragment *iface, BSTR *p)
Definition: docfrag.c:437
static HRESULT WINAPI domfrag_put_text(IXMLDOMDocumentFragment *iface, BSTR p)
Definition: docfrag.c:368
static ULONG WINAPI domfrag_Release(IXMLDOMDocumentFragment *iface)
Definition: docfrag.c:99
static HRESULT WINAPI domfrag_get_nodeTypeString(IXMLDOMDocumentFragment *iface, BSTR *p)
Definition: docfrag.c:347
static HRESULT WINAPI domfrag_get_nodeName(IXMLDOMDocumentFragment *iface, BSTR *p)
Definition: docfrag.c:154
static HRESULT WINAPI domfrag_get_nodeTypedValue(IXMLDOMDocumentFragment *iface, VARIANT *v)
Definition: docfrag.c:396
static HRESULT WINAPI domfrag_get_nodeType(IXMLDOMDocumentFragment *iface, DOMNodeType *domNodeType)
Definition: docfrag.c:186
static HRESULT WINAPI domfrag_get_firstChild(IXMLDOMDocumentFragment *iface, IXMLDOMNode **domNode)
Definition: docfrag.c:220
static ULONG WINAPI domfrag_AddRef(IXMLDOMDocumentFragment *iface)
Definition: docfrag.c:91
static HRESULT WINAPI domfrag_cloneNode(IXMLDOMDocumentFragment *iface, VARIANT_BOOL deep, IXMLDOMNode **outNode)
Definition: docfrag.c:338
static dispex_static_data_t domfrag_dispex
Definition: docfrag.c:573
static HRESULT WINAPI domfrag_get_parsed(IXMLDOMDocumentFragment *iface, VARIANT_BOOL *isParsed)
Definition: docfrag.c:475
static HRESULT WINAPI domfrag_GetTypeInfo(IXMLDOMDocumentFragment *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: docfrag.c:123
static HRESULT WINAPI domfrag_get_specified(IXMLDOMDocumentFragment *iface, VARIANT_BOOL *isSpecified)
Definition: docfrag.c:377
static HRESULT WINAPI domfrag_removeChild(IXMLDOMDocumentFragment *iface, IXMLDOMNode *child, IXMLDOMNode **oldChild)
Definition: docfrag.c:302
static HRESULT WINAPI domfrag_insertBefore(IXMLDOMDocumentFragment *iface, IXMLDOMNode *newNode, VARIANT refChild, IXMLDOMNode **outOldNode)
Definition: docfrag.c:275
static HRESULT WINAPI domfrag_get_lastChild(IXMLDOMDocumentFragment *iface, IXMLDOMNode **domNode)
Definition: docfrag.c:231
static HRESULT WINAPI domfrag_transformNode(IXMLDOMDocumentFragment *iface, IXMLDOMNode *node, BSTR *p)
Definition: docfrag.c:448
static HRESULT WINAPI domfrag_transformNodeToObject(IXMLDOMDocumentFragment *iface, IXMLDOMNode *domNode, VARIANT var1)
Definition: docfrag.c:512
static HRESULT WINAPI domfrag_get_prefix(IXMLDOMDocumentFragment *iface, BSTR *prefix)
Definition: docfrag.c:494
static HRESULT WINAPI domfrag_get_parentNode(IXMLDOMDocumentFragment *iface, IXMLDOMNode **parent)
Definition: docfrag.c:198
static HRESULT WINAPI domfrag_get_ownerDocument(IXMLDOMDocumentFragment *iface, IXMLDOMDocument **doc)
Definition: docfrag.c:329
static HRESULT WINAPI domfrag_Invoke(IXMLDOMDocumentFragment *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: docfrag.c:143
static HRESULT WINAPI domfrag_get_definition(IXMLDOMDocumentFragment *iface, IXMLDOMNode **definitionNode)
Definition: docfrag.c:387
static HRESULT WINAPI domfrag_replaceChild(IXMLDOMDocumentFragment *iface, IXMLDOMNode *newNode, IXMLDOMNode *oldNode, IXMLDOMNode **outOldNode)
Definition: docfrag.c:288
static const tid_t domfrag_iface_tids[]
Definition: docfrag.c:568
static HRESULT WINAPI domfrag_get_nodeValue(IXMLDOMDocumentFragment *iface, VARIANT *value)
Definition: docfrag.c:168
static HRESULT WINAPI domfrag_QueryInterface(IXMLDOMDocumentFragment *iface, REFIID riid, void **ppvObject)
Definition: docfrag.c:57
static HRESULT WINAPI domfrag_get_nextSibling(IXMLDOMDocumentFragment *iface, IXMLDOMNode **domNode)
Definition: docfrag.c:253
return ret
Definition: mutex.c:146
r parent
Definition: btrfs.c:3010
unsigned short WORD
Definition: ntddk_ex.h:93
const GLdouble * v
Definition: gl.h:2040
GLfloat GLfloat p
Definition: glext.h:8902
tid_t
Definition: ieframe.h:311
REFIID riid
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
#define debugstr_guid
Definition: kernel32.h:35
#define debugstr_w
Definition: kernel32.h:32
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
static LPOLESTR
Definition: stg_prop.c:27
static VARIANTARG static DISPID
Definition: ordinal.c:49
static HWND child
Definition: cursoricon.c:298
enum tagDOMNodeType DOMNodeType
@ NODE_DOCUMENT_FRAGMENT
Definition: msxml6.idl:123
@ IXMLDOMDocumentFragment_tid
Definition: msxml_dispex.h:45
@ IXMLDOMNode_tid
Definition: msxml_dispex.h:51
@ NULL_tid
Definition: msxml_dispex.h:38
static HRESULT return_bstr(const WCHAR *value, BSTR *p)
Definition: msxml_dispex.h:115
HRESULT node_has_childnodes(const xmlnode *, VARIANT_BOOL *)
Definition: node.c:658
HRESULT node_get_text(const xmlnode *, BSTR *)
Definition: node.c:842
HRESULT node_put_text(xmlnode *, BSTR)
Definition: node.c:867
HRESULT node_get_last_child(xmlnode *, IXMLDOMNode **)
Definition: node.c:370
HRESULT node_remove_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode **)
Definition: node.c:608
HRESULT node_get_parent(xmlnode *, IXMLDOMNode **)
Definition: node.c:348
HRESULT node_replace_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode *, IXMLDOMNode **)
Definition: node.c:543
static HRESULT return_null_bstr(BSTR *p)
HRESULT node_clone(xmlnode *, VARIANT_BOOL, IXMLDOMNode **)
Definition: node.c:679
HRESULT node_append_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode **)
Definition: node.c:639
HRESULT node_transform_node(const xmlnode *, IXMLDOMNode *, BSTR *)
Definition: node.c:1553
HRESULT node_select_nodes(const xmlnode *, BSTR, IXMLDOMNodeList **)
Definition: node.c:1558
HRESULT node_get_first_child(xmlnode *, IXMLDOMNode **)
Definition: node.c:365
static HRESULT return_null_var(VARIANT *p)
void destroy_xmlnode(xmlnode *)
Definition: node.c:1638
static HRESULT return_null_ptr(void **p)
HRESULT node_insert_before(xmlnode *, IXMLDOMNode *, const VARIANT *, IXMLDOMNode **)
Definition: node.c:432
HRESULT node_select_singlenode(const xmlnode *, BSTR, IXMLDOMNode **)
Definition: node.c:1572
void init_xmlnode(xmlnode *, xmlNodePtr, IXMLDOMNode *, dispex_static_data_t *)
Definition: node.c:1647
HRESULT node_get_owner_doc(const xmlnode *, IXMLDOMDocument **)
Definition: node.c:672
HRESULT node_get_xml(xmlnode *, BOOL, BSTR *)
Definition: node.c:936
HRESULT node_get_namespaceURI(xmlnode *, BSTR *)
Definition: node.c:1589
HRESULT node_get_child_nodes(xmlnode *, IXMLDOMNodeList **)
Definition: node.c:353
BOOL node_query_interface(xmlnode *, REFIID, void **)
Definition: node.c:66
static HRESULT return_null_node(IXMLDOMNode **p)
HRESULT node_create_supporterrorinfo(const tid_t *, void **)
unsigned int UINT
Definition: ndis.h:50
const GUID IID_IDispatch
long LONG
Definition: pedump.c:60
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define REFIID
Definition: guiddef.h:118
DWORD LCID
Definition: nls.h:13
#define TRACE(s)
Definition: solgame.cpp:4
IXMLDOMDocumentFragment IXMLDOMDocumentFragment_iface
Definition: docfrag.c:42
xmlnode node
Definition: docfrag.c:41
LONG ref
Definition: docfrag.c:43
Definition: name.c:39
Definition: send.c:48
Character const *const prefix
Definition: tempnam.cpp:195
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260
uint32_t ULONG
Definition: typedefs.h:59
Definition: dlist.c:348
Definition: pdh_main.c:96
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon_undoc.h:337
#define WINAPI
Definition: msvc.h:6
#define E_NOINTERFACE
Definition: winerror.h:3479
__wchar_t WCHAR
Definition: xmlstorage.h:180