58 const struct nodemap_funcs *
funcs;
67static const struct enumvariant_funcs nodemap_enumvariant = {
86 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
97 if (!
This->enumvariant)
103 return IEnumVARIANT_QueryInterface(
This->enumvariant, &IID_IEnumVARIANT,
ppvObject);
120 IXMLDOMNamedNodeMap_AddRef( iface );
128 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
137 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
143 xmlnode_release(
This->node );
144 xmldoc_release(
This->node->doc );
145 if (
This->enumvariant) IEnumVARIANT_Release(
This->enumvariant);
156 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
157 return IDispatchEx_GetTypeInfoCount(&
This->dispex.IDispatchEx_iface, pctinfo);
165 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
166 return IDispatchEx_GetTypeInfo(&
This->dispex.IDispatchEx_iface,
167 iTInfo, lcid, ppTInfo);
175 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
176 return IDispatchEx_GetIDsOfNames(&
This->dispex.IDispatchEx_iface,
177 riid, rgszNames, cNames, lcid, rgDispId);
184 EXCEPINFO* pExcepInfo,
UINT* puArgErr )
186 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
187 return IDispatchEx_Invoke(&
This->dispex.IDispatchEx_iface,
188 dispIdMember,
riid, lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
196 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
208 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
210 TRACE(
"(%p)->(%p %p)\n",
This, newItem, namedItem );
212 return This->funcs->set_named_item(
This->node, newItem, namedItem);
220 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
224 return This->funcs->remove_named_item(
This->node,
name, namedItem);
232 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
243 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
256 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
260 return This->funcs->get_qualified_item(
This->node, baseName, namespaceURI,
item);
269 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
273 return This->funcs->remove_qualified_item(
This->node, baseName, namespaceURI,
item);
280 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
284 return This->funcs->next_node(
This->node, &
This->iterator, nextItem);
290 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
303 xmlnodemap *
This = impl_from_IXMLDOMNamedNodeMap( iface );
308static const struct IXMLDOMNamedNodeMapVtbl XMLDOMNamedNodeMapVtbl =
310 xmlnodemap_QueryInterface,
313 xmlnodemap_GetTypeInfoCount,
314 xmlnodemap_GetTypeInfo,
315 xmlnodemap_GetIDsOfNames,
317 xmlnodemap_getNamedItem,
318 xmlnodemap_setNamedItem,
319 xmlnodemap_removeNamedItem,
321 xmlnodemap_get_length,
322 xmlnodemap_getQualifiedItem,
323 xmlnodemap_removeQualifiedItem,
335 return IXMLDOMNamedNodeMap_QueryInterface(&
This->IXMLDOMNamedNodeMap_iface,
riid,
ppvObject);
342 return IXMLDOMNamedNodeMap_AddRef(&
This->IXMLDOMNamedNodeMap_iface);
349 return IXMLDOMNamedNodeMap_Release(&
This->IXMLDOMNamedNodeMap_iface);
352static HRESULT WINAPI support_error_InterfaceSupportsErrorInfo(
363 support_error_QueryInterface,
364 support_error_AddRef,
365 support_error_Release,
366 support_error_InterfaceSupportsErrorInfo
380 TRACE(
"ret %x\n", *dispid);
399 case INVOKE_PROPERTYGET:
420 xmlnodemap_get_dispid,
424static const tid_t xmlnodemap_iface_tids[] = {
430 &xmlnodemap_dispex_vtbl,
433 xmlnodemap_iface_tids
444 This->IXMLDOMNamedNodeMap_iface.lpVtbl = &XMLDOMNamedNodeMapVtbl;
454 xmlnode_add_ref(
node);
455 xmldoc_add_ref(
node->doc);
457 return &
This->IXMLDOMNamedNodeMap_iface;
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HTMLDocument * impl_from_ISupportErrorInfo(ISupportErrorInfo *iface)
static const ISupportErrorInfoVtbl SupportErrorInfoVtbl
GLenum const GLfloat * params
GLuint GLsizei GLsizei * length
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
static VARIANTARG static DISPID
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
#define DISPID_DOM_COLLECTION_MAX
#define DISPID_DOM_COLLECTION_BASE
@ IXMLDOMNamedNodeMap_tid
#define IsEqualGUID(rguid1, rguid2)
static struct __wine_debug_functions funcs
#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
#define DISP_E_UNKNOWNNAME