imm32/tests: Mark some tests as broken by prior SetForegroundWindow call.
[wine.git] / include / wsdxmldom.h
blob89012361d2812692fdf8fe8c94b248ed76bb59f3
1 /*
2 * Copyright 2017 Owen Rudge for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WSDXMLDOM_H__
20 #define __WSDXMLDOM_H__
22 typedef struct _WSDXML_TYPE WSDXML_TYPE;
23 typedef struct _WSDXML_NAMESPACE WSDXML_NAMESPACE;
24 typedef struct _WSDXML_NAME WSDXML_NAME;
25 typedef struct _WSDXML_PREFIX_MAPPING WSDXML_PREFIX_MAPPING;
26 typedef struct _WSDXML_ATTRIBUTE WSDXML_ATTRIBUTE;
27 typedef struct _WSDXML_NODE WSDXML_NODE;
28 typedef struct _WSDXML_ELEMENT WSDXML_ELEMENT;
29 typedef struct _WSDXML_TEXT WSDXML_TEXT;
31 typedef const WSDXML_NAMESPACE *PCWSDXML_NAMESPACE;
32 typedef const WSDXML_TYPE *PCWSDXML_TYPE;
34 struct _WSDXML_TYPE
36 const WCHAR *Uri;
37 const BYTE *Table;
40 struct _WSDXML_NAMESPACE
42 const WCHAR *Uri;
43 const WCHAR *PreferredPrefix;
44 WSDXML_NAME *Names;
45 WORD NamesCount;
46 WORD Encoding;
49 struct _WSDXML_NAME
51 WSDXML_NAMESPACE *Space;
52 WCHAR *LocalName;
55 struct _WSDXML_PREFIX_MAPPING
57 DWORD Refs;
58 WSDXML_PREFIX_MAPPING *Next;
59 WSDXML_NAMESPACE *Space;
60 WCHAR *Prefix;
63 struct _WSDXML_ATTRIBUTE
65 WSDXML_ELEMENT *Element;
66 WSDXML_ATTRIBUTE *Next;
67 WSDXML_NAME *Name;
68 WCHAR *Value;
71 struct _WSDXML_NODE
73 enum
75 ElementType,
76 TextType
77 } Type;
78 WSDXML_ELEMENT *Parent;
79 WSDXML_NODE *Next;
82 struct _WSDXML_ELEMENT
84 WSDXML_NODE Node;
85 WSDXML_NAME *Name;
86 WSDXML_ATTRIBUTE *FirstAttribute;
87 WSDXML_NODE *FirstChild;
88 WSDXML_PREFIX_MAPPING *PrefixMappings;
91 struct _WSDXML_TEXT
93 WSDXML_NODE Node;
94 WCHAR *Text;
97 #endif /* __WSDXMLDOM_H__ */