winemac: When realizing latent child windows, maintain their relative z-order.
[wine.git] / include / wsdxmldom.h
blobe9fb3bd06c7dd5ebd84321fecd3f02f76db79c5b
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;
30 typedef const WSDXML_NAMESPACE *PCWSDXML_NAMESPACE;
31 typedef const WSDXML_TYPE *PCWSDXML_TYPE;
33 struct _WSDXML_TYPE
35 const WCHAR *Uri;
36 const BYTE *Table;
39 struct _WSDXML_NAMESPACE
41 const WCHAR *Uri;
42 const WCHAR *PreferredPrefix;
43 WSDXML_NAME *Names;
44 WORD NamesCount;
45 WORD Encoding;
48 struct _WSDXML_NAME
50 WSDXML_NAMESPACE *Space;
51 WCHAR *LocalName;
54 struct _WSDXML_PREFIX_MAPPING
56 DWORD Refs;
57 WSDXML_PREFIX_MAPPING *Next;
58 WSDXML_NAMESPACE *Space;
59 WCHAR *Prefix;
62 struct _WSDXML_ATTRIBUTE
64 WSDXML_ELEMENT *Element;
65 WSDXML_ATTRIBUTE *Next;
66 WSDXML_NAME *Name;
67 WCHAR *Value;
70 struct _WSDXML_NODE
72 enum
74 ElementType,
75 TextType
76 } Type;
77 WSDXML_ELEMENT *Parent;
78 WSDXML_NODE *Next;
81 struct _WSDXML_ELEMENT
83 WSDXML_NODE Node;
84 WSDXML_NAME *Name;
85 WSDXML_ATTRIBUTE *FirstAttribute;
86 WSDXML_NODE *FirstChild;
87 WSDXML_PREFIX_MAPPING *PrefixMappings;
90 #endif /* __WSDXMLDOM_H__ */