1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[cfg(feature = "Win32_System_Com")]
3 #[inline]
CreateXmlReader<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>>(riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void, pmalloc: Param2) -> ::windows::runtime::Result<()>4 pub unsafe fn CreateXmlReader<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>>(riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void, pmalloc: Param2) -> ::windows::runtime::Result<()> {
5     #[cfg(windows)]
6     {
7         #[link(name = "windows")]
8         extern "system" {
9             fn CreateXmlReader(riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void, pmalloc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10         }
11         CreateXmlReader(::std::mem::transmute(riid), ::std::mem::transmute(ppvobject), pmalloc.into_param().abi()).ok()
12     }
13     #[cfg(not(windows))]
14     unimplemented!("Unsupported target OS");
15 }
16 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
17 #[inline]
CreateXmlReaderInputWithEncodingCodePage<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>( pinputstream: Param0, pmalloc: Param1, nencodingcodepage: u32, fencodinghint: Param3, pwszbaseuri: Param4, ) -> ::windows::runtime::Result<::windows::runtime::IUnknown>18 pub unsafe fn CreateXmlReaderInputWithEncodingCodePage<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(
19     pinputstream: Param0,
20     pmalloc: Param1,
21     nencodingcodepage: u32,
22     fencodinghint: Param3,
23     pwszbaseuri: Param4,
24 ) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
25     #[cfg(windows)]
26     {
27         #[link(name = "windows")]
28         extern "system" {
29             fn CreateXmlReaderInputWithEncodingCodePage(pinputstream: ::windows::runtime::RawPtr, pmalloc: ::windows::runtime::RawPtr, nencodingcodepage: u32, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: super::super::super::Foundation::PWSTR, ppinput: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
30         }
31         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
32         CreateXmlReaderInputWithEncodingCodePage(pinputstream.into_param().abi(), pmalloc.into_param().abi(), ::std::mem::transmute(nencodingcodepage), fencodinghint.into_param().abi(), pwszbaseuri.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
33     }
34     #[cfg(not(windows))]
35     unimplemented!("Unsupported target OS");
36 }
37 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
38 #[inline]
CreateXmlReaderInputWithEncodingName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>( pinputstream: Param0, pmalloc: Param1, pwszencodingname: Param2, fencodinghint: Param3, pwszbaseuri: Param4, ) -> ::windows::runtime::Result<::windows::runtime::IUnknown>39 pub unsafe fn CreateXmlReaderInputWithEncodingName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(
40     pinputstream: Param0,
41     pmalloc: Param1,
42     pwszencodingname: Param2,
43     fencodinghint: Param3,
44     pwszbaseuri: Param4,
45 ) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
46     #[cfg(windows)]
47     {
48         #[link(name = "windows")]
49         extern "system" {
50             fn CreateXmlReaderInputWithEncodingName(pinputstream: ::windows::runtime::RawPtr, pmalloc: ::windows::runtime::RawPtr, pwszencodingname: super::super::super::Foundation::PWSTR, fencodinghint: super::super::super::Foundation::BOOL, pwszbaseuri: super::super::super::Foundation::PWSTR, ppinput: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
51         }
52         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
53         CreateXmlReaderInputWithEncodingName(pinputstream.into_param().abi(), pmalloc.into_param().abi(), pwszencodingname.into_param().abi(), fencodinghint.into_param().abi(), pwszbaseuri.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
54     }
55     #[cfg(not(windows))]
56     unimplemented!("Unsupported target OS");
57 }
58 #[cfg(feature = "Win32_System_Com")]
59 #[inline]
CreateXmlWriter<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>>(riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void, pmalloc: Param2) -> ::windows::runtime::Result<()>60 pub unsafe fn CreateXmlWriter<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>>(riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void, pmalloc: Param2) -> ::windows::runtime::Result<()> {
61     #[cfg(windows)]
62     {
63         #[link(name = "windows")]
64         extern "system" {
65             fn CreateXmlWriter(riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void, pmalloc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
66         }
67         CreateXmlWriter(::std::mem::transmute(riid), ::std::mem::transmute(ppvobject), pmalloc.into_param().abi()).ok()
68     }
69     #[cfg(not(windows))]
70     unimplemented!("Unsupported target OS");
71 }
72 #[cfg(feature = "Win32_System_Com")]
73 #[inline]
CreateXmlWriterOutputWithEncodingCodePage<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>>(poutputstream: Param0, pmalloc: Param1, nencodingcodepage: u32) -> ::windows::runtime::Result<::windows::runtime::IUnknown>74 pub unsafe fn CreateXmlWriterOutputWithEncodingCodePage<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>>(poutputstream: Param0, pmalloc: Param1, nencodingcodepage: u32) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
75     #[cfg(windows)]
76     {
77         #[link(name = "windows")]
78         extern "system" {
79             fn CreateXmlWriterOutputWithEncodingCodePage(poutputstream: ::windows::runtime::RawPtr, pmalloc: ::windows::runtime::RawPtr, nencodingcodepage: u32, ppoutput: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
80         }
81         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
82         CreateXmlWriterOutputWithEncodingCodePage(poutputstream.into_param().abi(), pmalloc.into_param().abi(), ::std::mem::transmute(nencodingcodepage), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
83     }
84     #[cfg(not(windows))]
85     unimplemented!("Unsupported target OS");
86 }
87 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
88 #[inline]
CreateXmlWriterOutputWithEncodingName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(poutputstream: Param0, pmalloc: Param1, pwszencodingname: Param2) -> ::windows::runtime::Result<::windows::runtime::IUnknown>89 pub unsafe fn CreateXmlWriterOutputWithEncodingName<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IMalloc>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(poutputstream: Param0, pmalloc: Param1, pwszencodingname: Param2) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
90     #[cfg(windows)]
91     {
92         #[link(name = "windows")]
93         extern "system" {
94             fn CreateXmlWriterOutputWithEncodingName(poutputstream: ::windows::runtime::RawPtr, pmalloc: ::windows::runtime::RawPtr, pwszencodingname: super::super::super::Foundation::PWSTR, ppoutput: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
95         }
96         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
97         CreateXmlWriterOutputWithEncodingName(poutputstream.into_param().abi(), pmalloc.into_param().abi(), pwszencodingname.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
98     }
99     #[cfg(not(windows))]
100     unimplemented!("Unsupported target OS");
101 }
102 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
103 #[repr(transparent)]
104 pub struct DtdProcessing(pub i32);
105 pub const DtdProcessing_Prohibit: DtdProcessing = DtdProcessing(0i32);
106 pub const DtdProcessing_Parse: DtdProcessing = DtdProcessing(1i32);
107 pub const _DtdProcessing_Last: DtdProcessing = DtdProcessing(1i32);
108 impl ::std::convert::From<i32> for DtdProcessing {
from(value: i32) -> Self109     fn from(value: i32) -> Self {
110         Self(value)
111     }
112 }
113 unsafe impl ::windows::runtime::Abi for DtdProcessing {
114     type Abi = Self;
115     type DefaultType = Self;
116 }
117 #[repr(transparent)]
118 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
119 pub struct IXmlReader(::windows::runtime::IUnknown);
120 impl IXmlReader {
SetInput<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pinput: Param0) -> ::windows::runtime::Result<()>121     pub unsafe fn SetInput<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pinput: Param0) -> ::windows::runtime::Result<()> {
122         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pinput.into_param().abi()).ok()
123     }
GetProperty(&self, nproperty: u32) -> ::windows::runtime::Result<isize>124     pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows::runtime::Result<isize> {
125         let mut result__: <isize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
126         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(nproperty), &mut result__).from_abi::<isize>(result__)
127     }
SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::runtime::Result<()>128     pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::runtime::Result<()> {
129         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(nproperty), ::std::mem::transmute(pvalue)).ok()
130     }
Read(&self) -> ::windows::runtime::Result<XmlNodeType>131     pub unsafe fn Read(&self) -> ::windows::runtime::Result<XmlNodeType> {
132         let mut result__: <XmlNodeType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
133         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XmlNodeType>(result__)
134     }
GetNodeType(&self) -> ::windows::runtime::Result<XmlNodeType>135     pub unsafe fn GetNodeType(&self) -> ::windows::runtime::Result<XmlNodeType> {
136         let mut result__: <XmlNodeType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
137         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<XmlNodeType>(result__)
138     }
MoveToFirstAttribute(&self) -> ::windows::runtime::Result<()>139     pub unsafe fn MoveToFirstAttribute(&self) -> ::windows::runtime::Result<()> {
140         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
141     }
MoveToNextAttribute(&self) -> ::windows::runtime::Result<()>142     pub unsafe fn MoveToNextAttribute(&self) -> ::windows::runtime::Result<()> {
143         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
144     }
145     #[cfg(feature = "Win32_Foundation")]
MoveToAttributeByName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszlocalname: Param0, pwsznamespaceuri: Param1) -> ::windows::runtime::Result<()>146     pub unsafe fn MoveToAttributeByName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszlocalname: Param0, pwsznamespaceuri: Param1) -> ::windows::runtime::Result<()> {
147         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi()).ok()
148     }
MoveToElement(&self) -> ::windows::runtime::Result<()>149     pub unsafe fn MoveToElement(&self) -> ::windows::runtime::Result<()> {
150         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
151     }
152     #[cfg(feature = "Win32_Foundation")]
GetQualifiedName(&self, ppwszqualifiedname: *mut super::super::super::Foundation::PWSTR, pcwchqualifiedname: *mut u32) -> ::windows::runtime::Result<()>153     pub unsafe fn GetQualifiedName(&self, ppwszqualifiedname: *mut super::super::super::Foundation::PWSTR, pcwchqualifiedname: *mut u32) -> ::windows::runtime::Result<()> {
154         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppwszqualifiedname), ::std::mem::transmute(pcwchqualifiedname)).ok()
155     }
156     #[cfg(feature = "Win32_Foundation")]
GetNamespaceUri(&self, ppwsznamespaceuri: *mut super::super::super::Foundation::PWSTR, pcwchnamespaceuri: *mut u32) -> ::windows::runtime::Result<()>157     pub unsafe fn GetNamespaceUri(&self, ppwsznamespaceuri: *mut super::super::super::Foundation::PWSTR, pcwchnamespaceuri: *mut u32) -> ::windows::runtime::Result<()> {
158         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppwsznamespaceuri), ::std::mem::transmute(pcwchnamespaceuri)).ok()
159     }
160     #[cfg(feature = "Win32_Foundation")]
GetLocalName(&self, ppwszlocalname: *mut super::super::super::Foundation::PWSTR, pcwchlocalname: *mut u32) -> ::windows::runtime::Result<()>161     pub unsafe fn GetLocalName(&self, ppwszlocalname: *mut super::super::super::Foundation::PWSTR, pcwchlocalname: *mut u32) -> ::windows::runtime::Result<()> {
162         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppwszlocalname), ::std::mem::transmute(pcwchlocalname)).ok()
163     }
164     #[cfg(feature = "Win32_Foundation")]
GetPrefix(&self, ppwszprefix: *mut super::super::super::Foundation::PWSTR, pcwchprefix: *mut u32) -> ::windows::runtime::Result<()>165     pub unsafe fn GetPrefix(&self, ppwszprefix: *mut super::super::super::Foundation::PWSTR, pcwchprefix: *mut u32) -> ::windows::runtime::Result<()> {
166         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppwszprefix), ::std::mem::transmute(pcwchprefix)).ok()
167     }
168     #[cfg(feature = "Win32_Foundation")]
GetValue(&self, ppwszvalue: *mut super::super::super::Foundation::PWSTR, pcwchvalue: *mut u32) -> ::windows::runtime::Result<()>169     pub unsafe fn GetValue(&self, ppwszvalue: *mut super::super::super::Foundation::PWSTR, pcwchvalue: *mut u32) -> ::windows::runtime::Result<()> {
170         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppwszvalue), ::std::mem::transmute(pcwchvalue)).ok()
171     }
172     #[cfg(feature = "Win32_Foundation")]
ReadValueChunk(&self, pwchbuffer: super::super::super::Foundation::PWSTR, cwchchunksize: u32, pcwchread: *mut u32) -> ::windows::runtime::Result<()>173     pub unsafe fn ReadValueChunk(&self, pwchbuffer: super::super::super::Foundation::PWSTR, cwchchunksize: u32, pcwchread: *mut u32) -> ::windows::runtime::Result<()> {
174         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwchbuffer), ::std::mem::transmute(cwchchunksize), ::std::mem::transmute(pcwchread)).ok()
175     }
176     #[cfg(feature = "Win32_Foundation")]
GetBaseUri(&self, ppwszbaseuri: *mut super::super::super::Foundation::PWSTR, pcwchbaseuri: *mut u32) -> ::windows::runtime::Result<()>177     pub unsafe fn GetBaseUri(&self, ppwszbaseuri: *mut super::super::super::Foundation::PWSTR, pcwchbaseuri: *mut u32) -> ::windows::runtime::Result<()> {
178         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppwszbaseuri), ::std::mem::transmute(pcwchbaseuri)).ok()
179     }
180     #[cfg(feature = "Win32_Foundation")]
IsDefault(&self) -> super::super::super::Foundation::BOOL181     pub unsafe fn IsDefault(&self) -> super::super::super::Foundation::BOOL {
182         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)))
183     }
184     #[cfg(feature = "Win32_Foundation")]
IsEmptyElement(&self) -> super::super::super::Foundation::BOOL185     pub unsafe fn IsEmptyElement(&self) -> super::super::super::Foundation::BOOL {
186         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)))
187     }
GetLineNumber(&self) -> ::windows::runtime::Result<u32>188     pub unsafe fn GetLineNumber(&self) -> ::windows::runtime::Result<u32> {
189         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
190         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
191     }
GetLinePosition(&self) -> ::windows::runtime::Result<u32>192     pub unsafe fn GetLinePosition(&self) -> ::windows::runtime::Result<u32> {
193         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
194         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
195     }
GetAttributeCount(&self) -> ::windows::runtime::Result<u32>196     pub unsafe fn GetAttributeCount(&self) -> ::windows::runtime::Result<u32> {
197         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
198         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
199     }
GetDepth(&self) -> ::windows::runtime::Result<u32>200     pub unsafe fn GetDepth(&self) -> ::windows::runtime::Result<u32> {
201         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
202         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
203     }
204     #[cfg(feature = "Win32_Foundation")]
IsEOF(&self) -> super::super::super::Foundation::BOOL205     pub unsafe fn IsEOF(&self) -> super::super::super::Foundation::BOOL {
206         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self)))
207     }
208 }
209 unsafe impl ::windows::runtime::Interface for IXmlReader {
210     type Vtable = IXmlReader_abi;
211     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1920597121, 28829, 16533, [182, 61, 105, 254, 75, 13, 144, 48]);
212 }
213 impl ::std::convert::From<IXmlReader> for ::windows::runtime::IUnknown {
from(value: IXmlReader) -> Self214     fn from(value: IXmlReader) -> Self {
215         unsafe { ::std::mem::transmute(value) }
216     }
217 }
218 impl ::std::convert::From<&IXmlReader> for ::windows::runtime::IUnknown {
from(value: &IXmlReader) -> Self219     fn from(value: &IXmlReader) -> Self {
220         ::std::convert::From::from(::std::clone::Clone::clone(value))
221     }
222 }
223 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXmlReader {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>224     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
225         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
226     }
227 }
228 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXmlReader {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>229     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
230         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
231     }
232 }
233 #[repr(C)]
234 #[doc(hidden)]
235 pub struct IXmlReader_abi(
236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinput: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
240     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nproperty: u32, ppvalue: *mut isize) -> ::windows::runtime::HRESULT,
241     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nproperty: u32, pvalue: isize) -> ::windows::runtime::HRESULT,
242     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnodetype: *mut XmlNodeType) -> ::windows::runtime::HRESULT,
243     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnodetype: *mut XmlNodeType) -> ::windows::runtime::HRESULT,
244     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
245     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
246     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszlocalname: super::super::super::Foundation::PWSTR, pwsznamespaceuri: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
247     #[cfg(not(feature = "Win32_Foundation"))] usize,
248     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
249     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppwszqualifiedname: *mut super::super::super::Foundation::PWSTR, pcwchqualifiedname: *mut u32) -> ::windows::runtime::HRESULT,
250     #[cfg(not(feature = "Win32_Foundation"))] usize,
251     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppwsznamespaceuri: *mut super::super::super::Foundation::PWSTR, pcwchnamespaceuri: *mut u32) -> ::windows::runtime::HRESULT,
252     #[cfg(not(feature = "Win32_Foundation"))] usize,
253     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppwszlocalname: *mut super::super::super::Foundation::PWSTR, pcwchlocalname: *mut u32) -> ::windows::runtime::HRESULT,
254     #[cfg(not(feature = "Win32_Foundation"))] usize,
255     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppwszprefix: *mut super::super::super::Foundation::PWSTR, pcwchprefix: *mut u32) -> ::windows::runtime::HRESULT,
256     #[cfg(not(feature = "Win32_Foundation"))] usize,
257     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppwszvalue: *mut super::super::super::Foundation::PWSTR, pcwchvalue: *mut u32) -> ::windows::runtime::HRESULT,
258     #[cfg(not(feature = "Win32_Foundation"))] usize,
259     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwchbuffer: super::super::super::Foundation::PWSTR, cwchchunksize: u32, pcwchread: *mut u32) -> ::windows::runtime::HRESULT,
260     #[cfg(not(feature = "Win32_Foundation"))] usize,
261     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppwszbaseuri: *mut super::super::super::Foundation::PWSTR, pcwchbaseuri: *mut u32) -> ::windows::runtime::HRESULT,
262     #[cfg(not(feature = "Win32_Foundation"))] usize,
263     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Foundation::BOOL,
264     #[cfg(not(feature = "Win32_Foundation"))] usize,
265     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Foundation::BOOL,
266     #[cfg(not(feature = "Win32_Foundation"))] usize,
267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnlinenumber: *mut u32) -> ::windows::runtime::HRESULT,
268     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnlineposition: *mut u32) -> ::windows::runtime::HRESULT,
269     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnattributecount: *mut u32) -> ::windows::runtime::HRESULT,
270     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pndepth: *mut u32) -> ::windows::runtime::HRESULT,
271     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Foundation::BOOL,
272     #[cfg(not(feature = "Win32_Foundation"))] usize,
273 );
274 #[repr(transparent)]
275 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
276 pub struct IXmlResolver(::windows::runtime::IUnknown);
277 impl IXmlResolver {
278     #[cfg(feature = "Win32_Foundation")]
ResolveUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszbaseuri: Param0, pwszpublicidentifier: Param1, pwszsystemidentifier: Param2) -> ::windows::runtime::Result<::windows::runtime::IUnknown>279     pub unsafe fn ResolveUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszbaseuri: Param0, pwszpublicidentifier: Param1, pwszsystemidentifier: Param2) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
280         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
281         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pwszbaseuri.into_param().abi(), pwszpublicidentifier.into_param().abi(), pwszsystemidentifier.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
282     }
283 }
284 unsafe impl ::windows::runtime::Interface for IXmlResolver {
285     type Vtable = IXmlResolver_abi;
286     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1920597122, 28829, 16533, [182, 61, 105, 254, 75, 13, 144, 48]);
287 }
288 impl ::std::convert::From<IXmlResolver> for ::windows::runtime::IUnknown {
from(value: IXmlResolver) -> Self289     fn from(value: IXmlResolver) -> Self {
290         unsafe { ::std::mem::transmute(value) }
291     }
292 }
293 impl ::std::convert::From<&IXmlResolver> for ::windows::runtime::IUnknown {
from(value: &IXmlResolver) -> Self294     fn from(value: &IXmlResolver) -> Self {
295         ::std::convert::From::from(::std::clone::Clone::clone(value))
296     }
297 }
298 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXmlResolver {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>299     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
300         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
301     }
302 }
303 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXmlResolver {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>304     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
305         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
306     }
307 }
308 #[repr(C)]
309 #[doc(hidden)]
310 pub struct IXmlResolver_abi(
311     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
312     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
313     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
314     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszbaseuri: super::super::super::Foundation::PWSTR, pwszpublicidentifier: super::super::super::Foundation::PWSTR, pwszsystemidentifier: super::super::super::Foundation::PWSTR, ppresolvedinput: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
315     #[cfg(not(feature = "Win32_Foundation"))] usize,
316 );
317 #[repr(transparent)]
318 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
319 pub struct IXmlWriter(::windows::runtime::IUnknown);
320 impl IXmlWriter {
SetOutput<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, poutput: Param0) -> ::windows::runtime::Result<()>321     pub unsafe fn SetOutput<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, poutput: Param0) -> ::windows::runtime::Result<()> {
322         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), poutput.into_param().abi()).ok()
323     }
GetProperty(&self, nproperty: u32) -> ::windows::runtime::Result<isize>324     pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows::runtime::Result<isize> {
325         let mut result__: <isize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
326         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(nproperty), &mut result__).from_abi::<isize>(result__)
327     }
SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::runtime::Result<()>328     pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::runtime::Result<()> {
329         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(nproperty), ::std::mem::transmute(pvalue)).ok()
330     }
331     #[cfg(feature = "Win32_Foundation")]
WriteAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()>332     pub unsafe fn WriteAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()> {
333         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok()
334     }
335     #[cfg(feature = "Win32_Foundation")]
WriteAttributeString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>( &self, pwszprefix: Param0, pwszlocalname: Param1, pwsznamespaceuri: Param2, pwszvalue: Param3, ) -> ::windows::runtime::Result<()>336     pub unsafe fn WriteAttributeString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(
337         &self,
338         pwszprefix: Param0,
339         pwszlocalname: Param1,
340         pwsznamespaceuri: Param2,
341         pwszvalue: Param3,
342     ) -> ::windows::runtime::Result<()> {
343         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pwszprefix.into_param().abi(), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi(), pwszvalue.into_param().abi()).ok()
344     }
345     #[cfg(feature = "Win32_Foundation")]
WriteCData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()>346     pub unsafe fn WriteCData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()> {
347         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pwsztext.into_param().abi()).ok()
348     }
WriteCharEntity(&self, wch: u16) -> ::windows::runtime::Result<()>349     pub unsafe fn WriteCharEntity(&self, wch: u16) -> ::windows::runtime::Result<()> {
350         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(wch)).ok()
351     }
352     #[cfg(feature = "Win32_Foundation")]
WriteChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()>353     pub unsafe fn WriteChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()> {
354         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pwch.into_param().abi(), ::std::mem::transmute(cwch)).ok()
355     }
356     #[cfg(feature = "Win32_Foundation")]
WriteComment<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszcomment: Param0) -> ::windows::runtime::Result<()>357     pub unsafe fn WriteComment<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszcomment: Param0) -> ::windows::runtime::Result<()> {
358         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pwszcomment.into_param().abi()).ok()
359     }
360     #[cfg(feature = "Win32_Foundation")]
WriteDocType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwszpublicid: Param1, pwszsystemid: Param2, pwszsubset: Param3) -> ::windows::runtime::Result<()>361     pub unsafe fn WriteDocType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwszpublicid: Param1, pwszsystemid: Param2, pwszsubset: Param3) -> ::windows::runtime::Result<()> {
362         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pwszname.into_param().abi(), pwszpublicid.into_param().abi(), pwszsystemid.into_param().abi(), pwszsubset.into_param().abi()).ok()
363     }
364     #[cfg(feature = "Win32_Foundation")]
WriteElementString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>( &self, pwszprefix: Param0, pwszlocalname: Param1, pwsznamespaceuri: Param2, pwszvalue: Param3, ) -> ::windows::runtime::Result<()>365     pub unsafe fn WriteElementString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(
366         &self,
367         pwszprefix: Param0,
368         pwszlocalname: Param1,
369         pwsznamespaceuri: Param2,
370         pwszvalue: Param3,
371     ) -> ::windows::runtime::Result<()> {
372         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pwszprefix.into_param().abi(), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi(), pwszvalue.into_param().abi()).ok()
373     }
WriteEndDocument(&self) -> ::windows::runtime::Result<()>374     pub unsafe fn WriteEndDocument(&self) -> ::windows::runtime::Result<()> {
375         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
376     }
WriteEndElement(&self) -> ::windows::runtime::Result<()>377     pub unsafe fn WriteEndElement(&self) -> ::windows::runtime::Result<()> {
378         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
379     }
380     #[cfg(feature = "Win32_Foundation")]
WriteEntityRef<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()>381     pub unsafe fn WriteEntityRef<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()> {
382         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pwszname.into_param().abi()).ok()
383     }
WriteFullEndElement(&self) -> ::windows::runtime::Result<()>384     pub unsafe fn WriteFullEndElement(&self) -> ::windows::runtime::Result<()> {
385         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok()
386     }
387     #[cfg(feature = "Win32_Foundation")]
WriteName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()>388     pub unsafe fn WriteName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()> {
389         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pwszname.into_param().abi()).ok()
390     }
391     #[cfg(feature = "Win32_Foundation")]
WriteNmToken<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsznmtoken: Param0) -> ::windows::runtime::Result<()>392     pub unsafe fn WriteNmToken<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsznmtoken: Param0) -> ::windows::runtime::Result<()> {
393         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pwsznmtoken.into_param().abi()).ok()
394     }
395     #[cfg(feature = "Win32_Foundation")]
WriteNode<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()>396     pub unsafe fn WriteNode<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()> {
397         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok()
398     }
399     #[cfg(feature = "Win32_Foundation")]
WriteNodeShallow<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()>400     pub unsafe fn WriteNodeShallow<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()> {
401         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok()
402     }
403     #[cfg(feature = "Win32_Foundation")]
WriteProcessingInstruction<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwsztext: Param1) -> ::windows::runtime::Result<()>404     pub unsafe fn WriteProcessingInstruction<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwsztext: Param1) -> ::windows::runtime::Result<()> {
405         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pwszname.into_param().abi(), pwsztext.into_param().abi()).ok()
406     }
407     #[cfg(feature = "Win32_Foundation")]
WriteQualifiedName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszlocalname: Param0, pwsznamespaceuri: Param1) -> ::windows::runtime::Result<()>408     pub unsafe fn WriteQualifiedName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszlocalname: Param0, pwsznamespaceuri: Param1) -> ::windows::runtime::Result<()> {
409         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi()).ok()
410     }
411     #[cfg(feature = "Win32_Foundation")]
WriteRaw<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszdata: Param0) -> ::windows::runtime::Result<()>412     pub unsafe fn WriteRaw<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszdata: Param0) -> ::windows::runtime::Result<()> {
413         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), pwszdata.into_param().abi()).ok()
414     }
415     #[cfg(feature = "Win32_Foundation")]
WriteRawChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()>416     pub unsafe fn WriteRawChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()> {
417         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), pwch.into_param().abi(), ::std::mem::transmute(cwch)).ok()
418     }
WriteStartDocument(&self, standalone: XmlStandalone) -> ::windows::runtime::Result<()>419     pub unsafe fn WriteStartDocument(&self, standalone: XmlStandalone) -> ::windows::runtime::Result<()> {
420         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(standalone)).ok()
421     }
422     #[cfg(feature = "Win32_Foundation")]
WriteStartElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszprefix: Param0, pwszlocalname: Param1, pwsznamespaceuri: Param2) -> ::windows::runtime::Result<()>423     pub unsafe fn WriteStartElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszprefix: Param0, pwszlocalname: Param1, pwsznamespaceuri: Param2) -> ::windows::runtime::Result<()> {
424         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), pwszprefix.into_param().abi(), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi()).ok()
425     }
426     #[cfg(feature = "Win32_Foundation")]
WriteString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()>427     pub unsafe fn WriteString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()> {
428         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), pwsztext.into_param().abi()).ok()
429     }
WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> ::windows::runtime::Result<()>430     pub unsafe fn WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> ::windows::runtime::Result<()> {
431         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(wchlow), ::std::mem::transmute(wchhigh)).ok()
432     }
433     #[cfg(feature = "Win32_Foundation")]
WriteWhitespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszwhitespace: Param0) -> ::windows::runtime::Result<()>434     pub unsafe fn WriteWhitespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszwhitespace: Param0) -> ::windows::runtime::Result<()> {
435         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pwszwhitespace.into_param().abi()).ok()
436     }
Flush(&self) -> ::windows::runtime::Result<()>437     pub unsafe fn Flush(&self) -> ::windows::runtime::Result<()> {
438         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self)).ok()
439     }
440 }
441 unsafe impl ::windows::runtime::Interface for IXmlWriter {
442     type Vtable = IXmlWriter_abi;
443     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1920597128, 28829, 16533, [182, 61, 105, 254, 75, 13, 144, 48]);
444 }
445 impl ::std::convert::From<IXmlWriter> for ::windows::runtime::IUnknown {
from(value: IXmlWriter) -> Self446     fn from(value: IXmlWriter) -> Self {
447         unsafe { ::std::mem::transmute(value) }
448     }
449 }
450 impl ::std::convert::From<&IXmlWriter> for ::windows::runtime::IUnknown {
from(value: &IXmlWriter) -> Self451     fn from(value: &IXmlWriter) -> Self {
452         ::std::convert::From::from(::std::clone::Clone::clone(value))
453     }
454 }
455 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXmlWriter {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>456     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
457         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
458     }
459 }
460 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXmlWriter {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>461     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
462         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
463     }
464 }
465 #[repr(C)]
466 #[doc(hidden)]
467 pub struct IXmlWriter_abi(
468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
469     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, poutput: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nproperty: u32, ppvalue: *mut isize) -> ::windows::runtime::HRESULT,
473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nproperty: u32, pvalue: isize) -> ::windows::runtime::HRESULT,
474     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preader: ::windows::runtime::RawPtr, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
475     #[cfg(not(feature = "Win32_Foundation"))] usize,
476     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszprefix: super::super::super::Foundation::PWSTR, pwszlocalname: super::super::super::Foundation::PWSTR, pwsznamespaceuri: super::super::super::Foundation::PWSTR, pwszvalue: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
477     #[cfg(not(feature = "Win32_Foundation"))] usize,
478     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwsztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
479     #[cfg(not(feature = "Win32_Foundation"))] usize,
480     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wch: u16) -> ::windows::runtime::HRESULT,
481     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwch: super::super::super::Foundation::PWSTR, cwch: u32) -> ::windows::runtime::HRESULT,
482     #[cfg(not(feature = "Win32_Foundation"))] usize,
483     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszcomment: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
484     #[cfg(not(feature = "Win32_Foundation"))] usize,
485     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR, pwszpublicid: super::super::super::Foundation::PWSTR, pwszsystemid: super::super::super::Foundation::PWSTR, pwszsubset: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
486     #[cfg(not(feature = "Win32_Foundation"))] usize,
487     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszprefix: super::super::super::Foundation::PWSTR, pwszlocalname: super::super::super::Foundation::PWSTR, pwsznamespaceuri: super::super::super::Foundation::PWSTR, pwszvalue: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
488     #[cfg(not(feature = "Win32_Foundation"))] usize,
489     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
490     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
491     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
492     #[cfg(not(feature = "Win32_Foundation"))] usize,
493     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
494     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
495     #[cfg(not(feature = "Win32_Foundation"))] usize,
496     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwsznmtoken: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
497     #[cfg(not(feature = "Win32_Foundation"))] usize,
498     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preader: ::windows::runtime::RawPtr, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
499     #[cfg(not(feature = "Win32_Foundation"))] usize,
500     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preader: ::windows::runtime::RawPtr, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
501     #[cfg(not(feature = "Win32_Foundation"))] usize,
502     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR, pwsztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
503     #[cfg(not(feature = "Win32_Foundation"))] usize,
504     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszlocalname: super::super::super::Foundation::PWSTR, pwsznamespaceuri: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
505     #[cfg(not(feature = "Win32_Foundation"))] usize,
506     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszdata: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
507     #[cfg(not(feature = "Win32_Foundation"))] usize,
508     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwch: super::super::super::Foundation::PWSTR, cwch: u32) -> ::windows::runtime::HRESULT,
509     #[cfg(not(feature = "Win32_Foundation"))] usize,
510     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, standalone: XmlStandalone) -> ::windows::runtime::HRESULT,
511     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszprefix: super::super::super::Foundation::PWSTR, pwszlocalname: super::super::super::Foundation::PWSTR, pwsznamespaceuri: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
512     #[cfg(not(feature = "Win32_Foundation"))] usize,
513     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwsztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
514     #[cfg(not(feature = "Win32_Foundation"))] usize,
515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wchlow: u16, wchhigh: u16) -> ::windows::runtime::HRESULT,
516     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszwhitespace: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
517     #[cfg(not(feature = "Win32_Foundation"))] usize,
518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
519 );
520 #[repr(transparent)]
521 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
522 pub struct IXmlWriterLite(::windows::runtime::IUnknown);
523 impl IXmlWriterLite {
SetOutput<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, poutput: Param0) -> ::windows::runtime::Result<()>524     pub unsafe fn SetOutput<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, poutput: Param0) -> ::windows::runtime::Result<()> {
525         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), poutput.into_param().abi()).ok()
526     }
GetProperty(&self, nproperty: u32) -> ::windows::runtime::Result<isize>527     pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows::runtime::Result<isize> {
528         let mut result__: <isize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
529         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(nproperty), &mut result__).from_abi::<isize>(result__)
530     }
SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::runtime::Result<()>531     pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows::runtime::Result<()> {
532         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(nproperty), ::std::mem::transmute(pvalue)).ok()
533     }
534     #[cfg(feature = "Win32_Foundation")]
WriteAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()>535     pub unsafe fn WriteAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()> {
536         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok()
537     }
538     #[cfg(feature = "Win32_Foundation")]
WriteAttributeString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32, pwszvalue: Param2, cwszvalue: u32) -> ::windows::runtime::Result<()>539     pub unsafe fn WriteAttributeString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32, pwszvalue: Param2, cwszvalue: u32) -> ::windows::runtime::Result<()> {
540         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pwszqname.into_param().abi(), ::std::mem::transmute(cwszqname), pwszvalue.into_param().abi(), ::std::mem::transmute(cwszvalue)).ok()
541     }
542     #[cfg(feature = "Win32_Foundation")]
WriteCData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()>543     pub unsafe fn WriteCData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()> {
544         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pwsztext.into_param().abi()).ok()
545     }
WriteCharEntity(&self, wch: u16) -> ::windows::runtime::Result<()>546     pub unsafe fn WriteCharEntity(&self, wch: u16) -> ::windows::runtime::Result<()> {
547         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(wch)).ok()
548     }
549     #[cfg(feature = "Win32_Foundation")]
WriteChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()>550     pub unsafe fn WriteChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()> {
551         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pwch.into_param().abi(), ::std::mem::transmute(cwch)).ok()
552     }
553     #[cfg(feature = "Win32_Foundation")]
WriteComment<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszcomment: Param0) -> ::windows::runtime::Result<()>554     pub unsafe fn WriteComment<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszcomment: Param0) -> ::windows::runtime::Result<()> {
555         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pwszcomment.into_param().abi()).ok()
556     }
557     #[cfg(feature = "Win32_Foundation")]
WriteDocType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwszpublicid: Param1, pwszsystemid: Param2, pwszsubset: Param3) -> ::windows::runtime::Result<()>558     pub unsafe fn WriteDocType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwszpublicid: Param1, pwszsystemid: Param2, pwszsubset: Param3) -> ::windows::runtime::Result<()> {
559         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pwszname.into_param().abi(), pwszpublicid.into_param().abi(), pwszsystemid.into_param().abi(), pwszsubset.into_param().abi()).ok()
560     }
561     #[cfg(feature = "Win32_Foundation")]
WriteElementString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32, pwszvalue: Param2) -> ::windows::runtime::Result<()>562     pub unsafe fn WriteElementString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32, pwszvalue: Param2) -> ::windows::runtime::Result<()> {
563         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pwszqname.into_param().abi(), ::std::mem::transmute(cwszqname), pwszvalue.into_param().abi()).ok()
564     }
WriteEndDocument(&self) -> ::windows::runtime::Result<()>565     pub unsafe fn WriteEndDocument(&self) -> ::windows::runtime::Result<()> {
566         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
567     }
568     #[cfg(feature = "Win32_Foundation")]
WriteEndElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32) -> ::windows::runtime::Result<()>569     pub unsafe fn WriteEndElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32) -> ::windows::runtime::Result<()> {
570         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pwszqname.into_param().abi(), ::std::mem::transmute(cwszqname)).ok()
571     }
572     #[cfg(feature = "Win32_Foundation")]
WriteEntityRef<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()>573     pub unsafe fn WriteEntityRef<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()> {
574         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pwszname.into_param().abi()).ok()
575     }
576     #[cfg(feature = "Win32_Foundation")]
WriteFullEndElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32) -> ::windows::runtime::Result<()>577     pub unsafe fn WriteFullEndElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32) -> ::windows::runtime::Result<()> {
578         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), pwszqname.into_param().abi(), ::std::mem::transmute(cwszqname)).ok()
579     }
580     #[cfg(feature = "Win32_Foundation")]
WriteName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()>581     pub unsafe fn WriteName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0) -> ::windows::runtime::Result<()> {
582         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pwszname.into_param().abi()).ok()
583     }
584     #[cfg(feature = "Win32_Foundation")]
WriteNmToken<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsznmtoken: Param0) -> ::windows::runtime::Result<()>585     pub unsafe fn WriteNmToken<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsznmtoken: Param0) -> ::windows::runtime::Result<()> {
586         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pwsznmtoken.into_param().abi()).ok()
587     }
588     #[cfg(feature = "Win32_Foundation")]
WriteNode<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()>589     pub unsafe fn WriteNode<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()> {
590         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok()
591     }
592     #[cfg(feature = "Win32_Foundation")]
WriteNodeShallow<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()>593     pub unsafe fn WriteNodeShallow<'a, Param0: ::windows::runtime::IntoParam<'a, IXmlReader>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, preader: Param0, fwritedefaultattributes: Param1) -> ::windows::runtime::Result<()> {
594         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok()
595     }
596     #[cfg(feature = "Win32_Foundation")]
WriteProcessingInstruction<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwsztext: Param1) -> ::windows::runtime::Result<()>597     pub unsafe fn WriteProcessingInstruction<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszname: Param0, pwsztext: Param1) -> ::windows::runtime::Result<()> {
598         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pwszname.into_param().abi(), pwsztext.into_param().abi()).ok()
599     }
600     #[cfg(feature = "Win32_Foundation")]
WriteRaw<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszdata: Param0) -> ::windows::runtime::Result<()>601     pub unsafe fn WriteRaw<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszdata: Param0) -> ::windows::runtime::Result<()> {
602         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), pwszdata.into_param().abi()).ok()
603     }
604     #[cfg(feature = "Win32_Foundation")]
WriteRawChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()>605     pub unsafe fn WriteRawChars<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwch: Param0, cwch: u32) -> ::windows::runtime::Result<()> {
606         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), pwch.into_param().abi(), ::std::mem::transmute(cwch)).ok()
607     }
WriteStartDocument(&self, standalone: XmlStandalone) -> ::windows::runtime::Result<()>608     pub unsafe fn WriteStartDocument(&self, standalone: XmlStandalone) -> ::windows::runtime::Result<()> {
609         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(standalone)).ok()
610     }
611     #[cfg(feature = "Win32_Foundation")]
WriteStartElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32) -> ::windows::runtime::Result<()>612     pub unsafe fn WriteStartElement<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszqname: Param0, cwszqname: u32) -> ::windows::runtime::Result<()> {
613         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), pwszqname.into_param().abi(), ::std::mem::transmute(cwszqname)).ok()
614     }
615     #[cfg(feature = "Win32_Foundation")]
WriteString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()>616     pub unsafe fn WriteString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwsztext: Param0) -> ::windows::runtime::Result<()> {
617         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), pwsztext.into_param().abi()).ok()
618     }
WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> ::windows::runtime::Result<()>619     pub unsafe fn WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> ::windows::runtime::Result<()> {
620         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(wchlow), ::std::mem::transmute(wchhigh)).ok()
621     }
622     #[cfg(feature = "Win32_Foundation")]
WriteWhitespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszwhitespace: Param0) -> ::windows::runtime::Result<()>623     pub unsafe fn WriteWhitespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwszwhitespace: Param0) -> ::windows::runtime::Result<()> {
624         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), pwszwhitespace.into_param().abi()).ok()
625     }
Flush(&self) -> ::windows::runtime::Result<()>626     pub unsafe fn Flush(&self) -> ::windows::runtime::Result<()> {
627         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self)).ok()
628     }
629 }
630 unsafe impl ::windows::runtime::Interface for IXmlWriterLite {
631     type Vtable = IXmlWriterLite_abi;
632     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2250544326, 4880, 19117, [179, 205, 45, 190, 235, 246, 112, 211]);
633 }
634 impl ::std::convert::From<IXmlWriterLite> for ::windows::runtime::IUnknown {
from(value: IXmlWriterLite) -> Self635     fn from(value: IXmlWriterLite) -> Self {
636         unsafe { ::std::mem::transmute(value) }
637     }
638 }
639 impl ::std::convert::From<&IXmlWriterLite> for ::windows::runtime::IUnknown {
from(value: &IXmlWriterLite) -> Self640     fn from(value: &IXmlWriterLite) -> Self {
641         ::std::convert::From::from(::std::clone::Clone::clone(value))
642     }
643 }
644 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IXmlWriterLite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>645     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
646         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
647     }
648 }
649 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IXmlWriterLite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>650     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
651         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
652     }
653 }
654 #[repr(C)]
655 #[doc(hidden)]
656 pub struct IXmlWriterLite_abi(
657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, poutput: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nproperty: u32, ppvalue: *mut isize) -> ::windows::runtime::HRESULT,
662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nproperty: u32, pvalue: isize) -> ::windows::runtime::HRESULT,
663     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preader: ::windows::runtime::RawPtr, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
664     #[cfg(not(feature = "Win32_Foundation"))] usize,
665     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszqname: super::super::super::Foundation::PWSTR, cwszqname: u32, pwszvalue: super::super::super::Foundation::PWSTR, cwszvalue: u32) -> ::windows::runtime::HRESULT,
666     #[cfg(not(feature = "Win32_Foundation"))] usize,
667     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwsztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
668     #[cfg(not(feature = "Win32_Foundation"))] usize,
669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wch: u16) -> ::windows::runtime::HRESULT,
670     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwch: super::super::super::Foundation::PWSTR, cwch: u32) -> ::windows::runtime::HRESULT,
671     #[cfg(not(feature = "Win32_Foundation"))] usize,
672     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszcomment: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
673     #[cfg(not(feature = "Win32_Foundation"))] usize,
674     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR, pwszpublicid: super::super::super::Foundation::PWSTR, pwszsystemid: super::super::super::Foundation::PWSTR, pwszsubset: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
675     #[cfg(not(feature = "Win32_Foundation"))] usize,
676     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszqname: super::super::super::Foundation::PWSTR, cwszqname: u32, pwszvalue: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
677     #[cfg(not(feature = "Win32_Foundation"))] usize,
678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
679     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszqname: super::super::super::Foundation::PWSTR, cwszqname: u32) -> ::windows::runtime::HRESULT,
680     #[cfg(not(feature = "Win32_Foundation"))] usize,
681     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
682     #[cfg(not(feature = "Win32_Foundation"))] usize,
683     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszqname: super::super::super::Foundation::PWSTR, cwszqname: u32) -> ::windows::runtime::HRESULT,
684     #[cfg(not(feature = "Win32_Foundation"))] usize,
685     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
686     #[cfg(not(feature = "Win32_Foundation"))] usize,
687     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwsznmtoken: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
688     #[cfg(not(feature = "Win32_Foundation"))] usize,
689     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preader: ::windows::runtime::RawPtr, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
690     #[cfg(not(feature = "Win32_Foundation"))] usize,
691     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preader: ::windows::runtime::RawPtr, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
692     #[cfg(not(feature = "Win32_Foundation"))] usize,
693     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszname: super::super::super::Foundation::PWSTR, pwsztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
694     #[cfg(not(feature = "Win32_Foundation"))] usize,
695     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszdata: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
696     #[cfg(not(feature = "Win32_Foundation"))] usize,
697     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwch: super::super::super::Foundation::PWSTR, cwch: u32) -> ::windows::runtime::HRESULT,
698     #[cfg(not(feature = "Win32_Foundation"))] usize,
699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, standalone: XmlStandalone) -> ::windows::runtime::HRESULT,
700     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszqname: super::super::super::Foundation::PWSTR, cwszqname: u32) -> ::windows::runtime::HRESULT,
701     #[cfg(not(feature = "Win32_Foundation"))] usize,
702     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwsztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
703     #[cfg(not(feature = "Win32_Foundation"))] usize,
704     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wchlow: u16, wchhigh: u16) -> ::windows::runtime::HRESULT,
705     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwszwhitespace: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
706     #[cfg(not(feature = "Win32_Foundation"))] usize,
707     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
708 );
709 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
710 #[repr(transparent)]
711 pub struct XmlConformanceLevel(pub i32);
712 pub const XmlConformanceLevel_Auto: XmlConformanceLevel = XmlConformanceLevel(0i32);
713 pub const XmlConformanceLevel_Fragment: XmlConformanceLevel = XmlConformanceLevel(1i32);
714 pub const XmlConformanceLevel_Document: XmlConformanceLevel = XmlConformanceLevel(2i32);
715 pub const _XmlConformanceLevel_Last: XmlConformanceLevel = XmlConformanceLevel(2i32);
716 impl ::std::convert::From<i32> for XmlConformanceLevel {
from(value: i32) -> Self717     fn from(value: i32) -> Self {
718         Self(value)
719     }
720 }
721 unsafe impl ::windows::runtime::Abi for XmlConformanceLevel {
722     type Abi = Self;
723     type DefaultType = Self;
724 }
725 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
726 #[repr(transparent)]
727 pub struct XmlError(pub i32);
728 pub const MX_E_MX: XmlError = XmlError(-1072894464i32);
729 pub const MX_E_INPUTEND: XmlError = XmlError(-1072894463i32);
730 pub const MX_E_ENCODING: XmlError = XmlError(-1072894462i32);
731 pub const MX_E_ENCODINGSWITCH: XmlError = XmlError(-1072894461i32);
732 pub const MX_E_ENCODINGSIGNATURE: XmlError = XmlError(-1072894460i32);
733 pub const WC_E_WC: XmlError = XmlError(-1072894432i32);
734 pub const WC_E_WHITESPACE: XmlError = XmlError(-1072894431i32);
735 pub const WC_E_SEMICOLON: XmlError = XmlError(-1072894430i32);
736 pub const WC_E_GREATERTHAN: XmlError = XmlError(-1072894429i32);
737 pub const WC_E_QUOTE: XmlError = XmlError(-1072894428i32);
738 pub const WC_E_EQUAL: XmlError = XmlError(-1072894427i32);
739 pub const WC_E_LESSTHAN: XmlError = XmlError(-1072894426i32);
740 pub const WC_E_HEXDIGIT: XmlError = XmlError(-1072894425i32);
741 pub const WC_E_DIGIT: XmlError = XmlError(-1072894424i32);
742 pub const WC_E_LEFTBRACKET: XmlError = XmlError(-1072894423i32);
743 pub const WC_E_LEFTPAREN: XmlError = XmlError(-1072894422i32);
744 pub const WC_E_XMLCHARACTER: XmlError = XmlError(-1072894421i32);
745 pub const WC_E_NAMECHARACTER: XmlError = XmlError(-1072894420i32);
746 pub const WC_E_SYNTAX: XmlError = XmlError(-1072894419i32);
747 pub const WC_E_CDSECT: XmlError = XmlError(-1072894418i32);
748 pub const WC_E_COMMENT: XmlError = XmlError(-1072894417i32);
749 pub const WC_E_CONDSECT: XmlError = XmlError(-1072894416i32);
750 pub const WC_E_DECLATTLIST: XmlError = XmlError(-1072894415i32);
751 pub const WC_E_DECLDOCTYPE: XmlError = XmlError(-1072894414i32);
752 pub const WC_E_DECLELEMENT: XmlError = XmlError(-1072894413i32);
753 pub const WC_E_DECLENTITY: XmlError = XmlError(-1072894412i32);
754 pub const WC_E_DECLNOTATION: XmlError = XmlError(-1072894411i32);
755 pub const WC_E_NDATA: XmlError = XmlError(-1072894410i32);
756 pub const WC_E_PUBLIC: XmlError = XmlError(-1072894409i32);
757 pub const WC_E_SYSTEM: XmlError = XmlError(-1072894408i32);
758 pub const WC_E_NAME: XmlError = XmlError(-1072894407i32);
759 pub const WC_E_ROOTELEMENT: XmlError = XmlError(-1072894406i32);
760 pub const WC_E_ELEMENTMATCH: XmlError = XmlError(-1072894405i32);
761 pub const WC_E_UNIQUEATTRIBUTE: XmlError = XmlError(-1072894404i32);
762 pub const WC_E_TEXTXMLDECL: XmlError = XmlError(-1072894403i32);
763 pub const WC_E_LEADINGXML: XmlError = XmlError(-1072894402i32);
764 pub const WC_E_TEXTDECL: XmlError = XmlError(-1072894401i32);
765 pub const WC_E_XMLDECL: XmlError = XmlError(-1072894400i32);
766 pub const WC_E_ENCNAME: XmlError = XmlError(-1072894399i32);
767 pub const WC_E_PUBLICID: XmlError = XmlError(-1072894398i32);
768 pub const WC_E_PESINTERNALSUBSET: XmlError = XmlError(-1072894397i32);
769 pub const WC_E_PESBETWEENDECLS: XmlError = XmlError(-1072894396i32);
770 pub const WC_E_NORECURSION: XmlError = XmlError(-1072894395i32);
771 pub const WC_E_ENTITYCONTENT: XmlError = XmlError(-1072894394i32);
772 pub const WC_E_UNDECLAREDENTITY: XmlError = XmlError(-1072894393i32);
773 pub const WC_E_PARSEDENTITY: XmlError = XmlError(-1072894392i32);
774 pub const WC_E_NOEXTERNALENTITYREF: XmlError = XmlError(-1072894391i32);
775 pub const WC_E_PI: XmlError = XmlError(-1072894390i32);
776 pub const WC_E_SYSTEMID: XmlError = XmlError(-1072894389i32);
777 pub const WC_E_QUESTIONMARK: XmlError = XmlError(-1072894388i32);
778 pub const WC_E_CDSECTEND: XmlError = XmlError(-1072894387i32);
779 pub const WC_E_MOREDATA: XmlError = XmlError(-1072894386i32);
780 pub const WC_E_DTDPROHIBITED: XmlError = XmlError(-1072894385i32);
781 pub const WC_E_INVALIDXMLSPACE: XmlError = XmlError(-1072894384i32);
782 pub const NC_E_NC: XmlError = XmlError(-1072894368i32);
783 pub const NC_E_QNAMECHARACTER: XmlError = XmlError(-1072894367i32);
784 pub const NC_E_QNAMECOLON: XmlError = XmlError(-1072894366i32);
785 pub const NC_E_NAMECOLON: XmlError = XmlError(-1072894365i32);
786 pub const NC_E_DECLAREDPREFIX: XmlError = XmlError(-1072894364i32);
787 pub const NC_E_UNDECLAREDPREFIX: XmlError = XmlError(-1072894363i32);
788 pub const NC_E_EMPTYURI: XmlError = XmlError(-1072894362i32);
789 pub const NC_E_XMLPREFIXRESERVED: XmlError = XmlError(-1072894361i32);
790 pub const NC_E_XMLNSPREFIXRESERVED: XmlError = XmlError(-1072894360i32);
791 pub const NC_E_XMLURIRESERVED: XmlError = XmlError(-1072894359i32);
792 pub const NC_E_XMLNSURIRESERVED: XmlError = XmlError(-1072894358i32);
793 pub const SC_E_SC: XmlError = XmlError(-1072894336i32);
794 pub const SC_E_MAXELEMENTDEPTH: XmlError = XmlError(-1072894335i32);
795 pub const SC_E_MAXENTITYEXPANSION: XmlError = XmlError(-1072894334i32);
796 pub const WR_E_WR: XmlError = XmlError(-1072894208i32);
797 pub const WR_E_NONWHITESPACE: XmlError = XmlError(-1072894207i32);
798 pub const WR_E_NSPREFIXDECLARED: XmlError = XmlError(-1072894206i32);
799 pub const WR_E_NSPREFIXWITHEMPTYNSURI: XmlError = XmlError(-1072894205i32);
800 pub const WR_E_DUPLICATEATTRIBUTE: XmlError = XmlError(-1072894204i32);
801 pub const WR_E_XMLNSPREFIXDECLARATION: XmlError = XmlError(-1072894203i32);
802 pub const WR_E_XMLPREFIXDECLARATION: XmlError = XmlError(-1072894202i32);
803 pub const WR_E_XMLURIDECLARATION: XmlError = XmlError(-1072894201i32);
804 pub const WR_E_XMLNSURIDECLARATION: XmlError = XmlError(-1072894200i32);
805 pub const WR_E_NAMESPACEUNDECLARED: XmlError = XmlError(-1072894199i32);
806 pub const WR_E_INVALIDXMLSPACE: XmlError = XmlError(-1072894198i32);
807 pub const WR_E_INVALIDACTION: XmlError = XmlError(-1072894197i32);
808 pub const WR_E_INVALIDSURROGATEPAIR: XmlError = XmlError(-1072894196i32);
809 pub const XML_E_INVALID_DECIMAL: XmlError = XmlError(-1072898019i32);
810 pub const XML_E_INVALID_HEXIDECIMAL: XmlError = XmlError(-1072898018i32);
811 pub const XML_E_INVALID_UNICODE: XmlError = XmlError(-1072898017i32);
812 pub const XML_E_INVALIDENCODING: XmlError = XmlError(-1072897938i32);
813 impl ::std::convert::From<i32> for XmlError {
from(value: i32) -> Self814     fn from(value: i32) -> Self {
815         Self(value)
816     }
817 }
818 unsafe impl ::windows::runtime::Abi for XmlError {
819     type Abi = Self;
820     type DefaultType = Self;
821 }
822 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
823 #[repr(transparent)]
824 pub struct XmlNodeType(pub i32);
825 pub const XmlNodeType_None: XmlNodeType = XmlNodeType(0i32);
826 pub const XmlNodeType_Element: XmlNodeType = XmlNodeType(1i32);
827 pub const XmlNodeType_Attribute: XmlNodeType = XmlNodeType(2i32);
828 pub const XmlNodeType_Text: XmlNodeType = XmlNodeType(3i32);
829 pub const XmlNodeType_CDATA: XmlNodeType = XmlNodeType(4i32);
830 pub const XmlNodeType_ProcessingInstruction: XmlNodeType = XmlNodeType(7i32);
831 pub const XmlNodeType_Comment: XmlNodeType = XmlNodeType(8i32);
832 pub const XmlNodeType_DocumentType: XmlNodeType = XmlNodeType(10i32);
833 pub const XmlNodeType_Whitespace: XmlNodeType = XmlNodeType(13i32);
834 pub const XmlNodeType_EndElement: XmlNodeType = XmlNodeType(15i32);
835 pub const XmlNodeType_XmlDeclaration: XmlNodeType = XmlNodeType(17i32);
836 pub const _XmlNodeType_Last: XmlNodeType = XmlNodeType(17i32);
837 impl ::std::convert::From<i32> for XmlNodeType {
from(value: i32) -> Self838     fn from(value: i32) -> Self {
839         Self(value)
840     }
841 }
842 unsafe impl ::windows::runtime::Abi for XmlNodeType {
843     type Abi = Self;
844     type DefaultType = Self;
845 }
846 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
847 #[repr(transparent)]
848 pub struct XmlReadState(pub i32);
849 pub const XmlReadState_Initial: XmlReadState = XmlReadState(0i32);
850 pub const XmlReadState_Interactive: XmlReadState = XmlReadState(1i32);
851 pub const XmlReadState_Error: XmlReadState = XmlReadState(2i32);
852 pub const XmlReadState_EndOfFile: XmlReadState = XmlReadState(3i32);
853 pub const XmlReadState_Closed: XmlReadState = XmlReadState(4i32);
854 impl ::std::convert::From<i32> for XmlReadState {
from(value: i32) -> Self855     fn from(value: i32) -> Self {
856         Self(value)
857     }
858 }
859 unsafe impl ::windows::runtime::Abi for XmlReadState {
860     type Abi = Self;
861     type DefaultType = Self;
862 }
863 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
864 #[repr(transparent)]
865 pub struct XmlReaderProperty(pub i32);
866 pub const XmlReaderProperty_MultiLanguage: XmlReaderProperty = XmlReaderProperty(0i32);
867 pub const XmlReaderProperty_ConformanceLevel: XmlReaderProperty = XmlReaderProperty(1i32);
868 pub const XmlReaderProperty_RandomAccess: XmlReaderProperty = XmlReaderProperty(2i32);
869 pub const XmlReaderProperty_XmlResolver: XmlReaderProperty = XmlReaderProperty(3i32);
870 pub const XmlReaderProperty_DtdProcessing: XmlReaderProperty = XmlReaderProperty(4i32);
871 pub const XmlReaderProperty_ReadState: XmlReaderProperty = XmlReaderProperty(5i32);
872 pub const XmlReaderProperty_MaxElementDepth: XmlReaderProperty = XmlReaderProperty(6i32);
873 pub const XmlReaderProperty_MaxEntityExpansion: XmlReaderProperty = XmlReaderProperty(7i32);
874 pub const _XmlReaderProperty_Last: XmlReaderProperty = XmlReaderProperty(7i32);
875 impl ::std::convert::From<i32> for XmlReaderProperty {
from(value: i32) -> Self876     fn from(value: i32) -> Self {
877         Self(value)
878     }
879 }
880 unsafe impl ::windows::runtime::Abi for XmlReaderProperty {
881     type Abi = Self;
882     type DefaultType = Self;
883 }
884 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
885 #[repr(transparent)]
886 pub struct XmlStandalone(pub i32);
887 pub const XmlStandalone_Omit: XmlStandalone = XmlStandalone(0i32);
888 pub const XmlStandalone_Yes: XmlStandalone = XmlStandalone(1i32);
889 pub const XmlStandalone_No: XmlStandalone = XmlStandalone(2i32);
890 pub const _XmlStandalone_Last: XmlStandalone = XmlStandalone(2i32);
891 impl ::std::convert::From<i32> for XmlStandalone {
from(value: i32) -> Self892     fn from(value: i32) -> Self {
893         Self(value)
894     }
895 }
896 unsafe impl ::windows::runtime::Abi for XmlStandalone {
897     type Abi = Self;
898     type DefaultType = Self;
899 }
900 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
901 #[repr(transparent)]
902 pub struct XmlWriterProperty(pub i32);
903 pub const XmlWriterProperty_MultiLanguage: XmlWriterProperty = XmlWriterProperty(0i32);
904 pub const XmlWriterProperty_Indent: XmlWriterProperty = XmlWriterProperty(1i32);
905 pub const XmlWriterProperty_ByteOrderMark: XmlWriterProperty = XmlWriterProperty(2i32);
906 pub const XmlWriterProperty_OmitXmlDeclaration: XmlWriterProperty = XmlWriterProperty(3i32);
907 pub const XmlWriterProperty_ConformanceLevel: XmlWriterProperty = XmlWriterProperty(4i32);
908 pub const XmlWriterProperty_CompactEmptyElement: XmlWriterProperty = XmlWriterProperty(5i32);
909 pub const _XmlWriterProperty_Last: XmlWriterProperty = XmlWriterProperty(5i32);
910 impl ::std::convert::From<i32> for XmlWriterProperty {
from(value: i32) -> Self911     fn from(value: i32) -> Self {
912         Self(value)
913     }
914 }
915 unsafe impl ::windows::runtime::Abi for XmlWriterProperty {
916     type Abi = Self;
917     type DefaultType = Self;
918 }
919 pub const _IID_IXmlReader: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1920597121, 28829, 16533, [182, 61, 105, 254, 75, 13, 144, 48]);
920 pub const _IID_IXmlResolver: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1920597122, 28829, 16533, [182, 61, 105, 254, 75, 13, 144, 48]);
921 pub const _IID_IXmlWriter: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1920597128, 28829, 16533, [182, 61, 105, 254, 75, 13, 144, 48]);
922