45typedef struct _domfrag
52static const tid_t domfrag_se_tids[] = {
68 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
84 return node_create_supporterrorinfo(domfrag_se_tids,
ppvObject);
93 IXMLDOMDocumentFragment_AddRef(iface);
100 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
109 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
115 destroy_xmlnode(&
This->node);
126 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
127 return IDispatchEx_GetTypeInfoCount(&
This->node.dispex.IDispatchEx_iface, pctinfo);
135 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
136 return IDispatchEx_GetTypeInfo(&
This->node.dispex.IDispatchEx_iface,
137 iTInfo, lcid, ppTInfo);
145 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
146 return IDispatchEx_GetIDsOfNames(&
This->node.dispex.IDispatchEx_iface,
147 riid, rgszNames, cNames, lcid, rgDispId);
154 EXCEPINFO* pExcepInfo,
UINT* puArgErr )
156 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
157 return IDispatchEx_Invoke(&
This->node.dispex.IDispatchEx_iface,
158 dispIdMember,
riid, lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
165 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
167 static const WCHAR document_fragmentW[] =
168 {
'#',
'd',
'o',
'c',
'u',
'm',
'e',
'n',
't',
'-',
'f',
'r',
'a',
'g',
'm',
'e',
'n',
't',0};
179 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
188 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
197 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
199 TRACE(
"(%p)->(%p)\n",
This, domNodeType);
209 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
220 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
224 return node_get_child_nodes(&
This->node, outList);
231 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
235 return node_get_first_child(&
This->node, domNode);
242 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
246 return node_get_last_child(&
This->node, domNode);
253 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
264 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
275 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
277 TRACE(
"(%p)->(%p)\n",
This, attributeMap);
287 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
292 return node_insert_before(&
This->node, newNode, &refChild, outOldNode);
301 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
303 TRACE(
"(%p)->(%p %p %p)\n",
This, newNode, oldNode, outOldNode);
306 return node_replace_child(&
This->node, newNode, oldNode, outOldNode);
313 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
315 return node_remove_child(&
This->node,
child, oldChild);
322 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
324 return node_append_child(&
This->node,
child, outChild);
331 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
333 return node_has_childnodes(&
This->node,
ret);
340 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
342 return node_get_owner_doc(&
This->node, doc);
349 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
350 TRACE(
"(%p)->(%d %p)\n",
This, deep, outNode);
351 return node_clone( &
This->node, deep, outNode );
358 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
359 static const WCHAR documentfragmentW[] = {
'd',
'o',
'c',
'u',
'm',
'e',
'n',
't',
'f',
'r',
'a',
'g',
'm',
'e',
'n',
't',0};
370 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
372 return node_get_text(&
This->node,
p);
379 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
381 return node_put_text( &
This->node,
p );
388 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
389 FIXME(
"(%p)->(%p) stub!\n",
This, isSpecified);
390 *isSpecified = VARIANT_TRUE;
398 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
399 FIXME(
"(%p)->(%p)\n",
This, definitionNode);
407 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
416 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
425 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
434 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
448 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
459 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
461 return node_transform_node(&
This->node,
node,
p);
468 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
470 return node_select_nodes(&
This->node,
p, outList);
477 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
479 return node_select_singlenode(&
This->node,
p, outNode);
486 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
487 FIXME(
"(%p)->(%p) stub!\n",
This, isParsed);
488 *isParsed = VARIANT_TRUE;
496 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
498 return node_get_namespaceURI(&
This->node,
p);
505 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
514 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
523 domfrag *
This = impl_from_IXMLDOMDocumentFragment( iface );
528static const struct IXMLDOMDocumentFragmentVtbl domfrag_vtbl =
530 domfrag_QueryInterface,
533 domfrag_GetTypeInfoCount,
535 domfrag_GetIDsOfNames,
537 domfrag_get_nodeName,
538 domfrag_get_nodeValue,
539 domfrag_put_nodeValue,
540 domfrag_get_nodeType,
541 domfrag_get_parentNode,
542 domfrag_get_childNodes,
543 domfrag_get_firstChild,
544 domfrag_get_lastChild,
545 domfrag_get_previousSibling,
546 domfrag_get_nextSibling,
547 domfrag_get_attributes,
548 domfrag_insertBefore,
549 domfrag_replaceChild,
552 domfrag_hasChildNodes,
553 domfrag_get_ownerDocument,
555 domfrag_get_nodeTypeString,
558 domfrag_get_specified,
559 domfrag_get_definition,
560 domfrag_get_nodeTypedValue,
561 domfrag_put_nodeTypedValue,
562 domfrag_get_dataType,
563 domfrag_put_dataType,
565 domfrag_transformNode,
567 domfrag_selectSingleNode,
569 domfrag_get_namespaceURI,
571 domfrag_get_baseName,
572 domfrag_transformNodeToObject
575static const tid_t domfrag_iface_tids[] = {
595 This->IXMLDOMDocumentFragment_iface.lpVtbl = &domfrag_vtbl;
598 init_xmlnode(&
This->node, fragment, (
IXMLDOMNode*)&
This->IXMLDOMDocumentFragment_iface, &domfrag_dispex);
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const char * debugstr_variant(const VARIANT *var)
static VARIANTARG static DISPID
@ IXMLDOMDocumentFragment_tid
static HRESULT return_null_bstr(BSTR *p)
static HRESULT return_null_var(VARIANT *p)
static HRESULT return_bstr(const WCHAR *value, BSTR *p)
static HRESULT return_null_ptr(void **p)
static HRESULT return_null_node(IXMLDOMNode **p)
#define IsEqualGUID(rguid1, rguid2)
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
enum tagDOMNodeType DOMNodeType