| #[doc = "Required features: `\"Win32_System_Com\"`"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn CreateXmlReader<P0>(riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void, pmalloc: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::super::System::Com::IMalloc>, |
| { |
| ::windows_targets::link!("xmllite.dll" "system" fn CreateXmlReader(riid : *const ::windows_core::GUID, ppvobject : *mut *mut ::core::ffi::c_void, pmalloc : * mut::core::ffi::c_void) -> ::windows_core::HRESULT); |
| CreateXmlReader(riid, ppvobject, pmalloc.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn CreateXmlReaderInputWithEncodingCodePage<P0, P1, P2, P3>(pinputstream: P0, pmalloc: P1, nencodingcodepage: u32, fencodinghint: P2, pwszbaseuri: P3) -> ::windows_core::Result<::windows_core::IUnknown> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| P1: ::windows_core::IntoParam<super::super::super::System::Com::IMalloc>, |
| P2: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("xmllite.dll" "system" fn CreateXmlReaderInputWithEncodingCodePage(pinputstream : * mut::core::ffi::c_void, pmalloc : * mut::core::ffi::c_void, nencodingcodepage : u32, fencodinghint : super::super::super::Foundation:: BOOL, pwszbaseuri : ::windows_core::PCWSTR, ppinput : *mut * mut::core::ffi::c_void) -> ::windows_core::HRESULT); |
| let mut result__ = ::std::mem::zeroed(); |
| CreateXmlReaderInputWithEncodingCodePage(pinputstream.into_param().abi(), pmalloc.into_param().abi(), nencodingcodepage, fencodinghint.into_param().abi(), pwszbaseuri.into_param().abi(), &mut result__).from_abi(result__) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn CreateXmlReaderInputWithEncodingName<P0, P1, P2, P3, P4>(pinputstream: P0, pmalloc: P1, pwszencodingname: P2, fencodinghint: P3, pwszbaseuri: P4) -> ::windows_core::Result<::windows_core::IUnknown> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| P1: ::windows_core::IntoParam<super::super::super::System::Com::IMalloc>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| P4: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("xmllite.dll" "system" fn CreateXmlReaderInputWithEncodingName(pinputstream : * mut::core::ffi::c_void, pmalloc : * mut::core::ffi::c_void, pwszencodingname : ::windows_core::PCWSTR, fencodinghint : super::super::super::Foundation:: BOOL, pwszbaseuri : ::windows_core::PCWSTR, ppinput : *mut * mut::core::ffi::c_void) -> ::windows_core::HRESULT); |
| let mut result__ = ::std::mem::zeroed(); |
| 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(result__) |
| } |
| #[doc = "Required features: `\"Win32_System_Com\"`"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn CreateXmlWriter<P0>(riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void, pmalloc: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<super::super::super::System::Com::IMalloc>, |
| { |
| ::windows_targets::link!("xmllite.dll" "system" fn CreateXmlWriter(riid : *const ::windows_core::GUID, ppvobject : *mut *mut ::core::ffi::c_void, pmalloc : * mut::core::ffi::c_void) -> ::windows_core::HRESULT); |
| CreateXmlWriter(riid, ppvobject, pmalloc.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_System_Com\"`"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn CreateXmlWriterOutputWithEncodingCodePage<P0, P1>(poutputstream: P0, pmalloc: P1, nencodingcodepage: u32) -> ::windows_core::Result<::windows_core::IUnknown> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| P1: ::windows_core::IntoParam<super::super::super::System::Com::IMalloc>, |
| { |
| ::windows_targets::link!("xmllite.dll" "system" fn CreateXmlWriterOutputWithEncodingCodePage(poutputstream : * mut::core::ffi::c_void, pmalloc : * mut::core::ffi::c_void, nencodingcodepage : u32, ppoutput : *mut * mut::core::ffi::c_void) -> ::windows_core::HRESULT); |
| let mut result__ = ::std::mem::zeroed(); |
| CreateXmlWriterOutputWithEncodingCodePage(poutputstream.into_param().abi(), pmalloc.into_param().abi(), nencodingcodepage, &mut result__).from_abi(result__) |
| } |
| #[doc = "Required features: `\"Win32_System_Com\"`"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn CreateXmlWriterOutputWithEncodingName<P0, P1, P2>(poutputstream: P0, pmalloc: P1, pwszencodingname: P2) -> ::windows_core::Result<::windows_core::IUnknown> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| P1: ::windows_core::IntoParam<super::super::super::System::Com::IMalloc>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("xmllite.dll" "system" fn CreateXmlWriterOutputWithEncodingName(poutputstream : * mut::core::ffi::c_void, pmalloc : * mut::core::ffi::c_void, pwszencodingname : ::windows_core::PCWSTR, ppoutput : *mut * mut::core::ffi::c_void) -> ::windows_core::HRESULT); |
| let mut result__ = ::std::mem::zeroed(); |
| CreateXmlWriterOutputWithEncodingName(poutputstream.into_param().abi(), pmalloc.into_param().abi(), pwszencodingname.into_param().abi(), &mut result__).from_abi(result__) |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
| pub struct IXmlReader(::windows_core::IUnknown); |
| impl IXmlReader { |
| pub unsafe fn SetInput<P0>(&self, pinput: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| { |
| (::windows_core::Interface::vtable(self).SetInput)(::windows_core::Interface::as_raw(self), pinput.into_param().abi()).ok() |
| } |
| pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows_core::Result<isize> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetProperty)(::windows_core::Interface::as_raw(self), nproperty, &mut result__).from_abi(result__) |
| } |
| pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).SetProperty)(::windows_core::Interface::as_raw(self), nproperty, pvalue).ok() |
| } |
| pub unsafe fn Read(&self, pnodetype: ::core::option::Option<*mut XmlNodeType>) -> ::windows_core::HRESULT { |
| (::windows_core::Interface::vtable(self).Read)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pnodetype.unwrap_or(::std::ptr::null_mut()))) |
| } |
| pub unsafe fn GetNodeType(&self) -> ::windows_core::Result<XmlNodeType> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetNodeType)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn MoveToFirstAttribute(&self) -> ::windows_core::HRESULT { |
| (::windows_core::Interface::vtable(self).MoveToFirstAttribute)(::windows_core::Interface::as_raw(self)) |
| } |
| pub unsafe fn MoveToNextAttribute(&self) -> ::windows_core::HRESULT { |
| (::windows_core::Interface::vtable(self).MoveToNextAttribute)(::windows_core::Interface::as_raw(self)) |
| } |
| pub unsafe fn MoveToAttributeByName<P0, P1>(&self, pwszlocalname: P0, pwsznamespaceuri: P1) -> ::windows_core::HRESULT |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).MoveToAttributeByName)(::windows_core::Interface::as_raw(self), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi()) |
| } |
| pub unsafe fn MoveToElement(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).MoveToElement)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| pub unsafe fn GetQualifiedName(&self, ppwszqualifiedname: *mut ::windows_core::PCWSTR, pcwchqualifiedname: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).GetQualifiedName)(::windows_core::Interface::as_raw(self), ppwszqualifiedname, ::core::mem::transmute(pcwchqualifiedname.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| pub unsafe fn GetNamespaceUri(&self, ppwsznamespaceuri: *mut ::windows_core::PCWSTR, pcwchnamespaceuri: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).GetNamespaceUri)(::windows_core::Interface::as_raw(self), ppwsznamespaceuri, ::core::mem::transmute(pcwchnamespaceuri.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| pub unsafe fn GetLocalName(&self, ppwszlocalname: *mut ::windows_core::PCWSTR, pcwchlocalname: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).GetLocalName)(::windows_core::Interface::as_raw(self), ppwszlocalname, ::core::mem::transmute(pcwchlocalname.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| pub unsafe fn GetPrefix(&self, ppwszprefix: *mut ::windows_core::PCWSTR, pcwchprefix: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).GetPrefix)(::windows_core::Interface::as_raw(self), ppwszprefix, ::core::mem::transmute(pcwchprefix.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| pub unsafe fn GetValue(&self, ppwszvalue: *mut ::windows_core::PCWSTR, pcwchvalue: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).GetValue)(::windows_core::Interface::as_raw(self), ppwszvalue, ::core::mem::transmute(pcwchvalue.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| pub unsafe fn ReadValueChunk(&self, pwchbuffer: &mut [u16], pcwchread: *mut u32) -> ::windows_core::HRESULT { |
| (::windows_core::Interface::vtable(self).ReadValueChunk)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwchbuffer.as_ptr()), pwchbuffer.len().try_into().unwrap(), pcwchread) |
| } |
| pub unsafe fn GetBaseUri(&self, ppwszbaseuri: *mut ::windows_core::PCWSTR, pcwchbaseuri: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).GetBaseUri)(::windows_core::Interface::as_raw(self), ppwszbaseuri, ::core::mem::transmute(pcwchbaseuri.unwrap_or(::std::ptr::null_mut()))).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn IsDefault(&self) -> super::super::super::Foundation::BOOL { |
| (::windows_core::Interface::vtable(self).IsDefault)(::windows_core::Interface::as_raw(self)) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn IsEmptyElement(&self) -> super::super::super::Foundation::BOOL { |
| (::windows_core::Interface::vtable(self).IsEmptyElement)(::windows_core::Interface::as_raw(self)) |
| } |
| pub unsafe fn GetLineNumber(&self) -> ::windows_core::Result<u32> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetLineNumber)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn GetLinePosition(&self) -> ::windows_core::Result<u32> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetLinePosition)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn GetAttributeCount(&self) -> ::windows_core::Result<u32> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetAttributeCount)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn GetDepth(&self) -> ::windows_core::Result<u32> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetDepth)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn IsEOF(&self) -> super::super::super::Foundation::BOOL { |
| (::windows_core::Interface::vtable(self).IsEOF)(::windows_core::Interface::as_raw(self)) |
| } |
| } |
| ::windows_core::imp::interface_hierarchy!(IXmlReader, ::windows_core::IUnknown); |
| unsafe impl ::windows_core::Interface for IXmlReader { |
| type Vtable = IXmlReader_Vtbl; |
| } |
| unsafe impl ::windows_core::ComInterface for IXmlReader { |
| const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7279fc81_709d_4095_b63d_69fe4b0d9030); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IXmlReader_Vtbl { |
| pub base__: ::windows_core::IUnknown_Vtbl, |
| pub SetInput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinput: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nproperty: u32, ppvalue: *mut isize) -> ::windows_core::HRESULT, |
| pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nproperty: u32, pvalue: isize) -> ::windows_core::HRESULT, |
| pub Read: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodetype: *mut XmlNodeType) -> ::windows_core::HRESULT, |
| pub GetNodeType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnodetype: *mut XmlNodeType) -> ::windows_core::HRESULT, |
| pub MoveToFirstAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub MoveToNextAttribute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub MoveToAttributeByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszlocalname: ::windows_core::PCWSTR, pwsznamespaceuri: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub MoveToElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub GetQualifiedName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwszqualifiedname: *mut ::windows_core::PCWSTR, pcwchqualifiedname: *mut u32) -> ::windows_core::HRESULT, |
| pub GetNamespaceUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwsznamespaceuri: *mut ::windows_core::PCWSTR, pcwchnamespaceuri: *mut u32) -> ::windows_core::HRESULT, |
| pub GetLocalName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwszlocalname: *mut ::windows_core::PCWSTR, pcwchlocalname: *mut u32) -> ::windows_core::HRESULT, |
| pub GetPrefix: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwszprefix: *mut ::windows_core::PCWSTR, pcwchprefix: *mut u32) -> ::windows_core::HRESULT, |
| pub GetValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwszvalue: *mut ::windows_core::PCWSTR, pcwchvalue: *mut u32) -> ::windows_core::HRESULT, |
| pub ReadValueChunk: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwchbuffer: ::windows_core::PWSTR, cwchchunksize: u32, pcwchread: *mut u32) -> ::windows_core::HRESULT, |
| pub GetBaseUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppwszbaseuri: *mut ::windows_core::PCWSTR, pcwchbaseuri: *mut u32) -> ::windows_core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub IsDefault: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| IsDefault: usize, |
| #[cfg(feature = "Win32_Foundation")] |
| pub IsEmptyElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| IsEmptyElement: usize, |
| pub GetLineNumber: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnlinenumber: *mut u32) -> ::windows_core::HRESULT, |
| pub GetLinePosition: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnlineposition: *mut u32) -> ::windows_core::HRESULT, |
| pub GetAttributeCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnattributecount: *mut u32) -> ::windows_core::HRESULT, |
| pub GetDepth: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pndepth: *mut u32) -> ::windows_core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub IsEOF: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| IsEOF: usize, |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
| pub struct IXmlResolver(::windows_core::IUnknown); |
| impl IXmlResolver { |
| pub unsafe fn ResolveUri<P0, P1, P2>(&self, pwszbaseuri: P0, pwszpublicidentifier: P1, pwszsystemidentifier: P2) -> ::windows_core::Result<::windows_core::IUnknown> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).ResolveUri)(::windows_core::Interface::as_raw(self), pwszbaseuri.into_param().abi(), pwszpublicidentifier.into_param().abi(), pwszsystemidentifier.into_param().abi(), &mut result__).from_abi(result__) |
| } |
| } |
| ::windows_core::imp::interface_hierarchy!(IXmlResolver, ::windows_core::IUnknown); |
| unsafe impl ::windows_core::Interface for IXmlResolver { |
| type Vtable = IXmlResolver_Vtbl; |
| } |
| unsafe impl ::windows_core::ComInterface for IXmlResolver { |
| const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7279fc82_709d_4095_b63d_69fe4b0d9030); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IXmlResolver_Vtbl { |
| pub base__: ::windows_core::IUnknown_Vtbl, |
| pub ResolveUri: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszbaseuri: ::windows_core::PCWSTR, pwszpublicidentifier: ::windows_core::PCWSTR, pwszsystemidentifier: ::windows_core::PCWSTR, ppresolvedinput: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
| pub struct IXmlWriter(::windows_core::IUnknown); |
| impl IXmlWriter { |
| pub unsafe fn SetOutput<P0>(&self, poutput: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| { |
| (::windows_core::Interface::vtable(self).SetOutput)(::windows_core::Interface::as_raw(self), poutput.into_param().abi()).ok() |
| } |
| pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows_core::Result<isize> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetProperty)(::windows_core::Interface::as_raw(self), nproperty, &mut result__).from_abi(result__) |
| } |
| pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).SetProperty)(::windows_core::Interface::as_raw(self), nproperty, pvalue).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn WriteAttributes<P0, P1>(&self, preader: P0, fwritedefaultattributes: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<IXmlReader>, |
| P1: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| (::windows_core::Interface::vtable(self).WriteAttributes)(::windows_core::Interface::as_raw(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteAttributeString<P0, P1, P2, P3>(&self, pwszprefix: P0, pwszlocalname: P1, pwsznamespaceuri: P2, pwszvalue: P3) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteAttributeString)(::windows_core::Interface::as_raw(self), pwszprefix.into_param().abi(), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi(), pwszvalue.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteCData<P0>(&self, pwsztext: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteCData)(::windows_core::Interface::as_raw(self), pwsztext.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteCharEntity(&self, wch: u16) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteCharEntity)(::windows_core::Interface::as_raw(self), wch).ok() |
| } |
| pub unsafe fn WriteChars(&self, pwch: ::core::option::Option<&[u16]>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteChars)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwch.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pwch.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| pub unsafe fn WriteComment<P0>(&self, pwszcomment: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteComment)(::windows_core::Interface::as_raw(self), pwszcomment.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteDocType<P0, P1, P2, P3>(&self, pwszname: P0, pwszpublicid: P1, pwszsystemid: P2, pwszsubset: P3) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteDocType)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi(), pwszpublicid.into_param().abi(), pwszsystemid.into_param().abi(), pwszsubset.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteElementString<P0, P1, P2, P3>(&self, pwszprefix: P0, pwszlocalname: P1, pwsznamespaceuri: P2, pwszvalue: P3) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteElementString)(::windows_core::Interface::as_raw(self), pwszprefix.into_param().abi(), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi(), pwszvalue.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteEndDocument(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteEndDocument)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| pub unsafe fn WriteEndElement(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteEndElement)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| pub unsafe fn WriteEntityRef<P0>(&self, pwszname: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteEntityRef)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteFullEndElement(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteFullEndElement)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| pub unsafe fn WriteName<P0>(&self, pwszname: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteName)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteNmToken<P0>(&self, pwsznmtoken: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteNmToken)(::windows_core::Interface::as_raw(self), pwsznmtoken.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn WriteNode<P0, P1>(&self, preader: P0, fwritedefaultattributes: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<IXmlReader>, |
| P1: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| (::windows_core::Interface::vtable(self).WriteNode)(::windows_core::Interface::as_raw(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn WriteNodeShallow<P0, P1>(&self, preader: P0, fwritedefaultattributes: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<IXmlReader>, |
| P1: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| (::windows_core::Interface::vtable(self).WriteNodeShallow)(::windows_core::Interface::as_raw(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteProcessingInstruction<P0, P1>(&self, pwszname: P0, pwsztext: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteProcessingInstruction)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi(), pwsztext.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteQualifiedName<P0, P1>(&self, pwszlocalname: P0, pwsznamespaceuri: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteQualifiedName)(::windows_core::Interface::as_raw(self), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteRaw<P0>(&self, pwszdata: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteRaw)(::windows_core::Interface::as_raw(self), pwszdata.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteRawChars(&self, pwch: ::core::option::Option<&[u16]>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteRawChars)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwch.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pwch.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| pub unsafe fn WriteStartDocument(&self, standalone: XmlStandalone) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteStartDocument)(::windows_core::Interface::as_raw(self), standalone).ok() |
| } |
| pub unsafe fn WriteStartElement<P0, P1, P2>(&self, pwszprefix: P0, pwszlocalname: P1, pwsznamespaceuri: P2) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteStartElement)(::windows_core::Interface::as_raw(self), pwszprefix.into_param().abi(), pwszlocalname.into_param().abi(), pwsznamespaceuri.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteString<P0>(&self, pwsztext: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteString)(::windows_core::Interface::as_raw(self), pwsztext.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteSurrogateCharEntity)(::windows_core::Interface::as_raw(self), wchlow, wchhigh).ok() |
| } |
| pub unsafe fn WriteWhitespace<P0>(&self, pwszwhitespace: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteWhitespace)(::windows_core::Interface::as_raw(self), pwszwhitespace.into_param().abi()).ok() |
| } |
| pub unsafe fn Flush(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).Flush)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| } |
| ::windows_core::imp::interface_hierarchy!(IXmlWriter, ::windows_core::IUnknown); |
| unsafe impl ::windows_core::Interface for IXmlWriter { |
| type Vtable = IXmlWriter_Vtbl; |
| } |
| unsafe impl ::windows_core::ComInterface for IXmlWriter { |
| const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7279fc88_709d_4095_b63d_69fe4b0d9030); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IXmlWriter_Vtbl { |
| pub base__: ::windows_core::IUnknown_Vtbl, |
| pub SetOutput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nproperty: u32, ppvalue: *mut isize) -> ::windows_core::HRESULT, |
| pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nproperty: u32, pvalue: isize) -> ::windows_core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub WriteAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preader: *mut ::core::ffi::c_void, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| WriteAttributes: usize, |
| pub WriteAttributeString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszprefix: ::windows_core::PCWSTR, pwszlocalname: ::windows_core::PCWSTR, pwsznamespaceuri: ::windows_core::PCWSTR, pwszvalue: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteCData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsztext: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteCharEntity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wch: u16) -> ::windows_core::HRESULT, |
| pub WriteChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwch: ::windows_core::PCWSTR, cwch: u32) -> ::windows_core::HRESULT, |
| pub WriteComment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszcomment: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteDocType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR, pwszpublicid: ::windows_core::PCWSTR, pwszsystemid: ::windows_core::PCWSTR, pwszsubset: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteElementString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszprefix: ::windows_core::PCWSTR, pwszlocalname: ::windows_core::PCWSTR, pwsznamespaceuri: ::windows_core::PCWSTR, pwszvalue: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteEndDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub WriteEndElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub WriteEntityRef: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteFullEndElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub WriteName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteNmToken: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsznmtoken: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub WriteNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preader: *mut ::core::ffi::c_void, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| WriteNode: usize, |
| #[cfg(feature = "Win32_Foundation")] |
| pub WriteNodeShallow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preader: *mut ::core::ffi::c_void, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| WriteNodeShallow: usize, |
| pub WriteProcessingInstruction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR, pwsztext: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteQualifiedName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszlocalname: ::windows_core::PCWSTR, pwsznamespaceuri: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteRaw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszdata: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteRawChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwch: ::windows_core::PCWSTR, cwch: u32) -> ::windows_core::HRESULT, |
| pub WriteStartDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, standalone: XmlStandalone) -> ::windows_core::HRESULT, |
| pub WriteStartElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszprefix: ::windows_core::PCWSTR, pwszlocalname: ::windows_core::PCWSTR, pwsznamespaceuri: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsztext: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteSurrogateCharEntity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wchlow: u16, wchhigh: u16) -> ::windows_core::HRESULT, |
| pub WriteWhitespace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszwhitespace: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub Flush: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
| pub struct IXmlWriterLite(::windows_core::IUnknown); |
| impl IXmlWriterLite { |
| pub unsafe fn SetOutput<P0>(&self, poutput: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::IUnknown>, |
| { |
| (::windows_core::Interface::vtable(self).SetOutput)(::windows_core::Interface::as_raw(self), poutput.into_param().abi()).ok() |
| } |
| pub unsafe fn GetProperty(&self, nproperty: u32) -> ::windows_core::Result<isize> { |
| let mut result__ = ::std::mem::zeroed(); |
| (::windows_core::Interface::vtable(self).GetProperty)(::windows_core::Interface::as_raw(self), nproperty, &mut result__).from_abi(result__) |
| } |
| pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).SetProperty)(::windows_core::Interface::as_raw(self), nproperty, pvalue).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn WriteAttributes<P0, P1>(&self, preader: P0, fwritedefaultattributes: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<IXmlReader>, |
| P1: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| (::windows_core::Interface::vtable(self).WriteAttributes)(::windows_core::Interface::as_raw(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteAttributeString(&self, pwszqname: &[u16], pwszvalue: ::core::option::Option<&[u16]>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteAttributeString)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwszqname.as_ptr()), pwszqname.len().try_into().unwrap(), ::core::mem::transmute(pwszvalue.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pwszvalue.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| pub unsafe fn WriteCData<P0>(&self, pwsztext: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteCData)(::windows_core::Interface::as_raw(self), pwsztext.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteCharEntity(&self, wch: u16) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteCharEntity)(::windows_core::Interface::as_raw(self), wch).ok() |
| } |
| pub unsafe fn WriteChars(&self, pwch: ::core::option::Option<&[u16]>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteChars)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwch.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pwch.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| pub unsafe fn WriteComment<P0>(&self, pwszcomment: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteComment)(::windows_core::Interface::as_raw(self), pwszcomment.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteDocType<P0, P1, P2, P3>(&self, pwszname: P0, pwszpublicid: P1, pwszsystemid: P2, pwszsubset: P3) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteDocType)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi(), pwszpublicid.into_param().abi(), pwszsystemid.into_param().abi(), pwszsubset.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteElementString<P0>(&self, pwszqname: &[u16], pwszvalue: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteElementString)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwszqname.as_ptr()), pwszqname.len().try_into().unwrap(), pwszvalue.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteEndDocument(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteEndDocument)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| pub unsafe fn WriteEndElement(&self, pwszqname: &[u16]) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteEndElement)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwszqname.as_ptr()), pwszqname.len().try_into().unwrap()).ok() |
| } |
| pub unsafe fn WriteEntityRef<P0>(&self, pwszname: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteEntityRef)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteFullEndElement(&self, pwszqname: &[u16]) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteFullEndElement)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwszqname.as_ptr()), pwszqname.len().try_into().unwrap()).ok() |
| } |
| pub unsafe fn WriteName<P0>(&self, pwszname: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteName)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteNmToken<P0>(&self, pwsznmtoken: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteNmToken)(::windows_core::Interface::as_raw(self), pwsznmtoken.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn WriteNode<P0, P1>(&self, preader: P0, fwritedefaultattributes: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<IXmlReader>, |
| P1: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| (::windows_core::Interface::vtable(self).WriteNode)(::windows_core::Interface::as_raw(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok() |
| } |
| #[doc = "Required features: `\"Win32_Foundation\"`"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn WriteNodeShallow<P0, P1>(&self, preader: P0, fwritedefaultattributes: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<IXmlReader>, |
| P1: ::windows_core::IntoParam<super::super::super::Foundation::BOOL>, |
| { |
| (::windows_core::Interface::vtable(self).WriteNodeShallow)(::windows_core::Interface::as_raw(self), preader.into_param().abi(), fwritedefaultattributes.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteProcessingInstruction<P0, P1>(&self, pwszname: P0, pwsztext: P1) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteProcessingInstruction)(::windows_core::Interface::as_raw(self), pwszname.into_param().abi(), pwsztext.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteRaw<P0>(&self, pwszdata: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteRaw)(::windows_core::Interface::as_raw(self), pwszdata.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteRawChars(&self, pwch: ::core::option::Option<&[u16]>) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteRawChars)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwch.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pwch.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() |
| } |
| pub unsafe fn WriteStartDocument(&self, standalone: XmlStandalone) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteStartDocument)(::windows_core::Interface::as_raw(self), standalone).ok() |
| } |
| pub unsafe fn WriteStartElement(&self, pwszqname: &[u16]) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteStartElement)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pwszqname.as_ptr()), pwszqname.len().try_into().unwrap()).ok() |
| } |
| pub unsafe fn WriteString<P0>(&self, pwsztext: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteString)(::windows_core::Interface::as_raw(self), pwsztext.into_param().abi()).ok() |
| } |
| pub unsafe fn WriteSurrogateCharEntity(&self, wchlow: u16, wchhigh: u16) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).WriteSurrogateCharEntity)(::windows_core::Interface::as_raw(self), wchlow, wchhigh).ok() |
| } |
| pub unsafe fn WriteWhitespace<P0>(&self, pwszwhitespace: P0) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| (::windows_core::Interface::vtable(self).WriteWhitespace)(::windows_core::Interface::as_raw(self), pwszwhitespace.into_param().abi()).ok() |
| } |
| pub unsafe fn Flush(&self) -> ::windows_core::Result<()> { |
| (::windows_core::Interface::vtable(self).Flush)(::windows_core::Interface::as_raw(self)).ok() |
| } |
| } |
| ::windows_core::imp::interface_hierarchy!(IXmlWriterLite, ::windows_core::IUnknown); |
| unsafe impl ::windows_core::Interface for IXmlWriterLite { |
| type Vtable = IXmlWriterLite_Vtbl; |
| } |
| unsafe impl ::windows_core::ComInterface for IXmlWriterLite { |
| const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x862494c6_1310_4aad_b3cd_2dbeebf670d3); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct IXmlWriterLite_Vtbl { |
| pub base__: ::windows_core::IUnknown_Vtbl, |
| pub SetOutput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, poutput: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub GetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nproperty: u32, ppvalue: *mut isize) -> ::windows_core::HRESULT, |
| pub SetProperty: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, nproperty: u32, pvalue: isize) -> ::windows_core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub WriteAttributes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preader: *mut ::core::ffi::c_void, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| WriteAttributes: usize, |
| pub WriteAttributeString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszqname: ::windows_core::PCWSTR, cwszqname: u32, pwszvalue: ::windows_core::PCWSTR, cwszvalue: u32) -> ::windows_core::HRESULT, |
| pub WriteCData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsztext: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteCharEntity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wch: u16) -> ::windows_core::HRESULT, |
| pub WriteChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwch: ::windows_core::PCWSTR, cwch: u32) -> ::windows_core::HRESULT, |
| pub WriteComment: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszcomment: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteDocType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR, pwszpublicid: ::windows_core::PCWSTR, pwszsystemid: ::windows_core::PCWSTR, pwszsubset: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteElementString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszqname: ::windows_core::PCWSTR, cwszqname: u32, pwszvalue: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteEndDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| pub WriteEndElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszqname: ::windows_core::PCWSTR, cwszqname: u32) -> ::windows_core::HRESULT, |
| pub WriteEntityRef: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteFullEndElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszqname: ::windows_core::PCWSTR, cwszqname: u32) -> ::windows_core::HRESULT, |
| pub WriteName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteNmToken: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsznmtoken: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub WriteNode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preader: *mut ::core::ffi::c_void, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| WriteNode: usize, |
| #[cfg(feature = "Win32_Foundation")] |
| pub WriteNodeShallow: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, preader: *mut ::core::ffi::c_void, fwritedefaultattributes: super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| WriteNodeShallow: usize, |
| pub WriteProcessingInstruction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszname: ::windows_core::PCWSTR, pwsztext: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteRaw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszdata: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteRawChars: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwch: ::windows_core::PCWSTR, cwch: u32) -> ::windows_core::HRESULT, |
| pub WriteStartDocument: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, standalone: XmlStandalone) -> ::windows_core::HRESULT, |
| pub WriteStartElement: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszqname: ::windows_core::PCWSTR, cwszqname: u32) -> ::windows_core::HRESULT, |
| pub WriteString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwsztext: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub WriteSurrogateCharEntity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, wchlow: u16, wchhigh: u16) -> ::windows_core::HRESULT, |
| pub WriteWhitespace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pwszwhitespace: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, |
| pub Flush: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, |
| } |
| pub const DtdProcessing_Parse: DtdProcessing = DtdProcessing(1i32); |
| pub const DtdProcessing_Prohibit: DtdProcessing = DtdProcessing(0i32); |
| pub const MX_E_ENCODING: XmlError = XmlError(-1072894462i32); |
| pub const MX_E_ENCODINGSIGNATURE: XmlError = XmlError(-1072894460i32); |
| pub const MX_E_ENCODINGSWITCH: XmlError = XmlError(-1072894461i32); |
| pub const MX_E_INPUTEND: XmlError = XmlError(-1072894463i32); |
| pub const MX_E_MX: XmlError = XmlError(-1072894464i32); |
| pub const NC_E_DECLAREDPREFIX: XmlError = XmlError(-1072894364i32); |
| pub const NC_E_EMPTYURI: XmlError = XmlError(-1072894362i32); |
| pub const NC_E_NAMECOLON: XmlError = XmlError(-1072894365i32); |
| pub const NC_E_NC: XmlError = XmlError(-1072894368i32); |
| pub const NC_E_QNAMECHARACTER: XmlError = XmlError(-1072894367i32); |
| pub const NC_E_QNAMECOLON: XmlError = XmlError(-1072894366i32); |
| pub const NC_E_UNDECLAREDPREFIX: XmlError = XmlError(-1072894363i32); |
| pub const NC_E_XMLNSPREFIXRESERVED: XmlError = XmlError(-1072894360i32); |
| pub const NC_E_XMLNSURIRESERVED: XmlError = XmlError(-1072894358i32); |
| pub const NC_E_XMLPREFIXRESERVED: XmlError = XmlError(-1072894361i32); |
| pub const NC_E_XMLURIRESERVED: XmlError = XmlError(-1072894359i32); |
| pub const SC_E_MAXELEMENTDEPTH: XmlError = XmlError(-1072894335i32); |
| pub const SC_E_MAXENTITYEXPANSION: XmlError = XmlError(-1072894334i32); |
| pub const SC_E_SC: XmlError = XmlError(-1072894336i32); |
| pub const WC_E_CDSECT: XmlError = XmlError(-1072894418i32); |
| pub const WC_E_CDSECTEND: XmlError = XmlError(-1072894387i32); |
| pub const WC_E_COMMENT: XmlError = XmlError(-1072894417i32); |
| pub const WC_E_CONDSECT: XmlError = XmlError(-1072894416i32); |
| pub const WC_E_DECLATTLIST: XmlError = XmlError(-1072894415i32); |
| pub const WC_E_DECLDOCTYPE: XmlError = XmlError(-1072894414i32); |
| pub const WC_E_DECLELEMENT: XmlError = XmlError(-1072894413i32); |
| pub const WC_E_DECLENTITY: XmlError = XmlError(-1072894412i32); |
| pub const WC_E_DECLNOTATION: XmlError = XmlError(-1072894411i32); |
| pub const WC_E_DIGIT: XmlError = XmlError(-1072894424i32); |
| pub const WC_E_DTDPROHIBITED: XmlError = XmlError(-1072894385i32); |
| pub const WC_E_ELEMENTMATCH: XmlError = XmlError(-1072894405i32); |
| pub const WC_E_ENCNAME: XmlError = XmlError(-1072894399i32); |
| pub const WC_E_ENTITYCONTENT: XmlError = XmlError(-1072894394i32); |
| pub const WC_E_EQUAL: XmlError = XmlError(-1072894427i32); |
| pub const WC_E_GREATERTHAN: XmlError = XmlError(-1072894429i32); |
| pub const WC_E_HEXDIGIT: XmlError = XmlError(-1072894425i32); |
| pub const WC_E_INVALIDXMLSPACE: XmlError = XmlError(-1072894384i32); |
| pub const WC_E_LEADINGXML: XmlError = XmlError(-1072894402i32); |
| pub const WC_E_LEFTBRACKET: XmlError = XmlError(-1072894423i32); |
| pub const WC_E_LEFTPAREN: XmlError = XmlError(-1072894422i32); |
| pub const WC_E_LESSTHAN: XmlError = XmlError(-1072894426i32); |
| pub const WC_E_MOREDATA: XmlError = XmlError(-1072894386i32); |
| pub const WC_E_NAME: XmlError = XmlError(-1072894407i32); |
| pub const WC_E_NAMECHARACTER: XmlError = XmlError(-1072894420i32); |
| pub const WC_E_NDATA: XmlError = XmlError(-1072894410i32); |
| pub const WC_E_NOEXTERNALENTITYREF: XmlError = XmlError(-1072894391i32); |
| pub const WC_E_NORECURSION: XmlError = XmlError(-1072894395i32); |
| pub const WC_E_PARSEDENTITY: XmlError = XmlError(-1072894392i32); |
| pub const WC_E_PESBETWEENDECLS: XmlError = XmlError(-1072894396i32); |
| pub const WC_E_PESINTERNALSUBSET: XmlError = XmlError(-1072894397i32); |
| pub const WC_E_PI: XmlError = XmlError(-1072894390i32); |
| pub const WC_E_PUBLIC: XmlError = XmlError(-1072894409i32); |
| pub const WC_E_PUBLICID: XmlError = XmlError(-1072894398i32); |
| pub const WC_E_QUESTIONMARK: XmlError = XmlError(-1072894388i32); |
| pub const WC_E_QUOTE: XmlError = XmlError(-1072894428i32); |
| pub const WC_E_ROOTELEMENT: XmlError = XmlError(-1072894406i32); |
| pub const WC_E_SEMICOLON: XmlError = XmlError(-1072894430i32); |
| pub const WC_E_SYNTAX: XmlError = XmlError(-1072894419i32); |
| pub const WC_E_SYSTEM: XmlError = XmlError(-1072894408i32); |
| pub const WC_E_SYSTEMID: XmlError = XmlError(-1072894389i32); |
| pub const WC_E_TEXTDECL: XmlError = XmlError(-1072894401i32); |
| pub const WC_E_TEXTXMLDECL: XmlError = XmlError(-1072894403i32); |
| pub const WC_E_UNDECLAREDENTITY: XmlError = XmlError(-1072894393i32); |
| pub const WC_E_UNIQUEATTRIBUTE: XmlError = XmlError(-1072894404i32); |
| pub const WC_E_WC: XmlError = XmlError(-1072894432i32); |
| pub const WC_E_WHITESPACE: XmlError = XmlError(-1072894431i32); |
| pub const WC_E_XMLCHARACTER: XmlError = XmlError(-1072894421i32); |
| pub const WC_E_XMLDECL: XmlError = XmlError(-1072894400i32); |
| pub const WR_E_DUPLICATEATTRIBUTE: XmlError = XmlError(-1072894204i32); |
| pub const WR_E_INVALIDACTION: XmlError = XmlError(-1072894197i32); |
| pub const WR_E_INVALIDSURROGATEPAIR: XmlError = XmlError(-1072894196i32); |
| pub const WR_E_INVALIDXMLSPACE: XmlError = XmlError(-1072894198i32); |
| pub const WR_E_NAMESPACEUNDECLARED: XmlError = XmlError(-1072894199i32); |
| pub const WR_E_NONWHITESPACE: XmlError = XmlError(-1072894207i32); |
| pub const WR_E_NSPREFIXDECLARED: XmlError = XmlError(-1072894206i32); |
| pub const WR_E_NSPREFIXWITHEMPTYNSURI: XmlError = XmlError(-1072894205i32); |
| pub const WR_E_WR: XmlError = XmlError(-1072894208i32); |
| pub const WR_E_XMLNSPREFIXDECLARATION: XmlError = XmlError(-1072894203i32); |
| pub const WR_E_XMLNSURIDECLARATION: XmlError = XmlError(-1072894200i32); |
| pub const WR_E_XMLPREFIXDECLARATION: XmlError = XmlError(-1072894202i32); |
| pub const WR_E_XMLURIDECLARATION: XmlError = XmlError(-1072894201i32); |
| pub const XML_E_INVALIDENCODING: XmlError = XmlError(-1072897938i32); |
| pub const XML_E_INVALID_DECIMAL: XmlError = XmlError(-1072898019i32); |
| pub const XML_E_INVALID_HEXIDECIMAL: XmlError = XmlError(-1072898018i32); |
| pub const XML_E_INVALID_UNICODE: XmlError = XmlError(-1072898017i32); |
| pub const XmlConformanceLevel_Auto: XmlConformanceLevel = XmlConformanceLevel(0i32); |
| pub const XmlConformanceLevel_Document: XmlConformanceLevel = XmlConformanceLevel(2i32); |
| pub const XmlConformanceLevel_Fragment: XmlConformanceLevel = XmlConformanceLevel(1i32); |
| pub const XmlNodeType_Attribute: XmlNodeType = XmlNodeType(2i32); |
| pub const XmlNodeType_CDATA: XmlNodeType = XmlNodeType(4i32); |
| pub const XmlNodeType_Comment: XmlNodeType = XmlNodeType(8i32); |
| pub const XmlNodeType_DocumentType: XmlNodeType = XmlNodeType(10i32); |
| pub const XmlNodeType_Element: XmlNodeType = XmlNodeType(1i32); |
| pub const XmlNodeType_EndElement: XmlNodeType = XmlNodeType(15i32); |
| pub const XmlNodeType_None: XmlNodeType = XmlNodeType(0i32); |
| pub const XmlNodeType_ProcessingInstruction: XmlNodeType = XmlNodeType(7i32); |
| pub const XmlNodeType_Text: XmlNodeType = XmlNodeType(3i32); |
| pub const XmlNodeType_Whitespace: XmlNodeType = XmlNodeType(13i32); |
| pub const XmlNodeType_XmlDeclaration: XmlNodeType = XmlNodeType(17i32); |
| pub const XmlReadState_Closed: XmlReadState = XmlReadState(4i32); |
| pub const XmlReadState_EndOfFile: XmlReadState = XmlReadState(3i32); |
| pub const XmlReadState_Error: XmlReadState = XmlReadState(2i32); |
| pub const XmlReadState_Initial: XmlReadState = XmlReadState(0i32); |
| pub const XmlReadState_Interactive: XmlReadState = XmlReadState(1i32); |
| pub const XmlReaderProperty_ConformanceLevel: XmlReaderProperty = XmlReaderProperty(1i32); |
| pub const XmlReaderProperty_DtdProcessing: XmlReaderProperty = XmlReaderProperty(4i32); |
| pub const XmlReaderProperty_MaxElementDepth: XmlReaderProperty = XmlReaderProperty(6i32); |
| pub const XmlReaderProperty_MaxEntityExpansion: XmlReaderProperty = XmlReaderProperty(7i32); |
| pub const XmlReaderProperty_MultiLanguage: XmlReaderProperty = XmlReaderProperty(0i32); |
| pub const XmlReaderProperty_RandomAccess: XmlReaderProperty = XmlReaderProperty(2i32); |
| pub const XmlReaderProperty_ReadState: XmlReaderProperty = XmlReaderProperty(5i32); |
| pub const XmlReaderProperty_XmlResolver: XmlReaderProperty = XmlReaderProperty(3i32); |
| pub const XmlStandalone_No: XmlStandalone = XmlStandalone(2i32); |
| pub const XmlStandalone_Omit: XmlStandalone = XmlStandalone(0i32); |
| pub const XmlStandalone_Yes: XmlStandalone = XmlStandalone(1i32); |
| pub const XmlWriterProperty_ByteOrderMark: XmlWriterProperty = XmlWriterProperty(2i32); |
| pub const XmlWriterProperty_CompactEmptyElement: XmlWriterProperty = XmlWriterProperty(5i32); |
| pub const XmlWriterProperty_ConformanceLevel: XmlWriterProperty = XmlWriterProperty(4i32); |
| pub const XmlWriterProperty_Indent: XmlWriterProperty = XmlWriterProperty(1i32); |
| pub const XmlWriterProperty_MultiLanguage: XmlWriterProperty = XmlWriterProperty(0i32); |
| pub const XmlWriterProperty_OmitXmlDeclaration: XmlWriterProperty = XmlWriterProperty(3i32); |
| pub const _DtdProcessing_Last: DtdProcessing = DtdProcessing(1i32); |
| pub const _XmlConformanceLevel_Last: XmlConformanceLevel = XmlConformanceLevel(2i32); |
| pub const _XmlNodeType_Last: XmlNodeType = XmlNodeType(17i32); |
| pub const _XmlReaderProperty_Last: XmlReaderProperty = XmlReaderProperty(7i32); |
| pub const _XmlStandalone_Last: XmlStandalone = XmlStandalone(2i32); |
| pub const _XmlWriterProperty_Last: XmlWriterProperty = XmlWriterProperty(5i32); |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DtdProcessing(pub i32); |
| impl ::core::marker::Copy for DtdProcessing {} |
| impl ::core::clone::Clone for DtdProcessing { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DtdProcessing { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DtdProcessing { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DtdProcessing { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DtdProcessing").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlConformanceLevel(pub i32); |
| impl ::core::marker::Copy for XmlConformanceLevel {} |
| impl ::core::clone::Clone for XmlConformanceLevel { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlConformanceLevel { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlConformanceLevel { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlConformanceLevel { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlConformanceLevel").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlError(pub i32); |
| impl ::core::marker::Copy for XmlError {} |
| impl ::core::clone::Clone for XmlError { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlError { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlError { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlError { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlError").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlNodeType(pub i32); |
| impl ::core::marker::Copy for XmlNodeType {} |
| impl ::core::clone::Clone for XmlNodeType { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlNodeType { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlNodeType { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlNodeType { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlNodeType").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlReadState(pub i32); |
| impl ::core::marker::Copy for XmlReadState {} |
| impl ::core::clone::Clone for XmlReadState { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlReadState { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlReadState { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlReadState { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlReadState").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlReaderProperty(pub i32); |
| impl ::core::marker::Copy for XmlReaderProperty {} |
| impl ::core::clone::Clone for XmlReaderProperty { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlReaderProperty { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlReaderProperty { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlReaderProperty { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlReaderProperty").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlStandalone(pub i32); |
| impl ::core::marker::Copy for XmlStandalone {} |
| impl ::core::clone::Clone for XmlStandalone { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlStandalone { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlStandalone { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlStandalone { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlStandalone").field(&self.0).finish() |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct XmlWriterProperty(pub i32); |
| impl ::core::marker::Copy for XmlWriterProperty {} |
| impl ::core::clone::Clone for XmlWriterProperty { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for XmlWriterProperty { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for XmlWriterProperty { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for XmlWriterProperty { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("XmlWriterProperty").field(&self.0).finish() |
| } |
| } |
| #[cfg(feature = "implement")] |
| ::core::include!("impl.rs"); |