90 IUnknown_AddRef((
IUnknown*)*ppvObject);
99 TRACE(
"%p, refcount %lu.\n", iface,
ref);
109 TRACE(
"%p, refcount %lu.\n", iface,
ref);
124 return IDispatchEx_GetTypeInfoCount(&
This->node.dispex.IDispatchEx_iface, pctinfo);
133 return IDispatchEx_GetTypeInfo(&
This->node.dispex.IDispatchEx_iface,
134 iTInfo,
lcid, ppTInfo);
143 return IDispatchEx_GetIDsOfNames(&
This->node.dispex.IDispatchEx_iface,
144 riid, rgszNames, cNames,
lcid, rgDispId);
151 EXCEPINFO* pExcepInfo,
UINT* puArgErr )
154 return IDispatchEx_Invoke(&
This->node.dispex.IDispatchEx_iface,
155 dispIdMember,
riid,
lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
191 hr = IXMLDOMProcessingInstruction_get_nodeName(iface, &
target);
194 static const WCHAR xmlW[] = {
'x',
'm',
'l',0};
213 TRACE(
"(%p)->(%p)\n",
This, domNodeType);
300 while (**
p && **
p !=
q) *
p += 1;
318 if (!
node->properties)
324 prop =
node->properties;
325 while (prop->next) prop = prop->
next;
347 if (!
strncmp((
const char *)
p,
"version", 7))
352 else if (!
strncmp((
const char *)
p,
"encoding", 8))
357 else if (!
strncmp((
const char *)
p,
"standalone", 10))
408 xmlFreePropList(
node->properties);
423 static const WCHAR xmlW[] = {
'x',
'm',
'l',0};
464 FIXME(
"(%p)->(%p %p %p) needs test\n",
This, newNode, oldNode, outOldNode);
510 TRACE(
"(%p)->(%d %p)\n",
This, deep, outNode);
519 static const WCHAR processinginstructionW[] =
520 {
'p',
'r',
'o',
'c',
'e',
's',
's',
'i',
'n',
'g',
'i',
'n',
's',
't',
'r',
'u',
'c',
't',
'i',
'o',
'n',0};
550 FIXME(
"(%p)->(%p) stub!\n",
This, isSpecified);
551 *isSpecified = VARIANT_TRUE;
560 FIXME(
"(%p)->(%p)\n",
This, definitionNode);
648 FIXME(
"(%p)->(%p) stub!\n",
This, isParsed);
649 *isParsed = VARIANT_TRUE;
714 hr = IXMLDOMProcessingInstruction_get_nodeValue( iface, &
ret );
734 hr = IXMLDOMProcessingInstruction_get_nodeName(iface, &
target);
737 static const WCHAR xmlW[] = {
'x',
'm',
'l',0};
752 static const WCHAR xmlW[] = {
'x',
'm',
'l',0};
837 prop =
node->properties;
885 FIXME(
"(%p)->(%p %p): stub\n",
node, newItem, namedItem );
917 FIXME(
"%p, %ld, %p: stub\n",
node, *iter, nextNode);
957 return (
IUnknown*)&
This->IXMLDOMProcessingInstruction_iface;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const WCHAR version[]
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
_ACRTIMP int __cdecl wcscmp(const wchar_t *, const wchar_t *)
_ACRTIMP int __cdecl strncmp(const char *, const char *, size_t)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble GLdouble q
GLuint GLsizei GLsizei * length
static HRESULT create_node(HTMLDocumentNode *, nsIDOMNode *, HTMLDOMNode **)
static HTMLDOMNode * get_node_obj(IHTMLDOMNode *)
#define memcpy(s1, s2, n)
static const char * debugstr_variant(const VARIANT *var)
static PROCESS_INFORMATION pi
#define XML_E_UNEXPECTED_ATTRIBUTE
static VARIANTARG static DISPID
enum tagDOMNodeType DOMNodeType
@ NODE_PROCESSING_INSTRUCTION
@ IXMLDOMProcessingInstruction_tid
static HRESULT return_bstr(const WCHAR *value, BSTR *p)
HRESULT node_get_next_sibling(xmlnode *, IXMLDOMNode **)
HRESULT node_has_childnodes(const xmlnode *, VARIANT_BOOL *)
HRESULT node_get_text(const xmlnode *, BSTR *)
HRESULT node_get_base_name(xmlnode *, BSTR *)
HRESULT node_put_text(xmlnode *, BSTR)
HRESULT node_remove_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode **)
HRESULT node_get_parent(xmlnode *, IXMLDOMNode **)
HRESULT node_replace_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode *, IXMLDOMNode **)
static xmlChar * xmlchar_from_wchar(const WCHAR *str)
static HRESULT return_null_bstr(BSTR *p)
HRESULT node_put_value(xmlnode *, VARIANT *)
HRESULT node_clone(xmlnode *, VARIANT_BOOL, IXMLDOMNode **)
IXMLDOMNamedNodeMap * create_nodemap(xmlNodePtr, const struct nodemap_funcs *)
HRESULT node_append_child(xmlnode *, IXMLDOMNode *, IXMLDOMNode **)
HRESULT node_get_previous_sibling(xmlnode *, IXMLDOMNode **)
HRESULT node_get_content(xmlnode *, VARIANT *)
HRESULT node_transform_node(const xmlnode *, IXMLDOMNode *, BSTR *)
HRESULT node_select_nodes(const xmlnode *, BSTR, IXMLDOMNodeList **)
static HRESULT return_null_var(VARIANT *p)
HRESULT node_set_content(xmlnode *, LPCWSTR)
void destroy_xmlnode(xmlnode *)
HRESULT node_insert_before(xmlnode *, IXMLDOMNode *, const VARIANT *, IXMLDOMNode **)
HRESULT node_get_nodeName(xmlnode *, BSTR *)
HRESULT node_select_singlenode(const xmlnode *, BSTR, IXMLDOMNode **)
void init_xmlnode(xmlnode *, xmlNodePtr, IXMLDOMNode *, dispex_static_data_t *)
HRESULT node_get_owner_doc(const xmlnode *, IXMLDOMDocument **)
HRESULT node_get_xml(xmlnode *, BOOL, BSTR *)
HRESULT node_get_namespaceURI(xmlnode *, BSTR *)
HRESULT node_get_child_nodes(xmlnode *, IXMLDOMNodeList **)
BOOL node_query_interface(xmlnode *, REFIID, void **)
static HRESULT return_null_node(IXMLDOMNode **p)
HRESULT node_create_supporterrorinfo(const tid_t *, void **)
static const WCHAR xmlW[]
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
static HRESULT WINAPI dom_pi_get_xml(IXMLDOMProcessingInstruction *iface, BSTR *p)
static HRESULT WINAPI dom_pi_Invoke(IXMLDOMProcessingInstruction *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT dom_pi_remove_qualified_item(xmlNodePtr node, BSTR name, BSTR uri, IXMLDOMNode **item)
IUnknown * create_pi(xmlNodePtr pi)
static HRESULT WINAPI dom_pi_get_definition(IXMLDOMProcessingInstruction *iface, IXMLDOMNode **definitionNode)
static HRESULT WINAPI dom_pi_get_lastChild(IXMLDOMProcessingInstruction *iface, IXMLDOMNode **domNode)
static void set_prop(xmlNodePtr node, xmlAttrPtr attr)
static dispex_static_data_t dompi_dispex
static HRESULT WINAPI dom_pi_insertBefore(IXMLDOMProcessingInstruction *iface, IXMLDOMNode *newNode, VARIANT refChild, IXMLDOMNode **outOldNode)
static HRESULT WINAPI dom_pi_transformNodeToObject(IXMLDOMProcessingInstruction *iface, IXMLDOMNode *domNode, VARIANT var1)
static HRESULT WINAPI dom_pi_removeChild(IXMLDOMProcessingInstruction *iface, IXMLDOMNode *child, IXMLDOMNode **oldChild)
static HRESULT WINAPI dom_pi_get_nodeTypedValue(IXMLDOMProcessingInstruction *iface, VARIANT *v)
static HRESULT WINAPI dom_pi_GetIDsOfNames(IXMLDOMProcessingInstruction *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT parse_xml_decl(xmlNodePtr node)
HRESULT dom_pi_put_xml_decl(IXMLDOMNode *node, BSTR data)
static HRESULT WINAPI dom_pi_GetTypeInfoCount(IXMLDOMProcessingInstruction *iface, UINT *pctinfo)
static HRESULT xml_get_value(xmlChar **p, xmlChar **value)
static HRESULT WINAPI dom_pi_get_nextSibling(IXMLDOMProcessingInstruction *iface, IXMLDOMNode **domNode)
static HRESULT WINAPI dom_pi_get_firstChild(IXMLDOMProcessingInstruction *iface, IXMLDOMNode **domNode)
static HRESULT dom_pi_get_named_item(const xmlNodePtr node, BSTR name, IXMLDOMNode **item)
static HRESULT WINAPI dom_pi_get_namespaceURI(IXMLDOMProcessingInstruction *iface, BSTR *p)
static ULONG WINAPI dom_pi_AddRef(IXMLDOMProcessingInstruction *iface)
static HRESULT WINAPI dom_pi_get_childNodes(IXMLDOMProcessingInstruction *iface, IXMLDOMNodeList **outList)
static HRESULT dom_pi_set_named_item(xmlNodePtr node, IXMLDOMNode *newItem, IXMLDOMNode **namedItem)
static const tid_t dompi_iface_tids[]
static HRESULT WINAPI dom_pi_transformNode(IXMLDOMProcessingInstruction *iface, IXMLDOMNode *node, BSTR *p)
static const struct nodemap_funcs dom_pi_attr_map
static HRESULT WINAPI dom_pi_get_nodeType(IXMLDOMProcessingInstruction *iface, DOMNodeType *domNodeType)
static HRESULT WINAPI dom_pi_get_prefix(IXMLDOMProcessingInstruction *iface, BSTR *prefix)
static HRESULT WINAPI dom_pi_get_nodeValue(IXMLDOMProcessingInstruction *iface, VARIANT *value)
static HRESULT WINAPI dom_pi_put_data(IXMLDOMProcessingInstruction *iface, BSTR data)
static const tid_t dompi_se_tids[]
static const struct IXMLDOMProcessingInstructionVtbl dom_pi_vtbl
static HRESULT dom_pi_remove_named_item(xmlNodePtr node, BSTR name, IXMLDOMNode **item)
static xmlAttrPtr node_has_prop(const xmlNode *node, const xmlChar *name)
static HRESULT WINAPI dom_pi_selectNodes(IXMLDOMProcessingInstruction *iface, BSTR p, IXMLDOMNodeList **outList)
static dom_pi * impl_from_IXMLDOMProcessingInstruction(IXMLDOMProcessingInstruction *iface)
static HRESULT WINAPI dom_pi_put_text(IXMLDOMProcessingInstruction *iface, BSTR p)
static HRESULT WINAPI dom_pi_cloneNode(IXMLDOMProcessingInstruction *iface, VARIANT_BOOL deep, IXMLDOMNode **outNode)
static HRESULT WINAPI dom_pi_selectSingleNode(IXMLDOMProcessingInstruction *iface, BSTR p, IXMLDOMNode **outNode)
static HRESULT WINAPI dom_pi_get_data(IXMLDOMProcessingInstruction *iface, BSTR *p)
static HRESULT WINAPI dom_pi_get_ownerDocument(IXMLDOMProcessingInstruction *iface, IXMLDOMDocument **doc)
static HRESULT WINAPI dom_pi_get_dataType(IXMLDOMProcessingInstruction *iface, VARIANT *typename)
static HRESULT WINAPI dom_pi_get_target(IXMLDOMProcessingInstruction *iface, BSTR *p)
static HRESULT dom_pi_get_item(const xmlNodePtr node, LONG index, IXMLDOMNode **item)
static HRESULT dom_pi_next_node(const xmlNodePtr node, LONG *iter, IXMLDOMNode **nextNode)
static HRESULT WINAPI dom_pi_put_dataType(IXMLDOMProcessingInstruction *iface, BSTR p)
static HRESULT WINAPI dom_pi_QueryInterface(IXMLDOMProcessingInstruction *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI dom_pi_hasChildNodes(IXMLDOMProcessingInstruction *iface, VARIANT_BOOL *ret)
static HRESULT WINAPI dom_pi_get_attributes(IXMLDOMProcessingInstruction *iface, IXMLDOMNamedNodeMap **map)
static HRESULT WINAPI dom_pi_get_nodeName(IXMLDOMProcessingInstruction *iface, BSTR *p)
static HRESULT WINAPI dom_pi_put_nodeTypedValue(IXMLDOMProcessingInstruction *iface, VARIANT typedValue)
static HRESULT WINAPI dom_pi_replaceChild(IXMLDOMProcessingInstruction *iface, IXMLDOMNode *newNode, IXMLDOMNode *oldNode, IXMLDOMNode **outOldNode)
static HRESULT WINAPI dom_pi_GetTypeInfo(IXMLDOMProcessingInstruction *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI dom_pi_get_parsed(IXMLDOMProcessingInstruction *iface, VARIANT_BOOL *isParsed)
static ULONG WINAPI dom_pi_Release(IXMLDOMProcessingInstruction *iface)
static HRESULT dom_pi_get_qualified_item(const xmlNodePtr node, BSTR name, BSTR uri, IXMLDOMNode **item)
static HRESULT WINAPI dom_pi_get_previousSibling(IXMLDOMProcessingInstruction *iface, IXMLDOMNode **domNode)
static HRESULT WINAPI dom_pi_get_parentNode(IXMLDOMProcessingInstruction *iface, IXMLDOMNode **parent)
static HRESULT WINAPI dom_pi_appendChild(IXMLDOMProcessingInstruction *iface, IXMLDOMNode *child, IXMLDOMNode **outChild)
static HRESULT WINAPI dom_pi_get_nodeTypeString(IXMLDOMProcessingInstruction *iface, BSTR *p)
static HRESULT dom_pi_get_length(const xmlNodePtr node, LONG *length)
static HRESULT WINAPI dom_pi_put_nodeValue(IXMLDOMProcessingInstruction *iface, VARIANT value)
static HRESULT WINAPI dom_pi_get_specified(IXMLDOMProcessingInstruction *iface, VARIANT_BOOL *isSpecified)
static HRESULT WINAPI dom_pi_get_baseName(IXMLDOMProcessingInstruction *iface, BSTR *name)
static HRESULT WINAPI dom_pi_get_text(IXMLDOMProcessingInstruction *iface, BSTR *p)
#define IsEqualGUID(rguid1, rguid2)
IXMLDOMProcessingInstruction IXMLDOMProcessingInstruction_iface
Character const *const prefix
#define CONTAINING_RECORD(address, type, field)
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
XMLPUBFUN int xmlStrEqual(const xmlChar *str1, const xmlChar *str2)