21#ifndef __MSXML_PRIVATE__
22#define __MSXML_PRIVATE__
26#include "wine/unicode.h"
30#ifndef __WINE_CONFIG_H
31# error You must include config.h to use this header
146 const tid_t disp_tid;
148 const tid_t*
const iface_tids;
208#ifndef HAVE_XMLFIRSTELEMENTCHILD
218#define xmlFirstElementChild wine_xmlFirstElementChild
222typedef struct _xmlnode
244struct enumvariant_funcs
294#define LIBXML2_LOG_CALLBACK __WINE_PRINTF_ATTR(2,3)
296#define LIBXML2_CALLBACK_TRACE(caller, msg, ap) \
297 wineXmlCallbackLog(#caller, XML_ERR_NONE, msg, ap)
299#define LIBXML2_CALLBACK_WARN(caller, msg, ap) \
300 wineXmlCallbackLog(#caller, XML_ERR_WARNING, msg, ap)
302#define LIBXML2_CALLBACK_ERR(caller, msg, ap) \
303 wineXmlCallbackLog(#caller, XML_ERR_ERROR, msg, ap)
305#define LIBXML2_CALLBACK_SERROR(caller, err) wineXmlCallbackError(#caller, err)
386static inline xmlChar *xmlchar_from_wcharn(
const WCHAR *
str,
int nchars,
BOOL use_xml_alloc)
402 return xmlchar_from_wcharn(
str, -1,
FALSE);
514 case MSXML3:
return &CLSID_DOMDocument30;
515 case MSXML4:
return &CLSID_DOMDocument40;
516 case MSXML6:
return &CLSID_DOMDocument60;
526 case MSXML3:
return &CLSID_XMLSchemaCache30;
527 case MSXML4:
return &CLSID_XMLSchemaCache40;
528 case MSXML6:
return &CLSID_XMLSchemaCache60;
540#define E_XML_ELEMENT_UNDECLARED 0xC00CE00D
541#define E_XML_ELEMENT_ID_NOT_FOUND 0xC00CE00E
543#define E_XML_EMPTY_NOT_ALLOWED 0xC00CE011
544#define E_XML_ELEMENT_NOT_COMPLETE 0xC00CE012
545#define E_XML_ROOT_NAME_MISMATCH 0xC00CE013
546#define E_XML_INVALID_CONTENT 0xC00CE014
547#define E_XML_ATTRIBUTE_NOT_DEFINED 0xC00CE015
548#define E_XML_ATTRIBUTE_FIXED 0xC00CE016
549#define E_XML_ATTRIBUTE_VALUE 0xC00CE017
550#define E_XML_ILLEGAL_TEXT 0xC00CE018
552#define E_XML_REQUIRED_ATTRIBUTE_MISSING 0xC00CE020
554#define NODE_PRIV_TRAILING_IGNORABLE_WS 0x40000000
555#define NODE_PRIV_CHILD_IGNORABLE_WS 0x80000000
556#define NODE_PRIV_REFCOUNT_MASK ~(NODE_PRIV_TRAILING_IGNORABLE_WS|NODE_PRIV_CHILD_IGNORABLE_WS)
static void * heap_alloc(size_t len)
static HRESULT get_length(script_ctx_t *ctx, vdisp_t *vdisp, jsdisp_t **jsthis, DWORD *ret)
static cctrl_item * get_item(customctrl *parent, DWORD itemid, CDCONTROLSTATEF visible_flags, DWORD *position)
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
#define WideCharToMultiByte
#define MultiByteToWideChar
static const WCHAR version[]
BOOL next_node(stream_t *stream, strbuf_t *buf)
HINSTANCE MSXML_hInstance
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
HRESULT create_element(HTMLDocumentNode *doc, const WCHAR *tag, HTMLElement **ret)
static HRESULT create_node(HTMLDocumentNode *, nsIDOMNode *, HTMLDOMNode **)
static HTMLDOMNode * get_node_obj(IHTMLDOMNode *)
#define memcpy(s1, s2, n)
static HRESULT invoke(IDispatch *pDispatch, LPCSTR szName, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, VARTYPE vtResult)
static DISPID get_dispid(IDispatch *disp, const char *name)
static HGLOBAL create_text(void)
static VARIANTARG static DISPID
const struct _GUID CLSID_DOMDocument
void init_dispex(DispatchEx *, IUnknown *, dispex_static_data_t *) DECLSPEC_HIDDEN
static const CLSID * SchemaCache_version(MSXML_VERSION v)
BOOL dispex_query_interface(DispatchEx *, REFIID, void **) DECLSPEC_HIDDEN
HRESULT XMLHTTPRequest_create(void **) DECLSPEC_HIDDEN
void release_dispex(DispatchEx *) DECLSPEC_HIDDEN
HRESULT SAXXMLReader_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
HINSTANCE MSXML_hInstance DECLSPEC_HIDDEN
HRESULT MXNamespaceManager_create(void **) DECLSPEC_HIDDEN
@ IXMLDOMDocumentFragment_tid
@ IXMLDOMEntityReference_tid
@ IXMLDOMSchemaCollection2_tid
@ IVBSAXContentHandler_tid
@ IXMLDOMNamedNodeMap_tid
@ IXMLDOMCDATASection_tid
@ IServerXMLHTTPRequest_tid
@ IXMLDOMProcessingInstruction_tid
@ IVBSAXEntityResolver_tid
@ IXMLDOMImplementation_tid
@ IVBMXNamespaceManager_tid
@ IXMLDOMSchemaCollection_tid
@ IXMLDOMDocumentType_tid
@ IVBSAXLexicalHandler_tid
static HRESULT return_bstrn(const WCHAR *value, int len, BSTR *p)
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN
HRESULT create_uri(const WCHAR *, IUri **) DECLSPEC_HIDDEN
HRESULT XMLDocument_create(void **) DECLSPEC_HIDDEN
HRESULT XSLTemplate_create(void **) DECLSPEC_HIDDEN
HRESULT bind_url(IMoniker *, HRESULT(*onDataAvailable)(void *, char *, DWORD), void *, bsc_t **) DECLSPEC_HIDDEN
static HRESULT return_null_bstr(BSTR *p)
static LPWSTR heap_strdupW(LPCWSTR str)
HRESULT ServerXMLHTTP_create(void **) DECLSPEC_HIDDEN
const IID * get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN
HRESULT MXWriter_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
static HRESULT return_var_false(VARIANT_BOOL *p)
static const CLSID * DOMDocument_version(MSXML_VERSION v)
static HRESULT return_null_var(VARIANT *p)
HRESULT XMLView_create(void **) DECLSPEC_HIDDEN
IXMLDOMParseError * create_parseError(LONG code, BSTR url, BSTR reason, BSTR srcText, LONG line, LONG linepos, LONG filepos) DECLSPEC_HIDDEN
static HRESULT return_bstr(const WCHAR *value, BSTR *p)
static HRESULT return_null_ptr(void **p)
HRESULT create_moniker_from_url(LPCWSTR, IMoniker **) DECLSPEC_HIDDEN
void release_typelib(void) DECLSPEC_HIDDEN
HRESULT SAXAttributes_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
HRESULT XMLParser_create(void **) DECLSPEC_HIDDEN
HRESULT detach_bsc(bsc_t *) DECLSPEC_HIDDEN
HRESULT DOMDocument_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
HRESULT SchemaCache_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
static HRESULT return_null_node(IXMLDOMNode **p)
BSTR WINAPI SysAllocString(LPCOLESTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
static unsigned __int64 next
XMLPUBVAR xmlMallocFunc xmlMalloc
HRESULT(* onDataAvailable)(void *, char *, DWORD)
void int int ULONGLONG int va_list * ap
#define __WINE_ALLOC_SIZE(x)
XMLPUBFUN int XMLCALL xmlStrlen(const xmlChar *str)