1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[repr(transparent)]
3 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4 pub struct IOpcCertificateEnumerator(::windows::runtime::IUnknown);
5 impl IOpcCertificateEnumerator {
6     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>7     pub unsafe fn MoveNext(&self, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
8         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(hasnext)).ok()
9     }
10     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>11     pub unsafe fn MovePrevious(&self, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
12         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(hasprevious)).ok()
13     }
14     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
GetCurrent(&self, certificate: *const *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<()>15     pub unsafe fn GetCurrent(&self, certificate: *const *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<()> {
16         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(certificate)).ok()
17     }
Clone(&self) -> ::windows::runtime::Result<IOpcCertificateEnumerator>18     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcCertificateEnumerator> {
19         let mut result__: <IOpcCertificateEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
20         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcCertificateEnumerator>(result__)
21     }
22 }
23 unsafe impl ::windows::runtime::Interface for IOpcCertificateEnumerator {
24     type Vtable = IOpcCertificateEnumerator_abi;
25     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2232621367, 36644, 16927, [180, 57, 89, 171, 36, 209, 64, 184]);
26 }
27 impl ::std::convert::From<IOpcCertificateEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcCertificateEnumerator) -> Self28     fn from(value: IOpcCertificateEnumerator) -> Self {
29         unsafe { ::std::mem::transmute(value) }
30     }
31 }
32 impl ::std::convert::From<&IOpcCertificateEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcCertificateEnumerator) -> Self33     fn from(value: &IOpcCertificateEnumerator) -> Self {
34         ::std::convert::From::from(::std::clone::Clone::clone(value))
35     }
36 }
37 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcCertificateEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>38     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
39         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
40     }
41 }
42 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcCertificateEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>43     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
44         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
45     }
46 }
47 #[repr(C)]
48 #[doc(hidden)]
49 pub struct IOpcCertificateEnumerator_abi(
50     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
51     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
52     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
53     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
54     #[cfg(not(feature = "Win32_Foundation"))] usize,
55     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
56     #[cfg(not(feature = "Win32_Foundation"))] usize,
57     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificate: *const *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::HRESULT,
58     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
59     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
60 );
61 #[repr(transparent)]
62 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
63 pub struct IOpcCertificateSet(::windows::runtime::IUnknown);
64 impl IOpcCertificateSet {
65     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
Add(&self, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<()>66     pub unsafe fn Add(&self, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<()> {
67         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(certificate)).ok()
68     }
69     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
Remove(&self, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<()>70     pub unsafe fn Remove(&self, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::Result<()> {
71         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(certificate)).ok()
72     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcCertificateEnumerator>73     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcCertificateEnumerator> {
74         let mut result__: <IOpcCertificateEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
75         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcCertificateEnumerator>(result__)
76     }
77 }
78 unsafe impl ::windows::runtime::Interface for IOpcCertificateSet {
79     type Vtable = IOpcCertificateSet_abi;
80     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1458193189, 36397, 16743, [177, 164, 228, 134, 210, 76, 143, 167]);
81 }
82 impl ::std::convert::From<IOpcCertificateSet> for ::windows::runtime::IUnknown {
from(value: IOpcCertificateSet) -> Self83     fn from(value: IOpcCertificateSet) -> Self {
84         unsafe { ::std::mem::transmute(value) }
85     }
86 }
87 impl ::std::convert::From<&IOpcCertificateSet> for ::windows::runtime::IUnknown {
from(value: &IOpcCertificateSet) -> Self88     fn from(value: &IOpcCertificateSet) -> Self {
89         ::std::convert::From::from(::std::clone::Clone::clone(value))
90     }
91 }
92 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcCertificateSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>93     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
94         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
95     }
96 }
97 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcCertificateSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>98     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
99         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
100     }
101 }
102 #[repr(C)]
103 #[doc(hidden)]
104 pub struct IOpcCertificateSet_abi(
105     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
107     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
108     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::HRESULT,
109     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
110     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT) -> ::windows::runtime::HRESULT,
111     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificateenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
113 );
114 #[repr(transparent)]
115 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
116 pub struct IOpcDigitalSignature(::windows::runtime::IUnknown);
117 impl IOpcDigitalSignature {
118     #[cfg(feature = "Win32_Foundation")]
GetNamespaces(&self, prefixes: *mut *mut super::super::super::Foundation::PWSTR, namespaces: *mut *mut super::super::super::Foundation::PWSTR, count: *mut u32) -> ::windows::runtime::Result<()>119     pub unsafe fn GetNamespaces(&self, prefixes: *mut *mut super::super::super::Foundation::PWSTR, namespaces: *mut *mut super::super::super::Foundation::PWSTR, count: *mut u32) -> ::windows::runtime::Result<()> {
120         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(prefixes), ::std::mem::transmute(namespaces), ::std::mem::transmute(count)).ok()
121     }
122     #[cfg(feature = "Win32_Foundation")]
GetSignatureId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>123     pub unsafe fn GetSignatureId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
124         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
125         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
126     }
GetSignaturePartName(&self) -> ::windows::runtime::Result<IOpcPartUri>127     pub unsafe fn GetSignaturePartName(&self) -> ::windows::runtime::Result<IOpcPartUri> {
128         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
129         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
130     }
131     #[cfg(feature = "Win32_Foundation")]
GetSignatureMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>132     pub unsafe fn GetSignatureMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
133         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
134         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
135     }
GetCanonicalizationMethod(&self, canonicalizationmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::Result<()>136     pub unsafe fn GetCanonicalizationMethod(&self, canonicalizationmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::Result<()> {
137         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(canonicalizationmethod)).ok()
138     }
GetSignatureValue(&self, signaturevalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>139     pub unsafe fn GetSignatureValue(&self, signaturevalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
140         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(signaturevalue), ::std::mem::transmute(count)).ok()
141     }
GetSignaturePartReferenceEnumerator(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceEnumerator>142     pub unsafe fn GetSignaturePartReferenceEnumerator(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceEnumerator> {
143         let mut result__: <IOpcSignaturePartReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
144         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignaturePartReferenceEnumerator>(result__)
145     }
GetSignatureRelationshipReferenceEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceEnumerator>146     pub unsafe fn GetSignatureRelationshipReferenceEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceEnumerator> {
147         let mut result__: <IOpcSignatureRelationshipReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
148         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureRelationshipReferenceEnumerator>(result__)
149     }
150     #[cfg(feature = "Win32_Foundation")]
GetSigningTime(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>151     pub unsafe fn GetSigningTime(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
152         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
153         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
154     }
GetTimeFormat(&self, timeformat: *mut OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::Result<()>155     pub unsafe fn GetTimeFormat(&self, timeformat: *mut OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::Result<()> {
156         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(timeformat)).ok()
157     }
GetPackageObjectReference(&self) -> ::windows::runtime::Result<IOpcSignatureReference>158     pub unsafe fn GetPackageObjectReference(&self) -> ::windows::runtime::Result<IOpcSignatureReference> {
159         let mut result__: <IOpcSignatureReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
160         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureReference>(result__)
161     }
GetCertificateEnumerator(&self) -> ::windows::runtime::Result<IOpcCertificateEnumerator>162     pub unsafe fn GetCertificateEnumerator(&self) -> ::windows::runtime::Result<IOpcCertificateEnumerator> {
163         let mut result__: <IOpcCertificateEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
164         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcCertificateEnumerator>(result__)
165     }
GetCustomReferenceEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceEnumerator>166     pub unsafe fn GetCustomReferenceEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceEnumerator> {
167         let mut result__: <IOpcSignatureReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
168         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureReferenceEnumerator>(result__)
169     }
GetCustomObjectEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectEnumerator>170     pub unsafe fn GetCustomObjectEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectEnumerator> {
171         let mut result__: <IOpcSignatureCustomObjectEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
172         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureCustomObjectEnumerator>(result__)
173     }
GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>174     pub unsafe fn GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
175         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(signaturexml), ::std::mem::transmute(count)).ok()
176     }
177 }
178 unsafe impl ::windows::runtime::Interface for IOpcDigitalSignature {
179     type Vtable = IOpcDigitalSignature_abi;
180     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1386947037, 7376, 18761, [188, 128, 12, 18, 50, 208, 12, 180]);
181 }
182 impl ::std::convert::From<IOpcDigitalSignature> for ::windows::runtime::IUnknown {
from(value: IOpcDigitalSignature) -> Self183     fn from(value: IOpcDigitalSignature) -> Self {
184         unsafe { ::std::mem::transmute(value) }
185     }
186 }
187 impl ::std::convert::From<&IOpcDigitalSignature> for ::windows::runtime::IUnknown {
from(value: &IOpcDigitalSignature) -> Self188     fn from(value: &IOpcDigitalSignature) -> Self {
189         ::std::convert::From::from(::std::clone::Clone::clone(value))
190     }
191 }
192 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcDigitalSignature {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>193     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
194         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
195     }
196 }
197 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcDigitalSignature {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>198     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
199         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
200     }
201 }
202 #[repr(C)]
203 #[doc(hidden)]
204 pub struct IOpcDigitalSignature_abi(
205     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
206     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
207     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
208     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prefixes: *mut *mut super::super::super::Foundation::PWSTR, namespaces: *mut *mut super::super::super::Foundation::PWSTR, count: *mut u32) -> ::windows::runtime::HRESULT,
209     #[cfg(not(feature = "Win32_Foundation"))] usize,
210     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureid: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
211     #[cfg(not(feature = "Win32_Foundation"))] usize,
212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
213     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturemethod: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
214     #[cfg(not(feature = "Win32_Foundation"))] usize,
215     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, canonicalizationmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::HRESULT,
216     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturevalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
217     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partreferenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipreferenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
219     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signingtime: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
220     #[cfg(not(feature = "Win32_Foundation"))] usize,
221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timeformat: *mut OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::HRESULT,
222     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packageobjectreference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
223     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificateenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
224     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customreferenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
225     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobjectenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturexml: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
227 );
228 #[repr(transparent)]
229 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
230 pub struct IOpcDigitalSignatureEnumerator(::windows::runtime::IUnknown);
231 impl IOpcDigitalSignatureEnumerator {
232     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>233     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
234         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
235         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
236     }
237     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>238     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
239         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
240         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
241     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcDigitalSignature>242     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcDigitalSignature> {
243         let mut result__: <IOpcDigitalSignature as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
244         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcDigitalSignature>(result__)
245     }
Clone(&self) -> ::windows::runtime::Result<IOpcDigitalSignatureEnumerator>246     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcDigitalSignatureEnumerator> {
247         let mut result__: <IOpcDigitalSignatureEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
248         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcDigitalSignatureEnumerator>(result__)
249     }
250 }
251 unsafe impl ::windows::runtime::Interface for IOpcDigitalSignatureEnumerator {
252     type Vtable = IOpcDigitalSignatureEnumerator_abi;
253     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2524670082, 2979, 17240, [185, 231, 182, 76, 117, 6, 60, 94]);
254 }
255 impl ::std::convert::From<IOpcDigitalSignatureEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcDigitalSignatureEnumerator) -> Self256     fn from(value: IOpcDigitalSignatureEnumerator) -> Self {
257         unsafe { ::std::mem::transmute(value) }
258     }
259 }
260 impl ::std::convert::From<&IOpcDigitalSignatureEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcDigitalSignatureEnumerator) -> Self261     fn from(value: &IOpcDigitalSignatureEnumerator) -> Self {
262         ::std::convert::From::from(::std::clone::Clone::clone(value))
263     }
264 }
265 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcDigitalSignatureEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>266     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
267         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
268     }
269 }
270 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcDigitalSignatureEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>271     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
272         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
273     }
274 }
275 #[repr(C)]
276 #[doc(hidden)]
277 pub struct IOpcDigitalSignatureEnumerator_abi(
278     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
279     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
280     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
281     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
282     #[cfg(not(feature = "Win32_Foundation"))] usize,
283     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
284     #[cfg(not(feature = "Win32_Foundation"))] usize,
285     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digitalsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
286     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
287 );
288 #[repr(transparent)]
289 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
290 pub struct IOpcDigitalSignatureManager(::windows::runtime::IUnknown);
291 impl IOpcDigitalSignatureManager {
GetSignatureOriginPartName(&self) -> ::windows::runtime::Result<IOpcPartUri>292     pub unsafe fn GetSignatureOriginPartName(&self) -> ::windows::runtime::Result<IOpcPartUri> {
293         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
294         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
295     }
SetSignatureOriginPartName<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signatureoriginpartname: Param0) -> ::windows::runtime::Result<()>296     pub unsafe fn SetSignatureOriginPartName<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signatureoriginpartname: Param0) -> ::windows::runtime::Result<()> {
297         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), signatureoriginpartname.into_param().abi()).ok()
298     }
GetSignatureEnumerator(&self) -> ::windows::runtime::Result<IOpcDigitalSignatureEnumerator>299     pub unsafe fn GetSignatureEnumerator(&self) -> ::windows::runtime::Result<IOpcDigitalSignatureEnumerator> {
300         let mut result__: <IOpcDigitalSignatureEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
301         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcDigitalSignatureEnumerator>(result__)
302     }
RemoveSignature<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signaturepartname: Param0) -> ::windows::runtime::Result<()>303     pub unsafe fn RemoveSignature<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signaturepartname: Param0) -> ::windows::runtime::Result<()> {
304         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), signaturepartname.into_param().abi()).ok()
305     }
CreateSigningOptions(&self) -> ::windows::runtime::Result<IOpcSigningOptions>306     pub unsafe fn CreateSigningOptions(&self) -> ::windows::runtime::Result<IOpcSigningOptions> {
307         let mut result__: <IOpcSigningOptions as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
308         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSigningOptions>(result__)
309     }
310     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
Validate<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcDigitalSignature>>(&self, signature: Param0, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT, validationresult: *mut OPC_SIGNATURE_VALIDATION_RESULT) -> ::windows::runtime::Result<()>311     pub unsafe fn Validate<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcDigitalSignature>>(&self, signature: Param0, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT, validationresult: *mut OPC_SIGNATURE_VALIDATION_RESULT) -> ::windows::runtime::Result<()> {
312         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), signature.into_param().abi(), ::std::mem::transmute(certificate), ::std::mem::transmute(validationresult)).ok()
313     }
314     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
Sign<'a, Param1: ::windows::runtime::IntoParam<'a, IOpcSigningOptions>>(&self, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT, signingoptions: Param1) -> ::windows::runtime::Result<IOpcDigitalSignature>315     pub unsafe fn Sign<'a, Param1: ::windows::runtime::IntoParam<'a, IOpcSigningOptions>>(&self, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT, signingoptions: Param1) -> ::windows::runtime::Result<IOpcDigitalSignature> {
316         let mut result__: <IOpcDigitalSignature as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
317         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(certificate), signingoptions.into_param().abi(), &mut result__).from_abi::<IOpcDigitalSignature>(result__)
318     }
ReplaceSignatureXml<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signaturepartname: Param0, newsignaturexml: *const u8, count: u32) -> ::windows::runtime::Result<IOpcDigitalSignature>319     pub unsafe fn ReplaceSignatureXml<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signaturepartname: Param0, newsignaturexml: *const u8, count: u32) -> ::windows::runtime::Result<IOpcDigitalSignature> {
320         let mut result__: <IOpcDigitalSignature as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
321         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), signaturepartname.into_param().abi(), ::std::mem::transmute(newsignaturexml), ::std::mem::transmute(count), &mut result__).from_abi::<IOpcDigitalSignature>(result__)
322     }
323 }
324 unsafe impl ::windows::runtime::Interface for IOpcDigitalSignatureManager {
325     type Vtable = IOpcDigitalSignatureManager_abi;
326     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3588631051, 26989, 17967, [148, 223, 114, 227, 60, 239, 38, 89]);
327 }
328 impl ::std::convert::From<IOpcDigitalSignatureManager> for ::windows::runtime::IUnknown {
from(value: IOpcDigitalSignatureManager) -> Self329     fn from(value: IOpcDigitalSignatureManager) -> Self {
330         unsafe { ::std::mem::transmute(value) }
331     }
332 }
333 impl ::std::convert::From<&IOpcDigitalSignatureManager> for ::windows::runtime::IUnknown {
from(value: &IOpcDigitalSignatureManager) -> Self334     fn from(value: &IOpcDigitalSignatureManager) -> Self {
335         ::std::convert::From::from(::std::clone::Clone::clone(value))
336     }
337 }
338 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcDigitalSignatureManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>339     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
340         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
341     }
342 }
343 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcDigitalSignatureManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>344     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
345         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
346     }
347 }
348 #[repr(C)]
349 #[doc(hidden)]
350 pub struct IOpcDigitalSignatureManager_abi(
351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
354     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureoriginpartname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
355     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureoriginpartname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
356     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
357     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signingoptions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
359     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signature: ::windows::runtime::RawPtr, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT, validationresult: *mut OPC_SIGNATURE_VALIDATION_RESULT) -> ::windows::runtime::HRESULT,
360     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
361     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificate: *const super::super::super::Security::Cryptography::CERT_CONTEXT, signingoptions: ::windows::runtime::RawPtr, digitalsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
362     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography")))] usize,
363     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: ::windows::runtime::RawPtr, newsignaturexml: *const u8, count: u32, digitalsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
364 );
365 #[repr(transparent)]
366 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
367 pub struct IOpcFactory(::windows::runtime::IUnknown);
368 impl IOpcFactory {
CreatePackageRootUri(&self) -> ::windows::runtime::Result<IOpcUri>369     pub unsafe fn CreatePackageRootUri(&self) -> ::windows::runtime::Result<IOpcUri> {
370         let mut result__: <IOpcUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
371         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcUri>(result__)
372     }
373     #[cfg(feature = "Win32_Foundation")]
CreatePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwzuri: Param0) -> ::windows::runtime::Result<IOpcPartUri>374     pub unsafe fn CreatePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwzuri: Param0) -> ::windows::runtime::Result<IOpcPartUri> {
375         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
376         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pwzuri.into_param().abi(), &mut result__).from_abi::<IOpcPartUri>(result__)
377     }
378     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Com"))]
CreateStreamOnFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, filename: Param0, iomode: OPC_STREAM_IO_MODE, securityattributes: *const super::super::super::Security::SECURITY_ATTRIBUTES, dwflagsandattributes: u32) -> ::windows::runtime::Result<super::super::super::System::Com::IStream>379     pub unsafe fn CreateStreamOnFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, filename: Param0, iomode: OPC_STREAM_IO_MODE, securityattributes: *const super::super::super::Security::SECURITY_ATTRIBUTES, dwflagsandattributes: u32) -> ::windows::runtime::Result<super::super::super::System::Com::IStream> {
380         let mut result__: <super::super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
381         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), filename.into_param().abi(), ::std::mem::transmute(iomode), ::std::mem::transmute(securityattributes), ::std::mem::transmute(dwflagsandattributes), &mut result__).from_abi::<super::super::super::System::Com::IStream>(result__)
382     }
CreatePackage(&self) -> ::windows::runtime::Result<IOpcPackage>383     pub unsafe fn CreatePackage(&self) -> ::windows::runtime::Result<IOpcPackage> {
384         let mut result__: <IOpcPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
385         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPackage>(result__)
386     }
387     #[cfg(feature = "Win32_System_Com")]
ReadPackageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, stream: Param0, flags: OPC_READ_FLAGS) -> ::windows::runtime::Result<IOpcPackage>388     pub unsafe fn ReadPackageFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, stream: Param0, flags: OPC_READ_FLAGS) -> ::windows::runtime::Result<IOpcPackage> {
389         let mut result__: <IOpcPackage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
390         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), stream.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<IOpcPackage>(result__)
391     }
392     #[cfg(feature = "Win32_System_Com")]
WritePackageToStream<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPackage>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, package: Param0, flags: OPC_WRITE_FLAGS, stream: Param2) -> ::windows::runtime::Result<()>393     pub unsafe fn WritePackageToStream<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPackage>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, package: Param0, flags: OPC_WRITE_FLAGS, stream: Param2) -> ::windows::runtime::Result<()> {
394         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), package.into_param().abi(), ::std::mem::transmute(flags), stream.into_param().abi()).ok()
395     }
CreateDigitalSignatureManager<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPackage>>(&self, package: Param0) -> ::windows::runtime::Result<IOpcDigitalSignatureManager>396     pub unsafe fn CreateDigitalSignatureManager<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPackage>>(&self, package: Param0) -> ::windows::runtime::Result<IOpcDigitalSignatureManager> {
397         let mut result__: <IOpcDigitalSignatureManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
398         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), package.into_param().abi(), &mut result__).from_abi::<IOpcDigitalSignatureManager>(result__)
399     }
400 }
401 unsafe impl ::windows::runtime::Interface for IOpcFactory {
402     type Vtable = IOpcFactory_abi;
403     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1829454918, 52595, 19123, [148, 244, 140, 205, 246, 17, 97, 84]);
404 }
405 impl ::std::convert::From<IOpcFactory> for ::windows::runtime::IUnknown {
from(value: IOpcFactory) -> Self406     fn from(value: IOpcFactory) -> Self {
407         unsafe { ::std::mem::transmute(value) }
408     }
409 }
410 impl ::std::convert::From<&IOpcFactory> for ::windows::runtime::IUnknown {
from(value: &IOpcFactory) -> Self411     fn from(value: &IOpcFactory) -> Self {
412         ::std::convert::From::from(::std::clone::Clone::clone(value))
413     }
414 }
415 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcFactory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>416     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
417         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
418     }
419 }
420 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcFactory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>421     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
422         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
423     }
424 }
425 #[repr(C)]
426 #[doc(hidden)]
427 pub struct IOpcFactory_abi(
428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
429     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
430     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rooturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
432     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwzuri: super::super::super::Foundation::PWSTR, parturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
433     #[cfg(not(feature = "Win32_Foundation"))] usize,
434     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::super::Foundation::PWSTR, iomode: OPC_STREAM_IO_MODE, securityattributes: *const super::super::super::Security::SECURITY_ATTRIBUTES, dwflagsandattributes: u32, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
435     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_Com")))] usize,
436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
437     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: ::windows::runtime::RawPtr, flags: OPC_READ_FLAGS, package: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
438     #[cfg(not(feature = "Win32_System_Com"))] usize,
439     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: ::windows::runtime::RawPtr, flags: OPC_WRITE_FLAGS, stream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
440     #[cfg(not(feature = "Win32_System_Com"))] usize,
441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, package: ::windows::runtime::RawPtr, signaturemanager: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
442 );
443 #[repr(transparent)]
444 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
445 pub struct IOpcPackage(::windows::runtime::IUnknown);
446 impl IOpcPackage {
GetPartSet(&self) -> ::windows::runtime::Result<IOpcPartSet>447     pub unsafe fn GetPartSet(&self) -> ::windows::runtime::Result<IOpcPartSet> {
448         let mut result__: <IOpcPartSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
449         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartSet>(result__)
450     }
GetRelationshipSet(&self) -> ::windows::runtime::Result<IOpcRelationshipSet>451     pub unsafe fn GetRelationshipSet(&self) -> ::windows::runtime::Result<IOpcRelationshipSet> {
452         let mut result__: <IOpcRelationshipSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
453         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSet>(result__)
454     }
455 }
456 unsafe impl ::windows::runtime::Interface for IOpcPackage {
457     type Vtable = IOpcPackage_abi;
458     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 112]);
459 }
460 impl ::std::convert::From<IOpcPackage> for ::windows::runtime::IUnknown {
from(value: IOpcPackage) -> Self461     fn from(value: IOpcPackage) -> Self {
462         unsafe { ::std::mem::transmute(value) }
463     }
464 }
465 impl ::std::convert::From<&IOpcPackage> for ::windows::runtime::IUnknown {
from(value: &IOpcPackage) -> Self466     fn from(value: &IOpcPackage) -> Self {
467         ::std::convert::From::from(::std::clone::Clone::clone(value))
468     }
469 }
470 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcPackage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>471     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
472         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
473     }
474 }
475 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcPackage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>476     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
477         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
478     }
479 }
480 #[repr(C)]
481 #[doc(hidden)]
482 pub struct IOpcPackage_abi(
483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
484     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
485     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
486     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
487     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
488 );
489 #[repr(transparent)]
490 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
491 pub struct IOpcPart(::windows::runtime::IUnknown);
492 impl IOpcPart {
GetRelationshipSet(&self) -> ::windows::runtime::Result<IOpcRelationshipSet>493     pub unsafe fn GetRelationshipSet(&self) -> ::windows::runtime::Result<IOpcRelationshipSet> {
494         let mut result__: <IOpcRelationshipSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
495         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSet>(result__)
496     }
497     #[cfg(feature = "Win32_System_Com")]
GetContentStream(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IStream>498     pub unsafe fn GetContentStream(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IStream> {
499         let mut result__: <super::super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
500         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::IStream>(result__)
501     }
GetName(&self) -> ::windows::runtime::Result<IOpcPartUri>502     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<IOpcPartUri> {
503         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
504         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
505     }
506     #[cfg(feature = "Win32_Foundation")]
GetContentType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>507     pub unsafe fn GetContentType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
508         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
509         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
510     }
GetCompressionOptions(&self) -> ::windows::runtime::Result<OPC_COMPRESSION_OPTIONS>511     pub unsafe fn GetCompressionOptions(&self) -> ::windows::runtime::Result<OPC_COMPRESSION_OPTIONS> {
512         let mut result__: <OPC_COMPRESSION_OPTIONS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
513         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_COMPRESSION_OPTIONS>(result__)
514     }
515 }
516 unsafe impl ::windows::runtime::Interface for IOpcPart {
517     type Vtable = IOpcPart_abi;
518     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 113]);
519 }
520 impl ::std::convert::From<IOpcPart> for ::windows::runtime::IUnknown {
from(value: IOpcPart) -> Self521     fn from(value: IOpcPart) -> Self {
522         unsafe { ::std::mem::transmute(value) }
523     }
524 }
525 impl ::std::convert::From<&IOpcPart> for ::windows::runtime::IUnknown {
from(value: &IOpcPart) -> Self526     fn from(value: &IOpcPart) -> Self {
527         ::std::convert::From::from(::std::clone::Clone::clone(value))
528     }
529 }
530 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcPart {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>531     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
532         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
533     }
534 }
535 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcPart {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>536     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
537         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
538     }
539 }
540 #[repr(C)]
541 #[doc(hidden)]
542 pub struct IOpcPart_abi(
543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
547     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
548     #[cfg(not(feature = "Win32_System_Com"))] usize,
549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
550     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contenttype: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
551     #[cfg(not(feature = "Win32_Foundation"))] usize,
552     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, compressionoptions: *mut OPC_COMPRESSION_OPTIONS) -> ::windows::runtime::HRESULT,
553 );
554 #[repr(transparent)]
555 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
556 pub struct IOpcPartEnumerator(::windows::runtime::IUnknown);
557 impl IOpcPartEnumerator {
558     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>559     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
560         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
561         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
562     }
563     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>564     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
565         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
566         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
567     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcPart>568     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcPart> {
569         let mut result__: <IOpcPart as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
570         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPart>(result__)
571     }
Clone(&self) -> ::windows::runtime::Result<IOpcPartEnumerator>572     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcPartEnumerator> {
573         let mut result__: <IOpcPartEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
574         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartEnumerator>(result__)
575     }
576 }
577 unsafe impl ::windows::runtime::Interface for IOpcPartEnumerator {
578     type Vtable = IOpcPartEnumerator_abi;
579     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 117]);
580 }
581 impl ::std::convert::From<IOpcPartEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcPartEnumerator) -> Self582     fn from(value: IOpcPartEnumerator) -> Self {
583         unsafe { ::std::mem::transmute(value) }
584     }
585 }
586 impl ::std::convert::From<&IOpcPartEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcPartEnumerator) -> Self587     fn from(value: &IOpcPartEnumerator) -> Self {
588         ::std::convert::From::from(::std::clone::Clone::clone(value))
589     }
590 }
591 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcPartEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>592     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
593         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
594     }
595 }
596 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcPartEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>597     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
598         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
599     }
600 }
601 #[repr(C)]
602 #[doc(hidden)]
603 pub struct IOpcPartEnumerator_abi(
604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
607     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
608     #[cfg(not(feature = "Win32_Foundation"))] usize,
609     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
610     #[cfg(not(feature = "Win32_Foundation"))] usize,
611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, part: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
612     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
613 );
614 #[repr(transparent)]
615 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
616 pub struct IOpcPartSet(::windows::runtime::IUnknown);
617 impl IOpcPartSet {
GetPart<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, name: Param0) -> ::windows::runtime::Result<IOpcPart>618     pub unsafe fn GetPart<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, name: Param0) -> ::windows::runtime::Result<IOpcPart> {
619         let mut result__: <IOpcPart as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
620         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), name.into_param().abi(), &mut result__).from_abi::<IOpcPart>(result__)
621     }
622     #[cfg(feature = "Win32_Foundation")]
CreatePart<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, name: Param0, contenttype: Param1, compressionoptions: OPC_COMPRESSION_OPTIONS) -> ::windows::runtime::Result<IOpcPart>623     pub unsafe fn CreatePart<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, name: Param0, contenttype: Param1, compressionoptions: OPC_COMPRESSION_OPTIONS) -> ::windows::runtime::Result<IOpcPart> {
624         let mut result__: <IOpcPart as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
625         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), name.into_param().abi(), contenttype.into_param().abi(), ::std::mem::transmute(compressionoptions), &mut result__).from_abi::<IOpcPart>(result__)
626     }
DeletePart<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, name: Param0) -> ::windows::runtime::Result<()>627     pub unsafe fn DeletePart<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
628         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
629     }
630     #[cfg(feature = "Win32_Foundation")]
PartExists<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, name: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>631     pub unsafe fn PartExists<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, name: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
632         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
633         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), name.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
634     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcPartEnumerator>635     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcPartEnumerator> {
636         let mut result__: <IOpcPartEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
637         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartEnumerator>(result__)
638     }
639 }
640 unsafe impl ::windows::runtime::Interface for IOpcPartSet {
641     type Vtable = IOpcPartSet_abi;
642     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 115]);
643 }
644 impl ::std::convert::From<IOpcPartSet> for ::windows::runtime::IUnknown {
from(value: IOpcPartSet) -> Self645     fn from(value: IOpcPartSet) -> Self {
646         unsafe { ::std::mem::transmute(value) }
647     }
648 }
649 impl ::std::convert::From<&IOpcPartSet> for ::windows::runtime::IUnknown {
from(value: &IOpcPartSet) -> Self650     fn from(value: &IOpcPartSet) -> Self {
651         ::std::convert::From::from(::std::clone::Clone::clone(value))
652     }
653 }
654 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcPartSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>655     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
656         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
657     }
658 }
659 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcPartSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>660     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
661         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
662     }
663 }
664 #[repr(C)]
665 #[doc(hidden)]
666 pub struct IOpcPartSet_abi(
667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
670     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::windows::runtime::RawPtr, part: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
671     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::windows::runtime::RawPtr, contenttype: super::super::super::Foundation::PWSTR, compressionoptions: OPC_COMPRESSION_OPTIONS, part: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
672     #[cfg(not(feature = "Win32_Foundation"))] usize,
673     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
674     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::windows::runtime::RawPtr, partexists: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
675     #[cfg(not(feature = "Win32_Foundation"))] usize,
676     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
677 );
678 #[repr(transparent)]
679 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
680 pub struct IOpcPartUri(::windows::runtime::IUnknown);
681 impl IOpcPartUri {
682     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
GetPropertyBSTR(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pbstrproperty: *mut super::super::super::Foundation::BSTR, dwflags: u32) -> ::windows::runtime::Result<()>683     pub unsafe fn GetPropertyBSTR(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pbstrproperty: *mut super::super::super::Foundation::BSTR, dwflags: u32) -> ::windows::runtime::Result<()> {
684         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), ::std::mem::transmute(pbstrproperty), ::std::mem::transmute(dwflags)).ok()
685     }
686     #[cfg(feature = "Win32_System_Com")]
GetPropertyLength(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pcchproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()>687     pub unsafe fn GetPropertyLength(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pcchproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()> {
688         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), ::std::mem::transmute(pcchproperty), ::std::mem::transmute(dwflags)).ok()
689     }
690     #[cfg(feature = "Win32_System_Com")]
GetPropertyDWORD(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pdwproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()>691     pub unsafe fn GetPropertyDWORD(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pdwproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()> {
692         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), ::std::mem::transmute(pdwproperty), ::std::mem::transmute(dwflags)).ok()
693     }
694     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
HasProperty(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>695     pub unsafe fn HasProperty(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
696         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
697         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
698     }
699     #[cfg(feature = "Win32_Foundation")]
GetAbsoluteUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>700     pub unsafe fn GetAbsoluteUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
701         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
702         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
703     }
704     #[cfg(feature = "Win32_Foundation")]
GetAuthority(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>705     pub unsafe fn GetAuthority(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
706         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
707         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
708     }
709     #[cfg(feature = "Win32_Foundation")]
GetDisplayUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>710     pub unsafe fn GetDisplayUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
711         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
712         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
713     }
714     #[cfg(feature = "Win32_Foundation")]
GetDomain(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>715     pub unsafe fn GetDomain(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
716         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
717         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
718     }
719     #[cfg(feature = "Win32_Foundation")]
GetExtension(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>720     pub unsafe fn GetExtension(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
721         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
722         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
723     }
724     #[cfg(feature = "Win32_Foundation")]
GetFragment(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>725     pub unsafe fn GetFragment(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
726         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
727         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
728     }
729     #[cfg(feature = "Win32_Foundation")]
GetHost(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>730     pub unsafe fn GetHost(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
731         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
732         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
733     }
734     #[cfg(feature = "Win32_Foundation")]
GetPassword(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>735     pub unsafe fn GetPassword(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
736         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
737         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
738     }
739     #[cfg(feature = "Win32_Foundation")]
GetPath(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>740     pub unsafe fn GetPath(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
741         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
742         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
743     }
744     #[cfg(feature = "Win32_Foundation")]
GetPathAndQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>745     pub unsafe fn GetPathAndQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
746         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
747         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
748     }
749     #[cfg(feature = "Win32_Foundation")]
GetQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>750     pub unsafe fn GetQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
751         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
752         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
753     }
754     #[cfg(feature = "Win32_Foundation")]
GetRawUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>755     pub unsafe fn GetRawUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
756         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
757         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
758     }
759     #[cfg(feature = "Win32_Foundation")]
GetSchemeName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>760     pub unsafe fn GetSchemeName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
761         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
762         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
763     }
764     #[cfg(feature = "Win32_Foundation")]
GetUserInfo(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>765     pub unsafe fn GetUserInfo(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
766         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
767         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
768     }
769     #[cfg(feature = "Win32_Foundation")]
GetUserName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>770     pub unsafe fn GetUserName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
771         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
772         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
773     }
GetHostType(&self) -> ::windows::runtime::Result<u32>774     pub unsafe fn GetHostType(&self) -> ::windows::runtime::Result<u32> {
775         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
776         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
777     }
GetPort(&self) -> ::windows::runtime::Result<u32>778     pub unsafe fn GetPort(&self) -> ::windows::runtime::Result<u32> {
779         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
780         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
781     }
GetScheme(&self) -> ::windows::runtime::Result<u32>782     pub unsafe fn GetScheme(&self) -> ::windows::runtime::Result<u32> {
783         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
784         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
785     }
GetZone(&self) -> ::windows::runtime::Result<u32>786     pub unsafe fn GetZone(&self) -> ::windows::runtime::Result<u32> {
787         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
788         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
789     }
GetProperties(&self) -> ::windows::runtime::Result<u32>790     pub unsafe fn GetProperties(&self) -> ::windows::runtime::Result<u32> {
791         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
792         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
793     }
794     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, puri: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>795     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, puri: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
796         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
797         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), puri.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
798     }
GetRelationshipsPartUri(&self) -> ::windows::runtime::Result<IOpcPartUri>799     pub unsafe fn GetRelationshipsPartUri(&self) -> ::windows::runtime::Result<IOpcPartUri> {
800         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
801         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
802     }
803     #[cfg(feature = "Win32_System_Com")]
GetRelativeUri<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, targetparturi: Param0) -> ::windows::runtime::Result<super::super::super::System::Com::IUri>804     pub unsafe fn GetRelativeUri<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, targetparturi: Param0) -> ::windows::runtime::Result<super::super::super::System::Com::IUri> {
805         let mut result__: <super::super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
806         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), targetparturi.into_param().abi(), &mut result__).from_abi::<super::super::super::System::Com::IUri>(result__)
807     }
808     #[cfg(feature = "Win32_System_Com")]
CombinePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, relativeuri: Param0) -> ::windows::runtime::Result<IOpcPartUri>809     pub unsafe fn CombinePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, relativeuri: Param0) -> ::windows::runtime::Result<IOpcPartUri> {
810         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
811         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), relativeuri.into_param().abi(), &mut result__).from_abi::<IOpcPartUri>(result__)
812     }
ComparePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<i32>813     pub unsafe fn ComparePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, parturi: Param0) -> ::windows::runtime::Result<i32> {
814         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
815         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), parturi.into_param().abi(), &mut result__).from_abi::<i32>(result__)
816     }
GetSourceUri(&self) -> ::windows::runtime::Result<IOpcUri>817     pub unsafe fn GetSourceUri(&self) -> ::windows::runtime::Result<IOpcUri> {
818         let mut result__: <IOpcUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
819         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcUri>(result__)
820     }
821     #[cfg(feature = "Win32_Foundation")]
IsRelationshipsPartUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>822     pub unsafe fn IsRelationshipsPartUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
823         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
824         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
825     }
826 }
827 unsafe impl ::windows::runtime::Interface for IOpcPartUri {
828     type Vtable = IOpcPartUri_abi;
829     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2101062631, 34994, 18106, [133, 203, 66, 3, 203, 1, 108, 135]);
830 }
831 impl ::std::convert::From<IOpcPartUri> for ::windows::runtime::IUnknown {
from(value: IOpcPartUri) -> Self832     fn from(value: IOpcPartUri) -> Self {
833         unsafe { ::std::mem::transmute(value) }
834     }
835 }
836 impl ::std::convert::From<&IOpcPartUri> for ::windows::runtime::IUnknown {
from(value: &IOpcPartUri) -> Self837     fn from(value: &IOpcPartUri) -> Self {
838         ::std::convert::From::from(::std::clone::Clone::clone(value))
839     }
840 }
841 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcPartUri {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>842     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
843         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
844     }
845 }
846 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcPartUri {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>847     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
848         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
849     }
850 }
851 impl ::std::convert::From<IOpcPartUri> for IOpcUri {
from(value: IOpcPartUri) -> Self852     fn from(value: IOpcPartUri) -> Self {
853         unsafe { ::std::mem::transmute(value) }
854     }
855 }
856 impl ::std::convert::From<&IOpcPartUri> for IOpcUri {
from(value: &IOpcPartUri) -> Self857     fn from(value: &IOpcPartUri) -> Self {
858         ::std::convert::From::from(::std::clone::Clone::clone(value))
859     }
860 }
861 impl<'a> ::windows::runtime::IntoParam<'a, IOpcUri> for IOpcPartUri {
into_param(self) -> ::windows::runtime::Param<'a, IOpcUri>862     fn into_param(self) -> ::windows::runtime::Param<'a, IOpcUri> {
863         ::windows::runtime::Param::Owned(::std::convert::Into::<IOpcUri>::into(self))
864     }
865 }
866 impl<'a> ::windows::runtime::IntoParam<'a, IOpcUri> for &IOpcPartUri {
into_param(self) -> ::windows::runtime::Param<'a, IOpcUri>867     fn into_param(self) -> ::windows::runtime::Param<'a, IOpcUri> {
868         ::windows::runtime::Param::Owned(::std::convert::Into::<IOpcUri>::into(::std::clone::Clone::clone(self)))
869     }
870 }
871 #[cfg(feature = "Win32_System_Com")]
872 impl ::std::convert::From<IOpcPartUri> for super::super::super::System::Com::IUri {
from(value: IOpcPartUri) -> Self873     fn from(value: IOpcPartUri) -> Self {
874         unsafe { ::std::mem::transmute(value) }
875     }
876 }
877 #[cfg(feature = "Win32_System_Com")]
878 impl ::std::convert::From<&IOpcPartUri> for super::super::super::System::Com::IUri {
from(value: &IOpcPartUri) -> Self879     fn from(value: &IOpcPartUri) -> Self {
880         ::std::convert::From::from(::std::clone::Clone::clone(value))
881     }
882 }
883 #[cfg(feature = "Win32_System_Com")]
884 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri> for IOpcPartUri {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri>885     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri> {
886         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Com::IUri>::into(self))
887     }
888 }
889 #[cfg(feature = "Win32_System_Com")]
890 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri> for &IOpcPartUri {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri>891     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri> {
892         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Com::IUri>::into(::std::clone::Clone::clone(self)))
893     }
894 }
895 #[repr(C)]
896 #[doc(hidden)]
897 pub struct IOpcPartUri_abi(
898     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
899     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
900     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
901     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pbstrproperty: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, dwflags: u32) -> ::windows::runtime::HRESULT,
902     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
903     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pcchproperty: *mut u32, dwflags: u32) -> ::windows::runtime::HRESULT,
904     #[cfg(not(feature = "Win32_System_Com"))] usize,
905     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pdwproperty: *mut u32, dwflags: u32) -> ::windows::runtime::HRESULT,
906     #[cfg(not(feature = "Win32_System_Com"))] usize,
907     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pfhasproperty: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
908     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
909     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrabsoluteuri: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
910     #[cfg(not(feature = "Win32_Foundation"))] usize,
911     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrauthority: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
912     #[cfg(not(feature = "Win32_Foundation"))] usize,
913     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdisplaystring: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
914     #[cfg(not(feature = "Win32_Foundation"))] usize,
915     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdomain: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
916     #[cfg(not(feature = "Win32_Foundation"))] usize,
917     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrextension: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
918     #[cfg(not(feature = "Win32_Foundation"))] usize,
919     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrfragment: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
920     #[cfg(not(feature = "Win32_Foundation"))] usize,
921     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrhost: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
922     #[cfg(not(feature = "Win32_Foundation"))] usize,
923     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpassword: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
924     #[cfg(not(feature = "Win32_Foundation"))] usize,
925     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpath: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
926     #[cfg(not(feature = "Win32_Foundation"))] usize,
927     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpathandquery: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
928     #[cfg(not(feature = "Win32_Foundation"))] usize,
929     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrquery: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
930     #[cfg(not(feature = "Win32_Foundation"))] usize,
931     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrrawuri: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
932     #[cfg(not(feature = "Win32_Foundation"))] usize,
933     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrschemename: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
934     #[cfg(not(feature = "Win32_Foundation"))] usize,
935     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruserinfo: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
936     #[cfg(not(feature = "Win32_Foundation"))] usize,
937     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrusername: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
938     #[cfg(not(feature = "Win32_Foundation"))] usize,
939     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwhosttype: *mut u32) -> ::windows::runtime::HRESULT,
940     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwport: *mut u32) -> ::windows::runtime::HRESULT,
941     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwscheme: *mut u32) -> ::windows::runtime::HRESULT,
942     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwzone: *mut u32) -> ::windows::runtime::HRESULT,
943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
944     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puri: ::windows::runtime::RawPtr, pfequal: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
945     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
946     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipparturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
947     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, targetparturi: ::windows::runtime::RawPtr, relativeuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
948     #[cfg(not(feature = "Win32_System_Com"))] usize,
949     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relativeuri: ::windows::runtime::RawPtr, combineduri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
950     #[cfg(not(feature = "Win32_System_Com"))] usize,
951     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, comparisonresult: *mut i32) -> ::windows::runtime::HRESULT,
952     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourceuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
953     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isrelationshipuri: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
954     #[cfg(not(feature = "Win32_Foundation"))] usize,
955 );
956 #[repr(transparent)]
957 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
958 pub struct IOpcRelationship(::windows::runtime::IUnknown);
959 impl IOpcRelationship {
960     #[cfg(feature = "Win32_Foundation")]
GetId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>961     pub unsafe fn GetId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
962         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
963         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
964     }
965     #[cfg(feature = "Win32_Foundation")]
GetRelationshipType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>966     pub unsafe fn GetRelationshipType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
967         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
968         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
969     }
GetSourceUri(&self) -> ::windows::runtime::Result<IOpcUri>970     pub unsafe fn GetSourceUri(&self) -> ::windows::runtime::Result<IOpcUri> {
971         let mut result__: <IOpcUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
972         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcUri>(result__)
973     }
974     #[cfg(feature = "Win32_System_Com")]
GetTargetUri(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IUri>975     pub unsafe fn GetTargetUri(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IUri> {
976         let mut result__: <super::super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
977         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::IUri>(result__)
978     }
GetTargetMode(&self) -> ::windows::runtime::Result<OPC_URI_TARGET_MODE>979     pub unsafe fn GetTargetMode(&self) -> ::windows::runtime::Result<OPC_URI_TARGET_MODE> {
980         let mut result__: <OPC_URI_TARGET_MODE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
981         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_URI_TARGET_MODE>(result__)
982     }
983 }
984 unsafe impl ::windows::runtime::Interface for IOpcRelationship {
985     type Vtable = IOpcRelationship_abi;
986     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 114]);
987 }
988 impl ::std::convert::From<IOpcRelationship> for ::windows::runtime::IUnknown {
from(value: IOpcRelationship) -> Self989     fn from(value: IOpcRelationship) -> Self {
990         unsafe { ::std::mem::transmute(value) }
991     }
992 }
993 impl ::std::convert::From<&IOpcRelationship> for ::windows::runtime::IUnknown {
from(value: &IOpcRelationship) -> Self994     fn from(value: &IOpcRelationship) -> Self {
995         ::std::convert::From::from(::std::clone::Clone::clone(value))
996     }
997 }
998 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcRelationship {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>999     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1000         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1001     }
1002 }
1003 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcRelationship {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1004     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1005         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1006     }
1007 }
1008 #[repr(C)]
1009 #[doc(hidden)]
1010 pub struct IOpcRelationship_abi(
1011     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1012     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1014     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipidentifier: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1015     #[cfg(not(feature = "Win32_Foundation"))] usize,
1016     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshiptype: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1017     #[cfg(not(feature = "Win32_Foundation"))] usize,
1018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourceuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1019     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, targeturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1020     #[cfg(not(feature = "Win32_System_Com"))] usize,
1021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, targetmode: *mut OPC_URI_TARGET_MODE) -> ::windows::runtime::HRESULT,
1022 );
1023 #[repr(transparent)]
1024 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1025 pub struct IOpcRelationshipEnumerator(::windows::runtime::IUnknown);
1026 impl IOpcRelationshipEnumerator {
1027     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1028     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1029         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1030         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1031     }
1032     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1033     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1034         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1035         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1036     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcRelationship>1037     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcRelationship> {
1038         let mut result__: <IOpcRelationship as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1039         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationship>(result__)
1040     }
Clone(&self) -> ::windows::runtime::Result<IOpcRelationshipEnumerator>1041     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcRelationshipEnumerator> {
1042         let mut result__: <IOpcRelationshipEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1043         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipEnumerator>(result__)
1044     }
1045 }
1046 unsafe impl ::windows::runtime::Interface for IOpcRelationshipEnumerator {
1047     type Vtable = IOpcRelationshipEnumerator_abi;
1048     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 118]);
1049 }
1050 impl ::std::convert::From<IOpcRelationshipEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcRelationshipEnumerator) -> Self1051     fn from(value: IOpcRelationshipEnumerator) -> Self {
1052         unsafe { ::std::mem::transmute(value) }
1053     }
1054 }
1055 impl ::std::convert::From<&IOpcRelationshipEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcRelationshipEnumerator) -> Self1056     fn from(value: &IOpcRelationshipEnumerator) -> Self {
1057         ::std::convert::From::from(::std::clone::Clone::clone(value))
1058     }
1059 }
1060 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcRelationshipEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1061     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1062         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1063     }
1064 }
1065 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcRelationshipEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1066     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1067         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1068     }
1069 }
1070 #[repr(C)]
1071 #[doc(hidden)]
1072 pub struct IOpcRelationshipEnumerator_abi(
1073     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1074     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1075     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1076     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1077     #[cfg(not(feature = "Win32_Foundation"))] usize,
1078     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1079     #[cfg(not(feature = "Win32_Foundation"))] usize,
1080     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationship: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1081     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1082 );
1083 #[repr(transparent)]
1084 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1085 pub struct IOpcRelationshipSelector(::windows::runtime::IUnknown);
1086 impl IOpcRelationshipSelector {
GetSelectorType(&self) -> ::windows::runtime::Result<OPC_RELATIONSHIP_SELECTOR>1087     pub unsafe fn GetSelectorType(&self) -> ::windows::runtime::Result<OPC_RELATIONSHIP_SELECTOR> {
1088         let mut result__: <OPC_RELATIONSHIP_SELECTOR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1089         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_RELATIONSHIP_SELECTOR>(result__)
1090     }
1091     #[cfg(feature = "Win32_Foundation")]
GetSelectionCriterion(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1092     pub unsafe fn GetSelectionCriterion(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1093         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1094         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1095     }
1096 }
1097 unsafe impl ::windows::runtime::Interface for IOpcRelationshipSelector {
1098     type Vtable = IOpcRelationshipSelector_abi;
1099     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4176637055, 45711, 18585, [132, 200, 93, 86, 57, 237, 231, 95]);
1100 }
1101 impl ::std::convert::From<IOpcRelationshipSelector> for ::windows::runtime::IUnknown {
from(value: IOpcRelationshipSelector) -> Self1102     fn from(value: IOpcRelationshipSelector) -> Self {
1103         unsafe { ::std::mem::transmute(value) }
1104     }
1105 }
1106 impl ::std::convert::From<&IOpcRelationshipSelector> for ::windows::runtime::IUnknown {
from(value: &IOpcRelationshipSelector) -> Self1107     fn from(value: &IOpcRelationshipSelector) -> Self {
1108         ::std::convert::From::from(::std::clone::Clone::clone(value))
1109     }
1110 }
1111 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcRelationshipSelector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1112     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1113         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1114     }
1115 }
1116 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcRelationshipSelector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1117     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1118         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1119     }
1120 }
1121 #[repr(C)]
1122 #[doc(hidden)]
1123 pub struct IOpcRelationshipSelector_abi(
1124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1125     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1126     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selector: *mut OPC_RELATIONSHIP_SELECTOR) -> ::windows::runtime::HRESULT,
1128     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selectioncriterion: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1129     #[cfg(not(feature = "Win32_Foundation"))] usize,
1130 );
1131 #[repr(transparent)]
1132 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1133 pub struct IOpcRelationshipSelectorEnumerator(::windows::runtime::IUnknown);
1134 impl IOpcRelationshipSelectorEnumerator {
1135     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1136     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1137         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1138         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1139     }
1140     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1141     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1142         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1143         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1144     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcRelationshipSelector>1145     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcRelationshipSelector> {
1146         let mut result__: <IOpcRelationshipSelector as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1147         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSelector>(result__)
1148     }
Clone(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorEnumerator>1149     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorEnumerator> {
1150         let mut result__: <IOpcRelationshipSelectorEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1151         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSelectorEnumerator>(result__)
1152     }
1153 }
1154 unsafe impl ::windows::runtime::Interface for IOpcRelationshipSelectorEnumerator {
1155     type Vtable = IOpcRelationshipSelectorEnumerator_abi;
1156     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1582342529, 43291, 18604, [136, 210, 188, 163, 216, 248, 192, 177]);
1157 }
1158 impl ::std::convert::From<IOpcRelationshipSelectorEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcRelationshipSelectorEnumerator) -> Self1159     fn from(value: IOpcRelationshipSelectorEnumerator) -> Self {
1160         unsafe { ::std::mem::transmute(value) }
1161     }
1162 }
1163 impl ::std::convert::From<&IOpcRelationshipSelectorEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcRelationshipSelectorEnumerator) -> Self1164     fn from(value: &IOpcRelationshipSelectorEnumerator) -> Self {
1165         ::std::convert::From::from(::std::clone::Clone::clone(value))
1166     }
1167 }
1168 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcRelationshipSelectorEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1169     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1170         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1171     }
1172 }
1173 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcRelationshipSelectorEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1174     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1175         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1176     }
1177 }
1178 #[repr(C)]
1179 #[doc(hidden)]
1180 pub struct IOpcRelationshipSelectorEnumerator_abi(
1181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1184     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1185     #[cfg(not(feature = "Win32_Foundation"))] usize,
1186     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1187     #[cfg(not(feature = "Win32_Foundation"))] usize,
1188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipselector: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1190 );
1191 #[repr(transparent)]
1192 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1193 pub struct IOpcRelationshipSelectorSet(::windows::runtime::IUnknown);
1194 impl IOpcRelationshipSelectorSet {
1195     #[cfg(feature = "Win32_Foundation")]
Create<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, selector: OPC_RELATIONSHIP_SELECTOR, selectioncriterion: Param1) -> ::windows::runtime::Result<IOpcRelationshipSelector>1196     pub unsafe fn Create<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, selector: OPC_RELATIONSHIP_SELECTOR, selectioncriterion: Param1) -> ::windows::runtime::Result<IOpcRelationshipSelector> {
1197         let mut result__: <IOpcRelationshipSelector as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1198         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(selector), selectioncriterion.into_param().abi(), &mut result__).from_abi::<IOpcRelationshipSelector>(result__)
1199     }
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcRelationshipSelector>>(&self, relationshipselector: Param0) -> ::windows::runtime::Result<()>1200     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcRelationshipSelector>>(&self, relationshipselector: Param0) -> ::windows::runtime::Result<()> {
1201         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), relationshipselector.into_param().abi()).ok()
1202     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorEnumerator>1203     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorEnumerator> {
1204         let mut result__: <IOpcRelationshipSelectorEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1205         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSelectorEnumerator>(result__)
1206     }
1207 }
1208 unsafe impl ::windows::runtime::Interface for IOpcRelationshipSelectorSet {
1209     type Vtable = IOpcRelationshipSelectorSet_abi;
1210     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1848951401, 42195, 18368, [181, 196, 135, 255, 43, 59, 97, 54]);
1211 }
1212 impl ::std::convert::From<IOpcRelationshipSelectorSet> for ::windows::runtime::IUnknown {
from(value: IOpcRelationshipSelectorSet) -> Self1213     fn from(value: IOpcRelationshipSelectorSet) -> Self {
1214         unsafe { ::std::mem::transmute(value) }
1215     }
1216 }
1217 impl ::std::convert::From<&IOpcRelationshipSelectorSet> for ::windows::runtime::IUnknown {
from(value: &IOpcRelationshipSelectorSet) -> Self1218     fn from(value: &IOpcRelationshipSelectorSet) -> Self {
1219         ::std::convert::From::from(::std::clone::Clone::clone(value))
1220     }
1221 }
1222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcRelationshipSelectorSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1224         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1225     }
1226 }
1227 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcRelationshipSelectorSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1228     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1229         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1230     }
1231 }
1232 #[repr(C)]
1233 #[doc(hidden)]
1234 pub struct IOpcRelationshipSelectorSet_abi(
1235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1238     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selector: OPC_RELATIONSHIP_SELECTOR, selectioncriterion: super::super::super::Foundation::PWSTR, relationshipselector: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1239     #[cfg(not(feature = "Win32_Foundation"))] usize,
1240     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipselector: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1241     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipselectorenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1242 );
1243 #[repr(transparent)]
1244 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1245 pub struct IOpcRelationshipSet(::windows::runtime::IUnknown);
1246 impl IOpcRelationshipSet {
1247     #[cfg(feature = "Win32_Foundation")]
GetRelationship<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshipidentifier: Param0) -> ::windows::runtime::Result<IOpcRelationship>1248     pub unsafe fn GetRelationship<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshipidentifier: Param0) -> ::windows::runtime::Result<IOpcRelationship> {
1249         let mut result__: <IOpcRelationship as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1250         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), relationshipidentifier.into_param().abi(), &mut result__).from_abi::<IOpcRelationship>(result__)
1251     }
1252     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
CreateRelationship<'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::System::Com::IUri>>(&self, relationshipidentifier: Param0, relationshiptype: Param1, targeturi: Param2, targetmode: OPC_URI_TARGET_MODE) -> ::windows::runtime::Result<IOpcRelationship>1253     pub unsafe fn CreateRelationship<'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::System::Com::IUri>>(&self, relationshipidentifier: Param0, relationshiptype: Param1, targeturi: Param2, targetmode: OPC_URI_TARGET_MODE) -> ::windows::runtime::Result<IOpcRelationship> {
1254         let mut result__: <IOpcRelationship as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1255         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), relationshipidentifier.into_param().abi(), relationshiptype.into_param().abi(), targeturi.into_param().abi(), ::std::mem::transmute(targetmode), &mut result__).from_abi::<IOpcRelationship>(result__)
1256     }
1257     #[cfg(feature = "Win32_Foundation")]
DeleteRelationship<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshipidentifier: Param0) -> ::windows::runtime::Result<()>1258     pub unsafe fn DeleteRelationship<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshipidentifier: Param0) -> ::windows::runtime::Result<()> {
1259         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), relationshipidentifier.into_param().abi()).ok()
1260     }
1261     #[cfg(feature = "Win32_Foundation")]
RelationshipExists<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshipidentifier: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1262     pub unsafe fn RelationshipExists<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshipidentifier: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1263         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1264         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), relationshipidentifier.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1265     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcRelationshipEnumerator>1266     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcRelationshipEnumerator> {
1267         let mut result__: <IOpcRelationshipEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1268         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipEnumerator>(result__)
1269     }
1270     #[cfg(feature = "Win32_Foundation")]
GetEnumeratorForType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshiptype: Param0) -> ::windows::runtime::Result<IOpcRelationshipEnumerator>1271     pub unsafe fn GetEnumeratorForType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, relationshiptype: Param0) -> ::windows::runtime::Result<IOpcRelationshipEnumerator> {
1272         let mut result__: <IOpcRelationshipEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1273         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), relationshiptype.into_param().abi(), &mut result__).from_abi::<IOpcRelationshipEnumerator>(result__)
1274     }
1275     #[cfg(feature = "Win32_System_Com")]
GetRelationshipsContentStream(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IStream>1276     pub unsafe fn GetRelationshipsContentStream(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IStream> {
1277         let mut result__: <super::super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1278         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::IStream>(result__)
1279     }
1280 }
1281 unsafe impl ::windows::runtime::Interface for IOpcRelationshipSet {
1282     type Vtable = IOpcRelationshipSet_abi;
1283     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1108957513, 15225, 20424, [137, 198, 252, 127, 185, 121, 238, 116]);
1284 }
1285 impl ::std::convert::From<IOpcRelationshipSet> for ::windows::runtime::IUnknown {
from(value: IOpcRelationshipSet) -> Self1286     fn from(value: IOpcRelationshipSet) -> Self {
1287         unsafe { ::std::mem::transmute(value) }
1288     }
1289 }
1290 impl ::std::convert::From<&IOpcRelationshipSet> for ::windows::runtime::IUnknown {
from(value: &IOpcRelationshipSet) -> Self1291     fn from(value: &IOpcRelationshipSet) -> Self {
1292         ::std::convert::From::from(::std::clone::Clone::clone(value))
1293     }
1294 }
1295 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcRelationshipSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1296     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1297         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1298     }
1299 }
1300 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcRelationshipSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1301     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1302         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1303     }
1304 }
1305 #[repr(C)]
1306 #[doc(hidden)]
1307 pub struct IOpcRelationshipSet_abi(
1308     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1309     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1310     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1311     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipidentifier: super::super::super::Foundation::PWSTR, relationship: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1312     #[cfg(not(feature = "Win32_Foundation"))] usize,
1313     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipidentifier: super::super::super::Foundation::PWSTR, relationshiptype: super::super::super::Foundation::PWSTR, targeturi: ::windows::runtime::RawPtr, targetmode: OPC_URI_TARGET_MODE, relationship: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1314     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
1315     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipidentifier: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1316     #[cfg(not(feature = "Win32_Foundation"))] usize,
1317     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipidentifier: super::super::super::Foundation::PWSTR, relationshipexists: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1318     #[cfg(not(feature = "Win32_Foundation"))] usize,
1319     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1320     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshiptype: super::super::super::Foundation::PWSTR, relationshipenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1321     #[cfg(not(feature = "Win32_Foundation"))] usize,
1322     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contents: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1323     #[cfg(not(feature = "Win32_System_Com"))] usize,
1324 );
1325 #[repr(transparent)]
1326 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1327 pub struct IOpcSignatureCustomObject(::windows::runtime::IUnknown);
1328 impl IOpcSignatureCustomObject {
GetXml(&self, xmlmarkup: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>1329     pub unsafe fn GetXml(&self, xmlmarkup: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
1330         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(xmlmarkup), ::std::mem::transmute(count)).ok()
1331     }
1332 }
1333 unsafe impl ::windows::runtime::Interface for IOpcSignatureCustomObject {
1334     type Vtable = IOpcSignatureCustomObject_abi;
1335     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1568121246, 25281, 17639, [190, 205, 69, 218, 90, 229, 26, 86]);
1336 }
1337 impl ::std::convert::From<IOpcSignatureCustomObject> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureCustomObject) -> Self1338     fn from(value: IOpcSignatureCustomObject) -> Self {
1339         unsafe { ::std::mem::transmute(value) }
1340     }
1341 }
1342 impl ::std::convert::From<&IOpcSignatureCustomObject> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureCustomObject) -> Self1343     fn from(value: &IOpcSignatureCustomObject) -> Self {
1344         ::std::convert::From::from(::std::clone::Clone::clone(value))
1345     }
1346 }
1347 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureCustomObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1348     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1349         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1350     }
1351 }
1352 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureCustomObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1353     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1354         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1355     }
1356 }
1357 #[repr(C)]
1358 #[doc(hidden)]
1359 pub struct IOpcSignatureCustomObject_abi(
1360     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1361     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1362     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1363     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xmlmarkup: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
1364 );
1365 #[repr(transparent)]
1366 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1367 pub struct IOpcSignatureCustomObjectEnumerator(::windows::runtime::IUnknown);
1368 impl IOpcSignatureCustomObjectEnumerator {
1369     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1370     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1371         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1372         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1373     }
1374     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1375     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1376         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1377         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1378     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObject>1379     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObject> {
1380         let mut result__: <IOpcSignatureCustomObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1381         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureCustomObject>(result__)
1382     }
Clone(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectEnumerator>1383     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectEnumerator> {
1384         let mut result__: <IOpcSignatureCustomObjectEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1385         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureCustomObjectEnumerator>(result__)
1386     }
1387 }
1388 unsafe impl ::windows::runtime::Interface for IOpcSignatureCustomObjectEnumerator {
1389     type Vtable = IOpcSignatureCustomObjectEnumerator_abi;
1390     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1592065565, 57776, 18051, [128, 121, 126, 160, 252, 248, 11, 76]);
1391 }
1392 impl ::std::convert::From<IOpcSignatureCustomObjectEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureCustomObjectEnumerator) -> Self1393     fn from(value: IOpcSignatureCustomObjectEnumerator) -> Self {
1394         unsafe { ::std::mem::transmute(value) }
1395     }
1396 }
1397 impl ::std::convert::From<&IOpcSignatureCustomObjectEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureCustomObjectEnumerator) -> Self1398     fn from(value: &IOpcSignatureCustomObjectEnumerator) -> Self {
1399         ::std::convert::From::from(::std::clone::Clone::clone(value))
1400     }
1401 }
1402 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureCustomObjectEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1403     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1404         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1405     }
1406 }
1407 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureCustomObjectEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1408     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1409         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1410     }
1411 }
1412 #[repr(C)]
1413 #[doc(hidden)]
1414 pub struct IOpcSignatureCustomObjectEnumerator_abi(
1415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1418     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1419     #[cfg(not(feature = "Win32_Foundation"))] usize,
1420     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1421     #[cfg(not(feature = "Win32_Foundation"))] usize,
1422     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1424 );
1425 #[repr(transparent)]
1426 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1427 pub struct IOpcSignatureCustomObjectSet(::windows::runtime::IUnknown);
1428 impl IOpcSignatureCustomObjectSet {
Create(&self, xmlmarkup: *const u8, count: u32) -> ::windows::runtime::Result<IOpcSignatureCustomObject>1429     pub unsafe fn Create(&self, xmlmarkup: *const u8, count: u32) -> ::windows::runtime::Result<IOpcSignatureCustomObject> {
1430         let mut result__: <IOpcSignatureCustomObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1431         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(xmlmarkup), ::std::mem::transmute(count), &mut result__).from_abi::<IOpcSignatureCustomObject>(result__)
1432     }
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignatureCustomObject>>(&self, customobject: Param0) -> ::windows::runtime::Result<()>1433     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignatureCustomObject>>(&self, customobject: Param0) -> ::windows::runtime::Result<()> {
1434         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), customobject.into_param().abi()).ok()
1435     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectEnumerator>1436     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectEnumerator> {
1437         let mut result__: <IOpcSignatureCustomObjectEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1438         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureCustomObjectEnumerator>(result__)
1439     }
1440 }
1441 unsafe impl ::windows::runtime::Interface for IOpcSignatureCustomObjectSet {
1442     type Vtable = IOpcSignatureCustomObjectSet_abi;
1443     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2407082693, 31047, 19985, [188, 61, 38, 89, 255, 4, 106, 225]);
1444 }
1445 impl ::std::convert::From<IOpcSignatureCustomObjectSet> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureCustomObjectSet) -> Self1446     fn from(value: IOpcSignatureCustomObjectSet) -> Self {
1447         unsafe { ::std::mem::transmute(value) }
1448     }
1449 }
1450 impl ::std::convert::From<&IOpcSignatureCustomObjectSet> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureCustomObjectSet) -> Self1451     fn from(value: &IOpcSignatureCustomObjectSet) -> Self {
1452         ::std::convert::From::from(::std::clone::Clone::clone(value))
1453     }
1454 }
1455 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureCustomObjectSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1456     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1457         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1458     }
1459 }
1460 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureCustomObjectSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1461     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1462         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1463     }
1464 }
1465 #[repr(C)]
1466 #[doc(hidden)]
1467 pub struct IOpcSignatureCustomObjectSet_abi(
1468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1469     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xmlmarkup: *const u8, count: u32, customobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobjectenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1474 );
1475 #[repr(transparent)]
1476 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1477 pub struct IOpcSignaturePartReference(::windows::runtime::IUnknown);
1478 impl IOpcSignaturePartReference {
GetPartName(&self) -> ::windows::runtime::Result<IOpcPartUri>1479     pub unsafe fn GetPartName(&self) -> ::windows::runtime::Result<IOpcPartUri> {
1480         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1481         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
1482     }
1483     #[cfg(feature = "Win32_Foundation")]
GetContentType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1484     pub unsafe fn GetContentType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1485         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1486         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1487     }
1488     #[cfg(feature = "Win32_Foundation")]
GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1489     pub unsafe fn GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1490         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1491         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1492     }
GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>1493     pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
1494         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(digestvalue), ::std::mem::transmute(count)).ok()
1495     }
GetTransformMethod(&self) -> ::windows::runtime::Result<OPC_CANONICALIZATION_METHOD>1496     pub unsafe fn GetTransformMethod(&self) -> ::windows::runtime::Result<OPC_CANONICALIZATION_METHOD> {
1497         let mut result__: <OPC_CANONICALIZATION_METHOD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1498         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_CANONICALIZATION_METHOD>(result__)
1499     }
1500 }
1501 unsafe impl ::windows::runtime::Interface for IOpcSignaturePartReference {
1502     type Vtable = IOpcSignaturePartReference_abi;
1503     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3795988938, 23028, 18510, [182, 75, 54, 238, 218, 54, 7, 44]);
1504 }
1505 impl ::std::convert::From<IOpcSignaturePartReference> for ::windows::runtime::IUnknown {
from(value: IOpcSignaturePartReference) -> Self1506     fn from(value: IOpcSignaturePartReference) -> Self {
1507         unsafe { ::std::mem::transmute(value) }
1508     }
1509 }
1510 impl ::std::convert::From<&IOpcSignaturePartReference> for ::windows::runtime::IUnknown {
from(value: &IOpcSignaturePartReference) -> Self1511     fn from(value: &IOpcSignaturePartReference) -> Self {
1512         ::std::convert::From::from(::std::clone::Clone::clone(value))
1513     }
1514 }
1515 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignaturePartReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1516     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1517         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1518     }
1519 }
1520 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignaturePartReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1521     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1522         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1523     }
1524 }
1525 #[repr(C)]
1526 #[doc(hidden)]
1527 pub struct IOpcSignaturePartReference_abi(
1528     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1529     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1530     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1531     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1532     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contenttype: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1533     #[cfg(not(feature = "Win32_Foundation"))] usize,
1534     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1535     #[cfg(not(feature = "Win32_Foundation"))] usize,
1536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
1537     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transformmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::HRESULT,
1538 );
1539 #[repr(transparent)]
1540 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1541 pub struct IOpcSignaturePartReferenceEnumerator(::windows::runtime::IUnknown);
1542 impl IOpcSignaturePartReferenceEnumerator {
1543     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1544     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1545         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1546         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1547     }
1548     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1549     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1550         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1551         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1552     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignaturePartReference>1553     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignaturePartReference> {
1554         let mut result__: <IOpcSignaturePartReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1555         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignaturePartReference>(result__)
1556     }
Clone(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceEnumerator>1557     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceEnumerator> {
1558         let mut result__: <IOpcSignaturePartReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1559         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignaturePartReferenceEnumerator>(result__)
1560     }
1561 }
1562 unsafe impl ::windows::runtime::Interface for IOpcSignaturePartReferenceEnumerator {
1563     type Vtable = IOpcSignaturePartReferenceEnumerator_abi;
1564     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2162890081, 35959, 18895, [130, 102, 69, 155, 53, 110, 233, 154]);
1565 }
1566 impl ::std::convert::From<IOpcSignaturePartReferenceEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcSignaturePartReferenceEnumerator) -> Self1567     fn from(value: IOpcSignaturePartReferenceEnumerator) -> Self {
1568         unsafe { ::std::mem::transmute(value) }
1569     }
1570 }
1571 impl ::std::convert::From<&IOpcSignaturePartReferenceEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcSignaturePartReferenceEnumerator) -> Self1572     fn from(value: &IOpcSignaturePartReferenceEnumerator) -> Self {
1573         ::std::convert::From::from(::std::clone::Clone::clone(value))
1574     }
1575 }
1576 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignaturePartReferenceEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1577     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1578         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1579     }
1580 }
1581 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignaturePartReferenceEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1582     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1583         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1584     }
1585 }
1586 #[repr(C)]
1587 #[doc(hidden)]
1588 pub struct IOpcSignaturePartReferenceEnumerator_abi(
1589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1592     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1593     #[cfg(not(feature = "Win32_Foundation"))] usize,
1594     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1595     #[cfg(not(feature = "Win32_Foundation"))] usize,
1596     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partreference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1597     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1598 );
1599 #[repr(transparent)]
1600 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1601 pub struct IOpcSignaturePartReferenceSet(::windows::runtime::IUnknown);
1602 impl IOpcSignaturePartReferenceSet {
1603     #[cfg(feature = "Win32_Foundation")]
Create<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, parturi: Param0, digestmethod: Param1, transformmethod: OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::Result<IOpcSignaturePartReference>1604     pub unsafe fn Create<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, parturi: Param0, digestmethod: Param1, transformmethod: OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::Result<IOpcSignaturePartReference> {
1605         let mut result__: <IOpcSignaturePartReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1606         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), parturi.into_param().abi(), digestmethod.into_param().abi(), ::std::mem::transmute(transformmethod), &mut result__).from_abi::<IOpcSignaturePartReference>(result__)
1607     }
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignaturePartReference>>(&self, partreference: Param0) -> ::windows::runtime::Result<()>1608     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignaturePartReference>>(&self, partreference: Param0) -> ::windows::runtime::Result<()> {
1609         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), partreference.into_param().abi()).ok()
1610     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceEnumerator>1611     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceEnumerator> {
1612         let mut result__: <IOpcSignaturePartReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1613         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignaturePartReferenceEnumerator>(result__)
1614     }
1615 }
1616 unsafe impl ::windows::runtime::Interface for IOpcSignaturePartReferenceSet {
1617     type Vtable = IOpcSignaturePartReferenceSet_abi;
1618     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1822417548, 60633, 19234, [157, 54, 127, 221, 230, 112, 254, 192]);
1619 }
1620 impl ::std::convert::From<IOpcSignaturePartReferenceSet> for ::windows::runtime::IUnknown {
from(value: IOpcSignaturePartReferenceSet) -> Self1621     fn from(value: IOpcSignaturePartReferenceSet) -> Self {
1622         unsafe { ::std::mem::transmute(value) }
1623     }
1624 }
1625 impl ::std::convert::From<&IOpcSignaturePartReferenceSet> for ::windows::runtime::IUnknown {
from(value: &IOpcSignaturePartReferenceSet) -> Self1626     fn from(value: &IOpcSignaturePartReferenceSet) -> Self {
1627         ::std::convert::From::from(::std::clone::Clone::clone(value))
1628     }
1629 }
1630 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignaturePartReferenceSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1631     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1632         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1633     }
1634 }
1635 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignaturePartReferenceSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1636     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1637         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1638     }
1639 }
1640 #[repr(C)]
1641 #[doc(hidden)]
1642 pub struct IOpcSignaturePartReferenceSet_abi(
1643     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1646     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parturi: ::windows::runtime::RawPtr, digestmethod: super::super::super::Foundation::PWSTR, transformmethod: OPC_CANONICALIZATION_METHOD, partreference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1647     #[cfg(not(feature = "Win32_Foundation"))] usize,
1648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partreference: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1649     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partreferenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1650 );
1651 #[repr(transparent)]
1652 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1653 pub struct IOpcSignatureReference(::windows::runtime::IUnknown);
1654 impl IOpcSignatureReference {
1655     #[cfg(feature = "Win32_Foundation")]
GetId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1656     pub unsafe fn GetId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1657         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1658         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1659     }
1660     #[cfg(feature = "Win32_System_Com")]
GetUri(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IUri>1661     pub unsafe fn GetUri(&self) -> ::windows::runtime::Result<super::super::super::System::Com::IUri> {
1662         let mut result__: <super::super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1663         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::IUri>(result__)
1664     }
1665     #[cfg(feature = "Win32_Foundation")]
GetType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1666     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1667         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1668         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1669     }
GetTransformMethod(&self) -> ::windows::runtime::Result<OPC_CANONICALIZATION_METHOD>1670     pub unsafe fn GetTransformMethod(&self) -> ::windows::runtime::Result<OPC_CANONICALIZATION_METHOD> {
1671         let mut result__: <OPC_CANONICALIZATION_METHOD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1672         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_CANONICALIZATION_METHOD>(result__)
1673     }
1674     #[cfg(feature = "Win32_Foundation")]
GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1675     pub unsafe fn GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1676         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1677         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1678     }
GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>1679     pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
1680         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(digestvalue), ::std::mem::transmute(count)).ok()
1681     }
1682 }
1683 unsafe impl ::windows::runtime::Interface for IOpcSignatureReference {
1684     type Vtable = IOpcSignatureReference_abi;
1685     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(457637982, 12305, 20188, [190, 111, 15, 101, 229, 171, 3, 66]);
1686 }
1687 impl ::std::convert::From<IOpcSignatureReference> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureReference) -> Self1688     fn from(value: IOpcSignatureReference) -> Self {
1689         unsafe { ::std::mem::transmute(value) }
1690     }
1691 }
1692 impl ::std::convert::From<&IOpcSignatureReference> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureReference) -> Self1693     fn from(value: &IOpcSignatureReference) -> Self {
1694         ::std::convert::From::from(::std::clone::Clone::clone(value))
1695     }
1696 }
1697 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1698     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1699         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1700     }
1701 }
1702 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1703     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1704         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1705     }
1706 }
1707 #[repr(C)]
1708 #[doc(hidden)]
1709 pub struct IOpcSignatureReference_abi(
1710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1713     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, referenceid: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1714     #[cfg(not(feature = "Win32_Foundation"))] usize,
1715     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, referenceuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1716     #[cfg(not(feature = "Win32_System_Com"))] usize,
1717     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1718     #[cfg(not(feature = "Win32_Foundation"))] usize,
1719     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transformmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::HRESULT,
1720     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1721     #[cfg(not(feature = "Win32_Foundation"))] usize,
1722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
1723 );
1724 #[repr(transparent)]
1725 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1726 pub struct IOpcSignatureReferenceEnumerator(::windows::runtime::IUnknown);
1727 impl IOpcSignatureReferenceEnumerator {
1728     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1729     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1730         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1731         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1732     }
1733     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1734     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1735         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1736         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1737     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignatureReference>1738     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignatureReference> {
1739         let mut result__: <IOpcSignatureReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1740         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureReference>(result__)
1741     }
Clone(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceEnumerator>1742     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceEnumerator> {
1743         let mut result__: <IOpcSignatureReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1744         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureReferenceEnumerator>(result__)
1745     }
1746 }
1747 unsafe impl ::windows::runtime::Interface for IOpcSignatureReferenceEnumerator {
1748     type Vtable = IOpcSignatureReferenceEnumerator_abi;
1749     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3483736645, 10417, 18536, [150, 158, 250, 128, 151, 253, 193, 42]);
1750 }
1751 impl ::std::convert::From<IOpcSignatureReferenceEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureReferenceEnumerator) -> Self1752     fn from(value: IOpcSignatureReferenceEnumerator) -> Self {
1753         unsafe { ::std::mem::transmute(value) }
1754     }
1755 }
1756 impl ::std::convert::From<&IOpcSignatureReferenceEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureReferenceEnumerator) -> Self1757     fn from(value: &IOpcSignatureReferenceEnumerator) -> Self {
1758         ::std::convert::From::from(::std::clone::Clone::clone(value))
1759     }
1760 }
1761 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureReferenceEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1762     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1763         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1764     }
1765 }
1766 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureReferenceEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1767     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1768         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1769     }
1770 }
1771 #[repr(C)]
1772 #[doc(hidden)]
1773 pub struct IOpcSignatureReferenceEnumerator_abi(
1774     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1775     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1776     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1777     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1778     #[cfg(not(feature = "Win32_Foundation"))] usize,
1779     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1780     #[cfg(not(feature = "Win32_Foundation"))] usize,
1781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1782     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1783 );
1784 #[repr(transparent)]
1785 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1786 pub struct IOpcSignatureReferenceSet(::windows::runtime::IUnknown);
1787 impl IOpcSignatureReferenceSet {
1788     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>, 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, referenceuri: Param0, referenceid: Param1, r#type: Param2, digestmethod: Param3, transformmethod: OPC_CANONICALIZATION_METHOD, ) -> ::windows::runtime::Result<IOpcSignatureReference>1789     pub unsafe fn Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>, 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>>(
1790         &self,
1791         referenceuri: Param0,
1792         referenceid: Param1,
1793         r#type: Param2,
1794         digestmethod: Param3,
1795         transformmethod: OPC_CANONICALIZATION_METHOD,
1796     ) -> ::windows::runtime::Result<IOpcSignatureReference> {
1797         let mut result__: <IOpcSignatureReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1798         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), referenceuri.into_param().abi(), referenceid.into_param().abi(), r#type.into_param().abi(), digestmethod.into_param().abi(), ::std::mem::transmute(transformmethod), &mut result__).from_abi::<IOpcSignatureReference>(result__)
1799     }
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignatureReference>>(&self, reference: Param0) -> ::windows::runtime::Result<()>1800     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignatureReference>>(&self, reference: Param0) -> ::windows::runtime::Result<()> {
1801         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), reference.into_param().abi()).ok()
1802     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceEnumerator>1803     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceEnumerator> {
1804         let mut result__: <IOpcSignatureReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1805         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureReferenceEnumerator>(result__)
1806     }
1807 }
1808 unsafe impl ::windows::runtime::Interface for IOpcSignatureReferenceSet {
1809     type Vtable = IOpcSignatureReferenceSet_abi;
1810     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4088409393, 43794, 17117, [158, 47, 43, 22, 118, 28, 60, 30]);
1811 }
1812 impl ::std::convert::From<IOpcSignatureReferenceSet> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureReferenceSet) -> Self1813     fn from(value: IOpcSignatureReferenceSet) -> Self {
1814         unsafe { ::std::mem::transmute(value) }
1815     }
1816 }
1817 impl ::std::convert::From<&IOpcSignatureReferenceSet> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureReferenceSet) -> Self1818     fn from(value: &IOpcSignatureReferenceSet) -> Self {
1819         ::std::convert::From::from(::std::clone::Clone::clone(value))
1820     }
1821 }
1822 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureReferenceSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1823     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1824         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1825     }
1826 }
1827 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureReferenceSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1828     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1829         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1830     }
1831 }
1832 #[repr(C)]
1833 #[doc(hidden)]
1834 pub struct IOpcSignatureReferenceSet_abi(
1835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1838     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, referenceuri: ::windows::runtime::RawPtr, referenceid: super::super::super::Foundation::PWSTR, r#type: super::super::super::Foundation::PWSTR, digestmethod: super::super::super::Foundation::PWSTR, transformmethod: OPC_CANONICALIZATION_METHOD, reference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1839     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
1840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reference: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, referenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1842 );
1843 #[repr(transparent)]
1844 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1845 pub struct IOpcSignatureRelationshipReference(::windows::runtime::IUnknown);
1846 impl IOpcSignatureRelationshipReference {
GetSourceUri(&self) -> ::windows::runtime::Result<IOpcUri>1847     pub unsafe fn GetSourceUri(&self) -> ::windows::runtime::Result<IOpcUri> {
1848         let mut result__: <IOpcUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1849         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcUri>(result__)
1850     }
1851     #[cfg(feature = "Win32_Foundation")]
GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>1852     pub unsafe fn GetDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
1853         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1854         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
1855     }
GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>1856     pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
1857         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(digestvalue), ::std::mem::transmute(count)).ok()
1858     }
GetTransformMethod(&self) -> ::windows::runtime::Result<OPC_CANONICALIZATION_METHOD>1859     pub unsafe fn GetTransformMethod(&self) -> ::windows::runtime::Result<OPC_CANONICALIZATION_METHOD> {
1860         let mut result__: <OPC_CANONICALIZATION_METHOD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1861         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_CANONICALIZATION_METHOD>(result__)
1862     }
GetRelationshipSigningOption(&self) -> ::windows::runtime::Result<OPC_RELATIONSHIPS_SIGNING_OPTION>1863     pub unsafe fn GetRelationshipSigningOption(&self) -> ::windows::runtime::Result<OPC_RELATIONSHIPS_SIGNING_OPTION> {
1864         let mut result__: <OPC_RELATIONSHIPS_SIGNING_OPTION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1865         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_RELATIONSHIPS_SIGNING_OPTION>(result__)
1866     }
GetRelationshipSelectorEnumerator(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorEnumerator>1867     pub unsafe fn GetRelationshipSelectorEnumerator(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorEnumerator> {
1868         let mut result__: <IOpcRelationshipSelectorEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1869         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSelectorEnumerator>(result__)
1870     }
1871 }
1872 unsafe impl ::windows::runtime::Interface for IOpcSignatureRelationshipReference {
1873     type Vtable = IOpcSignatureRelationshipReference_abi;
1874     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1471855302, 40266, 20048, [139, 134, 229, 212, 5, 30, 174, 124]);
1875 }
1876 impl ::std::convert::From<IOpcSignatureRelationshipReference> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureRelationshipReference) -> Self1877     fn from(value: IOpcSignatureRelationshipReference) -> Self {
1878         unsafe { ::std::mem::transmute(value) }
1879     }
1880 }
1881 impl ::std::convert::From<&IOpcSignatureRelationshipReference> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureRelationshipReference) -> Self1882     fn from(value: &IOpcSignatureRelationshipReference) -> Self {
1883         ::std::convert::From::from(::std::clone::Clone::clone(value))
1884     }
1885 }
1886 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureRelationshipReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1887     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1888         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1889     }
1890 }
1891 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureRelationshipReference {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1892     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1893         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1894     }
1895 }
1896 #[repr(C)]
1897 #[doc(hidden)]
1898 pub struct IOpcSignatureRelationshipReference_abi(
1899     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1900     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1901     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1902     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourceuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1903     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1904     #[cfg(not(feature = "Win32_Foundation"))] usize,
1905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestvalue: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
1906     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transformmethod: *mut OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::HRESULT,
1907     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipsigningoption: *mut OPC_RELATIONSHIPS_SIGNING_OPTION) -> ::windows::runtime::HRESULT,
1908     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selectorenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1909 );
1910 #[repr(transparent)]
1911 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1912 pub struct IOpcSignatureRelationshipReferenceEnumerator(::windows::runtime::IUnknown);
1913 impl IOpcSignatureRelationshipReferenceEnumerator {
1914     #[cfg(feature = "Win32_Foundation")]
MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1915     pub unsafe fn MoveNext(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1916         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1917         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1918     }
1919     #[cfg(feature = "Win32_Foundation")]
MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>1920     pub unsafe fn MovePrevious(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
1921         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1922         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
1923     }
GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReference>1924     pub unsafe fn GetCurrent(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReference> {
1925         let mut result__: <IOpcSignatureRelationshipReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1926         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureRelationshipReference>(result__)
1927     }
Clone(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceEnumerator>1928     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceEnumerator> {
1929         let mut result__: <IOpcSignatureRelationshipReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1930         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureRelationshipReferenceEnumerator>(result__)
1931     }
1932 }
1933 unsafe impl ::windows::runtime::Interface for IOpcSignatureRelationshipReferenceEnumerator {
1934     type Vtable = IOpcSignatureRelationshipReferenceEnumerator_abi;
1935     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2000397284, 61473, 18660, [170, 4, 152, 22, 219, 93, 52, 149]);
1936 }
1937 impl ::std::convert::From<IOpcSignatureRelationshipReferenceEnumerator> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureRelationshipReferenceEnumerator) -> Self1938     fn from(value: IOpcSignatureRelationshipReferenceEnumerator) -> Self {
1939         unsafe { ::std::mem::transmute(value) }
1940     }
1941 }
1942 impl ::std::convert::From<&IOpcSignatureRelationshipReferenceEnumerator> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureRelationshipReferenceEnumerator) -> Self1943     fn from(value: &IOpcSignatureRelationshipReferenceEnumerator) -> Self {
1944         ::std::convert::From::from(::std::clone::Clone::clone(value))
1945     }
1946 }
1947 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureRelationshipReferenceEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1948     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1949         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1950     }
1951 }
1952 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureRelationshipReferenceEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1953     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1954         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1955     }
1956 }
1957 #[repr(C)]
1958 #[doc(hidden)]
1959 pub struct IOpcSignatureRelationshipReferenceEnumerator_abi(
1960     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1961     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1962     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1963     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasnext: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1964     #[cfg(not(feature = "Win32_Foundation"))] usize,
1965     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hasprevious: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1966     #[cfg(not(feature = "Win32_Foundation"))] usize,
1967     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipreference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1968     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1969 );
1970 #[repr(transparent)]
1971 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1972 pub struct IOpcSignatureRelationshipReferenceSet(::windows::runtime::IUnknown);
1973 impl IOpcSignatureRelationshipReferenceSet {
1974     #[cfg(feature = "Win32_Foundation")]
Create<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IOpcRelationshipSelectorSet>>(&self, sourceuri: Param0, digestmethod: Param1, relationshipsigningoption: OPC_RELATIONSHIPS_SIGNING_OPTION, selectorset: Param3, transformmethod: OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::Result<IOpcSignatureRelationshipReference>1975     pub unsafe fn Create<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcUri>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IOpcRelationshipSelectorSet>>(&self, sourceuri: Param0, digestmethod: Param1, relationshipsigningoption: OPC_RELATIONSHIPS_SIGNING_OPTION, selectorset: Param3, transformmethod: OPC_CANONICALIZATION_METHOD) -> ::windows::runtime::Result<IOpcSignatureRelationshipReference> {
1976         let mut result__: <IOpcSignatureRelationshipReference as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1977         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), sourceuri.into_param().abi(), digestmethod.into_param().abi(), ::std::mem::transmute(relationshipsigningoption), selectorset.into_param().abi(), ::std::mem::transmute(transformmethod), &mut result__).from_abi::<IOpcSignatureRelationshipReference>(result__)
1978     }
CreateRelationshipSelectorSet(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorSet>1979     pub unsafe fn CreateRelationshipSelectorSet(&self) -> ::windows::runtime::Result<IOpcRelationshipSelectorSet> {
1980         let mut result__: <IOpcRelationshipSelectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1981         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcRelationshipSelectorSet>(result__)
1982     }
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignatureRelationshipReference>>(&self, relationshipreference: Param0) -> ::windows::runtime::Result<()>1983     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcSignatureRelationshipReference>>(&self, relationshipreference: Param0) -> ::windows::runtime::Result<()> {
1984         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), relationshipreference.into_param().abi()).ok()
1985     }
GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceEnumerator>1986     pub unsafe fn GetEnumerator(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceEnumerator> {
1987         let mut result__: <IOpcSignatureRelationshipReferenceEnumerator as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1988         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureRelationshipReferenceEnumerator>(result__)
1989     }
1990 }
1991 unsafe impl ::windows::runtime::Interface for IOpcSignatureRelationshipReferenceSet {
1992     type Vtable = IOpcSignatureRelationshipReferenceSet_abi;
1993     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2676374693, 13873, 16460, [130, 141, 128, 126, 7, 21, 6, 155]);
1994 }
1995 impl ::std::convert::From<IOpcSignatureRelationshipReferenceSet> for ::windows::runtime::IUnknown {
from(value: IOpcSignatureRelationshipReferenceSet) -> Self1996     fn from(value: IOpcSignatureRelationshipReferenceSet) -> Self {
1997         unsafe { ::std::mem::transmute(value) }
1998     }
1999 }
2000 impl ::std::convert::From<&IOpcSignatureRelationshipReferenceSet> for ::windows::runtime::IUnknown {
from(value: &IOpcSignatureRelationshipReferenceSet) -> Self2001     fn from(value: &IOpcSignatureRelationshipReferenceSet) -> Self {
2002         ::std::convert::From::from(::std::clone::Clone::clone(value))
2003     }
2004 }
2005 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSignatureRelationshipReferenceSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2006     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2007         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2008     }
2009 }
2010 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSignatureRelationshipReferenceSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2011     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2012         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2013     }
2014 }
2015 #[repr(C)]
2016 #[doc(hidden)]
2017 pub struct IOpcSignatureRelationshipReferenceSet_abi(
2018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2021     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourceuri: ::windows::runtime::RawPtr, digestmethod: super::super::super::Foundation::PWSTR, relationshipsigningoption: OPC_RELATIONSHIPS_SIGNING_OPTION, selectorset: ::windows::runtime::RawPtr, transformmethod: OPC_CANONICALIZATION_METHOD, relationshipreference: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2022     #[cfg(not(feature = "Win32_Foundation"))] usize,
2023     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selectorset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2024     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipreference: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipreferenceenumerator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2026 );
2027 #[repr(transparent)]
2028 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2029 pub struct IOpcSigningOptions(::windows::runtime::IUnknown);
2030 impl IOpcSigningOptions {
2031     #[cfg(feature = "Win32_Foundation")]
GetSignatureId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>2032     pub unsafe fn GetSignatureId(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
2033         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2034         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
2035     }
2036     #[cfg(feature = "Win32_Foundation")]
SetSignatureId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, signatureid: Param0) -> ::windows::runtime::Result<()>2037     pub unsafe fn SetSignatureId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, signatureid: Param0) -> ::windows::runtime::Result<()> {
2038         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), signatureid.into_param().abi()).ok()
2039     }
2040     #[cfg(feature = "Win32_Foundation")]
GetSignatureMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>2041     pub unsafe fn GetSignatureMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
2042         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2043         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
2044     }
2045     #[cfg(feature = "Win32_Foundation")]
SetSignatureMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, signaturemethod: Param0) -> ::windows::runtime::Result<()>2046     pub unsafe fn SetSignatureMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, signaturemethod: Param0) -> ::windows::runtime::Result<()> {
2047         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), signaturemethod.into_param().abi()).ok()
2048     }
2049     #[cfg(feature = "Win32_Foundation")]
GetDefaultDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR>2050     pub unsafe fn GetDefaultDigestMethod(&self) -> ::windows::runtime::Result<super::super::super::Foundation::PWSTR> {
2051         let mut result__: <super::super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2052         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::PWSTR>(result__)
2053     }
2054     #[cfg(feature = "Win32_Foundation")]
SetDefaultDigestMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, digestmethod: Param0) -> ::windows::runtime::Result<()>2055     pub unsafe fn SetDefaultDigestMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, digestmethod: Param0) -> ::windows::runtime::Result<()> {
2056         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), digestmethod.into_param().abi()).ok()
2057     }
GetCertificateEmbeddingOption(&self) -> ::windows::runtime::Result<OPC_CERTIFICATE_EMBEDDING_OPTION>2058     pub unsafe fn GetCertificateEmbeddingOption(&self) -> ::windows::runtime::Result<OPC_CERTIFICATE_EMBEDDING_OPTION> {
2059         let mut result__: <OPC_CERTIFICATE_EMBEDDING_OPTION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2060         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_CERTIFICATE_EMBEDDING_OPTION>(result__)
2061     }
SetCertificateEmbeddingOption(&self, embeddingoption: OPC_CERTIFICATE_EMBEDDING_OPTION) -> ::windows::runtime::Result<()>2062     pub unsafe fn SetCertificateEmbeddingOption(&self, embeddingoption: OPC_CERTIFICATE_EMBEDDING_OPTION) -> ::windows::runtime::Result<()> {
2063         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(embeddingoption)).ok()
2064     }
GetTimeFormat(&self) -> ::windows::runtime::Result<OPC_SIGNATURE_TIME_FORMAT>2065     pub unsafe fn GetTimeFormat(&self) -> ::windows::runtime::Result<OPC_SIGNATURE_TIME_FORMAT> {
2066         let mut result__: <OPC_SIGNATURE_TIME_FORMAT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2067         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<OPC_SIGNATURE_TIME_FORMAT>(result__)
2068     }
SetTimeFormat(&self, timeformat: OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::Result<()>2069     pub unsafe fn SetTimeFormat(&self, timeformat: OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::Result<()> {
2070         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(timeformat)).ok()
2071     }
GetSignaturePartReferenceSet(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceSet>2072     pub unsafe fn GetSignaturePartReferenceSet(&self) -> ::windows::runtime::Result<IOpcSignaturePartReferenceSet> {
2073         let mut result__: <IOpcSignaturePartReferenceSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2074         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignaturePartReferenceSet>(result__)
2075     }
GetSignatureRelationshipReferenceSet(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceSet>2076     pub unsafe fn GetSignatureRelationshipReferenceSet(&self) -> ::windows::runtime::Result<IOpcSignatureRelationshipReferenceSet> {
2077         let mut result__: <IOpcSignatureRelationshipReferenceSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2078         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureRelationshipReferenceSet>(result__)
2079     }
GetCustomObjectSet(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectSet>2080     pub unsafe fn GetCustomObjectSet(&self) -> ::windows::runtime::Result<IOpcSignatureCustomObjectSet> {
2081         let mut result__: <IOpcSignatureCustomObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2082         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureCustomObjectSet>(result__)
2083     }
GetCustomReferenceSet(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceSet>2084     pub unsafe fn GetCustomReferenceSet(&self) -> ::windows::runtime::Result<IOpcSignatureReferenceSet> {
2085         let mut result__: <IOpcSignatureReferenceSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2086         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcSignatureReferenceSet>(result__)
2087     }
GetCertificateSet(&self) -> ::windows::runtime::Result<IOpcCertificateSet>2088     pub unsafe fn GetCertificateSet(&self) -> ::windows::runtime::Result<IOpcCertificateSet> {
2089         let mut result__: <IOpcCertificateSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2090         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcCertificateSet>(result__)
2091     }
GetSignaturePartName(&self) -> ::windows::runtime::Result<IOpcPartUri>2092     pub unsafe fn GetSignaturePartName(&self) -> ::windows::runtime::Result<IOpcPartUri> {
2093         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2094         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
2095     }
SetSignaturePartName<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signaturepartname: Param0) -> ::windows::runtime::Result<()>2096     pub unsafe fn SetSignaturePartName<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, signaturepartname: Param0) -> ::windows::runtime::Result<()> {
2097         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), signaturepartname.into_param().abi()).ok()
2098     }
2099 }
2100 unsafe impl ::windows::runtime::Interface for IOpcSigningOptions {
2101     type Vtable = IOpcSigningOptions_abi;
2102     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1355994789, 31467, 18112, [178, 65, 67, 171, 14, 155, 64, 126]);
2103 }
2104 impl ::std::convert::From<IOpcSigningOptions> for ::windows::runtime::IUnknown {
from(value: IOpcSigningOptions) -> Self2105     fn from(value: IOpcSigningOptions) -> Self {
2106         unsafe { ::std::mem::transmute(value) }
2107     }
2108 }
2109 impl ::std::convert::From<&IOpcSigningOptions> for ::windows::runtime::IUnknown {
from(value: &IOpcSigningOptions) -> Self2110     fn from(value: &IOpcSigningOptions) -> Self {
2111         ::std::convert::From::from(::std::clone::Clone::clone(value))
2112     }
2113 }
2114 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcSigningOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2115     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2116         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2117     }
2118 }
2119 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcSigningOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2120     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2121         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2122     }
2123 }
2124 #[repr(C)]
2125 #[doc(hidden)]
2126 pub struct IOpcSigningOptions_abi(
2127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2130     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureid: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2131     #[cfg(not(feature = "Win32_Foundation"))] usize,
2132     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signatureid: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2133     #[cfg(not(feature = "Win32_Foundation"))] usize,
2134     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturemethod: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2135     #[cfg(not(feature = "Win32_Foundation"))] usize,
2136     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturemethod: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2137     #[cfg(not(feature = "Win32_Foundation"))] usize,
2138     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: *mut super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2139     #[cfg(not(feature = "Win32_Foundation"))] usize,
2140     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, digestmethod: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2141     #[cfg(not(feature = "Win32_Foundation"))] usize,
2142     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, embeddingoption: *mut OPC_CERTIFICATE_EMBEDDING_OPTION) -> ::windows::runtime::HRESULT,
2143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, embeddingoption: OPC_CERTIFICATE_EMBEDDING_OPTION) -> ::windows::runtime::HRESULT,
2144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timeformat: *mut OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::HRESULT,
2145     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, timeformat: OPC_SIGNATURE_TIME_FORMAT) -> ::windows::runtime::HRESULT,
2146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, partreferenceset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipreferenceset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customreferenceset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, certificateset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, signaturepartname: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2153 );
2154 #[repr(transparent)]
2155 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2156 pub struct IOpcUri(::windows::runtime::IUnknown);
2157 impl IOpcUri {
2158     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
GetPropertyBSTR(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pbstrproperty: *mut super::super::super::Foundation::BSTR, dwflags: u32) -> ::windows::runtime::Result<()>2159     pub unsafe fn GetPropertyBSTR(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pbstrproperty: *mut super::super::super::Foundation::BSTR, dwflags: u32) -> ::windows::runtime::Result<()> {
2160         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), ::std::mem::transmute(pbstrproperty), ::std::mem::transmute(dwflags)).ok()
2161     }
2162     #[cfg(feature = "Win32_System_Com")]
GetPropertyLength(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pcchproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()>2163     pub unsafe fn GetPropertyLength(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pcchproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()> {
2164         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), ::std::mem::transmute(pcchproperty), ::std::mem::transmute(dwflags)).ok()
2165     }
2166     #[cfg(feature = "Win32_System_Com")]
GetPropertyDWORD(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pdwproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()>2167     pub unsafe fn GetPropertyDWORD(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY, pdwproperty: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()> {
2168         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), ::std::mem::transmute(pdwproperty), ::std::mem::transmute(dwflags)).ok()
2169     }
2170     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
HasProperty(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>2171     pub unsafe fn HasProperty(&self, uriprop: super::super::super::System::Com::Uri_PROPERTY) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
2172         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2173         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(uriprop), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
2174     }
2175     #[cfg(feature = "Win32_Foundation")]
GetAbsoluteUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2176     pub unsafe fn GetAbsoluteUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2177         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2178         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2179     }
2180     #[cfg(feature = "Win32_Foundation")]
GetAuthority(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2181     pub unsafe fn GetAuthority(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2182         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2183         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2184     }
2185     #[cfg(feature = "Win32_Foundation")]
GetDisplayUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2186     pub unsafe fn GetDisplayUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2187         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2188         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2189     }
2190     #[cfg(feature = "Win32_Foundation")]
GetDomain(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2191     pub unsafe fn GetDomain(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2192         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2193         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2194     }
2195     #[cfg(feature = "Win32_Foundation")]
GetExtension(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2196     pub unsafe fn GetExtension(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2197         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2198         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2199     }
2200     #[cfg(feature = "Win32_Foundation")]
GetFragment(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2201     pub unsafe fn GetFragment(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2202         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2203         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2204     }
2205     #[cfg(feature = "Win32_Foundation")]
GetHost(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2206     pub unsafe fn GetHost(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2207         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2208         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2209     }
2210     #[cfg(feature = "Win32_Foundation")]
GetPassword(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2211     pub unsafe fn GetPassword(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2212         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2213         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2214     }
2215     #[cfg(feature = "Win32_Foundation")]
GetPath(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2216     pub unsafe fn GetPath(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2217         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2218         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2219     }
2220     #[cfg(feature = "Win32_Foundation")]
GetPathAndQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2221     pub unsafe fn GetPathAndQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2222         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2223         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2224     }
2225     #[cfg(feature = "Win32_Foundation")]
GetQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2226     pub unsafe fn GetQuery(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2227         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2228         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2229     }
2230     #[cfg(feature = "Win32_Foundation")]
GetRawUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2231     pub unsafe fn GetRawUri(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2232         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2233         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2234     }
2235     #[cfg(feature = "Win32_Foundation")]
GetSchemeName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2236     pub unsafe fn GetSchemeName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2237         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2238         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2239     }
2240     #[cfg(feature = "Win32_Foundation")]
GetUserInfo(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2241     pub unsafe fn GetUserInfo(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2242         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2243         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2244     }
2245     #[cfg(feature = "Win32_Foundation")]
GetUserName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2246     pub unsafe fn GetUserName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2247         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2248         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2249     }
GetHostType(&self) -> ::windows::runtime::Result<u32>2250     pub unsafe fn GetHostType(&self) -> ::windows::runtime::Result<u32> {
2251         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2252         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2253     }
GetPort(&self) -> ::windows::runtime::Result<u32>2254     pub unsafe fn GetPort(&self) -> ::windows::runtime::Result<u32> {
2255         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2256         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2257     }
GetScheme(&self) -> ::windows::runtime::Result<u32>2258     pub unsafe fn GetScheme(&self) -> ::windows::runtime::Result<u32> {
2259         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2260         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2261     }
GetZone(&self) -> ::windows::runtime::Result<u32>2262     pub unsafe fn GetZone(&self) -> ::windows::runtime::Result<u32> {
2263         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2264         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2265     }
GetProperties(&self) -> ::windows::runtime::Result<u32>2266     pub unsafe fn GetProperties(&self) -> ::windows::runtime::Result<u32> {
2267         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2268         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2269     }
2270     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, puri: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL>2271     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, puri: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::BOOL> {
2272         let mut result__: <super::super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2273         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), puri.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::BOOL>(result__)
2274     }
GetRelationshipsPartUri(&self) -> ::windows::runtime::Result<IOpcPartUri>2275     pub unsafe fn GetRelationshipsPartUri(&self) -> ::windows::runtime::Result<IOpcPartUri> {
2276         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2277         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOpcPartUri>(result__)
2278     }
2279     #[cfg(feature = "Win32_System_Com")]
GetRelativeUri<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, targetparturi: Param0) -> ::windows::runtime::Result<super::super::super::System::Com::IUri>2280     pub unsafe fn GetRelativeUri<'a, Param0: ::windows::runtime::IntoParam<'a, IOpcPartUri>>(&self, targetparturi: Param0) -> ::windows::runtime::Result<super::super::super::System::Com::IUri> {
2281         let mut result__: <super::super::super::System::Com::IUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2282         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), targetparturi.into_param().abi(), &mut result__).from_abi::<super::super::super::System::Com::IUri>(result__)
2283     }
2284     #[cfg(feature = "Win32_System_Com")]
CombinePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, relativeuri: Param0) -> ::windows::runtime::Result<IOpcPartUri>2285     pub unsafe fn CombinePartUri<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri>>(&self, relativeuri: Param0) -> ::windows::runtime::Result<IOpcPartUri> {
2286         let mut result__: <IOpcPartUri as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2287         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), relativeuri.into_param().abi(), &mut result__).from_abi::<IOpcPartUri>(result__)
2288     }
2289 }
2290 unsafe impl ::windows::runtime::Interface for IOpcUri {
2291     type Vtable = IOpcUri_abi;
2292     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3164347291, 54828, 18923, [174, 240, 59, 78, 11, 40, 235, 237]);
2293 }
2294 impl ::std::convert::From<IOpcUri> for ::windows::runtime::IUnknown {
from(value: IOpcUri) -> Self2295     fn from(value: IOpcUri) -> Self {
2296         unsafe { ::std::mem::transmute(value) }
2297     }
2298 }
2299 impl ::std::convert::From<&IOpcUri> for ::windows::runtime::IUnknown {
from(value: &IOpcUri) -> Self2300     fn from(value: &IOpcUri) -> Self {
2301         ::std::convert::From::from(::std::clone::Clone::clone(value))
2302     }
2303 }
2304 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOpcUri {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2305     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2306         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2307     }
2308 }
2309 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOpcUri {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2310     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2311         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2312     }
2313 }
2314 #[cfg(feature = "Win32_System_Com")]
2315 impl ::std::convert::From<IOpcUri> for super::super::super::System::Com::IUri {
from(value: IOpcUri) -> Self2316     fn from(value: IOpcUri) -> Self {
2317         unsafe { ::std::mem::transmute(value) }
2318     }
2319 }
2320 #[cfg(feature = "Win32_System_Com")]
2321 impl ::std::convert::From<&IOpcUri> for super::super::super::System::Com::IUri {
from(value: &IOpcUri) -> Self2322     fn from(value: &IOpcUri) -> Self {
2323         ::std::convert::From::from(::std::clone::Clone::clone(value))
2324     }
2325 }
2326 #[cfg(feature = "Win32_System_Com")]
2327 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri> for IOpcUri {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri>2328     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri> {
2329         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Com::IUri>::into(self))
2330     }
2331 }
2332 #[cfg(feature = "Win32_System_Com")]
2333 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IUri> for &IOpcUri {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri>2334     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IUri> {
2335         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Com::IUri>::into(::std::clone::Clone::clone(self)))
2336     }
2337 }
2338 #[repr(C)]
2339 #[doc(hidden)]
2340 pub struct IOpcUri_abi(
2341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2344     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pbstrproperty: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, dwflags: u32) -> ::windows::runtime::HRESULT,
2345     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2346     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pcchproperty: *mut u32, dwflags: u32) -> ::windows::runtime::HRESULT,
2347     #[cfg(not(feature = "Win32_System_Com"))] usize,
2348     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pdwproperty: *mut u32, dwflags: u32) -> ::windows::runtime::HRESULT,
2349     #[cfg(not(feature = "Win32_System_Com"))] usize,
2350     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uriprop: super::super::super::System::Com::Uri_PROPERTY, pfhasproperty: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2351     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2352     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrabsoluteuri: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2353     #[cfg(not(feature = "Win32_Foundation"))] usize,
2354     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrauthority: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2355     #[cfg(not(feature = "Win32_Foundation"))] usize,
2356     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdisplaystring: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2357     #[cfg(not(feature = "Win32_Foundation"))] usize,
2358     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdomain: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2359     #[cfg(not(feature = "Win32_Foundation"))] usize,
2360     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrextension: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2361     #[cfg(not(feature = "Win32_Foundation"))] usize,
2362     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrfragment: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2363     #[cfg(not(feature = "Win32_Foundation"))] usize,
2364     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrhost: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2365     #[cfg(not(feature = "Win32_Foundation"))] usize,
2366     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpassword: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2367     #[cfg(not(feature = "Win32_Foundation"))] usize,
2368     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpath: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2369     #[cfg(not(feature = "Win32_Foundation"))] usize,
2370     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpathandquery: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2371     #[cfg(not(feature = "Win32_Foundation"))] usize,
2372     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrquery: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2373     #[cfg(not(feature = "Win32_Foundation"))] usize,
2374     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrrawuri: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2375     #[cfg(not(feature = "Win32_Foundation"))] usize,
2376     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrschemename: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2377     #[cfg(not(feature = "Win32_Foundation"))] usize,
2378     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruserinfo: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2379     #[cfg(not(feature = "Win32_Foundation"))] usize,
2380     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrusername: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2381     #[cfg(not(feature = "Win32_Foundation"))] usize,
2382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwhosttype: *mut u32) -> ::windows::runtime::HRESULT,
2383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwport: *mut u32) -> ::windows::runtime::HRESULT,
2384     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwscheme: *mut u32) -> ::windows::runtime::HRESULT,
2385     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwzone: *mut u32) -> ::windows::runtime::HRESULT,
2386     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
2387     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puri: ::windows::runtime::RawPtr, pfequal: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2388     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2389     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relationshipparturi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2390     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, targetparturi: ::windows::runtime::RawPtr, relativeuri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2391     #[cfg(not(feature = "Win32_System_Com"))] usize,
2392     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, relativeuri: ::windows::runtime::RawPtr, combineduri: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2393     #[cfg(not(feature = "Win32_System_Com"))] usize,
2394 );
2395 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2396 #[repr(transparent)]
2397 pub struct OPC_CANONICALIZATION_METHOD(pub i32);
2398 pub const OPC_CANONICALIZATION_NONE: OPC_CANONICALIZATION_METHOD = OPC_CANONICALIZATION_METHOD(0i32);
2399 pub const OPC_CANONICALIZATION_C14N: OPC_CANONICALIZATION_METHOD = OPC_CANONICALIZATION_METHOD(1i32);
2400 pub const OPC_CANONICALIZATION_C14N_WITH_COMMENTS: OPC_CANONICALIZATION_METHOD = OPC_CANONICALIZATION_METHOD(2i32);
2401 impl ::std::convert::From<i32> for OPC_CANONICALIZATION_METHOD {
from(value: i32) -> Self2402     fn from(value: i32) -> Self {
2403         Self(value)
2404     }
2405 }
2406 unsafe impl ::windows::runtime::Abi for OPC_CANONICALIZATION_METHOD {
2407     type Abi = Self;
2408     type DefaultType = Self;
2409 }
2410 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2411 #[repr(transparent)]
2412 pub struct OPC_CERTIFICATE_EMBEDDING_OPTION(pub i32);
2413 pub const OPC_CERTIFICATE_IN_CERTIFICATE_PART: OPC_CERTIFICATE_EMBEDDING_OPTION = OPC_CERTIFICATE_EMBEDDING_OPTION(0i32);
2414 pub const OPC_CERTIFICATE_IN_SIGNATURE_PART: OPC_CERTIFICATE_EMBEDDING_OPTION = OPC_CERTIFICATE_EMBEDDING_OPTION(1i32);
2415 pub const OPC_CERTIFICATE_NOT_EMBEDDED: OPC_CERTIFICATE_EMBEDDING_OPTION = OPC_CERTIFICATE_EMBEDDING_OPTION(2i32);
2416 impl ::std::convert::From<i32> for OPC_CERTIFICATE_EMBEDDING_OPTION {
from(value: i32) -> Self2417     fn from(value: i32) -> Self {
2418         Self(value)
2419     }
2420 }
2421 unsafe impl ::windows::runtime::Abi for OPC_CERTIFICATE_EMBEDDING_OPTION {
2422     type Abi = Self;
2423     type DefaultType = Self;
2424 }
2425 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2426 #[repr(transparent)]
2427 pub struct OPC_COMPRESSION_OPTIONS(pub i32);
2428 pub const OPC_COMPRESSION_NONE: OPC_COMPRESSION_OPTIONS = OPC_COMPRESSION_OPTIONS(-1i32);
2429 pub const OPC_COMPRESSION_NORMAL: OPC_COMPRESSION_OPTIONS = OPC_COMPRESSION_OPTIONS(0i32);
2430 pub const OPC_COMPRESSION_MAXIMUM: OPC_COMPRESSION_OPTIONS = OPC_COMPRESSION_OPTIONS(1i32);
2431 pub const OPC_COMPRESSION_FAST: OPC_COMPRESSION_OPTIONS = OPC_COMPRESSION_OPTIONS(2i32);
2432 pub const OPC_COMPRESSION_SUPERFAST: OPC_COMPRESSION_OPTIONS = OPC_COMPRESSION_OPTIONS(3i32);
2433 impl ::std::convert::From<i32> for OPC_COMPRESSION_OPTIONS {
from(value: i32) -> Self2434     fn from(value: i32) -> Self {
2435         Self(value)
2436     }
2437 }
2438 unsafe impl ::windows::runtime::Abi for OPC_COMPRESSION_OPTIONS {
2439     type Abi = Self;
2440     type DefaultType = Self;
2441 }
2442 pub const OPC_E_CONFLICTING_SETTINGS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175212i32 as _);
2443 pub const OPC_E_COULD_NOT_RECOVER: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175154i32 as _);
2444 pub const OPC_E_DS_DEFAULT_DIGEST_METHOD_NOT_SET: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175161i32 as _);
2445 pub const OPC_E_DS_DIGEST_VALUE_ERROR: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175206i32 as _);
2446 pub const OPC_E_DS_DUPLICATE_PACKAGE_OBJECT_REFERENCES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175187i32 as _);
2447 pub const OPC_E_DS_DUPLICATE_SIGNATURE_ORIGIN_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175205i32 as _);
2448 pub const OPC_E_DS_DUPLICATE_SIGNATURE_PROPERTY_ELEMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175192i32 as _);
2449 pub const OPC_E_DS_EXTERNAL_SIGNATURE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175202i32 as _);
2450 pub const OPC_E_DS_EXTERNAL_SIGNATURE_REFERENCE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175185i32 as _);
2451 pub const OPC_E_DS_INVALID_CANONICALIZATION_METHOD: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175198i32 as _);
2452 pub const OPC_E_DS_INVALID_CERTIFICATE_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175203i32 as _);
2453 pub const OPC_E_DS_INVALID_OPC_SIGNATURE_TIME_FORMAT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175196i32 as _);
2454 pub const OPC_E_DS_INVALID_RELATIONSHIPS_SIGNING_OPTION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175197i32 as _);
2455 pub const OPC_E_DS_INVALID_RELATIONSHIP_TRANSFORM_XML: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175199i32 as _);
2456 pub const OPC_E_DS_INVALID_SIGNATURE_COUNT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175189i32 as _);
2457 pub const OPC_E_DS_INVALID_SIGNATURE_ORIGIN_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175204i32 as _);
2458 pub const OPC_E_DS_INVALID_SIGNATURE_XML: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175190i32 as _);
2459 pub const OPC_E_DS_MISSING_CANONICALIZATION_TRANSFORM: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175182i32 as _);
2460 pub const OPC_E_DS_MISSING_CERTIFICATE_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175146i32 as _);
2461 pub const OPC_E_DS_MISSING_PACKAGE_OBJECT_REFERENCE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175186i32 as _);
2462 pub const OPC_E_DS_MISSING_SIGNATURE_ALGORITHM: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175188i32 as _);
2463 pub const OPC_E_DS_MISSING_SIGNATURE_ORIGIN_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175201i32 as _);
2464 pub const OPC_E_DS_MISSING_SIGNATURE_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175200i32 as _);
2465 pub const OPC_E_DS_MISSING_SIGNATURE_PROPERTIES_ELEMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175194i32 as _);
2466 pub const OPC_E_DS_MISSING_SIGNATURE_PROPERTY_ELEMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175193i32 as _);
2467 pub const OPC_E_DS_MISSING_SIGNATURE_TIME_PROPERTY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175191i32 as _);
2468 pub const OPC_E_DS_MULTIPLE_RELATIONSHIP_TRANSFORMS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175183i32 as _);
2469 pub const OPC_E_DS_PACKAGE_REFERENCE_URI_RESERVED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175195i32 as _);
2470 pub const OPC_E_DS_REFERENCE_MISSING_CONTENT_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175184i32 as _);
2471 pub const OPC_E_DS_SIGNATURE_CORRUPT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175207i32 as _);
2472 pub const OPC_E_DS_SIGNATURE_METHOD_NOT_SET: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175162i32 as _);
2473 pub const OPC_E_DS_SIGNATURE_ORIGIN_EXISTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175148i32 as _);
2474 pub const OPC_E_DS_SIGNATURE_PROPERTY_MISSING_TARGET: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175163i32 as _);
2475 pub const OPC_E_DS_SIGNATURE_REFERENCE_MISSING_URI: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175165i32 as _);
2476 pub const OPC_E_DS_UNSIGNED_PACKAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175147i32 as _);
2477 pub const OPC_E_DUPLICATE_DEFAULT_EXTENSION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175217i32 as _);
2478 pub const OPC_E_DUPLICATE_OVERRIDE_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175219i32 as _);
2479 pub const OPC_E_DUPLICATE_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175221i32 as _);
2480 pub const OPC_E_DUPLICATE_PIECE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175211i32 as _);
2481 pub const OPC_E_DUPLICATE_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175213i32 as _);
2482 pub const OPC_E_ENUM_CANNOT_MOVE_NEXT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175151i32 as _);
2483 pub const OPC_E_ENUM_CANNOT_MOVE_PREVIOUS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175150i32 as _);
2484 pub const OPC_E_ENUM_COLLECTION_CHANGED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175152i32 as _);
2485 pub const OPC_E_ENUM_INVALID_POSITION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175149i32 as _);
2486 pub const OPC_E_INVALID_CONTENT_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175164i32 as _);
2487 pub const OPC_E_INVALID_CONTENT_TYPE_XML: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175226i32 as _);
2488 pub const OPC_E_INVALID_DEFAULT_EXTENSION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175218i32 as _);
2489 pub const OPC_E_INVALID_OVERRIDE_PART_NAME: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175220i32 as _);
2490 pub const OPC_E_INVALID_PIECE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175210i32 as _);
2491 pub const OPC_E_INVALID_RELATIONSHIP_ID: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175216i32 as _);
2492 pub const OPC_E_INVALID_RELATIONSHIP_TARGET: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175214i32 as _);
2493 pub const OPC_E_INVALID_RELATIONSHIP_TARGET_MODE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175155i32 as _);
2494 pub const OPC_E_INVALID_RELATIONSHIP_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175215i32 as _);
2495 pub const OPC_E_INVALID_RELS_XML: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175222i32 as _);
2496 pub const OPC_E_INVALID_XML_ENCODING: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175166i32 as _);
2497 pub const OPC_E_MC_INCONSISTENT_PRESERVE_ATTRIBUTES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175157i32 as _);
2498 pub const OPC_E_MC_INCONSISTENT_PRESERVE_ELEMENTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175156i32 as _);
2499 pub const OPC_E_MC_INCONSISTENT_PROCESS_CONTENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175158i32 as _);
2500 pub const OPC_E_MC_INVALID_ATTRIBUTES_ON_IGNORABLE_ELEMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175168i32 as _);
2501 pub const OPC_E_MC_INVALID_ENUM_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175172i32 as _);
2502 pub const OPC_E_MC_INVALID_PREFIX_LIST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175177i32 as _);
2503 pub const OPC_E_MC_INVALID_QNAME_LIST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175176i32 as _);
2504 pub const OPC_E_MC_INVALID_XMLNS_ATTRIBUTE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175167i32 as _);
2505 pub const OPC_E_MC_MISSING_CHOICE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175173i32 as _);
2506 pub const OPC_E_MC_MISSING_REQUIRES_ATTR: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175179i32 as _);
2507 pub const OPC_E_MC_MULTIPLE_FALLBACK_ELEMENTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175159i32 as _);
2508 pub const OPC_E_MC_NESTED_ALTERNATE_CONTENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175175i32 as _);
2509 pub const OPC_E_MC_UNEXPECTED_ATTR: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175178i32 as _);
2510 pub const OPC_E_MC_UNEXPECTED_CHOICE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175174i32 as _);
2511 pub const OPC_E_MC_UNEXPECTED_ELEMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175181i32 as _);
2512 pub const OPC_E_MC_UNEXPECTED_REQUIRES_ATTR: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175180i32 as _);
2513 pub const OPC_E_MC_UNKNOWN_NAMESPACE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175170i32 as _);
2514 pub const OPC_E_MC_UNKNOWN_PREFIX: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175169i32 as _);
2515 pub const OPC_E_MISSING_CONTENT_TYPES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175225i32 as _);
2516 pub const OPC_E_MISSING_PIECE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175209i32 as _);
2517 pub const OPC_E_NONCONFORMING_CONTENT_TYPES_XML: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175224i32 as _);
2518 pub const OPC_E_NONCONFORMING_RELS_XML: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175223i32 as _);
2519 pub const OPC_E_NONCONFORMING_URI: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175231i32 as _);
2520 pub const OPC_E_NO_SUCH_PART: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175208i32 as _);
2521 pub const OPC_E_NO_SUCH_RELATIONSHIP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175160i32 as _);
2522 pub const OPC_E_NO_SUCH_SETTINGS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175145i32 as _);
2523 pub const OPC_E_PART_CANNOT_BE_DIRECTORY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175228i32 as _);
2524 pub const OPC_E_RELATIONSHIP_URI_REQUIRED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175229i32 as _);
2525 pub const OPC_E_RELATIVE_URI_REQUIRED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175230i32 as _);
2526 pub const OPC_E_UNEXPECTED_CONTENT_TYPE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175227i32 as _);
2527 pub const OPC_E_UNSUPPORTED_PACKAGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142175153i32 as _);
2528 pub const OPC_E_ZIP_CENTRAL_DIRECTORY_TOO_LARGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171127i32 as _);
2529 pub const OPC_E_ZIP_COMMENT_TOO_LARGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171124i32 as _);
2530 pub const OPC_E_ZIP_COMPRESSION_FAILED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171133i32 as _);
2531 pub const OPC_E_ZIP_CORRUPTED_ARCHIVE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171134i32 as _);
2532 pub const OPC_E_ZIP_DECOMPRESSION_FAILED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171132i32 as _);
2533 pub const OPC_E_ZIP_DUPLICATE_NAME: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171125i32 as _);
2534 pub const OPC_E_ZIP_EXTRA_FIELDS_TOO_LARGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171123i32 as _);
2535 pub const OPC_E_ZIP_FILE_HEADER_TOO_LARGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171122i32 as _);
2536 pub const OPC_E_ZIP_INCONSISTENT_DIRECTORY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171130i32 as _);
2537 pub const OPC_E_ZIP_INCONSISTENT_FILEITEM: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171131i32 as _);
2538 pub const OPC_E_ZIP_INCORRECT_DATA_SIZE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171135i32 as _);
2539 pub const OPC_E_ZIP_MISSING_DATA_DESCRIPTOR: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171129i32 as _);
2540 pub const OPC_E_ZIP_MISSING_END_OF_CENTRAL_DIRECTORY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171121i32 as _);
2541 pub const OPC_E_ZIP_NAME_TOO_LARGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171126i32 as _);
2542 pub const OPC_E_ZIP_REQUIRES_64_BIT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171120i32 as _);
2543 pub const OPC_E_ZIP_UNSUPPORTEDARCHIVE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2142171128i32 as _);
2544 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2545 #[repr(transparent)]
2546 pub struct OPC_READ_FLAGS(pub u32);
2547 pub const OPC_READ_DEFAULT: OPC_READ_FLAGS = OPC_READ_FLAGS(0u32);
2548 pub const OPC_VALIDATE_ON_LOAD: OPC_READ_FLAGS = OPC_READ_FLAGS(1u32);
2549 pub const OPC_CACHE_ON_ACCESS: OPC_READ_FLAGS = OPC_READ_FLAGS(2u32);
2550 impl ::std::convert::From<u32> for OPC_READ_FLAGS {
from(value: u32) -> Self2551     fn from(value: u32) -> Self {
2552         Self(value)
2553     }
2554 }
2555 unsafe impl ::windows::runtime::Abi for OPC_READ_FLAGS {
2556     type Abi = Self;
2557     type DefaultType = Self;
2558 }
2559 impl ::std::ops::BitOr for OPC_READ_FLAGS {
2560     type Output = Self;
bitor(self, rhs: Self) -> Self2561     fn bitor(self, rhs: Self) -> Self {
2562         Self(self.0 | rhs.0)
2563     }
2564 }
2565 impl ::std::ops::BitAnd for OPC_READ_FLAGS {
2566     type Output = Self;
bitand(self, rhs: Self) -> Self2567     fn bitand(self, rhs: Self) -> Self {
2568         Self(self.0 & rhs.0)
2569     }
2570 }
2571 impl ::std::ops::BitOrAssign for OPC_READ_FLAGS {
bitor_assign(&mut self, rhs: Self)2572     fn bitor_assign(&mut self, rhs: Self) {
2573         self.0.bitor_assign(rhs.0)
2574     }
2575 }
2576 impl ::std::ops::BitAndAssign for OPC_READ_FLAGS {
bitand_assign(&mut self, rhs: Self)2577     fn bitand_assign(&mut self, rhs: Self) {
2578         self.0.bitand_assign(rhs.0)
2579     }
2580 }
2581 impl ::std::ops::Not for OPC_READ_FLAGS {
2582     type Output = Self;
not(self) -> Self2583     fn not(self) -> Self {
2584         Self(self.0.not())
2585     }
2586 }
2587 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2588 #[repr(transparent)]
2589 pub struct OPC_RELATIONSHIPS_SIGNING_OPTION(pub i32);
2590 pub const OPC_RELATIONSHIP_SIGN_USING_SELECTORS: OPC_RELATIONSHIPS_SIGNING_OPTION = OPC_RELATIONSHIPS_SIGNING_OPTION(0i32);
2591 pub const OPC_RELATIONSHIP_SIGN_PART: OPC_RELATIONSHIPS_SIGNING_OPTION = OPC_RELATIONSHIPS_SIGNING_OPTION(1i32);
2592 impl ::std::convert::From<i32> for OPC_RELATIONSHIPS_SIGNING_OPTION {
from(value: i32) -> Self2593     fn from(value: i32) -> Self {
2594         Self(value)
2595     }
2596 }
2597 unsafe impl ::windows::runtime::Abi for OPC_RELATIONSHIPS_SIGNING_OPTION {
2598     type Abi = Self;
2599     type DefaultType = Self;
2600 }
2601 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2602 #[repr(transparent)]
2603 pub struct OPC_RELATIONSHIP_SELECTOR(pub i32);
2604 pub const OPC_RELATIONSHIP_SELECT_BY_ID: OPC_RELATIONSHIP_SELECTOR = OPC_RELATIONSHIP_SELECTOR(0i32);
2605 pub const OPC_RELATIONSHIP_SELECT_BY_TYPE: OPC_RELATIONSHIP_SELECTOR = OPC_RELATIONSHIP_SELECTOR(1i32);
2606 impl ::std::convert::From<i32> for OPC_RELATIONSHIP_SELECTOR {
from(value: i32) -> Self2607     fn from(value: i32) -> Self {
2608         Self(value)
2609     }
2610 }
2611 unsafe impl ::windows::runtime::Abi for OPC_RELATIONSHIP_SELECTOR {
2612     type Abi = Self;
2613     type DefaultType = Self;
2614 }
2615 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2616 #[repr(transparent)]
2617 pub struct OPC_SIGNATURE_TIME_FORMAT(pub i32);
2618 pub const OPC_SIGNATURE_TIME_FORMAT_MILLISECONDS: OPC_SIGNATURE_TIME_FORMAT = OPC_SIGNATURE_TIME_FORMAT(0i32);
2619 pub const OPC_SIGNATURE_TIME_FORMAT_SECONDS: OPC_SIGNATURE_TIME_FORMAT = OPC_SIGNATURE_TIME_FORMAT(1i32);
2620 pub const OPC_SIGNATURE_TIME_FORMAT_MINUTES: OPC_SIGNATURE_TIME_FORMAT = OPC_SIGNATURE_TIME_FORMAT(2i32);
2621 pub const OPC_SIGNATURE_TIME_FORMAT_DAYS: OPC_SIGNATURE_TIME_FORMAT = OPC_SIGNATURE_TIME_FORMAT(3i32);
2622 pub const OPC_SIGNATURE_TIME_FORMAT_MONTHS: OPC_SIGNATURE_TIME_FORMAT = OPC_SIGNATURE_TIME_FORMAT(4i32);
2623 pub const OPC_SIGNATURE_TIME_FORMAT_YEARS: OPC_SIGNATURE_TIME_FORMAT = OPC_SIGNATURE_TIME_FORMAT(5i32);
2624 impl ::std::convert::From<i32> for OPC_SIGNATURE_TIME_FORMAT {
from(value: i32) -> Self2625     fn from(value: i32) -> Self {
2626         Self(value)
2627     }
2628 }
2629 unsafe impl ::windows::runtime::Abi for OPC_SIGNATURE_TIME_FORMAT {
2630     type Abi = Self;
2631     type DefaultType = Self;
2632 }
2633 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2634 #[repr(transparent)]
2635 pub struct OPC_SIGNATURE_VALIDATION_RESULT(pub i32);
2636 pub const OPC_SIGNATURE_VALID: OPC_SIGNATURE_VALIDATION_RESULT = OPC_SIGNATURE_VALIDATION_RESULT(0i32);
2637 pub const OPC_SIGNATURE_INVALID: OPC_SIGNATURE_VALIDATION_RESULT = OPC_SIGNATURE_VALIDATION_RESULT(-1i32);
2638 impl ::std::convert::From<i32> for OPC_SIGNATURE_VALIDATION_RESULT {
from(value: i32) -> Self2639     fn from(value: i32) -> Self {
2640         Self(value)
2641     }
2642 }
2643 unsafe impl ::windows::runtime::Abi for OPC_SIGNATURE_VALIDATION_RESULT {
2644     type Abi = Self;
2645     type DefaultType = Self;
2646 }
2647 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2648 #[repr(transparent)]
2649 pub struct OPC_STREAM_IO_MODE(pub i32);
2650 pub const OPC_STREAM_IO_READ: OPC_STREAM_IO_MODE = OPC_STREAM_IO_MODE(1i32);
2651 pub const OPC_STREAM_IO_WRITE: OPC_STREAM_IO_MODE = OPC_STREAM_IO_MODE(2i32);
2652 impl ::std::convert::From<i32> for OPC_STREAM_IO_MODE {
from(value: i32) -> Self2653     fn from(value: i32) -> Self {
2654         Self(value)
2655     }
2656 }
2657 unsafe impl ::windows::runtime::Abi for OPC_STREAM_IO_MODE {
2658     type Abi = Self;
2659     type DefaultType = Self;
2660 }
2661 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2662 #[repr(transparent)]
2663 pub struct OPC_URI_TARGET_MODE(pub i32);
2664 pub const OPC_URI_TARGET_MODE_INTERNAL: OPC_URI_TARGET_MODE = OPC_URI_TARGET_MODE(0i32);
2665 pub const OPC_URI_TARGET_MODE_EXTERNAL: OPC_URI_TARGET_MODE = OPC_URI_TARGET_MODE(1i32);
2666 impl ::std::convert::From<i32> for OPC_URI_TARGET_MODE {
from(value: i32) -> Self2667     fn from(value: i32) -> Self {
2668         Self(value)
2669     }
2670 }
2671 unsafe impl ::windows::runtime::Abi for OPC_URI_TARGET_MODE {
2672     type Abi = Self;
2673     type DefaultType = Self;
2674 }
2675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2676 #[repr(transparent)]
2677 pub struct OPC_WRITE_FLAGS(pub u32);
2678 pub const OPC_WRITE_DEFAULT: OPC_WRITE_FLAGS = OPC_WRITE_FLAGS(0u32);
2679 pub const OPC_WRITE_FORCE_ZIP32: OPC_WRITE_FLAGS = OPC_WRITE_FLAGS(1u32);
2680 impl ::std::convert::From<u32> for OPC_WRITE_FLAGS {
from(value: u32) -> Self2681     fn from(value: u32) -> Self {
2682         Self(value)
2683     }
2684 }
2685 unsafe impl ::windows::runtime::Abi for OPC_WRITE_FLAGS {
2686     type Abi = Self;
2687     type DefaultType = Self;
2688 }
2689 impl ::std::ops::BitOr for OPC_WRITE_FLAGS {
2690     type Output = Self;
bitor(self, rhs: Self) -> Self2691     fn bitor(self, rhs: Self) -> Self {
2692         Self(self.0 | rhs.0)
2693     }
2694 }
2695 impl ::std::ops::BitAnd for OPC_WRITE_FLAGS {
2696     type Output = Self;
bitand(self, rhs: Self) -> Self2697     fn bitand(self, rhs: Self) -> Self {
2698         Self(self.0 & rhs.0)
2699     }
2700 }
2701 impl ::std::ops::BitOrAssign for OPC_WRITE_FLAGS {
bitor_assign(&mut self, rhs: Self)2702     fn bitor_assign(&mut self, rhs: Self) {
2703         self.0.bitor_assign(rhs.0)
2704     }
2705 }
2706 impl ::std::ops::BitAndAssign for OPC_WRITE_FLAGS {
bitand_assign(&mut self, rhs: Self)2707     fn bitand_assign(&mut self, rhs: Self) {
2708         self.0.bitand_assign(rhs.0)
2709     }
2710 }
2711 impl ::std::ops::Not for OPC_WRITE_FLAGS {
2712     type Output = Self;
not(self) -> Self2713     fn not(self) -> Self {
2714         Self(self.0.not())
2715     }
2716 }
2717 pub const OpcFactory: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1798138784, 40766, 20263, [146, 11, 49, 60, 196, 38, 163, 158]);
2718