ReactOS 0.4.16-dev-91-g764881a
msxml_private.h
Go to the documentation of this file.
1/*
2 * Common definitions
3 *
4 * Copyright 2005 Mike McCormack
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#ifndef __MSXML_PRIVATE__
22#define __MSXML_PRIVATE__
23
24#include "dispex.h"
25
26#include "wine/unicode.h"
27#include "wine/heap.h"
28#include "wine/list.h"
29
30#ifndef __WINE_CONFIG_H
31# error You must include config.h to use this header
32#endif
33
34typedef enum {
36 MSXML2 = 20,
37 MSXML26 = 26,
38 MSXML3 = 30,
39 MSXML4 = 40,
40 MSXML6 = 60
42
43/* typelibs */
44typedef enum tid_t {
88
89/* The XDR datatypes (urn:schemas-microsoft-com:datatypes)
90 * These are actually valid for XSD schemas as well
91 * See datatypes.xsd
92 */
93typedef enum _XDR_DT {
131 LAST_DT
133
135extern void release_typelib(void) DECLSPEC_HIDDEN;
136
138
139typedef struct {
141 HRESULT (*invoke)(IUnknown*,DISPID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*);
143
144typedef struct {
145 const dispex_static_data_vtbl_t *vtbl;
146 const tid_t disp_tid;
148 const tid_t* const iface_tids;
150
151typedef struct {
152 IDispatchEx IDispatchEx_iface;
153
154 IUnknown *outer;
155
157} DispatchEx;
158
160
165
166/* memory allocation functions */
167
168static inline void* __WINE_ALLOC_SIZE(2) heap_realloc_zero(void *mem, size_t size)
169{
171}
172
174{
175 LPWSTR ret = NULL;
176
177 if(str) {
178 DWORD size;
179
180 size = (strlenW(str)+1)*sizeof(WCHAR);
182 if(ret)
183 memcpy(ret, str, size);
184 }
185
186 return ret;
187}
188
189/* XSLProcessor parameter list */
191{
192 struct list entry;
195};
196
198{
199 struct list list;
200 unsigned int count;
201};
202
203#ifdef HAVE_LIBXML2
204
205extern void schemasInit(void) DECLSPEC_HIDDEN;
206extern void schemasCleanup(void) DECLSPEC_HIDDEN;
207
208#ifndef HAVE_XMLFIRSTELEMENTCHILD
209static inline xmlNodePtr wine_xmlFirstElementChild(xmlNodePtr parent)
210{
212 for (child = parent->children; child != NULL; child = child->next)
213 if (child->type == XML_ELEMENT_NODE)
214 break;
215
216 return child;
217}
218#define xmlFirstElementChild wine_xmlFirstElementChild
219#endif
220
221/* IXMLDOMNode Internal Structure */
222typedef struct _xmlnode
223{
224 DispatchEx dispex;
225 IXMLDOMNode *iface;
228} xmlnode;
229
230/* IXMLDOMNamedNodeMap custom function table */
231struct nodemap_funcs
232{
233 HRESULT (*get_named_item)(const xmlNodePtr,BSTR,IXMLDOMNode**);
234 HRESULT (*set_named_item)(xmlNodePtr,IXMLDOMNode*,IXMLDOMNode**);
235 HRESULT (*remove_named_item)(xmlNodePtr,BSTR,IXMLDOMNode**);
238 HRESULT (*get_qualified_item)(const xmlNodePtr,BSTR,BSTR,IXMLDOMNode**);
239 HRESULT (*remove_qualified_item)(xmlNodePtr,BSTR,BSTR,IXMLDOMNode**);
241};
242
243/* used by IEnumVARIANT to access outer object items */
244struct enumvariant_funcs
245{
247 HRESULT (*next)(IUnknown*);
248};
249
250/* constructors */
251extern IUnknown *create_domdoc( xmlNodePtr ) DECLSPEC_HIDDEN;
252extern IUnknown *create_xmldoc( void ) DECLSPEC_HIDDEN;
255extern IUnknown *create_attribute( xmlNodePtr, BOOL ) DECLSPEC_HIDDEN;
257extern IUnknown *create_pi( xmlNodePtr ) DECLSPEC_HIDDEN;
258extern IUnknown *create_comment( xmlNodePtr ) DECLSPEC_HIDDEN;
259extern IUnknown *create_cdata( xmlNodePtr ) DECLSPEC_HIDDEN;
260extern IXMLDOMNodeList *create_children_nodelist( xmlNodePtr ) DECLSPEC_HIDDEN;
261extern IXMLDOMNamedNodeMap *create_nodemap( xmlNodePtr, const struct nodemap_funcs* ) DECLSPEC_HIDDEN;
262extern IUnknown *create_doc_Implementation(void) DECLSPEC_HIDDEN;
263extern IUnknown *create_doc_fragment( xmlNodePtr ) DECLSPEC_HIDDEN;
264extern IUnknown *create_doc_entity_ref( xmlNodePtr ) DECLSPEC_HIDDEN;
265extern IUnknown *create_doc_type( xmlNodePtr ) DECLSPEC_HIDDEN;
266extern HRESULT create_selection( xmlNodePtr, xmlChar*, IXMLDOMNodeList** ) DECLSPEC_HIDDEN;
267extern HRESULT create_enumvariant( IUnknown*, BOOL, const struct enumvariant_funcs*, IEnumVARIANT**) DECLSPEC_HIDDEN;
268
269/* data accessors */
270xmlNodePtr xmlNodePtr_from_domnode( IXMLDOMNode *iface, xmlElementType type ) DECLSPEC_HIDDEN;
271
272/* helpers */
273extern xmlChar *xmlChar_from_wchar( LPCWSTR str ) DECLSPEC_HIDDEN;
274
275extern void xmldoc_init( xmlDocPtr doc, MSXML_VERSION version ) DECLSPEC_HIDDEN;
276extern LONG xmldoc_add_ref( xmlDocPtr doc ) DECLSPEC_HIDDEN;
277extern LONG xmldoc_release( xmlDocPtr doc ) DECLSPEC_HIDDEN;
278extern LONG xmldoc_add_refs( xmlDocPtr doc, LONG refs ) DECLSPEC_HIDDEN;
279extern LONG xmldoc_release_refs ( xmlDocPtr doc, LONG refs ) DECLSPEC_HIDDEN;
280extern void xmlnode_add_ref(xmlNodePtr node) DECLSPEC_HIDDEN;
281extern void xmlnode_release(xmlNodePtr node) DECLSPEC_HIDDEN;
282extern int xmlnode_get_inst_cnt( xmlnode *node ) DECLSPEC_HIDDEN;
283extern HRESULT xmldoc_add_orphan( xmlDocPtr doc, xmlNodePtr node ) DECLSPEC_HIDDEN;
284extern HRESULT xmldoc_remove_orphan( xmlDocPtr doc, xmlNodePtr node ) DECLSPEC_HIDDEN;
285extern void xmldoc_link_xmldecl(xmlDocPtr doc, xmlNodePtr node) DECLSPEC_HIDDEN;
286extern xmlNodePtr xmldoc_unlink_xmldecl(xmlDocPtr doc) DECLSPEC_HIDDEN;
287extern MSXML_VERSION xmldoc_version( xmlDocPtr doc ) DECLSPEC_HIDDEN;
288
289extern HRESULT XMLElement_create( xmlNodePtr node, LPVOID *ppObj, BOOL own ) DECLSPEC_HIDDEN;
290
291extern void wineXmlCallbackLog(char const* caller, xmlErrorLevel lvl, char const* msg, va_list ap) DECLSPEC_HIDDEN;
292extern void wineXmlCallbackError(char const* caller, xmlErrorPtr err) DECLSPEC_HIDDEN;
293
294#define LIBXML2_LOG_CALLBACK __WINE_PRINTF_ATTR(2,3)
295
296#define LIBXML2_CALLBACK_TRACE(caller, msg, ap) \
297 wineXmlCallbackLog(#caller, XML_ERR_NONE, msg, ap)
298
299#define LIBXML2_CALLBACK_WARN(caller, msg, ap) \
300 wineXmlCallbackLog(#caller, XML_ERR_WARNING, msg, ap)
301
302#define LIBXML2_CALLBACK_ERR(caller, msg, ap) \
303 wineXmlCallbackLog(#caller, XML_ERR_ERROR, msg, ap)
304
305#define LIBXML2_CALLBACK_SERROR(caller, err) wineXmlCallbackError(#caller, err)
306
307extern BOOL is_preserving_whitespace(xmlNodePtr node) DECLSPEC_HIDDEN;
308extern BOOL is_xpathmode(const xmlDocPtr doc) DECLSPEC_HIDDEN;
309extern void set_xpathmode(xmlDocPtr doc, BOOL xpath) DECLSPEC_HIDDEN;
310
311extern void init_xmlnode(xmlnode*,xmlNodePtr,IXMLDOMNode*,dispex_static_data_t*) DECLSPEC_HIDDEN;
312extern void destroy_xmlnode(xmlnode*) DECLSPEC_HIDDEN;
313extern BOOL node_query_interface(xmlnode*,REFIID,void**) DECLSPEC_HIDDEN;
315
316extern HRESULT node_append_child(xmlnode*,IXMLDOMNode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
317extern HRESULT node_get_nodeName(xmlnode*,BSTR*) DECLSPEC_HIDDEN;
318extern HRESULT node_get_content(xmlnode*,VARIANT*) DECLSPEC_HIDDEN;
319extern HRESULT node_set_content(xmlnode*,LPCWSTR) DECLSPEC_HIDDEN;
320extern HRESULT node_put_value(xmlnode*,VARIANT*) DECLSPEC_HIDDEN;
321extern HRESULT node_put_value_escaped(xmlnode*,VARIANT*) DECLSPEC_HIDDEN;
322extern HRESULT node_get_parent(xmlnode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
323extern HRESULT node_get_child_nodes(xmlnode*,IXMLDOMNodeList**) DECLSPEC_HIDDEN;
324extern HRESULT node_get_first_child(xmlnode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
325extern HRESULT node_get_last_child(xmlnode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
326extern HRESULT node_get_previous_sibling(xmlnode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
327extern HRESULT node_get_next_sibling(xmlnode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
328extern HRESULT node_insert_before(xmlnode*,IXMLDOMNode*,const VARIANT*,IXMLDOMNode**) DECLSPEC_HIDDEN;
329extern HRESULT node_replace_child(xmlnode*,IXMLDOMNode*,IXMLDOMNode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
330extern HRESULT node_put_text(xmlnode*,BSTR) DECLSPEC_HIDDEN;
331extern HRESULT node_get_xml(xmlnode*,BOOL,BSTR*) DECLSPEC_HIDDEN;
332extern HRESULT node_clone(xmlnode*,VARIANT_BOOL,IXMLDOMNode**) DECLSPEC_HIDDEN;
333extern HRESULT node_get_prefix(xmlnode*,BSTR*) DECLSPEC_HIDDEN;
334extern HRESULT node_get_base_name(xmlnode*,BSTR*) DECLSPEC_HIDDEN;
335extern HRESULT node_get_namespaceURI(xmlnode*,BSTR*) DECLSPEC_HIDDEN;
336extern HRESULT node_remove_child(xmlnode*,IXMLDOMNode*,IXMLDOMNode**) DECLSPEC_HIDDEN;
337extern HRESULT node_has_childnodes(const xmlnode*,VARIANT_BOOL*) DECLSPEC_HIDDEN;
338extern HRESULT node_get_owner_doc(const xmlnode*,IXMLDOMDocument**) DECLSPEC_HIDDEN;
339extern HRESULT node_get_text(const xmlnode*,BSTR*) DECLSPEC_HIDDEN;
340extern HRESULT node_select_nodes(const xmlnode*,BSTR,IXMLDOMNodeList**) DECLSPEC_HIDDEN;
341extern HRESULT node_select_singlenode(const xmlnode*,BSTR,IXMLDOMNode**) DECLSPEC_HIDDEN;
342extern HRESULT node_transform_node(const xmlnode*,IXMLDOMNode*,BSTR*) DECLSPEC_HIDDEN;
343extern HRESULT node_transform_node_params(const xmlnode*,IXMLDOMNode*,BSTR*,ISequentialStream*,
345extern HRESULT node_create_supporterrorinfo(const tid_t*,void**) DECLSPEC_HIDDEN;
346
347extern HRESULT get_domdoc_from_xmldoc(xmlDocPtr xmldoc, IXMLDOMDocument3 **document) DECLSPEC_HIDDEN;
348
349extern HRESULT SchemaCache_validate_tree(IXMLDOMSchemaCollection2*, xmlNodePtr) DECLSPEC_HIDDEN;
350extern XDR_DT SchemaCache_get_node_dt(IXMLDOMSchemaCollection2*, xmlNodePtr) DECLSPEC_HIDDEN;
351extern HRESULT cache_from_doc_ns(IXMLDOMSchemaCollection2*, xmlnode*) DECLSPEC_HIDDEN;
352
353extern XDR_DT str_to_dt(xmlChar const* str, int len /* calculated if -1 */) DECLSPEC_HIDDEN;
354extern XDR_DT bstr_to_dt(OLECHAR const* bstr, int len /* calculated if -1 */) DECLSPEC_HIDDEN;
355extern xmlChar const* dt_to_str(XDR_DT dt) DECLSPEC_HIDDEN;
356extern const char* debugstr_dt(XDR_DT dt) DECLSPEC_HIDDEN;
357extern OLECHAR const* dt_to_bstr(XDR_DT dt) DECLSPEC_HIDDEN;
358extern HRESULT dt_validate(XDR_DT dt, xmlChar const* content) DECLSPEC_HIDDEN;
359
360extern BSTR EnsureCorrectEOL(BSTR) DECLSPEC_HIDDEN;
361
362extern xmlChar* tagName_to_XPath(const BSTR tagName) DECLSPEC_HIDDEN;
363
364#ifdef SONAME_LIBXSLT
365# include <libxslt/documents.h>
366extern xmlDocPtr xslt_doc_default_loader(const xmlChar *uri, xmlDictPtr dict, int options,
367 void *_ctxt, xsltLoadType type) DECLSPEC_HIDDEN;
368#endif /* SONAME_LIBXSLT */
369
370static inline BSTR bstr_from_xmlChar(const xmlChar *str)
371{
372 BSTR ret = NULL;
373
374 if(str) {
377 if(ret)
379 }
380 else
382
383 return ret;
384}
385
386static inline xmlChar *xmlchar_from_wcharn(const WCHAR *str, int nchars, BOOL use_xml_alloc)
387{
388 xmlChar *xmlstr;
389 DWORD len = WideCharToMultiByte( CP_UTF8, 0, str, nchars, NULL, 0, NULL, NULL );
390
391 xmlstr = use_xml_alloc ? xmlMalloc( len + 1 ) : heap_alloc( len + 1 );
392 if ( xmlstr )
393 {
394 WideCharToMultiByte( CP_UTF8, 0, str, nchars, (LPSTR) xmlstr, len+1, NULL, NULL );
395 xmlstr[len] = 0;
396 }
397 return xmlstr;
398}
399
400static inline xmlChar *xmlchar_from_wchar( const WCHAR *str )
401{
402 return xmlchar_from_wcharn(str, -1, FALSE);
403}
404
405static inline xmlChar *heap_strdupxmlChar(const xmlChar *str)
406{
407 xmlChar *ret = NULL;
408
409 if(str) {
410 DWORD size;
411
412 size = (xmlStrlen(str)+1)*sizeof(xmlChar);
414 memcpy(ret, str, size);
415 }
416
417 return ret;
418}
419
420#endif
421
422static inline HRESULT return_bstr(const WCHAR *value, BSTR *p)
423{
424 if(!p)
425 return E_INVALIDARG;
426
427 if(value) {
429 if(!*p)
430 return E_OUTOFMEMORY;
431 }else {
432 *p = NULL;
433 }
434
435 return S_OK;
436}
437
438static inline HRESULT return_bstrn(const WCHAR *value, int len, BSTR *p)
439{
440 if(value) {
442 if(!*p)
443 return E_OUTOFMEMORY;
444 }else
445 *p = NULL;
446
447 return S_OK;
448}
449
451{
452 if(!p)
453 return E_INVALIDARG;
454 *p = NULL;
455 return S_FALSE;
456}
457
458static inline HRESULT return_null_ptr(void **p)
459{
460 if(!p)
461 return E_INVALIDARG;
462 *p = NULL;
463 return S_FALSE;
464}
465
467{
468 if(!p)
469 return E_INVALIDARG;
470
471 V_VT(p) = VT_NULL;
472 return S_FALSE;
473}
474
476{
477 if(!p)
478 return E_INVALIDARG;
479
480 *p = NULL;
481 return S_FALSE;
482}
483
485{
486 if(!p)
487 return E_INVALIDARG;
488
489 *p = VARIANT_FALSE;
490 return S_FALSE;
491}
492
494 LONG line, LONG linepos, LONG filepos ) DECLSPEC_HIDDEN;
507
509{
510 switch (v)
511 {
512 default:
513 case MSXML_DEFAULT: return &CLSID_DOMDocument;
514 case MSXML3: return &CLSID_DOMDocument30;
515 case MSXML4: return &CLSID_DOMDocument40;
516 case MSXML6: return &CLSID_DOMDocument60;
517 }
518}
519
521{
522 switch (v)
523 {
524 default:
525 case MSXML_DEFAULT: return &CLSID_XMLSchemaCache;
526 case MSXML3: return &CLSID_XMLSchemaCache30;
527 case MSXML4: return &CLSID_XMLSchemaCache40;
528 case MSXML6: return &CLSID_XMLSchemaCache60;
529 }
530}
531
532typedef struct bsc_t bsc_t;
533
538
539/* Error Codes - not defined anywhere in the public headers */
540#define E_XML_ELEMENT_UNDECLARED 0xC00CE00D
541#define E_XML_ELEMENT_ID_NOT_FOUND 0xC00CE00E
542/* ... */
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
551/* ... */
552#define E_XML_REQUIRED_ATTRIBUTE_MISSING 0xC00CE020
553
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)
557#endif /* __MSXML_PRIVATE__ */
char * va_list
Definition: acmsvcex.h:78
static void * heap_alloc(size_t len)
Definition: appwiz.h:66
static HRESULT get_length(script_ctx_t *ctx, vdisp_t *vdisp, jsdisp_t **jsthis, DWORD *ret)
Definition: array.c:79
#define msg(x)
Definition: auth_time.c:54
Definition: list.h:37
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define E_INVALIDARG
Definition: ddrawi.h:101
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
content
Definition: atl_ax.c:994
static cctrl_item * get_item(customctrl *parent, DWORD itemid, CDCONTROLSTATEF visible_flags, DWORD *position)
Definition: itemdlg.c:751
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
#define GetProcessHeap()
Definition: compat.h:736
#define HeapReAlloc
Definition: compat.h:734
WCHAR OLECHAR
Definition: compat.h:2292
OLECHAR * BSTR
Definition: compat.h:2293
#define WideCharToMultiByte
Definition: compat.h:111
short VARIANT_BOOL
Definition: compat.h:2290
#define MultiByteToWideChar
Definition: compat.h:110
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
@ VT_NULL
Definition: compat.h:2296
static const WCHAR version[]
Definition: asmname.c:66
BOOL next_node(stream_t *stream, strbuf_t *buf)
Definition: stream.c:140
HINSTANCE MSXML_hInstance
Definition: main.c:62
xsltLoadType
Definition: documents.h:53
r parent
Definition: btrfs.c:3010
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
const GLdouble * v
Definition: gl.h:2040
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLsizeiptr size
Definition: glext.h:5919
GLfloat GLfloat p
Definition: glext.h:8902
GLenum GLsizei len
Definition: glext.h:6722
HRESULT create_element(HTMLDocumentNode *doc, const WCHAR *tag, HTMLElement **ret)
Definition: htmlelem.c:275
static HRESULT create_node(HTMLDocumentNode *, nsIDOMNode *, HTMLDOMNode **)
Definition: htmlnode.c:1216
static HTMLDOMNode * get_node_obj(IHTMLDOMNode *)
Definition: htmlnode.c:1045
tid_t
Definition: ieframe.h:311
#define S_OK
Definition: intsafe.h:52
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
static const WCHAR url[]
Definition: encode.c:1432
static TfClientId tid
static HRESULT invoke(IDispatch *pDispatch, LPCSTR szName, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, VARTYPE vtResult)
Definition: automation.c:736
static DISPID get_dispid(IDispatch *disp, const char *name)
Definition: automation.c:397
static HGLOBAL create_text(void)
Definition: clipboard.c:1496
static VARIANTARG static DISPID
Definition: ordinal.c:52
const char * uri
Definition: sec_mgr.c:1588
static HWND child
Definition: cursoricon.c:298
const struct _GUID CLSID_DOMDocument
MSXML_VERSION
Definition: msxml_private.h:34
@ MSXML_DEFAULT
Definition: msxml_private.h:35
@ MSXML4
Definition: msxml_private.h:39
@ MSXML6
Definition: msxml_private.h:40
@ MSXML26
Definition: msxml_private.h:37
@ MSXML3
Definition: msxml_private.h:38
void init_dispex(DispatchEx *, IUnknown *, dispex_static_data_t *) DECLSPEC_HIDDEN
Definition: dispex.c:1737
static const CLSID * SchemaCache_version(MSXML_VERSION v)
BOOL dispex_query_interface(DispatchEx *, REFIID, void **) DECLSPEC_HIDDEN
Definition: dispex.c:1656
HRESULT XMLHTTPRequest_create(void **) DECLSPEC_HIDDEN
Definition: httprequest.c:2105
void release_dispex(DispatchEx *) DECLSPEC_HIDDEN
Definition: dispex.c:1706
HRESULT SAXXMLReader_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
HINSTANCE MSXML_hInstance DECLSPEC_HIDDEN
HRESULT MXNamespaceManager_create(void **) DECLSPEC_HIDDEN
Definition: mxnamespace.c:645
tid_t
Definition: msxml_private.h:44
@ IVBSAXDTDHandler_tid
Definition: msxml_private.h:74
@ IXMLDOMNodeList_tid
Definition: msxml_private.h:59
@ IXMLDOMDocumentFragment_tid
Definition: msxml_private.h:52
@ IXMLDOMElement_tid
Definition: msxml_private.h:54
@ IMXReaderControl_tid
Definition: msxml_private.h:82
@ IXMLDOMEntityReference_tid
Definition: msxml_private.h:55
@ IXMLDocument_tid
Definition: msxml_private.h:67
@ IXMLDOMSchemaCollection2_tid
Definition: msxml_private.h:63
@ IVBSAXContentHandler_tid
Definition: msxml_private.h:72
@ IVBSAXLocator_tid
Definition: msxml_private.h:78
@ IXMLElement_tid
Definition: msxml_private.h:66
@ IXMLDOMNamedNodeMap_tid
Definition: msxml_private.h:57
@ IXMLDOMNode_tid
Definition: msxml_private.h:58
@ IXMLDOMText_tid
Definition: msxml_private.h:65
@ LAST_tid
Definition: msxml_private.h:86
@ IXMLDOMCDATASection_tid
Definition: msxml_private.h:47
@ IXMLDOMDocument3_tid
Definition: msxml_private.h:51
@ IMXWriter_tid
Definition: msxml_private.h:83
@ IServerXMLHTTPRequest_tid
Definition: msxml_private.h:85
@ IXMLDOMProcessingInstruction_tid
Definition: msxml_private.h:61
@ IVBSAXEntityResolver_tid
Definition: msxml_private.h:75
@ IVBSAXErrorHandler_tid
Definition: msxml_private.h:76
@ IXMLHTTPRequest_tid
Definition: msxml_private.h:68
@ IVBSAXXMLFilter_tid
Definition: msxml_private.h:79
@ IXMLDOMImplementation_tid
Definition: msxml_private.h:56
@ IVBSAXXMLReader_tid
Definition: msxml_private.h:80
@ IVBMXNamespaceManager_tid
Definition: msxml_private.h:84
@ IXMLDOMDocument2_tid
Definition: msxml_private.h:50
@ NULL_tid
Definition: msxml_private.h:45
@ IXMLDOMSchemaCollection_tid
Definition: msxml_private.h:62
@ IXMLDOMDocument_tid
Definition: msxml_private.h:49
@ IMXAttributes_tid
Definition: msxml_private.h:81
@ IXMLDOMDocumentType_tid
Definition: msxml_private.h:53
@ IXSLProcessor_tid
Definition: msxml_private.h:69
@ IVBSAXDeclHandler_tid
Definition: msxml_private.h:73
@ IXMLDOMAttribute_tid
Definition: msxml_private.h:46
@ IXSLTemplate_tid
Definition: msxml_private.h:70
@ IXMLDOMSelection_tid
Definition: msxml_private.h:64
@ IXMLDOMParseError2_tid
Definition: msxml_private.h:60
@ IXMLDOMComment_tid
Definition: msxml_private.h:48
@ IVBSAXLexicalHandler_tid
Definition: msxml_private.h:77
@ IVBSAXAttributes_tid
Definition: msxml_private.h:71
static HRESULT return_bstrn(const WCHAR *value, int len, BSTR *p)
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN
Definition: ieframe_main.c:61
HRESULT create_uri(const WCHAR *, IUri **) DECLSPEC_HIDDEN
Definition: bsc.c:245
HRESULT XMLDocument_create(void **) DECLSPEC_HIDDEN
HRESULT XSLTemplate_create(void **) DECLSPEC_HIDDEN
Definition: stylesheet.c:268
HRESULT bind_url(IMoniker *, HRESULT(*onDataAvailable)(void *, char *, DWORD), void *, bsc_t **) DECLSPEC_HIDDEN
Definition: bsc.c:288
static HRESULT return_null_bstr(BSTR *p)
static LPWSTR heap_strdupW(LPCWSTR str)
HRESULT ServerXMLHTTP_create(void **) DECLSPEC_HIDDEN
Definition: httprequest.c:2112
const IID * get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN
Definition: dispex.c:143
HRESULT MXWriter_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
Definition: mxwriter.c:2585
enum _XDR_DT XDR_DT
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
Definition: xmlview.c:1460
IXMLDOMParseError * create_parseError(LONG code, BSTR url, BSTR reason, BSTR srcText, LONG line, LONG linepos, LONG filepos) DECLSPEC_HIDDEN
Definition: parseerror.c:329
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
Definition: bsc.c:273
void release_typelib(void) DECLSPEC_HIDDEN
Definition: apps.c:159
HRESULT SAXAttributes_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
Definition: mxwriter.c:3553
HRESULT XMLParser_create(void **) DECLSPEC_HIDDEN
Definition: xmlparser.c:437
_XDR_DT
Definition: msxml_private.h:93
@ DT_I4
@ DT_NMTOKEN
@ DT_ID
@ DT_TIME_TZ
@ DT_NUMBER
@ DT_FIXED_14_4
@ DT_NMTOKENS
@ DT_URI
@ DT_DATE_TZ
@ DT_INVALID
Definition: msxml_private.h:94
@ DT_UI4
@ DT_R8
@ DT_DATETIME_TZ
@ DT_STRING
@ DT_ENTITIES
@ DT_FLOAT
@ DT_DATETIME
@ DT_BIN_HEX
Definition: msxml_private.h:96
@ DT_I1
@ DT_UI8
@ DT_DATE
Definition: msxml_private.h:99
@ LAST_DT
@ DT_UI2
@ DT_BIN_BASE64
Definition: msxml_private.h:95
@ DT_I2
@ DT_ENTITY
@ DT_ENUMERATION
@ DT_IDREF
@ DT_R4
@ DT_UI1
@ DT_BOOLEAN
Definition: msxml_private.h:97
@ DT_CHAR
Definition: msxml_private.h:98
@ DT_TIME
@ DT_IDREFS
@ DT_NOTATION
@ DT_I8
@ DT_INT
@ DT_UUID
static void size_t size
HRESULT detach_bsc(bsc_t *) DECLSPEC_HIDDEN
Definition: bsc.c:331
HRESULT DOMDocument_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
Definition: domdoc.c:3727
HRESULT SchemaCache_create(MSXML_VERSION, void **) DECLSPEC_HIDDEN
Definition: schema.c:1647
static HRESULT return_null_node(IXMLDOMNode **p)
#define DWORD
Definition: nt_native.h:44
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:238
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
Definition: oleaut.c:339
#define V_VT(A)
Definition: oleauto.h:211
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
static unsigned __int64 next
Definition: rand_nt.c:6
#define strlenW(s)
Definition: unicode.h:34
#define err(...)
const WCHAR * str
DWORD LCID
Definition: nls.h:13
#define CP_UTF8
Definition: nls.h:20
XMLPUBVAR xmlMallocFunc xmlMalloc
Definition: globals.h:248
xmlNode * xmlNodePtr
Definition: tree.h:488
xmlElementType
Definition: tree.h:159
@ XML_ELEMENT_NODE
Definition: tree.h:160
Definition: dict.c:111
Definition: tree.h:551
Definition: tree.h:489
Definition: bsc.c:46
HRESULT(* onDataAvailable)(void *, char *, DWORD)
Definition: bsc.c:52
Definition: inflate.c:139
Definition: parser.c:49
Definition: mem.c:156
struct list entry
unsigned int count
Definition: dlist.c:348
Definition: pdh_main.c:94
int ret
#define HRESULT
Definition: msvc.h:7
#define S_FALSE
Definition: winerror.h:2357
void int int ULONGLONG int va_list * ap
Definition: winesup.h:36
#define __WINE_ALLOC_SIZE(x)
Definition: winnt_old.h:84
xmlErrorLevel
Definition: xmlerror.h:24
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
XMLPUBFUN int XMLCALL xmlStrlen(const xmlChar *str)
Definition: xmlstring.c:426
unsigned char xmlChar
Definition: xmlstring.h:28