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