]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[link(name = "windows")] | |
3 | extern "system" { | |
4 | #[cfg(feature = "Win32_System_Com")] | |
5 | pub fn CreateXmlReader(riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void, pmalloc: super::super::super::System::Com::IMalloc) -> ::windows_sys::core::HRESULT; | |
6 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
7 | pub fn CreateXmlReaderInputWithEncodingCodePage(pinputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, nencodingcodepage: u32, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: super::super::super::Foundation::PWSTR, ppinput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; | |
8 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
9 | pub fn CreateXmlReaderInputWithEncodingName(pinputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, pwszencodingname: super::super::super::Foundation::PWSTR, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: super::super::super::Foundation::PWSTR, ppinput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; | |
10 | #[cfg(feature = "Win32_System_Com")] | |
11 | pub fn CreateXmlWriter(riid: *const ::windows_sys::core::GUID, ppvobject: *mut *mut ::core::ffi::c_void, pmalloc: super::super::super::System::Com::IMalloc) -> ::windows_sys::core::HRESULT; | |
12 | #[cfg(feature = "Win32_System_Com")] | |
13 | pub fn CreateXmlWriterOutputWithEncodingCodePage(poutputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, nencodingcodepage: u32, ppoutput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; | |
14 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
15 | pub fn CreateXmlWriterOutputWithEncodingName(poutputstream: ::windows_sys::core::IUnknown, pmalloc: super::super::super::System::Com::IMalloc, pwszencodingname: super::super::super::Foundation::PWSTR, ppoutput: *mut ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; | |
16 | } | |
17 | pub type DtdProcessing = i32; | |
18 | pub const DtdProcessing_Prohibit: DtdProcessing = 0i32; | |
19 | pub const DtdProcessing_Parse: DtdProcessing = 1i32; | |
20 | pub const _DtdProcessing_Last: DtdProcessing = 1i32; | |
21 | pub type IXmlReader = *mut ::core::ffi::c_void; | |
22 | pub type IXmlResolver = *mut ::core::ffi::c_void; | |
23 | pub type IXmlWriter = *mut ::core::ffi::c_void; | |
24 | pub type IXmlWriterLite = *mut ::core::ffi::c_void; | |
25 | pub type XmlConformanceLevel = i32; | |
26 | pub const XmlConformanceLevel_Auto: XmlConformanceLevel = 0i32; | |
27 | pub const XmlConformanceLevel_Fragment: XmlConformanceLevel = 1i32; | |
28 | pub const XmlConformanceLevel_Document: XmlConformanceLevel = 2i32; | |
29 | pub const _XmlConformanceLevel_Last: XmlConformanceLevel = 2i32; | |
30 | pub type XmlError = i32; | |
31 | pub const MX_E_MX: XmlError = -1072894464i32; | |
32 | pub const MX_E_INPUTEND: XmlError = -1072894463i32; | |
33 | pub const MX_E_ENCODING: XmlError = -1072894462i32; | |
34 | pub const MX_E_ENCODINGSWITCH: XmlError = -1072894461i32; | |
35 | pub const MX_E_ENCODINGSIGNATURE: XmlError = -1072894460i32; | |
36 | pub const WC_E_WC: XmlError = -1072894432i32; | |
37 | pub const WC_E_WHITESPACE: XmlError = -1072894431i32; | |
38 | pub const WC_E_SEMICOLON: XmlError = -1072894430i32; | |
39 | pub const WC_E_GREATERTHAN: XmlError = -1072894429i32; | |
40 | pub const WC_E_QUOTE: XmlError = -1072894428i32; | |
41 | pub const WC_E_EQUAL: XmlError = -1072894427i32; | |
42 | pub const WC_E_LESSTHAN: XmlError = -1072894426i32; | |
43 | pub const WC_E_HEXDIGIT: XmlError = -1072894425i32; | |
44 | pub const WC_E_DIGIT: XmlError = -1072894424i32; | |
45 | pub const WC_E_LEFTBRACKET: XmlError = -1072894423i32; | |
46 | pub const WC_E_LEFTPAREN: XmlError = -1072894422i32; | |
47 | pub const WC_E_XMLCHARACTER: XmlError = -1072894421i32; | |
48 | pub const WC_E_NAMECHARACTER: XmlError = -1072894420i32; | |
49 | pub const WC_E_SYNTAX: XmlError = -1072894419i32; | |
50 | pub const WC_E_CDSECT: XmlError = -1072894418i32; | |
51 | pub const WC_E_COMMENT: XmlError = -1072894417i32; | |
52 | pub const WC_E_CONDSECT: XmlError = -1072894416i32; | |
53 | pub const WC_E_DECLATTLIST: XmlError = -1072894415i32; | |
54 | pub const WC_E_DECLDOCTYPE: XmlError = -1072894414i32; | |
55 | pub const WC_E_DECLELEMENT: XmlError = -1072894413i32; | |
56 | pub const WC_E_DECLENTITY: XmlError = -1072894412i32; | |
57 | pub const WC_E_DECLNOTATION: XmlError = -1072894411i32; | |
58 | pub const WC_E_NDATA: XmlError = -1072894410i32; | |
59 | pub const WC_E_PUBLIC: XmlError = -1072894409i32; | |
60 | pub const WC_E_SYSTEM: XmlError = -1072894408i32; | |
61 | pub const WC_E_NAME: XmlError = -1072894407i32; | |
62 | pub const WC_E_ROOTELEMENT: XmlError = -1072894406i32; | |
63 | pub const WC_E_ELEMENTMATCH: XmlError = -1072894405i32; | |
64 | pub const WC_E_UNIQUEATTRIBUTE: XmlError = -1072894404i32; | |
65 | pub const WC_E_TEXTXMLDECL: XmlError = -1072894403i32; | |
66 | pub const WC_E_LEADINGXML: XmlError = -1072894402i32; | |
67 | pub const WC_E_TEXTDECL: XmlError = -1072894401i32; | |
68 | pub const WC_E_XMLDECL: XmlError = -1072894400i32; | |
69 | pub const WC_E_ENCNAME: XmlError = -1072894399i32; | |
70 | pub const WC_E_PUBLICID: XmlError = -1072894398i32; | |
71 | pub const WC_E_PESINTERNALSUBSET: XmlError = -1072894397i32; | |
72 | pub const WC_E_PESBETWEENDECLS: XmlError = -1072894396i32; | |
73 | pub const WC_E_NORECURSION: XmlError = -1072894395i32; | |
74 | pub const WC_E_ENTITYCONTENT: XmlError = -1072894394i32; | |
75 | pub const WC_E_UNDECLAREDENTITY: XmlError = -1072894393i32; | |
76 | pub const WC_E_PARSEDENTITY: XmlError = -1072894392i32; | |
77 | pub const WC_E_NOEXTERNALENTITYREF: XmlError = -1072894391i32; | |
78 | pub const WC_E_PI: XmlError = -1072894390i32; | |
79 | pub const WC_E_SYSTEMID: XmlError = -1072894389i32; | |
80 | pub const WC_E_QUESTIONMARK: XmlError = -1072894388i32; | |
81 | pub const WC_E_CDSECTEND: XmlError = -1072894387i32; | |
82 | pub const WC_E_MOREDATA: XmlError = -1072894386i32; | |
83 | pub const WC_E_DTDPROHIBITED: XmlError = -1072894385i32; | |
84 | pub const WC_E_INVALIDXMLSPACE: XmlError = -1072894384i32; | |
85 | pub const NC_E_NC: XmlError = -1072894368i32; | |
86 | pub const NC_E_QNAMECHARACTER: XmlError = -1072894367i32; | |
87 | pub const NC_E_QNAMECOLON: XmlError = -1072894366i32; | |
88 | pub const NC_E_NAMECOLON: XmlError = -1072894365i32; | |
89 | pub const NC_E_DECLAREDPREFIX: XmlError = -1072894364i32; | |
90 | pub const NC_E_UNDECLAREDPREFIX: XmlError = -1072894363i32; | |
91 | pub const NC_E_EMPTYURI: XmlError = -1072894362i32; | |
92 | pub const NC_E_XMLPREFIXRESERVED: XmlError = -1072894361i32; | |
93 | pub const NC_E_XMLNSPREFIXRESERVED: XmlError = -1072894360i32; | |
94 | pub const NC_E_XMLURIRESERVED: XmlError = -1072894359i32; | |
95 | pub const NC_E_XMLNSURIRESERVED: XmlError = -1072894358i32; | |
96 | pub const SC_E_SC: XmlError = -1072894336i32; | |
97 | pub const SC_E_MAXELEMENTDEPTH: XmlError = -1072894335i32; | |
98 | pub const SC_E_MAXENTITYEXPANSION: XmlError = -1072894334i32; | |
99 | pub const WR_E_WR: XmlError = -1072894208i32; | |
100 | pub const WR_E_NONWHITESPACE: XmlError = -1072894207i32; | |
101 | pub const WR_E_NSPREFIXDECLARED: XmlError = -1072894206i32; | |
102 | pub const WR_E_NSPREFIXWITHEMPTYNSURI: XmlError = -1072894205i32; | |
103 | pub const WR_E_DUPLICATEATTRIBUTE: XmlError = -1072894204i32; | |
104 | pub const WR_E_XMLNSPREFIXDECLARATION: XmlError = -1072894203i32; | |
105 | pub const WR_E_XMLPREFIXDECLARATION: XmlError = -1072894202i32; | |
106 | pub const WR_E_XMLURIDECLARATION: XmlError = -1072894201i32; | |
107 | pub const WR_E_XMLNSURIDECLARATION: XmlError = -1072894200i32; | |
108 | pub const WR_E_NAMESPACEUNDECLARED: XmlError = -1072894199i32; | |
109 | pub const WR_E_INVALIDXMLSPACE: XmlError = -1072894198i32; | |
110 | pub const WR_E_INVALIDACTION: XmlError = -1072894197i32; | |
111 | pub const WR_E_INVALIDSURROGATEPAIR: XmlError = -1072894196i32; | |
112 | pub const XML_E_INVALID_DECIMAL: XmlError = -1072898019i32; | |
113 | pub const XML_E_INVALID_HEXIDECIMAL: XmlError = -1072898018i32; | |
114 | pub const XML_E_INVALID_UNICODE: XmlError = -1072898017i32; | |
115 | pub const XML_E_INVALIDENCODING: XmlError = -1072897938i32; | |
116 | pub type XmlNodeType = i32; | |
117 | pub const XmlNodeType_None: XmlNodeType = 0i32; | |
118 | pub const XmlNodeType_Element: XmlNodeType = 1i32; | |
119 | pub const XmlNodeType_Attribute: XmlNodeType = 2i32; | |
120 | pub const XmlNodeType_Text: XmlNodeType = 3i32; | |
121 | pub const XmlNodeType_CDATA: XmlNodeType = 4i32; | |
122 | pub const XmlNodeType_ProcessingInstruction: XmlNodeType = 7i32; | |
123 | pub const XmlNodeType_Comment: XmlNodeType = 8i32; | |
124 | pub const XmlNodeType_DocumentType: XmlNodeType = 10i32; | |
125 | pub const XmlNodeType_Whitespace: XmlNodeType = 13i32; | |
126 | pub const XmlNodeType_EndElement: XmlNodeType = 15i32; | |
127 | pub const XmlNodeType_XmlDeclaration: XmlNodeType = 17i32; | |
128 | pub const _XmlNodeType_Last: XmlNodeType = 17i32; | |
129 | pub type XmlReadState = i32; | |
130 | pub const XmlReadState_Initial: XmlReadState = 0i32; | |
131 | pub const XmlReadState_Interactive: XmlReadState = 1i32; | |
132 | pub const XmlReadState_Error: XmlReadState = 2i32; | |
133 | pub const XmlReadState_EndOfFile: XmlReadState = 3i32; | |
134 | pub const XmlReadState_Closed: XmlReadState = 4i32; | |
135 | pub type XmlReaderProperty = i32; | |
136 | pub const XmlReaderProperty_MultiLanguage: XmlReaderProperty = 0i32; | |
137 | pub const XmlReaderProperty_ConformanceLevel: XmlReaderProperty = 1i32; | |
138 | pub const XmlReaderProperty_RandomAccess: XmlReaderProperty = 2i32; | |
139 | pub const XmlReaderProperty_XmlResolver: XmlReaderProperty = 3i32; | |
140 | pub const XmlReaderProperty_DtdProcessing: XmlReaderProperty = 4i32; | |
141 | pub const XmlReaderProperty_ReadState: XmlReaderProperty = 5i32; | |
142 | pub const XmlReaderProperty_MaxElementDepth: XmlReaderProperty = 6i32; | |
143 | pub const XmlReaderProperty_MaxEntityExpansion: XmlReaderProperty = 7i32; | |
144 | pub const _XmlReaderProperty_Last: XmlReaderProperty = 7i32; | |
145 | pub type XmlStandalone = i32; | |
146 | pub const XmlStandalone_Omit: XmlStandalone = 0i32; | |
147 | pub const XmlStandalone_Yes: XmlStandalone = 1i32; | |
148 | pub const XmlStandalone_No: XmlStandalone = 2i32; | |
149 | pub const _XmlStandalone_Last: XmlStandalone = 2i32; | |
150 | pub type XmlWriterProperty = i32; | |
151 | pub const XmlWriterProperty_MultiLanguage: XmlWriterProperty = 0i32; | |
152 | pub const XmlWriterProperty_Indent: XmlWriterProperty = 1i32; | |
153 | pub const XmlWriterProperty_ByteOrderMark: XmlWriterProperty = 2i32; | |
154 | pub const XmlWriterProperty_OmitXmlDeclaration: XmlWriterProperty = 3i32; | |
155 | pub const XmlWriterProperty_ConformanceLevel: XmlWriterProperty = 4i32; | |
156 | pub const XmlWriterProperty_CompactEmptyElement: XmlWriterProperty = 5i32; | |
157 | pub const _XmlWriterProperty_Last: XmlWriterProperty = 5i32; | |
158 | pub const _IID_IXmlReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1920597121, data2: 28829, data3: 16533, data4: [182, 61, 105, 254, 75, 13, 144, 48] }; | |
159 | pub const _IID_IXmlResolver: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1920597122, data2: 28829, data3: 16533, data4: [182, 61, 105, 254, 75, 13, 144, 48] }; | |
160 | pub const _IID_IXmlWriter: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1920597128, data2: 28829, data3: 16533, data4: [182, 61, 105, 254, 75, 13, 144, 48] }; |