1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3 #[repr(transparent)]
4 pub struct CIMTYPE_ENUMERATION(pub i32);
5 pub const CIM_ILLEGAL: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(4095i32);
6 pub const CIM_EMPTY: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(0i32);
7 pub const CIM_SINT8: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(16i32);
8 pub const CIM_UINT8: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(17i32);
9 pub const CIM_SINT16: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(2i32);
10 pub const CIM_UINT16: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(18i32);
11 pub const CIM_SINT32: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(3i32);
12 pub const CIM_UINT32: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(19i32);
13 pub const CIM_SINT64: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(20i32);
14 pub const CIM_UINT64: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(21i32);
15 pub const CIM_REAL32: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(4i32);
16 pub const CIM_REAL64: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(5i32);
17 pub const CIM_BOOLEAN: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(11i32);
18 pub const CIM_STRING: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(8i32);
19 pub const CIM_DATETIME: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(101i32);
20 pub const CIM_REFERENCE: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(102i32);
21 pub const CIM_CHAR16: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(103i32);
22 pub const CIM_OBJECT: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(13i32);
23 pub const CIM_FLAG_ARRAY: CIMTYPE_ENUMERATION = CIMTYPE_ENUMERATION(8192i32);
24 impl ::std::convert::From<i32> for CIMTYPE_ENUMERATION {
from(value: i32) -> Self25     fn from(value: i32) -> Self {
26         Self(value)
27     }
28 }
29 unsafe impl ::windows::runtime::Abi for CIMTYPE_ENUMERATION {
30     type Abi = Self;
31     type DefaultType = Self;
32 }
33 #[repr(transparent)]
34 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
35 pub struct IEnumWbemClassObject(::windows::runtime::IUnknown);
36 impl IEnumWbemClassObject {
Reset(&self) -> ::windows::runtime::Result<()>37     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
38         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
39     }
Next(&self, ltimeout: i32, ucount: u32, apobjects: *mut ::std::option::Option<IWbemClassObject>, pureturned: *mut u32) -> ::windows::runtime::Result<()>40     pub unsafe fn Next(&self, ltimeout: i32, ucount: u32, apobjects: *mut ::std::option::Option<IWbemClassObject>, pureturned: *mut u32) -> ::windows::runtime::Result<()> {
41         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltimeout), ::std::mem::transmute(ucount), ::std::mem::transmute(apobjects), ::std::mem::transmute(pureturned)).ok()
42     }
NextAsync<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, ucount: u32, psink: Param1) -> ::windows::runtime::Result<()>43     pub unsafe fn NextAsync<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, ucount: u32, psink: Param1) -> ::windows::runtime::Result<()> {
44         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ucount), psink.into_param().abi()).ok()
45     }
Clone(&self) -> ::windows::runtime::Result<IEnumWbemClassObject>46     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumWbemClassObject> {
47         let mut result__: <IEnumWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
48         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumWbemClassObject>(result__)
49     }
Skip(&self, ltimeout: i32, ncount: u32) -> ::windows::runtime::Result<()>50     pub unsafe fn Skip(&self, ltimeout: i32, ncount: u32) -> ::windows::runtime::Result<()> {
51         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltimeout), ::std::mem::transmute(ncount)).ok()
52     }
53 }
54 unsafe impl ::windows::runtime::Interface for IEnumWbemClassObject {
55     type Vtable = IEnumWbemClassObject_abi;
56     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(41502689, 55089, 4558, [163, 87, 0, 0, 0, 0, 0, 1]);
57 }
58 impl ::std::convert::From<IEnumWbemClassObject> for ::windows::runtime::IUnknown {
from(value: IEnumWbemClassObject) -> Self59     fn from(value: IEnumWbemClassObject) -> Self {
60         unsafe { ::std::mem::transmute(value) }
61     }
62 }
63 impl ::std::convert::From<&IEnumWbemClassObject> for ::windows::runtime::IUnknown {
from(value: &IEnumWbemClassObject) -> Self64     fn from(value: &IEnumWbemClassObject) -> Self {
65         ::std::convert::From::from(::std::clone::Clone::clone(value))
66     }
67 }
68 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumWbemClassObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>69     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
70         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
71     }
72 }
73 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumWbemClassObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>74     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
75         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
76     }
77 }
78 #[repr(C)]
79 #[doc(hidden)]
80 pub struct IEnumWbemClassObject_abi(
81     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
82     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
83     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
84     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
85     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltimeout: i32, ucount: u32, apobjects: *mut ::windows::runtime::RawPtr, pureturned: *mut u32) -> ::windows::runtime::HRESULT,
86     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ucount: u32, psink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
87     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
88     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltimeout: i32, ncount: u32) -> ::windows::runtime::HRESULT,
89 );
90 #[repr(transparent)]
91 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
92 pub struct IMofCompiler(::windows::runtime::IUnknown);
93 impl IMofCompiler {
94     #[cfg(feature = "Win32_Foundation")]
CompileFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>( &self, filename: Param0, serverandnamespace: Param1, user: Param2, authority: Param3, password: Param4, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO, ) -> ::windows::runtime::Result<()>95     pub unsafe fn CompileFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(
96         &self,
97         filename: Param0,
98         serverandnamespace: Param1,
99         user: Param2,
100         authority: Param3,
101         password: Param4,
102         loptionflags: i32,
103         lclassflags: i32,
104         linstanceflags: i32,
105         pinfo: *mut WBEM_COMPILE_STATUS_INFO,
106     ) -> ::windows::runtime::Result<()> {
107         (::windows::runtime::Interface::vtable(self).3)(
108             ::std::mem::transmute_copy(self),
109             filename.into_param().abi(),
110             serverandnamespace.into_param().abi(),
111             user.into_param().abi(),
112             authority.into_param().abi(),
113             password.into_param().abi(),
114             ::std::mem::transmute(loptionflags),
115             ::std::mem::transmute(lclassflags),
116             ::std::mem::transmute(linstanceflags),
117             ::std::mem::transmute(pinfo),
118         )
119         .ok()
120     }
121     #[cfg(feature = "Win32_Foundation")]
CompileBuffer<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>( &self, buffsize: i32, pbuffer: *const u8, serverandnamespace: Param2, user: Param3, authority: Param4, password: Param5, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO, ) -> ::windows::runtime::Result<()>122     pub unsafe fn CompileBuffer<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(
123         &self,
124         buffsize: i32,
125         pbuffer: *const u8,
126         serverandnamespace: Param2,
127         user: Param3,
128         authority: Param4,
129         password: Param5,
130         loptionflags: i32,
131         lclassflags: i32,
132         linstanceflags: i32,
133         pinfo: *mut WBEM_COMPILE_STATUS_INFO,
134     ) -> ::windows::runtime::Result<()> {
135         (::windows::runtime::Interface::vtable(self).4)(
136             ::std::mem::transmute_copy(self),
137             ::std::mem::transmute(buffsize),
138             ::std::mem::transmute(pbuffer),
139             serverandnamespace.into_param().abi(),
140             user.into_param().abi(),
141             authority.into_param().abi(),
142             password.into_param().abi(),
143             ::std::mem::transmute(loptionflags),
144             ::std::mem::transmute(lclassflags),
145             ::std::mem::transmute(linstanceflags),
146             ::std::mem::transmute(pinfo),
147         )
148         .ok()
149     }
150     #[cfg(feature = "Win32_Foundation")]
CreateBMOF<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, textfilename: Param0, bmoffilename: Param1, serverandnamespace: Param2, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> ::windows::runtime::Result<()>151     pub unsafe fn CreateBMOF<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, textfilename: Param0, bmoffilename: Param1, serverandnamespace: Param2, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> ::windows::runtime::Result<()> {
152         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), textfilename.into_param().abi(), bmoffilename.into_param().abi(), serverandnamespace.into_param().abi(), ::std::mem::transmute(loptionflags), ::std::mem::transmute(lclassflags), ::std::mem::transmute(linstanceflags), ::std::mem::transmute(pinfo)).ok()
153     }
154 }
155 unsafe impl ::windows::runtime::Interface for IMofCompiler {
156     type Vtable = IMofCompiler_abi;
157     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1840224078, 11831, 4562, [174, 201, 0, 192, 79, 182, 136, 32]);
158 }
159 impl ::std::convert::From<IMofCompiler> for ::windows::runtime::IUnknown {
from(value: IMofCompiler) -> Self160     fn from(value: IMofCompiler) -> Self {
161         unsafe { ::std::mem::transmute(value) }
162     }
163 }
164 impl ::std::convert::From<&IMofCompiler> for ::windows::runtime::IUnknown {
from(value: &IMofCompiler) -> Self165     fn from(value: &IMofCompiler) -> Self {
166         ::std::convert::From::from(::std::clone::Clone::clone(value))
167     }
168 }
169 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMofCompiler {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>170     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
171         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
172     }
173 }
174 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMofCompiler {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>175     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
176         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
177     }
178 }
179 #[repr(C)]
180 #[doc(hidden)]
181 pub struct IMofCompiler_abi(
182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
185     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: super::super::Foundation::PWSTR, serverandnamespace: super::super::Foundation::PWSTR, user: super::super::Foundation::PWSTR, authority: super::super::Foundation::PWSTR, password: super::super::Foundation::PWSTR, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> ::windows::runtime::HRESULT,
186     #[cfg(not(feature = "Win32_Foundation"))] usize,
187     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffsize: i32, pbuffer: *const u8, serverandnamespace: super::super::Foundation::PWSTR, user: super::super::Foundation::PWSTR, authority: super::super::Foundation::PWSTR, password: super::super::Foundation::PWSTR, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> ::windows::runtime::HRESULT,
188     #[cfg(not(feature = "Win32_Foundation"))] usize,
189     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, textfilename: super::super::Foundation::PWSTR, bmoffilename: super::super::Foundation::PWSTR, serverandnamespace: super::super::Foundation::PWSTR, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> ::windows::runtime::HRESULT,
190     #[cfg(not(feature = "Win32_Foundation"))] usize,
191 );
192 #[repr(transparent)]
193 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
194 pub struct ISWbemDateTime(::windows::runtime::IUnknown);
195 impl ISWbemDateTime {
196     #[cfg(feature = "Win32_Foundation")]
Value(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>197     pub unsafe fn Value(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
198         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
199         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
200     }
201     #[cfg(feature = "Win32_Foundation")]
SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strvalue: Param0) -> ::windows::runtime::Result<()>202     pub unsafe fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strvalue: Param0) -> ::windows::runtime::Result<()> {
203         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strvalue.into_param().abi()).ok()
204     }
Year(&self) -> ::windows::runtime::Result<i32>205     pub unsafe fn Year(&self) -> ::windows::runtime::Result<i32> {
206         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
207         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
208     }
SetYear(&self, iyear: i32) -> ::windows::runtime::Result<()>209     pub unsafe fn SetYear(&self, iyear: i32) -> ::windows::runtime::Result<()> {
210         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iyear)).ok()
211     }
YearSpecified(&self) -> ::windows::runtime::Result<i16>212     pub unsafe fn YearSpecified(&self) -> ::windows::runtime::Result<i16> {
213         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
214         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
215     }
SetYearSpecified(&self, byearspecified: i16) -> ::windows::runtime::Result<()>216     pub unsafe fn SetYearSpecified(&self, byearspecified: i16) -> ::windows::runtime::Result<()> {
217         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(byearspecified)).ok()
218     }
Month(&self) -> ::windows::runtime::Result<i32>219     pub unsafe fn Month(&self) -> ::windows::runtime::Result<i32> {
220         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
221         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
222     }
SetMonth(&self, imonth: i32) -> ::windows::runtime::Result<()>223     pub unsafe fn SetMonth(&self, imonth: i32) -> ::windows::runtime::Result<()> {
224         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(imonth)).ok()
225     }
MonthSpecified(&self) -> ::windows::runtime::Result<i16>226     pub unsafe fn MonthSpecified(&self) -> ::windows::runtime::Result<i16> {
227         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
228         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
229     }
SetMonthSpecified(&self, bmonthspecified: i16) -> ::windows::runtime::Result<()>230     pub unsafe fn SetMonthSpecified(&self, bmonthspecified: i16) -> ::windows::runtime::Result<()> {
231         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bmonthspecified)).ok()
232     }
Day(&self) -> ::windows::runtime::Result<i32>233     pub unsafe fn Day(&self) -> ::windows::runtime::Result<i32> {
234         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
235         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
236     }
SetDay(&self, iday: i32) -> ::windows::runtime::Result<()>237     pub unsafe fn SetDay(&self, iday: i32) -> ::windows::runtime::Result<()> {
238         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(iday)).ok()
239     }
DaySpecified(&self) -> ::windows::runtime::Result<i16>240     pub unsafe fn DaySpecified(&self) -> ::windows::runtime::Result<i16> {
241         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
242         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
243     }
SetDaySpecified(&self, bdayspecified: i16) -> ::windows::runtime::Result<()>244     pub unsafe fn SetDaySpecified(&self, bdayspecified: i16) -> ::windows::runtime::Result<()> {
245         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(bdayspecified)).ok()
246     }
Hours(&self) -> ::windows::runtime::Result<i32>247     pub unsafe fn Hours(&self) -> ::windows::runtime::Result<i32> {
248         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
249         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
250     }
SetHours(&self, ihours: i32) -> ::windows::runtime::Result<()>251     pub unsafe fn SetHours(&self, ihours: i32) -> ::windows::runtime::Result<()> {
252         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ihours)).ok()
253     }
HoursSpecified(&self) -> ::windows::runtime::Result<i16>254     pub unsafe fn HoursSpecified(&self) -> ::windows::runtime::Result<i16> {
255         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
256         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
257     }
SetHoursSpecified(&self, bhoursspecified: i16) -> ::windows::runtime::Result<()>258     pub unsafe fn SetHoursSpecified(&self, bhoursspecified: i16) -> ::windows::runtime::Result<()> {
259         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(bhoursspecified)).ok()
260     }
Minutes(&self) -> ::windows::runtime::Result<i32>261     pub unsafe fn Minutes(&self) -> ::windows::runtime::Result<i32> {
262         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
263         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
264     }
SetMinutes(&self, iminutes: i32) -> ::windows::runtime::Result<()>265     pub unsafe fn SetMinutes(&self, iminutes: i32) -> ::windows::runtime::Result<()> {
266         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(iminutes)).ok()
267     }
MinutesSpecified(&self) -> ::windows::runtime::Result<i16>268     pub unsafe fn MinutesSpecified(&self) -> ::windows::runtime::Result<i16> {
269         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
270         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
271     }
SetMinutesSpecified(&self, bminutesspecified: i16) -> ::windows::runtime::Result<()>272     pub unsafe fn SetMinutesSpecified(&self, bminutesspecified: i16) -> ::windows::runtime::Result<()> {
273         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(bminutesspecified)).ok()
274     }
Seconds(&self) -> ::windows::runtime::Result<i32>275     pub unsafe fn Seconds(&self) -> ::windows::runtime::Result<i32> {
276         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
277         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
278     }
SetSeconds(&self, iseconds: i32) -> ::windows::runtime::Result<()>279     pub unsafe fn SetSeconds(&self, iseconds: i32) -> ::windows::runtime::Result<()> {
280         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(iseconds)).ok()
281     }
SecondsSpecified(&self) -> ::windows::runtime::Result<i16>282     pub unsafe fn SecondsSpecified(&self) -> ::windows::runtime::Result<i16> {
283         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
284         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
285     }
SetSecondsSpecified(&self, bsecondsspecified: i16) -> ::windows::runtime::Result<()>286     pub unsafe fn SetSecondsSpecified(&self, bsecondsspecified: i16) -> ::windows::runtime::Result<()> {
287         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(bsecondsspecified)).ok()
288     }
Microseconds(&self) -> ::windows::runtime::Result<i32>289     pub unsafe fn Microseconds(&self) -> ::windows::runtime::Result<i32> {
290         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
291         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
292     }
SetMicroseconds(&self, imicroseconds: i32) -> ::windows::runtime::Result<()>293     pub unsafe fn SetMicroseconds(&self, imicroseconds: i32) -> ::windows::runtime::Result<()> {
294         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(imicroseconds)).ok()
295     }
MicrosecondsSpecified(&self) -> ::windows::runtime::Result<i16>296     pub unsafe fn MicrosecondsSpecified(&self) -> ::windows::runtime::Result<i16> {
297         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
298         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
299     }
SetMicrosecondsSpecified(&self, bmicrosecondsspecified: i16) -> ::windows::runtime::Result<()>300     pub unsafe fn SetMicrosecondsSpecified(&self, bmicrosecondsspecified: i16) -> ::windows::runtime::Result<()> {
301         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(bmicrosecondsspecified)).ok()
302     }
UTC(&self) -> ::windows::runtime::Result<i32>303     pub unsafe fn UTC(&self) -> ::windows::runtime::Result<i32> {
304         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
305         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
306     }
SetUTC(&self, iutc: i32) -> ::windows::runtime::Result<()>307     pub unsafe fn SetUTC(&self, iutc: i32) -> ::windows::runtime::Result<()> {
308         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(iutc)).ok()
309     }
UTCSpecified(&self) -> ::windows::runtime::Result<i16>310     pub unsafe fn UTCSpecified(&self) -> ::windows::runtime::Result<i16> {
311         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
312         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
313     }
SetUTCSpecified(&self, butcspecified: i16) -> ::windows::runtime::Result<()>314     pub unsafe fn SetUTCSpecified(&self, butcspecified: i16) -> ::windows::runtime::Result<()> {
315         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(butcspecified)).ok()
316     }
IsInterval(&self) -> ::windows::runtime::Result<i16>317     pub unsafe fn IsInterval(&self) -> ::windows::runtime::Result<i16> {
318         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
319         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
320     }
SetIsInterval(&self, bisinterval: i16) -> ::windows::runtime::Result<()>321     pub unsafe fn SetIsInterval(&self, bisinterval: i16) -> ::windows::runtime::Result<()> {
322         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(bisinterval)).ok()
323     }
GetVarDate(&self, bislocal: i16) -> ::windows::runtime::Result<f64>324     pub unsafe fn GetVarDate(&self, bislocal: i16) -> ::windows::runtime::Result<f64> {
325         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
326         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(bislocal), &mut result__).from_abi::<f64>(result__)
327     }
SetVarDate(&self, dvardate: f64, bislocal: i16) -> ::windows::runtime::Result<()>328     pub unsafe fn SetVarDate(&self, dvardate: f64, bislocal: i16) -> ::windows::runtime::Result<()> {
329         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(dvardate), ::std::mem::transmute(bislocal)).ok()
330     }
331     #[cfg(feature = "Win32_Foundation")]
GetFileTime(&self, bislocal: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>332     pub unsafe fn GetFileTime(&self, bislocal: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
333         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
334         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(bislocal), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
335     }
336     #[cfg(feature = "Win32_Foundation")]
SetFileTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strfiletime: Param0, bislocal: i16) -> ::windows::runtime::Result<()>337     pub unsafe fn SetFileTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strfiletime: Param0, bislocal: i16) -> ::windows::runtime::Result<()> {
338         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), strfiletime.into_param().abi(), ::std::mem::transmute(bislocal)).ok()
339     }
340 }
341 unsafe impl ::windows::runtime::Interface for ISWbemDateTime {
342     type Vtable = ISWbemDateTime_abi;
343     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1586972042, 53111, 4563, [179, 143, 0, 16, 90, 31, 71, 58]);
344 }
345 impl ::std::convert::From<ISWbemDateTime> for ::windows::runtime::IUnknown {
from(value: ISWbemDateTime) -> Self346     fn from(value: ISWbemDateTime) -> Self {
347         unsafe { ::std::mem::transmute(value) }
348     }
349 }
350 impl ::std::convert::From<&ISWbemDateTime> for ::windows::runtime::IUnknown {
from(value: &ISWbemDateTime) -> Self351     fn from(value: &ISWbemDateTime) -> Self {
352         ::std::convert::From::from(::std::clone::Clone::clone(value))
353     }
354 }
355 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemDateTime {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>356     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
357         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
358     }
359 }
360 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemDateTime {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>361     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
362         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
363     }
364 }
365 #[cfg(feature = "Win32_System_Ole_Automation")]
366 impl ::std::convert::From<ISWbemDateTime> for super::Ole::Automation::IDispatch {
from(value: ISWbemDateTime) -> Self367     fn from(value: ISWbemDateTime) -> Self {
368         unsafe { ::std::mem::transmute(value) }
369     }
370 }
371 #[cfg(feature = "Win32_System_Ole_Automation")]
372 impl ::std::convert::From<&ISWbemDateTime> for super::Ole::Automation::IDispatch {
from(value: &ISWbemDateTime) -> Self373     fn from(value: &ISWbemDateTime) -> Self {
374         ::std::convert::From::from(::std::clone::Clone::clone(value))
375     }
376 }
377 #[cfg(feature = "Win32_System_Ole_Automation")]
378 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemDateTime {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>379     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
380         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
381     }
382 }
383 #[cfg(feature = "Win32_System_Ole_Automation")]
384 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemDateTime {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>385     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
386         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
387     }
388 }
389 #[repr(C)]
390 #[doc(hidden)]
391 pub struct ISWbemDateTime_abi(
392     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
393     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
394     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
395     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
396     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
397     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
398     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
399     #[cfg(not(feature = "Win32_Foundation"))] usize,
400     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
401     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
402     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
403     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strvalue: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
404     #[cfg(not(feature = "Win32_Foundation"))] usize,
405     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strvalue: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
406     #[cfg(not(feature = "Win32_Foundation"))] usize,
407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iyear: *mut i32) -> ::windows::runtime::HRESULT,
408     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iyear: i32) -> ::windows::runtime::HRESULT,
409     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, byearspecified: *mut i16) -> ::windows::runtime::HRESULT,
410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, byearspecified: i16) -> ::windows::runtime::HRESULT,
411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imonth: *mut i32) -> ::windows::runtime::HRESULT,
412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imonth: i32) -> ::windows::runtime::HRESULT,
413     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bmonthspecified: *mut i16) -> ::windows::runtime::HRESULT,
414     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bmonthspecified: i16) -> ::windows::runtime::HRESULT,
415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iday: *mut i32) -> ::windows::runtime::HRESULT,
416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iday: i32) -> ::windows::runtime::HRESULT,
417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bdayspecified: *mut i16) -> ::windows::runtime::HRESULT,
418     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bdayspecified: i16) -> ::windows::runtime::HRESULT,
419     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ihours: *mut i32) -> ::windows::runtime::HRESULT,
420     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ihours: i32) -> ::windows::runtime::HRESULT,
421     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bhoursspecified: *mut i16) -> ::windows::runtime::HRESULT,
422     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bhoursspecified: i16) -> ::windows::runtime::HRESULT,
423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iminutes: *mut i32) -> ::windows::runtime::HRESULT,
424     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iminutes: i32) -> ::windows::runtime::HRESULT,
425     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bminutesspecified: *mut i16) -> ::windows::runtime::HRESULT,
426     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bminutesspecified: i16) -> ::windows::runtime::HRESULT,
427     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iseconds: *mut i32) -> ::windows::runtime::HRESULT,
428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iseconds: i32) -> ::windows::runtime::HRESULT,
429     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsecondsspecified: *mut i16) -> ::windows::runtime::HRESULT,
430     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsecondsspecified: i16) -> ::windows::runtime::HRESULT,
431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imicroseconds: *mut i32) -> ::windows::runtime::HRESULT,
432     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imicroseconds: i32) -> ::windows::runtime::HRESULT,
433     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bmicrosecondsspecified: *mut i16) -> ::windows::runtime::HRESULT,
434     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bmicrosecondsspecified: i16) -> ::windows::runtime::HRESULT,
435     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iutc: *mut i32) -> ::windows::runtime::HRESULT,
436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iutc: i32) -> ::windows::runtime::HRESULT,
437     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, butcspecified: *mut i16) -> ::windows::runtime::HRESULT,
438     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, butcspecified: i16) -> ::windows::runtime::HRESULT,
439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisinterval: *mut i16) -> ::windows::runtime::HRESULT,
440     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisinterval: i16) -> ::windows::runtime::HRESULT,
441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bislocal: i16, dvardate: *mut f64) -> ::windows::runtime::HRESULT,
442     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dvardate: f64, bislocal: i16) -> ::windows::runtime::HRESULT,
443     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bislocal: i16, strfiletime: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
444     #[cfg(not(feature = "Win32_Foundation"))] usize,
445     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strfiletime: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bislocal: i16) -> ::windows::runtime::HRESULT,
446     #[cfg(not(feature = "Win32_Foundation"))] usize,
447 );
448 #[repr(transparent)]
449 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
450 pub struct ISWbemEventSource(::windows::runtime::IUnknown);
451 impl ISWbemEventSource {
NextEvent(&self, itimeoutms: i32) -> ::windows::runtime::Result<ISWbemObject>452     pub unsafe fn NextEvent(&self, itimeoutms: i32) -> ::windows::runtime::Result<ISWbemObject> {
453         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
454         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(itimeoutms), &mut result__).from_abi::<ISWbemObject>(result__)
455     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>456     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
457         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
458         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
459     }
460 }
461 unsafe impl ::windows::runtime::Interface for ISWbemEventSource {
462     type Vtable = ISWbemEventSource_abi;
463     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(668290450, 3774, 4562, [139, 34, 0, 96, 8, 6, 217, 182]);
464 }
465 impl ::std::convert::From<ISWbemEventSource> for ::windows::runtime::IUnknown {
from(value: ISWbemEventSource) -> Self466     fn from(value: ISWbemEventSource) -> Self {
467         unsafe { ::std::mem::transmute(value) }
468     }
469 }
470 impl ::std::convert::From<&ISWbemEventSource> for ::windows::runtime::IUnknown {
from(value: &ISWbemEventSource) -> Self471     fn from(value: &ISWbemEventSource) -> Self {
472         ::std::convert::From::from(::std::clone::Clone::clone(value))
473     }
474 }
475 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemEventSource {
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(self))
478     }
479 }
480 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemEventSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>481     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
482         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
483     }
484 }
485 #[cfg(feature = "Win32_System_Ole_Automation")]
486 impl ::std::convert::From<ISWbemEventSource> for super::Ole::Automation::IDispatch {
from(value: ISWbemEventSource) -> Self487     fn from(value: ISWbemEventSource) -> Self {
488         unsafe { ::std::mem::transmute(value) }
489     }
490 }
491 #[cfg(feature = "Win32_System_Ole_Automation")]
492 impl ::std::convert::From<&ISWbemEventSource> for super::Ole::Automation::IDispatch {
from(value: &ISWbemEventSource) -> Self493     fn from(value: &ISWbemEventSource) -> Self {
494         ::std::convert::From::from(::std::clone::Clone::clone(value))
495     }
496 }
497 #[cfg(feature = "Win32_System_Ole_Automation")]
498 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemEventSource {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>499     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
500         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
501     }
502 }
503 #[cfg(feature = "Win32_System_Ole_Automation")]
504 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemEventSource {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>505     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
506         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
507     }
508 }
509 #[repr(C)]
510 #[doc(hidden)]
511 pub struct ISWbemEventSource_abi(
512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
516     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
517     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
518     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
519     #[cfg(not(feature = "Win32_Foundation"))] usize,
520     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
521     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
522     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
523     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itimeoutms: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
525 );
526 #[repr(transparent)]
527 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
528 pub struct ISWbemLastError(::windows::runtime::IUnknown);
529 impl ISWbemLastError {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>530     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
531         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
532         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
533     }
534     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>535     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
536         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
537         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
538     }
539     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>540     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
541         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
542     }
543     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>544     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
545         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
546     }
547     #[cfg(feature = "Win32_System_Ole_Automation")]
Put_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectPath>548     pub unsafe fn Put_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectPath> {
549         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
550         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectPath>(result__)
551     }
552     #[cfg(feature = "Win32_System_Ole_Automation")]
PutAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>553     pub unsafe fn PutAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
554         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
555     }
556     #[cfg(feature = "Win32_System_Ole_Automation")]
Delete_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()>557     pub unsafe fn Delete_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()> {
558         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
559     }
560     #[cfg(feature = "Win32_System_Ole_Automation")]
DeleteAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>561     pub unsafe fn DeleteAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
562         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
563     }
564     #[cfg(feature = "Win32_System_Ole_Automation")]
Instances_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet>565     pub unsafe fn Instances_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet> {
566         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
567         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
568     }
569     #[cfg(feature = "Win32_System_Ole_Automation")]
InstancesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>570     pub unsafe fn InstancesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
571         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
572     }
573     #[cfg(feature = "Win32_System_Ole_Automation")]
Subclasses_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet>574     pub unsafe fn Subclasses_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet> {
575         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
576         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
577     }
578     #[cfg(feature = "Win32_System_Ole_Automation")]
SubclassesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>579     pub unsafe fn SubclassesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
580         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
581     }
582     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Associators_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, strassocclass: Param0, strresultclass: Param1, strresultrole: Param2, strrole: Param3, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param6, strrequiredqualifier: Param7, iflags: i32, objwbemnamedvalueset: Param9, ) -> ::windows::runtime::Result<ISWbemObjectSet>583     pub unsafe fn Associators_<
584         'a,
585         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
586         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
587         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
588         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
589         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
590         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
591         Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
592     >(
593         &self,
594         strassocclass: Param0,
595         strresultclass: Param1,
596         strresultrole: Param2,
597         strrole: Param3,
598         bclassesonly: i16,
599         bschemaonly: i16,
600         strrequiredassocqualifier: Param6,
601         strrequiredqualifier: Param7,
602         iflags: i32,
603         objwbemnamedvalueset: Param9,
604     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
605         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
606         (::windows::runtime::Interface::vtable(self).15)(
607             ::std::mem::transmute_copy(self),
608             strassocclass.into_param().abi(),
609             strresultclass.into_param().abi(),
610             strresultrole.into_param().abi(),
611             strrole.into_param().abi(),
612             ::std::mem::transmute(bclassesonly),
613             ::std::mem::transmute(bschemaonly),
614             strrequiredassocqualifier.into_param().abi(),
615             strrequiredqualifier.into_param().abi(),
616             ::std::mem::transmute(iflags),
617             objwbemnamedvalueset.into_param().abi(),
618             &mut result__,
619         )
620         .from_abi::<ISWbemObjectSet>(result__)
621     }
622     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsAsync_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strassocclass: Param1, strresultclass: Param2, strresultrole: Param3, strrole: Param4, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param7, strrequiredqualifier: Param8, iflags: i32, objwbemnamedvalueset: Param10, objwbemasynccontext: Param11, ) -> ::windows::runtime::Result<()>623     pub unsafe fn AssociatorsAsync_<
624         'a,
625         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
626         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
627         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
628         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
629         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
630         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
631         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
632         Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
633         Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
634     >(
635         &self,
636         objwbemsink: Param0,
637         strassocclass: Param1,
638         strresultclass: Param2,
639         strresultrole: Param3,
640         strrole: Param4,
641         bclassesonly: i16,
642         bschemaonly: i16,
643         strrequiredassocqualifier: Param7,
644         strrequiredqualifier: Param8,
645         iflags: i32,
646         objwbemnamedvalueset: Param10,
647         objwbemasynccontext: Param11,
648     ) -> ::windows::runtime::Result<()> {
649         (::windows::runtime::Interface::vtable(self).16)(
650             ::std::mem::transmute_copy(self),
651             objwbemsink.into_param().abi(),
652             strassocclass.into_param().abi(),
653             strresultclass.into_param().abi(),
654             strresultrole.into_param().abi(),
655             strrole.into_param().abi(),
656             ::std::mem::transmute(bclassesonly),
657             ::std::mem::transmute(bschemaonly),
658             strrequiredassocqualifier.into_param().abi(),
659             strrequiredqualifier.into_param().abi(),
660             ::std::mem::transmute(iflags),
661             objwbemnamedvalueset.into_param().abi(),
662             objwbemasynccontext.into_param().abi(),
663         )
664         .ok()
665     }
666     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
References_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strresultclass: Param0, strrole: Param1, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param4, iflags: i32, objwbemnamedvalueset: Param6, ) -> ::windows::runtime::Result<ISWbemObjectSet>667     pub unsafe fn References_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
668         &self,
669         strresultclass: Param0,
670         strrole: Param1,
671         bclassesonly: i16,
672         bschemaonly: i16,
673         strrequiredqualifier: Param4,
674         iflags: i32,
675         objwbemnamedvalueset: Param6,
676     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
677         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
678         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strresultclass.into_param().abi(), strrole.into_param().abi(), ::std::mem::transmute(bclassesonly), ::std::mem::transmute(bschemaonly), strrequiredqualifier.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
679     }
680     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesAsync_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strresultclass: Param1, strrole: Param2, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param5, iflags: i32, objwbemnamedvalueset: Param7, objwbemasynccontext: Param8, ) -> ::windows::runtime::Result<()>681     pub unsafe fn ReferencesAsync_<
682         'a,
683         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
684         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
685         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
686         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
687         Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
688         Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
689     >(
690         &self,
691         objwbemsink: Param0,
692         strresultclass: Param1,
693         strrole: Param2,
694         bclassesonly: i16,
695         bschemaonly: i16,
696         strrequiredqualifier: Param5,
697         iflags: i32,
698         objwbemnamedvalueset: Param7,
699         objwbemasynccontext: Param8,
700     ) -> ::windows::runtime::Result<()> {
701         (::windows::runtime::Interface::vtable(self).18)(
702             ::std::mem::transmute_copy(self),
703             objwbemsink.into_param().abi(),
704             strresultclass.into_param().abi(),
705             strrole.into_param().abi(),
706             ::std::mem::transmute(bclassesonly),
707             ::std::mem::transmute(bschemaonly),
708             strrequiredqualifier.into_param().abi(),
709             ::std::mem::transmute(iflags),
710             objwbemnamedvalueset.into_param().abi(),
711             objwbemasynccontext.into_param().abi(),
712         )
713         .ok()
714     }
715     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethod_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strmethodname: Param0, objwbeminparameters: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObject>716     pub unsafe fn ExecMethod_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strmethodname: Param0, objwbeminparameters: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObject> {
717         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
718         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
719     }
720     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethodAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strmethodname: Param1, objwbeminparameters: Param2, iflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>721     pub unsafe fn ExecMethodAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
722         &self,
723         objwbemsink: Param0,
724         strmethodname: Param1,
725         objwbeminparameters: Param2,
726         iflags: i32,
727         objwbemnamedvalueset: Param4,
728         objwbemasynccontext: Param5,
729     ) -> ::windows::runtime::Result<()> {
730         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
731     }
Clone_(&self) -> ::windows::runtime::Result<ISWbemObject>732     pub unsafe fn Clone_(&self) -> ::windows::runtime::Result<ISWbemObject> {
733         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
734         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObject>(result__)
735     }
736     #[cfg(feature = "Win32_Foundation")]
GetObjectText_(&self, iflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>737     pub unsafe fn GetObjectText_(&self, iflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
738         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
739         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
740     }
SpawnDerivedClass_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>741     pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
742         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
743         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
744     }
SpawnInstance_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>745     pub unsafe fn SpawnInstance_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
746         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
747         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
748     }
749     #[cfg(feature = "Win32_System_Ole_Automation")]
CompareTo_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32) -> ::windows::runtime::Result<i16>750     pub unsafe fn CompareTo_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32) -> ::windows::runtime::Result<i16> {
751         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
752         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), objwbemobject.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<i16>(result__)
753     }
Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet>754     pub unsafe fn Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet> {
755         let mut result__: <ISWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
756         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemQualifierSet>(result__)
757     }
Properties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet>758     pub unsafe fn Properties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet> {
759         let mut result__: <ISWbemPropertySet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
760         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemPropertySet>(result__)
761     }
Methods_(&self) -> ::windows::runtime::Result<ISWbemMethodSet>762     pub unsafe fn Methods_(&self) -> ::windows::runtime::Result<ISWbemMethodSet> {
763         let mut result__: <ISWbemMethodSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
764         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemMethodSet>(result__)
765     }
766     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Derivation_(&self) -> ::windows::runtime::Result<super::Com::VARIANT>767     pub unsafe fn Derivation_(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
768         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
769         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
770     }
Path_(&self) -> ::windows::runtime::Result<ISWbemObjectPath>771     pub unsafe fn Path_(&self) -> ::windows::runtime::Result<ISWbemObjectPath> {
772         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
773         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObjectPath>(result__)
774     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>775     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
776         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
777         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
778     }
779 }
780 unsafe impl ::windows::runtime::Interface for ISWbemLastError {
781     type Vtable = ISWbemLastError_abi;
782     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3647134596, 54459, 4561, [139, 9, 0, 96, 8, 6, 217, 182]);
783 }
784 impl ::std::convert::From<ISWbemLastError> for ::windows::runtime::IUnknown {
from(value: ISWbemLastError) -> Self785     fn from(value: ISWbemLastError) -> Self {
786         unsafe { ::std::mem::transmute(value) }
787     }
788 }
789 impl ::std::convert::From<&ISWbemLastError> for ::windows::runtime::IUnknown {
from(value: &ISWbemLastError) -> Self790     fn from(value: &ISWbemLastError) -> Self {
791         ::std::convert::From::from(::std::clone::Clone::clone(value))
792     }
793 }
794 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemLastError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>795     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
796         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
797     }
798 }
799 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemLastError {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>800     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
801         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
802     }
803 }
804 impl ::std::convert::From<ISWbemLastError> for ISWbemObject {
from(value: ISWbemLastError) -> Self805     fn from(value: ISWbemLastError) -> Self {
806         unsafe { ::std::mem::transmute(value) }
807     }
808 }
809 impl ::std::convert::From<&ISWbemLastError> for ISWbemObject {
from(value: &ISWbemLastError) -> Self810     fn from(value: &ISWbemLastError) -> Self {
811         ::std::convert::From::from(::std::clone::Clone::clone(value))
812     }
813 }
814 impl<'a> ::windows::runtime::IntoParam<'a, ISWbemObject> for ISWbemLastError {
into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject>815     fn into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject> {
816         ::windows::runtime::Param::Owned(::std::convert::Into::<ISWbemObject>::into(self))
817     }
818 }
819 impl<'a> ::windows::runtime::IntoParam<'a, ISWbemObject> for &ISWbemLastError {
into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject>820     fn into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject> {
821         ::windows::runtime::Param::Owned(::std::convert::Into::<ISWbemObject>::into(::std::clone::Clone::clone(self)))
822     }
823 }
824 #[cfg(feature = "Win32_System_Ole_Automation")]
825 impl ::std::convert::From<ISWbemLastError> for super::Ole::Automation::IDispatch {
from(value: ISWbemLastError) -> Self826     fn from(value: ISWbemLastError) -> Self {
827         unsafe { ::std::mem::transmute(value) }
828     }
829 }
830 #[cfg(feature = "Win32_System_Ole_Automation")]
831 impl ::std::convert::From<&ISWbemLastError> for super::Ole::Automation::IDispatch {
from(value: &ISWbemLastError) -> Self832     fn from(value: &ISWbemLastError) -> Self {
833         ::std::convert::From::from(::std::clone::Clone::clone(value))
834     }
835 }
836 #[cfg(feature = "Win32_System_Ole_Automation")]
837 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemLastError {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>838     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
839         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
840     }
841 }
842 #[cfg(feature = "Win32_System_Ole_Automation")]
843 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemLastError {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>844     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
845         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
846     }
847 }
848 #[repr(C)]
849 #[doc(hidden)]
850 pub struct ISWbemLastError_abi(
851     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
855     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
856     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
857     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
858     #[cfg(not(feature = "Win32_Foundation"))] usize,
859     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
860     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
861     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
862     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
863     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
864     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
865     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
866     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
867     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
868     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
869     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
870     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
871     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
872     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
873     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
874     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
875     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
876     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
877     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
878     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
879     pub  unsafe extern "system" fn(
880         this: ::windows::runtime::RawPtr,
881         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
882         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
883         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
884         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
885         bclassesonly: i16,
886         bschemaonly: i16,
887         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
888         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
889         iflags: i32,
890         objwbemnamedvalueset: ::windows::runtime::RawPtr,
891         objwbemobjectset: *mut ::windows::runtime::RawPtr,
892     ) -> ::windows::runtime::HRESULT,
893     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
894     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
895     pub  unsafe extern "system" fn(
896         this: ::windows::runtime::RawPtr,
897         objwbemsink: ::windows::runtime::RawPtr,
898         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
899         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
900         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
901         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
902         bclassesonly: i16,
903         bschemaonly: i16,
904         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
905         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
906         iflags: i32,
907         objwbemnamedvalueset: ::windows::runtime::RawPtr,
908         objwbemasynccontext: ::windows::runtime::RawPtr,
909     ) -> ::windows::runtime::HRESULT,
910     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
911     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
912     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
913     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
914     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
915     pub  unsafe extern "system" fn(
916         this: ::windows::runtime::RawPtr,
917         objwbemsink: ::windows::runtime::RawPtr,
918         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
919         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
920         bclassesonly: i16,
921         bschemaonly: i16,
922         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
923         iflags: i32,
924         objwbemnamedvalueset: ::windows::runtime::RawPtr,
925         objwbemasynccontext: ::windows::runtime::RawPtr,
926     ) -> ::windows::runtime::HRESULT,
927     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
928     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemoutparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
929     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
930     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
931     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
932     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
933     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, strobjecttext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
934     #[cfg(not(feature = "Win32_Foundation"))] usize,
935     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
936     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
937     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: ::windows::runtime::RawPtr, iflags: i32, bresult: *mut i16) -> ::windows::runtime::HRESULT,
938     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
939     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemqualifierset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
940     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbempropertyset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
941     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemmethodset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
942     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclassnamearray: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
943     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
945     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
946 );
947 #[repr(transparent)]
948 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
949 pub struct ISWbemLocator(::windows::runtime::IUnknown);
950 impl ISWbemLocator {
951     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ConnectServer< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, strserver: Param0, strnamespace: Param1, struser: Param2, strpassword: Param3, strlocale: Param4, strauthority: Param5, isecurityflags: i32, objwbemnamedvalueset: Param7, ) -> ::windows::runtime::Result<ISWbemServices>952     pub unsafe fn ConnectServer<
953         'a,
954         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
955         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
956         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
957         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
958         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
959         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
960         Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
961     >(
962         &self,
963         strserver: Param0,
964         strnamespace: Param1,
965         struser: Param2,
966         strpassword: Param3,
967         strlocale: Param4,
968         strauthority: Param5,
969         isecurityflags: i32,
970         objwbemnamedvalueset: Param7,
971     ) -> ::windows::runtime::Result<ISWbemServices> {
972         let mut result__: <ISWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
973         (::windows::runtime::Interface::vtable(self).7)(
974             ::std::mem::transmute_copy(self),
975             strserver.into_param().abi(),
976             strnamespace.into_param().abi(),
977             struser.into_param().abi(),
978             strpassword.into_param().abi(),
979             strlocale.into_param().abi(),
980             strauthority.into_param().abi(),
981             ::std::mem::transmute(isecurityflags),
982             objwbemnamedvalueset.into_param().abi(),
983             &mut result__,
984         )
985         .from_abi::<ISWbemServices>(result__)
986     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>987     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
988         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
989         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
990     }
991 }
992 unsafe impl ::windows::runtime::Interface for ISWbemLocator {
993     type Vtable = ISWbemLocator_abi;
994     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1990607195, 52033, 4561, [139, 2, 0, 96, 8, 6, 217, 182]);
995 }
996 impl ::std::convert::From<ISWbemLocator> for ::windows::runtime::IUnknown {
from(value: ISWbemLocator) -> Self997     fn from(value: ISWbemLocator) -> Self {
998         unsafe { ::std::mem::transmute(value) }
999     }
1000 }
1001 impl ::std::convert::From<&ISWbemLocator> for ::windows::runtime::IUnknown {
from(value: &ISWbemLocator) -> Self1002     fn from(value: &ISWbemLocator) -> Self {
1003         ::std::convert::From::from(::std::clone::Clone::clone(value))
1004     }
1005 }
1006 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemLocator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1007     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1008         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1009     }
1010 }
1011 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemLocator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1012     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1013         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1014     }
1015 }
1016 #[cfg(feature = "Win32_System_Ole_Automation")]
1017 impl ::std::convert::From<ISWbemLocator> for super::Ole::Automation::IDispatch {
from(value: ISWbemLocator) -> Self1018     fn from(value: ISWbemLocator) -> Self {
1019         unsafe { ::std::mem::transmute(value) }
1020     }
1021 }
1022 #[cfg(feature = "Win32_System_Ole_Automation")]
1023 impl ::std::convert::From<&ISWbemLocator> for super::Ole::Automation::IDispatch {
from(value: &ISWbemLocator) -> Self1024     fn from(value: &ISWbemLocator) -> Self {
1025         ::std::convert::From::from(::std::clone::Clone::clone(value))
1026     }
1027 }
1028 #[cfg(feature = "Win32_System_Ole_Automation")]
1029 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemLocator {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1030     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1031         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1032     }
1033 }
1034 #[cfg(feature = "Win32_System_Ole_Automation")]
1035 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemLocator {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1036     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1037         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1038     }
1039 }
1040 #[repr(C)]
1041 #[doc(hidden)]
1042 pub struct ISWbemLocator_abi(
1043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1047     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1048     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1049     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1050     #[cfg(not(feature = "Win32_Foundation"))] usize,
1051     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1052     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1053     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1054     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
1055     pub  unsafe extern "system" fn(
1056         this: ::windows::runtime::RawPtr,
1057         strserver: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1058         strnamespace: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1059         struser: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1060         strpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1061         strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1062         strauthority: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1063         isecurityflags: i32,
1064         objwbemnamedvalueset: ::windows::runtime::RawPtr,
1065         objwbemservices: *mut ::windows::runtime::RawPtr,
1066     ) -> ::windows::runtime::HRESULT,
1067     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1069 );
1070 #[repr(transparent)]
1071 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1072 pub struct ISWbemMethod(::windows::runtime::IUnknown);
1073 impl ISWbemMethod {
1074     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1075     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1076         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1077         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1078     }
1079     #[cfg(feature = "Win32_Foundation")]
Origin(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1080     pub unsafe fn Origin(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1081         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1082         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1083     }
InParameters(&self) -> ::windows::runtime::Result<ISWbemObject>1084     pub unsafe fn InParameters(&self) -> ::windows::runtime::Result<ISWbemObject> {
1085         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1086         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObject>(result__)
1087     }
OutParameters(&self) -> ::windows::runtime::Result<ISWbemObject>1088     pub unsafe fn OutParameters(&self) -> ::windows::runtime::Result<ISWbemObject> {
1089         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1090         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObject>(result__)
1091     }
Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet>1092     pub unsafe fn Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet> {
1093         let mut result__: <ISWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1094         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemQualifierSet>(result__)
1095     }
1096 }
1097 unsafe impl ::windows::runtime::Interface for ISWbemMethod {
1098     type Vtable = ISWbemMethod_abi;
1099     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1110347408, 55637, 4561, [139, 9, 0, 96, 8, 6, 217, 182]);
1100 }
1101 impl ::std::convert::From<ISWbemMethod> for ::windows::runtime::IUnknown {
from(value: ISWbemMethod) -> Self1102     fn from(value: ISWbemMethod) -> Self {
1103         unsafe { ::std::mem::transmute(value) }
1104     }
1105 }
1106 impl ::std::convert::From<&ISWbemMethod> for ::windows::runtime::IUnknown {
from(value: &ISWbemMethod) -> Self1107     fn from(value: &ISWbemMethod) -> Self {
1108         ::std::convert::From::from(::std::clone::Clone::clone(value))
1109     }
1110 }
1111 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemMethod {
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 &ISWbemMethod {
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 #[cfg(feature = "Win32_System_Ole_Automation")]
1122 impl ::std::convert::From<ISWbemMethod> for super::Ole::Automation::IDispatch {
from(value: ISWbemMethod) -> Self1123     fn from(value: ISWbemMethod) -> Self {
1124         unsafe { ::std::mem::transmute(value) }
1125     }
1126 }
1127 #[cfg(feature = "Win32_System_Ole_Automation")]
1128 impl ::std::convert::From<&ISWbemMethod> for super::Ole::Automation::IDispatch {
from(value: &ISWbemMethod) -> Self1129     fn from(value: &ISWbemMethod) -> Self {
1130         ::std::convert::From::from(::std::clone::Clone::clone(value))
1131     }
1132 }
1133 #[cfg(feature = "Win32_System_Ole_Automation")]
1134 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemMethod {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1135     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1136         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1137     }
1138 }
1139 #[cfg(feature = "Win32_System_Ole_Automation")]
1140 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemMethod {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1141     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1142         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1143     }
1144 }
1145 #[repr(C)]
1146 #[doc(hidden)]
1147 pub struct ISWbemMethod_abi(
1148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1152     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1153     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1154     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1155     #[cfg(not(feature = "Win32_Foundation"))] usize,
1156     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1157     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1158     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1159     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1160     #[cfg(not(feature = "Win32_Foundation"))] usize,
1161     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strorigin: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1162     #[cfg(not(feature = "Win32_Foundation"))] usize,
1163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbeminparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemoutparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemqualifierset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1166 );
1167 #[repr(transparent)]
1168 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1169 pub struct ISWbemMethodSet(::windows::runtime::IUnknown);
1170 impl ISWbemMethodSet {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1171     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1172         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1173         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1174     }
1175     #[cfg(feature = "Win32_Foundation")]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemMethod>1176     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemMethod> {
1177         let mut result__: <ISWbemMethod as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1178         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemMethod>(result__)
1179     }
Count(&self) -> ::windows::runtime::Result<i32>1180     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
1181         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1182         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1183     }
1184 }
1185 unsafe impl ::windows::runtime::Interface for ISWbemMethodSet {
1186     type Vtable = ISWbemMethodSet_abi;
1187     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3376128658, 55637, 4561, [139, 9, 0, 96, 8, 6, 217, 182]);
1188 }
1189 impl ::std::convert::From<ISWbemMethodSet> for ::windows::runtime::IUnknown {
from(value: ISWbemMethodSet) -> Self1190     fn from(value: ISWbemMethodSet) -> Self {
1191         unsafe { ::std::mem::transmute(value) }
1192     }
1193 }
1194 impl ::std::convert::From<&ISWbemMethodSet> for ::windows::runtime::IUnknown {
from(value: &ISWbemMethodSet) -> Self1195     fn from(value: &ISWbemMethodSet) -> Self {
1196         ::std::convert::From::from(::std::clone::Clone::clone(value))
1197     }
1198 }
1199 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemMethodSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1200     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1201         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1202     }
1203 }
1204 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemMethodSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1205     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1206         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1207     }
1208 }
1209 #[cfg(feature = "Win32_System_Ole_Automation")]
1210 impl ::std::convert::From<ISWbemMethodSet> for super::Ole::Automation::IDispatch {
from(value: ISWbemMethodSet) -> Self1211     fn from(value: ISWbemMethodSet) -> Self {
1212         unsafe { ::std::mem::transmute(value) }
1213     }
1214 }
1215 #[cfg(feature = "Win32_System_Ole_Automation")]
1216 impl ::std::convert::From<&ISWbemMethodSet> for super::Ole::Automation::IDispatch {
from(value: &ISWbemMethodSet) -> Self1217     fn from(value: &ISWbemMethodSet) -> Self {
1218         ::std::convert::From::from(::std::clone::Clone::clone(value))
1219     }
1220 }
1221 #[cfg(feature = "Win32_System_Ole_Automation")]
1222 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemMethodSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1223     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1224         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1225     }
1226 }
1227 #[cfg(feature = "Win32_System_Ole_Automation")]
1228 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemMethodSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1229     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1230         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1231     }
1232 }
1233 #[repr(C)]
1234 #[doc(hidden)]
1235 pub struct ISWbemMethodSet_abi(
1236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1240     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1241     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1242     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1243     #[cfg(not(feature = "Win32_Foundation"))] usize,
1244     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1245     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1246     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1247     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1248     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemmethod: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1249     #[cfg(not(feature = "Win32_Foundation"))] usize,
1250     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
1251 );
1252 #[repr(transparent)]
1253 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1254 pub struct ISWbemNamedValue(::windows::runtime::IUnknown);
1255 impl ISWbemNamedValue {
1256     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1257     pub unsafe fn Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
1258         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1259         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
1260     }
1261     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue(&self, varvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>1262     pub unsafe fn SetValue(&self, varvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
1263         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(varvalue)).ok()
1264     }
1265     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1266     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1267         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1268         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1269     }
1270 }
1271 unsafe impl ::windows::runtime::Interface for ISWbemNamedValue {
1272     type Vtable = ISWbemNamedValue_abi;
1273     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1990607204, 52033, 4561, [139, 2, 0, 96, 8, 6, 217, 182]);
1274 }
1275 impl ::std::convert::From<ISWbemNamedValue> for ::windows::runtime::IUnknown {
from(value: ISWbemNamedValue) -> Self1276     fn from(value: ISWbemNamedValue) -> Self {
1277         unsafe { ::std::mem::transmute(value) }
1278     }
1279 }
1280 impl ::std::convert::From<&ISWbemNamedValue> for ::windows::runtime::IUnknown {
from(value: &ISWbemNamedValue) -> Self1281     fn from(value: &ISWbemNamedValue) -> Self {
1282         ::std::convert::From::from(::std::clone::Clone::clone(value))
1283     }
1284 }
1285 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemNamedValue {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1286     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1287         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1288     }
1289 }
1290 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemNamedValue {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1291     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1292         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1293     }
1294 }
1295 #[cfg(feature = "Win32_System_Ole_Automation")]
1296 impl ::std::convert::From<ISWbemNamedValue> for super::Ole::Automation::IDispatch {
from(value: ISWbemNamedValue) -> Self1297     fn from(value: ISWbemNamedValue) -> Self {
1298         unsafe { ::std::mem::transmute(value) }
1299     }
1300 }
1301 #[cfg(feature = "Win32_System_Ole_Automation")]
1302 impl ::std::convert::From<&ISWbemNamedValue> for super::Ole::Automation::IDispatch {
from(value: &ISWbemNamedValue) -> Self1303     fn from(value: &ISWbemNamedValue) -> Self {
1304         ::std::convert::From::from(::std::clone::Clone::clone(value))
1305     }
1306 }
1307 #[cfg(feature = "Win32_System_Ole_Automation")]
1308 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemNamedValue {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1309     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1310         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1311     }
1312 }
1313 #[cfg(feature = "Win32_System_Ole_Automation")]
1314 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemNamedValue {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1315     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1316         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1317     }
1318 }
1319 #[repr(C)]
1320 #[doc(hidden)]
1321 pub struct ISWbemNamedValue_abi(
1322     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1323     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1324     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1325     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1326     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1327     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1328     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1329     #[cfg(not(feature = "Win32_Foundation"))] usize,
1330     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1331     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1332     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1333     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
1334     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1335     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
1336     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1337     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1338     #[cfg(not(feature = "Win32_Foundation"))] usize,
1339 );
1340 #[repr(transparent)]
1341 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1342 pub struct ISWbemNamedValueSet(::windows::runtime::IUnknown);
1343 impl ISWbemNamedValueSet {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1344     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1345         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1346         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1347     }
1348     #[cfg(feature = "Win32_Foundation")]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemNamedValue>1349     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemNamedValue> {
1350         let mut result__: <ISWbemNamedValue as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1351         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemNamedValue>(result__)
1352     }
Count(&self) -> ::windows::runtime::Result<i32>1353     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
1354         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1355         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1356     }
1357     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, varvalue: *const super::Com::VARIANT, iflags: i32) -> ::windows::runtime::Result<ISWbemNamedValue>1358     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, varvalue: *const super::Com::VARIANT, iflags: i32) -> ::windows::runtime::Result<ISWbemNamedValue> {
1359         let mut result__: <ISWbemNamedValue as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1360         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(varvalue), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemNamedValue>(result__)
1361     }
1362     #[cfg(feature = "Win32_Foundation")]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<()>1363     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<()> {
1364         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(iflags)).ok()
1365     }
Clone(&self) -> ::windows::runtime::Result<ISWbemNamedValueSet>1366     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<ISWbemNamedValueSet> {
1367         let mut result__: <ISWbemNamedValueSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1368         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemNamedValueSet>(result__)
1369     }
DeleteAll(&self) -> ::windows::runtime::Result<()>1370     pub unsafe fn DeleteAll(&self) -> ::windows::runtime::Result<()> {
1371         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
1372     }
1373 }
1374 unsafe impl ::windows::runtime::Interface for ISWbemNamedValueSet {
1375     type Vtable = ISWbemNamedValueSet_abi;
1376     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3475207914, 52876, 4561, [139, 5, 0, 96, 8, 6, 217, 182]);
1377 }
1378 impl ::std::convert::From<ISWbemNamedValueSet> for ::windows::runtime::IUnknown {
from(value: ISWbemNamedValueSet) -> Self1379     fn from(value: ISWbemNamedValueSet) -> Self {
1380         unsafe { ::std::mem::transmute(value) }
1381     }
1382 }
1383 impl ::std::convert::From<&ISWbemNamedValueSet> for ::windows::runtime::IUnknown {
from(value: &ISWbemNamedValueSet) -> Self1384     fn from(value: &ISWbemNamedValueSet) -> Self {
1385         ::std::convert::From::from(::std::clone::Clone::clone(value))
1386     }
1387 }
1388 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemNamedValueSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1389     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1390         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1391     }
1392 }
1393 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemNamedValueSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1394     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1395         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1396     }
1397 }
1398 #[cfg(feature = "Win32_System_Ole_Automation")]
1399 impl ::std::convert::From<ISWbemNamedValueSet> for super::Ole::Automation::IDispatch {
from(value: ISWbemNamedValueSet) -> Self1400     fn from(value: ISWbemNamedValueSet) -> Self {
1401         unsafe { ::std::mem::transmute(value) }
1402     }
1403 }
1404 #[cfg(feature = "Win32_System_Ole_Automation")]
1405 impl ::std::convert::From<&ISWbemNamedValueSet> for super::Ole::Automation::IDispatch {
from(value: &ISWbemNamedValueSet) -> Self1406     fn from(value: &ISWbemNamedValueSet) -> Self {
1407         ::std::convert::From::from(::std::clone::Clone::clone(value))
1408     }
1409 }
1410 #[cfg(feature = "Win32_System_Ole_Automation")]
1411 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemNamedValueSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1412     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1413         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1414     }
1415 }
1416 #[cfg(feature = "Win32_System_Ole_Automation")]
1417 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemNamedValueSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1418     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1419         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1420     }
1421 }
1422 #[repr(C)]
1423 #[doc(hidden)]
1424 pub struct ISWbemNamedValueSet_abi(
1425     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1426     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1427     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1429     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1430     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1431     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1432     #[cfg(not(feature = "Win32_Foundation"))] usize,
1433     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1434     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1435     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1437     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalue: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1438     #[cfg(not(feature = "Win32_Foundation"))] usize,
1439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
1440     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, varvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, iflags: i32, objwbemnamedvalue: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1441     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1442     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32) -> ::windows::runtime::HRESULT,
1443     #[cfg(not(feature = "Win32_Foundation"))] usize,
1444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemnamedvalueset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1446 );
1447 #[repr(transparent)]
1448 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1449 pub struct ISWbemObject(::windows::runtime::IUnknown);
1450 impl ISWbemObject {
1451     #[cfg(feature = "Win32_System_Ole_Automation")]
Put_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectPath>1452     pub unsafe fn Put_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectPath> {
1453         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1454         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectPath>(result__)
1455     }
1456     #[cfg(feature = "Win32_System_Ole_Automation")]
PutAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1457     pub unsafe fn PutAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1458         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1459     }
1460     #[cfg(feature = "Win32_System_Ole_Automation")]
Delete_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()>1461     pub unsafe fn Delete_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()> {
1462         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
1463     }
1464     #[cfg(feature = "Win32_System_Ole_Automation")]
DeleteAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1465     pub unsafe fn DeleteAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1466         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1467     }
1468     #[cfg(feature = "Win32_System_Ole_Automation")]
Instances_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet>1469     pub unsafe fn Instances_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet> {
1470         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1471         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
1472     }
1473     #[cfg(feature = "Win32_System_Ole_Automation")]
InstancesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1474     pub unsafe fn InstancesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1475         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1476     }
1477     #[cfg(feature = "Win32_System_Ole_Automation")]
Subclasses_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet>1478     pub unsafe fn Subclasses_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet> {
1479         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1480         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
1481     }
1482     #[cfg(feature = "Win32_System_Ole_Automation")]
SubclassesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1483     pub unsafe fn SubclassesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1484         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1485     }
1486     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Associators_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, strassocclass: Param0, strresultclass: Param1, strresultrole: Param2, strrole: Param3, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param6, strrequiredqualifier: Param7, iflags: i32, objwbemnamedvalueset: Param9, ) -> ::windows::runtime::Result<ISWbemObjectSet>1487     pub unsafe fn Associators_<
1488         'a,
1489         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1490         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1491         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1492         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1493         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1494         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1495         Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1496     >(
1497         &self,
1498         strassocclass: Param0,
1499         strresultclass: Param1,
1500         strresultrole: Param2,
1501         strrole: Param3,
1502         bclassesonly: i16,
1503         bschemaonly: i16,
1504         strrequiredassocqualifier: Param6,
1505         strrequiredqualifier: Param7,
1506         iflags: i32,
1507         objwbemnamedvalueset: Param9,
1508     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
1509         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1510         (::windows::runtime::Interface::vtable(self).15)(
1511             ::std::mem::transmute_copy(self),
1512             strassocclass.into_param().abi(),
1513             strresultclass.into_param().abi(),
1514             strresultrole.into_param().abi(),
1515             strrole.into_param().abi(),
1516             ::std::mem::transmute(bclassesonly),
1517             ::std::mem::transmute(bschemaonly),
1518             strrequiredassocqualifier.into_param().abi(),
1519             strrequiredqualifier.into_param().abi(),
1520             ::std::mem::transmute(iflags),
1521             objwbemnamedvalueset.into_param().abi(),
1522             &mut result__,
1523         )
1524         .from_abi::<ISWbemObjectSet>(result__)
1525     }
1526     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsAsync_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strassocclass: Param1, strresultclass: Param2, strresultrole: Param3, strrole: Param4, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param7, strrequiredqualifier: Param8, iflags: i32, objwbemnamedvalueset: Param10, objwbemasynccontext: Param11, ) -> ::windows::runtime::Result<()>1527     pub unsafe fn AssociatorsAsync_<
1528         'a,
1529         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1530         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1531         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1532         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1533         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1534         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1535         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1536         Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1537         Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1538     >(
1539         &self,
1540         objwbemsink: Param0,
1541         strassocclass: Param1,
1542         strresultclass: Param2,
1543         strresultrole: Param3,
1544         strrole: Param4,
1545         bclassesonly: i16,
1546         bschemaonly: i16,
1547         strrequiredassocqualifier: Param7,
1548         strrequiredqualifier: Param8,
1549         iflags: i32,
1550         objwbemnamedvalueset: Param10,
1551         objwbemasynccontext: Param11,
1552     ) -> ::windows::runtime::Result<()> {
1553         (::windows::runtime::Interface::vtable(self).16)(
1554             ::std::mem::transmute_copy(self),
1555             objwbemsink.into_param().abi(),
1556             strassocclass.into_param().abi(),
1557             strresultclass.into_param().abi(),
1558             strresultrole.into_param().abi(),
1559             strrole.into_param().abi(),
1560             ::std::mem::transmute(bclassesonly),
1561             ::std::mem::transmute(bschemaonly),
1562             strrequiredassocqualifier.into_param().abi(),
1563             strrequiredqualifier.into_param().abi(),
1564             ::std::mem::transmute(iflags),
1565             objwbemnamedvalueset.into_param().abi(),
1566             objwbemasynccontext.into_param().abi(),
1567         )
1568         .ok()
1569     }
1570     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
References_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strresultclass: Param0, strrole: Param1, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param4, iflags: i32, objwbemnamedvalueset: Param6, ) -> ::windows::runtime::Result<ISWbemObjectSet>1571     pub unsafe fn References_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
1572         &self,
1573         strresultclass: Param0,
1574         strrole: Param1,
1575         bclassesonly: i16,
1576         bschemaonly: i16,
1577         strrequiredqualifier: Param4,
1578         iflags: i32,
1579         objwbemnamedvalueset: Param6,
1580     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
1581         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1582         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strresultclass.into_param().abi(), strrole.into_param().abi(), ::std::mem::transmute(bclassesonly), ::std::mem::transmute(bschemaonly), strrequiredqualifier.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
1583     }
1584     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesAsync_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strresultclass: Param1, strrole: Param2, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param5, iflags: i32, objwbemnamedvalueset: Param7, objwbemasynccontext: Param8, ) -> ::windows::runtime::Result<()>1585     pub unsafe fn ReferencesAsync_<
1586         'a,
1587         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1588         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1589         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1590         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1591         Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1592         Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1593     >(
1594         &self,
1595         objwbemsink: Param0,
1596         strresultclass: Param1,
1597         strrole: Param2,
1598         bclassesonly: i16,
1599         bschemaonly: i16,
1600         strrequiredqualifier: Param5,
1601         iflags: i32,
1602         objwbemnamedvalueset: Param7,
1603         objwbemasynccontext: Param8,
1604     ) -> ::windows::runtime::Result<()> {
1605         (::windows::runtime::Interface::vtable(self).18)(
1606             ::std::mem::transmute_copy(self),
1607             objwbemsink.into_param().abi(),
1608             strresultclass.into_param().abi(),
1609             strrole.into_param().abi(),
1610             ::std::mem::transmute(bclassesonly),
1611             ::std::mem::transmute(bschemaonly),
1612             strrequiredqualifier.into_param().abi(),
1613             ::std::mem::transmute(iflags),
1614             objwbemnamedvalueset.into_param().abi(),
1615             objwbemasynccontext.into_param().abi(),
1616         )
1617         .ok()
1618     }
1619     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethod_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strmethodname: Param0, objwbeminparameters: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObject>1620     pub unsafe fn ExecMethod_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strmethodname: Param0, objwbeminparameters: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObject> {
1621         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1622         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
1623     }
1624     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethodAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strmethodname: Param1, objwbeminparameters: Param2, iflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>1625     pub unsafe fn ExecMethodAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
1626         &self,
1627         objwbemsink: Param0,
1628         strmethodname: Param1,
1629         objwbeminparameters: Param2,
1630         iflags: i32,
1631         objwbemnamedvalueset: Param4,
1632         objwbemasynccontext: Param5,
1633     ) -> ::windows::runtime::Result<()> {
1634         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1635     }
Clone_(&self) -> ::windows::runtime::Result<ISWbemObject>1636     pub unsafe fn Clone_(&self) -> ::windows::runtime::Result<ISWbemObject> {
1637         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1638         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObject>(result__)
1639     }
1640     #[cfg(feature = "Win32_Foundation")]
GetObjectText_(&self, iflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1641     pub unsafe fn GetObjectText_(&self, iflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1642         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1643         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1644     }
SpawnDerivedClass_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>1645     pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
1646         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1647         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
1648     }
SpawnInstance_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>1649     pub unsafe fn SpawnInstance_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
1650         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1651         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
1652     }
1653     #[cfg(feature = "Win32_System_Ole_Automation")]
CompareTo_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32) -> ::windows::runtime::Result<i16>1654     pub unsafe fn CompareTo_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32) -> ::windows::runtime::Result<i16> {
1655         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1656         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), objwbemobject.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<i16>(result__)
1657     }
Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet>1658     pub unsafe fn Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet> {
1659         let mut result__: <ISWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1660         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemQualifierSet>(result__)
1661     }
Properties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet>1662     pub unsafe fn Properties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet> {
1663         let mut result__: <ISWbemPropertySet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1664         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemPropertySet>(result__)
1665     }
Methods_(&self) -> ::windows::runtime::Result<ISWbemMethodSet>1666     pub unsafe fn Methods_(&self) -> ::windows::runtime::Result<ISWbemMethodSet> {
1667         let mut result__: <ISWbemMethodSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1668         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemMethodSet>(result__)
1669     }
1670     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Derivation_(&self) -> ::windows::runtime::Result<super::Com::VARIANT>1671     pub unsafe fn Derivation_(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
1672         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1673         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
1674     }
Path_(&self) -> ::windows::runtime::Result<ISWbemObjectPath>1675     pub unsafe fn Path_(&self) -> ::windows::runtime::Result<ISWbemObjectPath> {
1676         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1677         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObjectPath>(result__)
1678     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>1679     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
1680         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1681         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
1682     }
1683 }
1684 unsafe impl ::windows::runtime::Interface for ISWbemObject {
1685     type Vtable = ISWbemObject_abi;
1686     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1990607194, 52033, 4561, [139, 2, 0, 96, 8, 6, 217, 182]);
1687 }
1688 impl ::std::convert::From<ISWbemObject> for ::windows::runtime::IUnknown {
from(value: ISWbemObject) -> Self1689     fn from(value: ISWbemObject) -> Self {
1690         unsafe { ::std::mem::transmute(value) }
1691     }
1692 }
1693 impl ::std::convert::From<&ISWbemObject> for ::windows::runtime::IUnknown {
from(value: &ISWbemObject) -> Self1694     fn from(value: &ISWbemObject) -> Self {
1695         ::std::convert::From::from(::std::clone::Clone::clone(value))
1696     }
1697 }
1698 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1699     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1700         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1701     }
1702 }
1703 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1704     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1705         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1706     }
1707 }
1708 #[cfg(feature = "Win32_System_Ole_Automation")]
1709 impl ::std::convert::From<ISWbemObject> for super::Ole::Automation::IDispatch {
from(value: ISWbemObject) -> Self1710     fn from(value: ISWbemObject) -> Self {
1711         unsafe { ::std::mem::transmute(value) }
1712     }
1713 }
1714 #[cfg(feature = "Win32_System_Ole_Automation")]
1715 impl ::std::convert::From<&ISWbemObject> for super::Ole::Automation::IDispatch {
from(value: &ISWbemObject) -> Self1716     fn from(value: &ISWbemObject) -> Self {
1717         ::std::convert::From::from(::std::clone::Clone::clone(value))
1718     }
1719 }
1720 #[cfg(feature = "Win32_System_Ole_Automation")]
1721 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemObject {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1722     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1723         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1724     }
1725 }
1726 #[cfg(feature = "Win32_System_Ole_Automation")]
1727 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemObject {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1728     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1729         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1730     }
1731 }
1732 #[repr(C)]
1733 #[doc(hidden)]
1734 pub struct ISWbemObject_abi(
1735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1739     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1740     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1741     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1742     #[cfg(not(feature = "Win32_Foundation"))] usize,
1743     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1744     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1745     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1746     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1747     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1748     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1749     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1750     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1751     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1752     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1753     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1754     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1755     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1756     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1757     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1758     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1759     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1760     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1761     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1762     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
1763     pub  unsafe extern "system" fn(
1764         this: ::windows::runtime::RawPtr,
1765         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1766         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1767         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1768         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1769         bclassesonly: i16,
1770         bschemaonly: i16,
1771         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1772         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1773         iflags: i32,
1774         objwbemnamedvalueset: ::windows::runtime::RawPtr,
1775         objwbemobjectset: *mut ::windows::runtime::RawPtr,
1776     ) -> ::windows::runtime::HRESULT,
1777     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1778     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
1779     pub  unsafe extern "system" fn(
1780         this: ::windows::runtime::RawPtr,
1781         objwbemsink: ::windows::runtime::RawPtr,
1782         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1783         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1784         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1785         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1786         bclassesonly: i16,
1787         bschemaonly: i16,
1788         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1789         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1790         iflags: i32,
1791         objwbemnamedvalueset: ::windows::runtime::RawPtr,
1792         objwbemasynccontext: ::windows::runtime::RawPtr,
1793     ) -> ::windows::runtime::HRESULT,
1794     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1795     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
1796     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1797     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1798     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
1799     pub  unsafe extern "system" fn(
1800         this: ::windows::runtime::RawPtr,
1801         objwbemsink: ::windows::runtime::RawPtr,
1802         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1803         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1804         bclassesonly: i16,
1805         bschemaonly: i16,
1806         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
1807         iflags: i32,
1808         objwbemnamedvalueset: ::windows::runtime::RawPtr,
1809         objwbemasynccontext: ::windows::runtime::RawPtr,
1810     ) -> ::windows::runtime::HRESULT,
1811     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1812     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemoutparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1813     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1814     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1815     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1817     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, strobjecttext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1818     #[cfg(not(feature = "Win32_Foundation"))] usize,
1819     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1821     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: ::windows::runtime::RawPtr, iflags: i32, bresult: *mut i16) -> ::windows::runtime::HRESULT,
1822     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemqualifierset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1824     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbempropertyset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1825     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemmethodset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1826     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclassnamearray: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
1827     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1828     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1829     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1830 );
1831 #[repr(transparent)]
1832 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1833 pub struct ISWbemObjectEx(::windows::runtime::IUnknown);
1834 impl ISWbemObjectEx {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1835     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1836         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1837         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1838     }
1839     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1840     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
1841         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1842         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
1843     }
1844     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1845     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
1846         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
1847     }
1848     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1849     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1850         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
1851     }
1852     #[cfg(feature = "Win32_System_Ole_Automation")]
Put_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectPath>1853     pub unsafe fn Put_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectPath> {
1854         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1855         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectPath>(result__)
1856     }
1857     #[cfg(feature = "Win32_System_Ole_Automation")]
PutAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1858     pub unsafe fn PutAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1859         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1860     }
1861     #[cfg(feature = "Win32_System_Ole_Automation")]
Delete_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()>1862     pub unsafe fn Delete_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()> {
1863         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
1864     }
1865     #[cfg(feature = "Win32_System_Ole_Automation")]
DeleteAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1866     pub unsafe fn DeleteAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1867         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1868     }
1869     #[cfg(feature = "Win32_System_Ole_Automation")]
Instances_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet>1870     pub unsafe fn Instances_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet> {
1871         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1872         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
1873     }
1874     #[cfg(feature = "Win32_System_Ole_Automation")]
InstancesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1875     pub unsafe fn InstancesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1876         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1877     }
1878     #[cfg(feature = "Win32_System_Ole_Automation")]
Subclasses_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet>1879     pub unsafe fn Subclasses_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<ISWbemObjectSet> {
1880         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1881         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
1882     }
1883     #[cfg(feature = "Win32_System_Ole_Automation")]
SubclassesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()>1884     pub unsafe fn SubclassesAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, iflags: i32, objwbemnamedvalueset: Param2, objwbemasynccontext: Param3) -> ::windows::runtime::Result<()> {
1885         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
1886     }
1887     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Associators_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, strassocclass: Param0, strresultclass: Param1, strresultrole: Param2, strrole: Param3, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param6, strrequiredqualifier: Param7, iflags: i32, objwbemnamedvalueset: Param9, ) -> ::windows::runtime::Result<ISWbemObjectSet>1888     pub unsafe fn Associators_<
1889         'a,
1890         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1891         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1892         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1893         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1894         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1895         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1896         Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1897     >(
1898         &self,
1899         strassocclass: Param0,
1900         strresultclass: Param1,
1901         strresultrole: Param2,
1902         strrole: Param3,
1903         bclassesonly: i16,
1904         bschemaonly: i16,
1905         strrequiredassocqualifier: Param6,
1906         strrequiredqualifier: Param7,
1907         iflags: i32,
1908         objwbemnamedvalueset: Param9,
1909     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
1910         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1911         (::windows::runtime::Interface::vtable(self).15)(
1912             ::std::mem::transmute_copy(self),
1913             strassocclass.into_param().abi(),
1914             strresultclass.into_param().abi(),
1915             strresultrole.into_param().abi(),
1916             strrole.into_param().abi(),
1917             ::std::mem::transmute(bclassesonly),
1918             ::std::mem::transmute(bschemaonly),
1919             strrequiredassocqualifier.into_param().abi(),
1920             strrequiredqualifier.into_param().abi(),
1921             ::std::mem::transmute(iflags),
1922             objwbemnamedvalueset.into_param().abi(),
1923             &mut result__,
1924         )
1925         .from_abi::<ISWbemObjectSet>(result__)
1926     }
1927     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsAsync_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strassocclass: Param1, strresultclass: Param2, strresultrole: Param3, strrole: Param4, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param7, strrequiredqualifier: Param8, iflags: i32, objwbemnamedvalueset: Param10, objwbemasynccontext: Param11, ) -> ::windows::runtime::Result<()>1928     pub unsafe fn AssociatorsAsync_<
1929         'a,
1930         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1931         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1932         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1933         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1934         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1935         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1936         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1937         Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1938         Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1939     >(
1940         &self,
1941         objwbemsink: Param0,
1942         strassocclass: Param1,
1943         strresultclass: Param2,
1944         strresultrole: Param3,
1945         strrole: Param4,
1946         bclassesonly: i16,
1947         bschemaonly: i16,
1948         strrequiredassocqualifier: Param7,
1949         strrequiredqualifier: Param8,
1950         iflags: i32,
1951         objwbemnamedvalueset: Param10,
1952         objwbemasynccontext: Param11,
1953     ) -> ::windows::runtime::Result<()> {
1954         (::windows::runtime::Interface::vtable(self).16)(
1955             ::std::mem::transmute_copy(self),
1956             objwbemsink.into_param().abi(),
1957             strassocclass.into_param().abi(),
1958             strresultclass.into_param().abi(),
1959             strresultrole.into_param().abi(),
1960             strrole.into_param().abi(),
1961             ::std::mem::transmute(bclassesonly),
1962             ::std::mem::transmute(bschemaonly),
1963             strrequiredassocqualifier.into_param().abi(),
1964             strrequiredqualifier.into_param().abi(),
1965             ::std::mem::transmute(iflags),
1966             objwbemnamedvalueset.into_param().abi(),
1967             objwbemasynccontext.into_param().abi(),
1968         )
1969         .ok()
1970     }
1971     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
References_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strresultclass: Param0, strrole: Param1, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param4, iflags: i32, objwbemnamedvalueset: Param6, ) -> ::windows::runtime::Result<ISWbemObjectSet>1972     pub unsafe fn References_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
1973         &self,
1974         strresultclass: Param0,
1975         strrole: Param1,
1976         bclassesonly: i16,
1977         bschemaonly: i16,
1978         strrequiredqualifier: Param4,
1979         iflags: i32,
1980         objwbemnamedvalueset: Param6,
1981     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
1982         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1983         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strresultclass.into_param().abi(), strrole.into_param().abi(), ::std::mem::transmute(bclassesonly), ::std::mem::transmute(bschemaonly), strrequiredqualifier.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
1984     }
1985     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesAsync_< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strresultclass: Param1, strrole: Param2, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param5, iflags: i32, objwbemnamedvalueset: Param7, objwbemasynccontext: Param8, ) -> ::windows::runtime::Result<()>1986     pub unsafe fn ReferencesAsync_<
1987         'a,
1988         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1989         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1990         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1991         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
1992         Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1993         Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
1994     >(
1995         &self,
1996         objwbemsink: Param0,
1997         strresultclass: Param1,
1998         strrole: Param2,
1999         bclassesonly: i16,
2000         bschemaonly: i16,
2001         strrequiredqualifier: Param5,
2002         iflags: i32,
2003         objwbemnamedvalueset: Param7,
2004         objwbemasynccontext: Param8,
2005     ) -> ::windows::runtime::Result<()> {
2006         (::windows::runtime::Interface::vtable(self).18)(
2007             ::std::mem::transmute_copy(self),
2008             objwbemsink.into_param().abi(),
2009             strresultclass.into_param().abi(),
2010             strrole.into_param().abi(),
2011             ::std::mem::transmute(bclassesonly),
2012             ::std::mem::transmute(bschemaonly),
2013             strrequiredqualifier.into_param().abi(),
2014             ::std::mem::transmute(iflags),
2015             objwbemnamedvalueset.into_param().abi(),
2016             objwbemasynccontext.into_param().abi(),
2017         )
2018         .ok()
2019     }
2020     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethod_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strmethodname: Param0, objwbeminparameters: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObject>2021     pub unsafe fn ExecMethod_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strmethodname: Param0, objwbeminparameters: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObject> {
2022         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2023         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
2024     }
2025     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethodAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strmethodname: Param1, objwbeminparameters: Param2, iflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>2026     pub unsafe fn ExecMethodAsync_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
2027         &self,
2028         objwbemsink: Param0,
2029         strmethodname: Param1,
2030         objwbeminparameters: Param2,
2031         iflags: i32,
2032         objwbemnamedvalueset: Param4,
2033         objwbemasynccontext: Param5,
2034     ) -> ::windows::runtime::Result<()> {
2035         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
2036     }
Clone_(&self) -> ::windows::runtime::Result<ISWbemObject>2037     pub unsafe fn Clone_(&self) -> ::windows::runtime::Result<ISWbemObject> {
2038         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2039         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObject>(result__)
2040     }
2041     #[cfg(feature = "Win32_Foundation")]
GetObjectText_(&self, iflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2042     pub unsafe fn GetObjectText_(&self, iflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2043         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2044         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2045     }
SpawnDerivedClass_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>2046     pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
2047         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2048         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
2049     }
SpawnInstance_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>2050     pub unsafe fn SpawnInstance_(&self, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
2051         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2052         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
2053     }
2054     #[cfg(feature = "Win32_System_Ole_Automation")]
CompareTo_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32) -> ::windows::runtime::Result<i16>2055     pub unsafe fn CompareTo_<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32) -> ::windows::runtime::Result<i16> {
2056         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2057         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), objwbemobject.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<i16>(result__)
2058     }
Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet>2059     pub unsafe fn Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet> {
2060         let mut result__: <ISWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2061         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemQualifierSet>(result__)
2062     }
Properties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet>2063     pub unsafe fn Properties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet> {
2064         let mut result__: <ISWbemPropertySet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2065         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemPropertySet>(result__)
2066     }
Methods_(&self) -> ::windows::runtime::Result<ISWbemMethodSet>2067     pub unsafe fn Methods_(&self) -> ::windows::runtime::Result<ISWbemMethodSet> {
2068         let mut result__: <ISWbemMethodSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2069         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemMethodSet>(result__)
2070     }
2071     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Derivation_(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2072     pub unsafe fn Derivation_(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
2073         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2074         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
2075     }
Path_(&self) -> ::windows::runtime::Result<ISWbemObjectPath>2076     pub unsafe fn Path_(&self) -> ::windows::runtime::Result<ISWbemObjectPath> {
2077         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2078         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObjectPath>(result__)
2079     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>2080     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
2081         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2082         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
2083     }
2084     #[cfg(feature = "Win32_System_Ole_Automation")]
Refresh_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()>2085     pub unsafe fn Refresh_<'a, Param1: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iflags: i32, objwbemnamedvalueset: Param1) -> ::windows::runtime::Result<()> {
2086         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
2087     }
SystemProperties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet>2088     pub unsafe fn SystemProperties_(&self) -> ::windows::runtime::Result<ISWbemPropertySet> {
2089         let mut result__: <ISWbemPropertySet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2090         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemPropertySet>(result__)
2091     }
2092     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
GetText_<'a, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2093     pub unsafe fn GetText_<'a, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2094         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2095         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(iobjecttextformat), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2096     }
2097     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
SetFromText_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, bstext: Param0, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<()>2098     pub unsafe fn SetFromText_<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, bstext: Param0, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<()> {
2099         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), bstext.into_param().abi(), ::std::mem::transmute(iobjecttextformat), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
2100     }
2101 }
2102 unsafe impl ::windows::runtime::Interface for ISWbemObjectEx {
2103     type Vtable = ISWbemObjectEx_abi;
2104     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(647681386, 35431, 16681, [188, 140, 5, 6, 220, 254, 152, 128]);
2105 }
2106 impl ::std::convert::From<ISWbemObjectEx> for ::windows::runtime::IUnknown {
from(value: ISWbemObjectEx) -> Self2107     fn from(value: ISWbemObjectEx) -> Self {
2108         unsafe { ::std::mem::transmute(value) }
2109     }
2110 }
2111 impl ::std::convert::From<&ISWbemObjectEx> for ::windows::runtime::IUnknown {
from(value: &ISWbemObjectEx) -> Self2112     fn from(value: &ISWbemObjectEx) -> Self {
2113         ::std::convert::From::from(::std::clone::Clone::clone(value))
2114     }
2115 }
2116 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2117     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2118         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2119     }
2120 }
2121 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2122     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2123         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2124     }
2125 }
2126 impl ::std::convert::From<ISWbemObjectEx> for ISWbemObject {
from(value: ISWbemObjectEx) -> Self2127     fn from(value: ISWbemObjectEx) -> Self {
2128         unsafe { ::std::mem::transmute(value) }
2129     }
2130 }
2131 impl ::std::convert::From<&ISWbemObjectEx> for ISWbemObject {
from(value: &ISWbemObjectEx) -> Self2132     fn from(value: &ISWbemObjectEx) -> Self {
2133         ::std::convert::From::from(::std::clone::Clone::clone(value))
2134     }
2135 }
2136 impl<'a> ::windows::runtime::IntoParam<'a, ISWbemObject> for ISWbemObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject>2137     fn into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject> {
2138         ::windows::runtime::Param::Owned(::std::convert::Into::<ISWbemObject>::into(self))
2139     }
2140 }
2141 impl<'a> ::windows::runtime::IntoParam<'a, ISWbemObject> for &ISWbemObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject>2142     fn into_param(self) -> ::windows::runtime::Param<'a, ISWbemObject> {
2143         ::windows::runtime::Param::Owned(::std::convert::Into::<ISWbemObject>::into(::std::clone::Clone::clone(self)))
2144     }
2145 }
2146 #[cfg(feature = "Win32_System_Ole_Automation")]
2147 impl ::std::convert::From<ISWbemObjectEx> for super::Ole::Automation::IDispatch {
from(value: ISWbemObjectEx) -> Self2148     fn from(value: ISWbemObjectEx) -> Self {
2149         unsafe { ::std::mem::transmute(value) }
2150     }
2151 }
2152 #[cfg(feature = "Win32_System_Ole_Automation")]
2153 impl ::std::convert::From<&ISWbemObjectEx> for super::Ole::Automation::IDispatch {
from(value: &ISWbemObjectEx) -> Self2154     fn from(value: &ISWbemObjectEx) -> Self {
2155         ::std::convert::From::from(::std::clone::Clone::clone(value))
2156     }
2157 }
2158 #[cfg(feature = "Win32_System_Ole_Automation")]
2159 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2160     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2161         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2162     }
2163 }
2164 #[cfg(feature = "Win32_System_Ole_Automation")]
2165 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2166     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2167         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2168     }
2169 }
2170 #[repr(C)]
2171 #[doc(hidden)]
2172 pub struct ISWbemObjectEx_abi(
2173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2177     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2178     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2179     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2180     #[cfg(not(feature = "Win32_Foundation"))] usize,
2181     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2182     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2183     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2184     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2185     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2186     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2187     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2188     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2189     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2190     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2191     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2192     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2193     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2194     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2195     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2196     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2197     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2198     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2199     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2200     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
2201     pub  unsafe extern "system" fn(
2202         this: ::windows::runtime::RawPtr,
2203         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2204         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2205         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2206         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2207         bclassesonly: i16,
2208         bschemaonly: i16,
2209         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2210         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2211         iflags: i32,
2212         objwbemnamedvalueset: ::windows::runtime::RawPtr,
2213         objwbemobjectset: *mut ::windows::runtime::RawPtr,
2214     ) -> ::windows::runtime::HRESULT,
2215     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2216     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
2217     pub  unsafe extern "system" fn(
2218         this: ::windows::runtime::RawPtr,
2219         objwbemsink: ::windows::runtime::RawPtr,
2220         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2221         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2222         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2223         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2224         bclassesonly: i16,
2225         bschemaonly: i16,
2226         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2227         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2228         iflags: i32,
2229         objwbemnamedvalueset: ::windows::runtime::RawPtr,
2230         objwbemasynccontext: ::windows::runtime::RawPtr,
2231     ) -> ::windows::runtime::HRESULT,
2232     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2233     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
2234     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2235     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2236     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
2237     pub  unsafe extern "system" fn(
2238         this: ::windows::runtime::RawPtr,
2239         objwbemsink: ::windows::runtime::RawPtr,
2240         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2241         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2242         bclassesonly: i16,
2243         bschemaonly: i16,
2244         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
2245         iflags: i32,
2246         objwbemnamedvalueset: ::windows::runtime::RawPtr,
2247         objwbemasynccontext: ::windows::runtime::RawPtr,
2248     ) -> ::windows::runtime::HRESULT,
2249     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2250     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemoutparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2251     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2252     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2253     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2254     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2255     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, strobjecttext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2256     #[cfg(not(feature = "Win32_Foundation"))] usize,
2257     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2258     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2259     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: ::windows::runtime::RawPtr, iflags: i32, bresult: *mut i16) -> ::windows::runtime::HRESULT,
2260     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2261     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemqualifierset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2262     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbempropertyset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2263     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemmethodset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2264     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclassnamearray: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2265     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2266     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2268     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2269     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2270     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbempropertyset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2271     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, bstext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2272     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2273     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2274     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
2275 );
2276 #[repr(transparent)]
2277 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2278 pub struct ISWbemObjectPath(::windows::runtime::IUnknown);
2279 impl ISWbemObjectPath {
2280     #[cfg(feature = "Win32_Foundation")]
Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2281     pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2282         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2283         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2284     }
2285     #[cfg(feature = "Win32_Foundation")]
SetPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strpath: Param0) -> ::windows::runtime::Result<()>2286     pub unsafe fn SetPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strpath: Param0) -> ::windows::runtime::Result<()> {
2287         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strpath.into_param().abi()).ok()
2288     }
2289     #[cfg(feature = "Win32_Foundation")]
RelPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2290     pub unsafe fn RelPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2291         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2292         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2293     }
2294     #[cfg(feature = "Win32_Foundation")]
SetRelPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strrelpath: Param0) -> ::windows::runtime::Result<()>2295     pub unsafe fn SetRelPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strrelpath: Param0) -> ::windows::runtime::Result<()> {
2296         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), strrelpath.into_param().abi()).ok()
2297     }
2298     #[cfg(feature = "Win32_Foundation")]
Server(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2299     pub unsafe fn Server(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2300         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2301         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2302     }
2303     #[cfg(feature = "Win32_Foundation")]
SetServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strserver: Param0) -> ::windows::runtime::Result<()>2304     pub unsafe fn SetServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strserver: Param0) -> ::windows::runtime::Result<()> {
2305         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), strserver.into_param().abi()).ok()
2306     }
2307     #[cfg(feature = "Win32_Foundation")]
Namespace(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2308     pub unsafe fn Namespace(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2309         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2310         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2311     }
2312     #[cfg(feature = "Win32_Foundation")]
SetNamespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strnamespace: Param0) -> ::windows::runtime::Result<()>2313     pub unsafe fn SetNamespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strnamespace: Param0) -> ::windows::runtime::Result<()> {
2314         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), strnamespace.into_param().abi()).ok()
2315     }
2316     #[cfg(feature = "Win32_Foundation")]
ParentNamespace(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2317     pub unsafe fn ParentNamespace(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2318         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2319         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2320     }
2321     #[cfg(feature = "Win32_Foundation")]
DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2322     pub unsafe fn DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2323         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2324         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2325     }
2326     #[cfg(feature = "Win32_Foundation")]
SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strdisplayname: Param0) -> ::windows::runtime::Result<()>2327     pub unsafe fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strdisplayname: Param0) -> ::windows::runtime::Result<()> {
2328         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strdisplayname.into_param().abi()).ok()
2329     }
2330     #[cfg(feature = "Win32_Foundation")]
Class(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2331     pub unsafe fn Class(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2332         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2333         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2334     }
2335     #[cfg(feature = "Win32_Foundation")]
SetClass<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strclass: Param0) -> ::windows::runtime::Result<()>2336     pub unsafe fn SetClass<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strclass: Param0) -> ::windows::runtime::Result<()> {
2337         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), strclass.into_param().abi()).ok()
2338     }
IsClass(&self) -> ::windows::runtime::Result<i16>2339     pub unsafe fn IsClass(&self) -> ::windows::runtime::Result<i16> {
2340         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2341         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2342     }
SetAsClass(&self) -> ::windows::runtime::Result<()>2343     pub unsafe fn SetAsClass(&self) -> ::windows::runtime::Result<()> {
2344         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
2345     }
IsSingleton(&self) -> ::windows::runtime::Result<i16>2346     pub unsafe fn IsSingleton(&self) -> ::windows::runtime::Result<i16> {
2347         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2348         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2349     }
SetAsSingleton(&self) -> ::windows::runtime::Result<()>2350     pub unsafe fn SetAsSingleton(&self) -> ::windows::runtime::Result<()> {
2351         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self)).ok()
2352     }
Keys(&self) -> ::windows::runtime::Result<ISWbemNamedValueSet>2353     pub unsafe fn Keys(&self) -> ::windows::runtime::Result<ISWbemNamedValueSet> {
2354         let mut result__: <ISWbemNamedValueSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2355         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemNamedValueSet>(result__)
2356     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>2357     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
2358         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2359         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
2360     }
2361     #[cfg(feature = "Win32_Foundation")]
Locale(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2362     pub unsafe fn Locale(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2363         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2364         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2365     }
2366     #[cfg(feature = "Win32_Foundation")]
SetLocale<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strlocale: Param0) -> ::windows::runtime::Result<()>2367     pub unsafe fn SetLocale<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strlocale: Param0) -> ::windows::runtime::Result<()> {
2368         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), strlocale.into_param().abi()).ok()
2369     }
2370     #[cfg(feature = "Win32_Foundation")]
Authority(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2371     pub unsafe fn Authority(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2372         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2373         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2374     }
2375     #[cfg(feature = "Win32_Foundation")]
SetAuthority<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strauthority: Param0) -> ::windows::runtime::Result<()>2376     pub unsafe fn SetAuthority<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strauthority: Param0) -> ::windows::runtime::Result<()> {
2377         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), strauthority.into_param().abi()).ok()
2378     }
2379 }
2380 unsafe impl ::windows::runtime::Interface for ISWbemObjectPath {
2381     type Vtable = ISWbemObjectPath_abi;
2382     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1469168679, 52892, 4561, [151, 191, 0, 0, 248, 30, 132, 156]);
2383 }
2384 impl ::std::convert::From<ISWbemObjectPath> for ::windows::runtime::IUnknown {
from(value: ISWbemObjectPath) -> Self2385     fn from(value: ISWbemObjectPath) -> Self {
2386         unsafe { ::std::mem::transmute(value) }
2387     }
2388 }
2389 impl ::std::convert::From<&ISWbemObjectPath> for ::windows::runtime::IUnknown {
from(value: &ISWbemObjectPath) -> Self2390     fn from(value: &ISWbemObjectPath) -> Self {
2391         ::std::convert::From::from(::std::clone::Clone::clone(value))
2392     }
2393 }
2394 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemObjectPath {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2395     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2396         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2397     }
2398 }
2399 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemObjectPath {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2400     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2401         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2402     }
2403 }
2404 #[cfg(feature = "Win32_System_Ole_Automation")]
2405 impl ::std::convert::From<ISWbemObjectPath> for super::Ole::Automation::IDispatch {
from(value: ISWbemObjectPath) -> Self2406     fn from(value: ISWbemObjectPath) -> Self {
2407         unsafe { ::std::mem::transmute(value) }
2408     }
2409 }
2410 #[cfg(feature = "Win32_System_Ole_Automation")]
2411 impl ::std::convert::From<&ISWbemObjectPath> for super::Ole::Automation::IDispatch {
from(value: &ISWbemObjectPath) -> Self2412     fn from(value: &ISWbemObjectPath) -> Self {
2413         ::std::convert::From::from(::std::clone::Clone::clone(value))
2414     }
2415 }
2416 #[cfg(feature = "Win32_System_Ole_Automation")]
2417 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemObjectPath {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2418     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2419         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2420     }
2421 }
2422 #[cfg(feature = "Win32_System_Ole_Automation")]
2423 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemObjectPath {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2424     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2425         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2426     }
2427 }
2428 #[repr(C)]
2429 #[doc(hidden)]
2430 pub struct ISWbemObjectPath_abi(
2431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2432     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2433     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2434     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2435     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2436     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2437     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2438     #[cfg(not(feature = "Win32_Foundation"))] usize,
2439     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2440     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2441     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2442     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strpath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2443     #[cfg(not(feature = "Win32_Foundation"))] usize,
2444     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2445     #[cfg(not(feature = "Win32_Foundation"))] usize,
2446     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strrelpath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2447     #[cfg(not(feature = "Win32_Foundation"))] usize,
2448     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strrelpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2449     #[cfg(not(feature = "Win32_Foundation"))] usize,
2450     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strserver: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2451     #[cfg(not(feature = "Win32_Foundation"))] usize,
2452     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strserver: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2453     #[cfg(not(feature = "Win32_Foundation"))] usize,
2454     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strnamespace: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2455     #[cfg(not(feature = "Win32_Foundation"))] usize,
2456     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strnamespace: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2457     #[cfg(not(feature = "Win32_Foundation"))] usize,
2458     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strparentnamespace: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2459     #[cfg(not(feature = "Win32_Foundation"))] usize,
2460     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strdisplayname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2461     #[cfg(not(feature = "Win32_Foundation"))] usize,
2462     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strdisplayname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2463     #[cfg(not(feature = "Win32_Foundation"))] usize,
2464     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclass: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2465     #[cfg(not(feature = "Win32_Foundation"))] usize,
2466     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2467     #[cfg(not(feature = "Win32_Foundation"))] usize,
2468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisclass: *mut i16) -> ::windows::runtime::HRESULT,
2469     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bissingleton: *mut i16) -> ::windows::runtime::HRESULT,
2471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemnamedvalueset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2474     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strlocale: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2475     #[cfg(not(feature = "Win32_Foundation"))] usize,
2476     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2477     #[cfg(not(feature = "Win32_Foundation"))] usize,
2478     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strauthority: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2479     #[cfg(not(feature = "Win32_Foundation"))] usize,
2480     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strauthority: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2481     #[cfg(not(feature = "Win32_Foundation"))] usize,
2482 );
2483 #[repr(transparent)]
2484 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2485 pub struct ISWbemObjectSet(::windows::runtime::IUnknown);
2486 impl ISWbemObjectSet {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2487     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2488         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2489         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2490     }
2491     #[cfg(feature = "Win32_Foundation")]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strobjectpath: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemObject>2492     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strobjectpath: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemObject> {
2493         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2494         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemObject>(result__)
2495     }
Count(&self) -> ::windows::runtime::Result<i32>2496     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2497         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2498         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2499     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>2500     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
2501         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2502         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
2503     }
ItemIndex(&self, lindex: i32) -> ::windows::runtime::Result<ISWbemObject>2504     pub unsafe fn ItemIndex(&self, lindex: i32) -> ::windows::runtime::Result<ISWbemObject> {
2505         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2506         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(lindex), &mut result__).from_abi::<ISWbemObject>(result__)
2507     }
2508 }
2509 unsafe impl ::windows::runtime::Interface for ISWbemObjectSet {
2510     type Vtable = ISWbemObjectSet_abi;
2511     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1990607199, 52033, 4561, [139, 2, 0, 96, 8, 6, 217, 182]);
2512 }
2513 impl ::std::convert::From<ISWbemObjectSet> for ::windows::runtime::IUnknown {
from(value: ISWbemObjectSet) -> Self2514     fn from(value: ISWbemObjectSet) -> Self {
2515         unsafe { ::std::mem::transmute(value) }
2516     }
2517 }
2518 impl ::std::convert::From<&ISWbemObjectSet> for ::windows::runtime::IUnknown {
from(value: &ISWbemObjectSet) -> Self2519     fn from(value: &ISWbemObjectSet) -> Self {
2520         ::std::convert::From::from(::std::clone::Clone::clone(value))
2521     }
2522 }
2523 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemObjectSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2524     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2525         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2526     }
2527 }
2528 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemObjectSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2529     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2530         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2531     }
2532 }
2533 #[cfg(feature = "Win32_System_Ole_Automation")]
2534 impl ::std::convert::From<ISWbemObjectSet> for super::Ole::Automation::IDispatch {
from(value: ISWbemObjectSet) -> Self2535     fn from(value: ISWbemObjectSet) -> Self {
2536         unsafe { ::std::mem::transmute(value) }
2537     }
2538 }
2539 #[cfg(feature = "Win32_System_Ole_Automation")]
2540 impl ::std::convert::From<&ISWbemObjectSet> for super::Ole::Automation::IDispatch {
from(value: &ISWbemObjectSet) -> Self2541     fn from(value: &ISWbemObjectSet) -> Self {
2542         ::std::convert::From::from(::std::clone::Clone::clone(value))
2543     }
2544 }
2545 #[cfg(feature = "Win32_System_Ole_Automation")]
2546 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemObjectSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2547     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2548         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2549     }
2550 }
2551 #[cfg(feature = "Win32_System_Ole_Automation")]
2552 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemObjectSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2553     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2554         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2555     }
2556 }
2557 #[repr(C)]
2558 #[doc(hidden)]
2559 pub struct ISWbemObjectSet_abi(
2560     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2564     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2565     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2566     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2567     #[cfg(not(feature = "Win32_Foundation"))] usize,
2568     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2569     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2570     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2572     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2573     #[cfg(not(feature = "Win32_Foundation"))] usize,
2574     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
2575     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2576     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lindex: i32, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2577 );
2578 #[repr(transparent)]
2579 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2580 pub struct ISWbemPrivilege(::windows::runtime::IUnknown);
2581 impl ISWbemPrivilege {
IsEnabled(&self) -> ::windows::runtime::Result<i16>2582     pub unsafe fn IsEnabled(&self) -> ::windows::runtime::Result<i16> {
2583         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2584         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2585     }
SetIsEnabled(&self, bisenabled: i16) -> ::windows::runtime::Result<()>2586     pub unsafe fn SetIsEnabled(&self, bisenabled: i16) -> ::windows::runtime::Result<()> {
2587         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(bisenabled)).ok()
2588     }
2589     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2590     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2591         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2592         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2593     }
2594     #[cfg(feature = "Win32_Foundation")]
DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2595     pub unsafe fn DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2596         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2597         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2598     }
Identifier(&self) -> ::windows::runtime::Result<WbemPrivilegeEnum>2599     pub unsafe fn Identifier(&self) -> ::windows::runtime::Result<WbemPrivilegeEnum> {
2600         let mut result__: <WbemPrivilegeEnum as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2601         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<WbemPrivilegeEnum>(result__)
2602     }
2603 }
2604 unsafe impl ::windows::runtime::Interface for ISWbemPrivilege {
2605     type Vtable = ISWbemPrivilege_abi;
2606     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(653158333, 22532, 4562, [139, 74, 0, 96, 8, 6, 217, 182]);
2607 }
2608 impl ::std::convert::From<ISWbemPrivilege> for ::windows::runtime::IUnknown {
from(value: ISWbemPrivilege) -> Self2609     fn from(value: ISWbemPrivilege) -> Self {
2610         unsafe { ::std::mem::transmute(value) }
2611     }
2612 }
2613 impl ::std::convert::From<&ISWbemPrivilege> for ::windows::runtime::IUnknown {
from(value: &ISWbemPrivilege) -> Self2614     fn from(value: &ISWbemPrivilege) -> Self {
2615         ::std::convert::From::from(::std::clone::Clone::clone(value))
2616     }
2617 }
2618 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemPrivilege {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2619     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2620         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2621     }
2622 }
2623 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemPrivilege {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2624     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2625         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2626     }
2627 }
2628 #[cfg(feature = "Win32_System_Ole_Automation")]
2629 impl ::std::convert::From<ISWbemPrivilege> for super::Ole::Automation::IDispatch {
from(value: ISWbemPrivilege) -> Self2630     fn from(value: ISWbemPrivilege) -> Self {
2631         unsafe { ::std::mem::transmute(value) }
2632     }
2633 }
2634 #[cfg(feature = "Win32_System_Ole_Automation")]
2635 impl ::std::convert::From<&ISWbemPrivilege> for super::Ole::Automation::IDispatch {
from(value: &ISWbemPrivilege) -> Self2636     fn from(value: &ISWbemPrivilege) -> Self {
2637         ::std::convert::From::from(::std::clone::Clone::clone(value))
2638     }
2639 }
2640 #[cfg(feature = "Win32_System_Ole_Automation")]
2641 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemPrivilege {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2642     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2643         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2644     }
2645 }
2646 #[cfg(feature = "Win32_System_Ole_Automation")]
2647 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemPrivilege {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2648     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2649         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2650     }
2651 }
2652 #[repr(C)]
2653 #[doc(hidden)]
2654 pub struct ISWbemPrivilege_abi(
2655     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2659     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2660     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2661     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2662     #[cfg(not(feature = "Win32_Foundation"))] usize,
2663     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2664     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2665     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisenabled: *mut i16) -> ::windows::runtime::HRESULT,
2667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisenabled: i16) -> ::windows::runtime::HRESULT,
2668     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strdisplayname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2669     #[cfg(not(feature = "Win32_Foundation"))] usize,
2670     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strdisplayname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2671     #[cfg(not(feature = "Win32_Foundation"))] usize,
2672     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iprivilege: *mut WbemPrivilegeEnum) -> ::windows::runtime::HRESULT,
2673 );
2674 #[repr(transparent)]
2675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2676 pub struct ISWbemPrivilegeSet(::windows::runtime::IUnknown);
2677 impl ISWbemPrivilegeSet {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2678     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2679         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2680         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2681     }
Item(&self, iprivilege: WbemPrivilegeEnum) -> ::windows::runtime::Result<ISWbemPrivilege>2682     pub unsafe fn Item(&self, iprivilege: WbemPrivilegeEnum) -> ::windows::runtime::Result<ISWbemPrivilege> {
2683         let mut result__: <ISWbemPrivilege as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2684         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iprivilege), &mut result__).from_abi::<ISWbemPrivilege>(result__)
2685     }
Count(&self) -> ::windows::runtime::Result<i32>2686     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2687         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2688         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2689     }
Add(&self, iprivilege: WbemPrivilegeEnum, bisenabled: i16) -> ::windows::runtime::Result<ISWbemPrivilege>2690     pub unsafe fn Add(&self, iprivilege: WbemPrivilegeEnum, bisenabled: i16) -> ::windows::runtime::Result<ISWbemPrivilege> {
2691         let mut result__: <ISWbemPrivilege as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2692         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iprivilege), ::std::mem::transmute(bisenabled), &mut result__).from_abi::<ISWbemPrivilege>(result__)
2693     }
Remove(&self, iprivilege: WbemPrivilegeEnum) -> ::windows::runtime::Result<()>2694     pub unsafe fn Remove(&self, iprivilege: WbemPrivilegeEnum) -> ::windows::runtime::Result<()> {
2695         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iprivilege)).ok()
2696     }
DeleteAll(&self) -> ::windows::runtime::Result<()>2697     pub unsafe fn DeleteAll(&self) -> ::windows::runtime::Result<()> {
2698         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
2699     }
2700     #[cfg(feature = "Win32_Foundation")]
AddAsString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strprivilege: Param0, bisenabled: i16) -> ::windows::runtime::Result<ISWbemPrivilege>2701     pub unsafe fn AddAsString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strprivilege: Param0, bisenabled: i16) -> ::windows::runtime::Result<ISWbemPrivilege> {
2702         let mut result__: <ISWbemPrivilege as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2703         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), strprivilege.into_param().abi(), ::std::mem::transmute(bisenabled), &mut result__).from_abi::<ISWbemPrivilege>(result__)
2704     }
2705 }
2706 unsafe impl ::windows::runtime::Interface for ISWbemPrivilegeSet {
2707     type Vtable = ISWbemPrivilegeSet_abi;
2708     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(653158335, 22532, 4562, [139, 74, 0, 96, 8, 6, 217, 182]);
2709 }
2710 impl ::std::convert::From<ISWbemPrivilegeSet> for ::windows::runtime::IUnknown {
from(value: ISWbemPrivilegeSet) -> Self2711     fn from(value: ISWbemPrivilegeSet) -> Self {
2712         unsafe { ::std::mem::transmute(value) }
2713     }
2714 }
2715 impl ::std::convert::From<&ISWbemPrivilegeSet> for ::windows::runtime::IUnknown {
from(value: &ISWbemPrivilegeSet) -> Self2716     fn from(value: &ISWbemPrivilegeSet) -> Self {
2717         ::std::convert::From::from(::std::clone::Clone::clone(value))
2718     }
2719 }
2720 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemPrivilegeSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2721     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2722         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2723     }
2724 }
2725 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemPrivilegeSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2726     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2727         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2728     }
2729 }
2730 #[cfg(feature = "Win32_System_Ole_Automation")]
2731 impl ::std::convert::From<ISWbemPrivilegeSet> for super::Ole::Automation::IDispatch {
from(value: ISWbemPrivilegeSet) -> Self2732     fn from(value: ISWbemPrivilegeSet) -> Self {
2733         unsafe { ::std::mem::transmute(value) }
2734     }
2735 }
2736 #[cfg(feature = "Win32_System_Ole_Automation")]
2737 impl ::std::convert::From<&ISWbemPrivilegeSet> for super::Ole::Automation::IDispatch {
from(value: &ISWbemPrivilegeSet) -> Self2738     fn from(value: &ISWbemPrivilegeSet) -> Self {
2739         ::std::convert::From::from(::std::clone::Clone::clone(value))
2740     }
2741 }
2742 #[cfg(feature = "Win32_System_Ole_Automation")]
2743 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemPrivilegeSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2744     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2745         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2746     }
2747 }
2748 #[cfg(feature = "Win32_System_Ole_Automation")]
2749 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemPrivilegeSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2750     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2751         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2752     }
2753 }
2754 #[repr(C)]
2755 #[doc(hidden)]
2756 pub struct ISWbemPrivilegeSet_abi(
2757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2761     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2762     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2763     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2764     #[cfg(not(feature = "Win32_Foundation"))] usize,
2765     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2766     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2767     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iprivilege: WbemPrivilegeEnum, objwbemprivilege: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
2771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iprivilege: WbemPrivilegeEnum, bisenabled: i16, objwbemprivilege: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iprivilege: WbemPrivilegeEnum) -> ::windows::runtime::HRESULT,
2773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2774     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strprivilege: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bisenabled: i16, objwbemprivilege: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2775     #[cfg(not(feature = "Win32_Foundation"))] usize,
2776 );
2777 #[repr(transparent)]
2778 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2779 pub struct ISWbemProperty(::windows::runtime::IUnknown);
2780 impl ISWbemProperty {
2781     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2782     pub unsafe fn Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
2783         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2784         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
2785     }
2786     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue(&self, varvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>2787     pub unsafe fn SetValue(&self, varvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
2788         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(varvalue)).ok()
2789     }
2790     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2791     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2792         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2793         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2794     }
IsLocal(&self) -> ::windows::runtime::Result<i16>2795     pub unsafe fn IsLocal(&self) -> ::windows::runtime::Result<i16> {
2796         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2797         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2798     }
2799     #[cfg(feature = "Win32_Foundation")]
Origin(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2800     pub unsafe fn Origin(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2801         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2802         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2803     }
CIMType(&self) -> ::windows::runtime::Result<WbemCimtypeEnum>2804     pub unsafe fn CIMType(&self) -> ::windows::runtime::Result<WbemCimtypeEnum> {
2805         let mut result__: <WbemCimtypeEnum as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2806         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<WbemCimtypeEnum>(result__)
2807     }
Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet>2808     pub unsafe fn Qualifiers_(&self) -> ::windows::runtime::Result<ISWbemQualifierSet> {
2809         let mut result__: <ISWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2810         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemQualifierSet>(result__)
2811     }
IsArray(&self) -> ::windows::runtime::Result<i16>2812     pub unsafe fn IsArray(&self) -> ::windows::runtime::Result<i16> {
2813         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2814         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2815     }
2816 }
2817 unsafe impl ::windows::runtime::Interface for ISWbemProperty {
2818     type Vtable = ISWbemProperty_abi;
2819     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(439914392, 54458, 4561, [139, 9, 0, 96, 8, 6, 217, 182]);
2820 }
2821 impl ::std::convert::From<ISWbemProperty> for ::windows::runtime::IUnknown {
from(value: ISWbemProperty) -> Self2822     fn from(value: ISWbemProperty) -> Self {
2823         unsafe { ::std::mem::transmute(value) }
2824     }
2825 }
2826 impl ::std::convert::From<&ISWbemProperty> for ::windows::runtime::IUnknown {
from(value: &ISWbemProperty) -> Self2827     fn from(value: &ISWbemProperty) -> Self {
2828         ::std::convert::From::from(::std::clone::Clone::clone(value))
2829     }
2830 }
2831 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2832     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2833         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2834     }
2835 }
2836 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2837     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2838         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2839     }
2840 }
2841 #[cfg(feature = "Win32_System_Ole_Automation")]
2842 impl ::std::convert::From<ISWbemProperty> for super::Ole::Automation::IDispatch {
from(value: ISWbemProperty) -> Self2843     fn from(value: ISWbemProperty) -> Self {
2844         unsafe { ::std::mem::transmute(value) }
2845     }
2846 }
2847 #[cfg(feature = "Win32_System_Ole_Automation")]
2848 impl ::std::convert::From<&ISWbemProperty> for super::Ole::Automation::IDispatch {
from(value: &ISWbemProperty) -> Self2849     fn from(value: &ISWbemProperty) -> Self {
2850         ::std::convert::From::from(::std::clone::Clone::clone(value))
2851     }
2852 }
2853 #[cfg(feature = "Win32_System_Ole_Automation")]
2854 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemProperty {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2855     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2856         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2857     }
2858 }
2859 #[cfg(feature = "Win32_System_Ole_Automation")]
2860 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemProperty {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2861     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2862         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2863     }
2864 }
2865 #[repr(C)]
2866 #[doc(hidden)]
2867 pub struct ISWbemProperty_abi(
2868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2872     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2873     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2874     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2875     #[cfg(not(feature = "Win32_Foundation"))] usize,
2876     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2877     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2878     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2879     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2880     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2881     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2882     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2883     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2884     #[cfg(not(feature = "Win32_Foundation"))] usize,
2885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bislocal: *mut i16) -> ::windows::runtime::HRESULT,
2886     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strorigin: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2887     #[cfg(not(feature = "Win32_Foundation"))] usize,
2888     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icimtype: *mut WbemCimtypeEnum) -> ::windows::runtime::HRESULT,
2889     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemqualifierset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisarray: *mut i16) -> ::windows::runtime::HRESULT,
2891 );
2892 #[repr(transparent)]
2893 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2894 pub struct ISWbemPropertySet(::windows::runtime::IUnknown);
2895 impl ISWbemPropertySet {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2896     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2897         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2898         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2899     }
2900     #[cfg(feature = "Win32_Foundation")]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemProperty>2901     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemProperty> {
2902         let mut result__: <ISWbemProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2903         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemProperty>(result__)
2904     }
Count(&self) -> ::windows::runtime::Result<i32>2905     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2906         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2907         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2908     }
2909     #[cfg(feature = "Win32_Foundation")]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, icimtype: WbemCimtypeEnum, bisarray: i16, iflags: i32) -> ::windows::runtime::Result<ISWbemProperty>2910     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, icimtype: WbemCimtypeEnum, bisarray: i16, iflags: i32) -> ::windows::runtime::Result<ISWbemProperty> {
2911         let mut result__: <ISWbemProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2912         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(icimtype), ::std::mem::transmute(bisarray), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemProperty>(result__)
2913     }
2914     #[cfg(feature = "Win32_Foundation")]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<()>2915     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<()> {
2916         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(iflags)).ok()
2917     }
2918 }
2919 unsafe impl ::windows::runtime::Interface for ISWbemPropertySet {
2920     type Vtable = ISWbemPropertySet_abi;
2921     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3735070642, 54458, 4561, [139, 9, 0, 96, 8, 6, 217, 182]);
2922 }
2923 impl ::std::convert::From<ISWbemPropertySet> for ::windows::runtime::IUnknown {
from(value: ISWbemPropertySet) -> Self2924     fn from(value: ISWbemPropertySet) -> Self {
2925         unsafe { ::std::mem::transmute(value) }
2926     }
2927 }
2928 impl ::std::convert::From<&ISWbemPropertySet> for ::windows::runtime::IUnknown {
from(value: &ISWbemPropertySet) -> Self2929     fn from(value: &ISWbemPropertySet) -> Self {
2930         ::std::convert::From::from(::std::clone::Clone::clone(value))
2931     }
2932 }
2933 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemPropertySet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2934     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2935         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2936     }
2937 }
2938 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemPropertySet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2939     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2940         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2941     }
2942 }
2943 #[cfg(feature = "Win32_System_Ole_Automation")]
2944 impl ::std::convert::From<ISWbemPropertySet> for super::Ole::Automation::IDispatch {
from(value: ISWbemPropertySet) -> Self2945     fn from(value: ISWbemPropertySet) -> Self {
2946         unsafe { ::std::mem::transmute(value) }
2947     }
2948 }
2949 #[cfg(feature = "Win32_System_Ole_Automation")]
2950 impl ::std::convert::From<&ISWbemPropertySet> for super::Ole::Automation::IDispatch {
from(value: &ISWbemPropertySet) -> Self2951     fn from(value: &ISWbemPropertySet) -> Self {
2952         ::std::convert::From::from(::std::clone::Clone::clone(value))
2953     }
2954 }
2955 #[cfg(feature = "Win32_System_Ole_Automation")]
2956 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemPropertySet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2957     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2958         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2959     }
2960 }
2961 #[cfg(feature = "Win32_System_Ole_Automation")]
2962 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemPropertySet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2963     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2964         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2965     }
2966 }
2967 #[repr(C)]
2968 #[doc(hidden)]
2969 pub struct ISWbemPropertySet_abi(
2970     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2971     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2972     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2973     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2974     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2975     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2976     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2977     #[cfg(not(feature = "Win32_Foundation"))] usize,
2978     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2979     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2980     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2981     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2982     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemproperty: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2983     #[cfg(not(feature = "Win32_Foundation"))] usize,
2984     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
2985     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, icimtype: WbemCimtypeEnum, bisarray: i16, iflags: i32, objwbemproperty: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2986     #[cfg(not(feature = "Win32_Foundation"))] usize,
2987     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32) -> ::windows::runtime::HRESULT,
2988     #[cfg(not(feature = "Win32_Foundation"))] usize,
2989 );
2990 #[repr(transparent)]
2991 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2992 pub struct ISWbemQualifier(::windows::runtime::IUnknown);
2993 impl ISWbemQualifier {
2994     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT>2995     pub unsafe fn Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
2996         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2997         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
2998     }
2999     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue(&self, varvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>3000     pub unsafe fn SetValue(&self, varvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
3001         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(varvalue)).ok()
3002     }
3003     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3004     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3005         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3006         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3007     }
IsLocal(&self) -> ::windows::runtime::Result<i16>3008     pub unsafe fn IsLocal(&self) -> ::windows::runtime::Result<i16> {
3009         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3010         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3011     }
PropagatesToSubclass(&self) -> ::windows::runtime::Result<i16>3012     pub unsafe fn PropagatesToSubclass(&self) -> ::windows::runtime::Result<i16> {
3013         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3014         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3015     }
SetPropagatesToSubclass(&self, bpropagatestosubclass: i16) -> ::windows::runtime::Result<()>3016     pub unsafe fn SetPropagatesToSubclass(&self, bpropagatestosubclass: i16) -> ::windows::runtime::Result<()> {
3017         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(bpropagatestosubclass)).ok()
3018     }
PropagatesToInstance(&self) -> ::windows::runtime::Result<i16>3019     pub unsafe fn PropagatesToInstance(&self) -> ::windows::runtime::Result<i16> {
3020         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3021         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3022     }
SetPropagatesToInstance(&self, bpropagatestoinstance: i16) -> ::windows::runtime::Result<()>3023     pub unsafe fn SetPropagatesToInstance(&self, bpropagatestoinstance: i16) -> ::windows::runtime::Result<()> {
3024         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(bpropagatestoinstance)).ok()
3025     }
IsOverridable(&self) -> ::windows::runtime::Result<i16>3026     pub unsafe fn IsOverridable(&self) -> ::windows::runtime::Result<i16> {
3027         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3028         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3029     }
SetIsOverridable(&self, bisoverridable: i16) -> ::windows::runtime::Result<()>3030     pub unsafe fn SetIsOverridable(&self, bisoverridable: i16) -> ::windows::runtime::Result<()> {
3031         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bisoverridable)).ok()
3032     }
IsAmended(&self) -> ::windows::runtime::Result<i16>3033     pub unsafe fn IsAmended(&self) -> ::windows::runtime::Result<i16> {
3034         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3035         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3036     }
3037 }
3038 unsafe impl ::windows::runtime::Interface for ISWbemQualifier {
3039     type Vtable = ISWbemQualifier_abi;
3040     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2041600306, 54199, 4561, [139, 6, 0, 96, 8, 6, 217, 182]);
3041 }
3042 impl ::std::convert::From<ISWbemQualifier> for ::windows::runtime::IUnknown {
from(value: ISWbemQualifier) -> Self3043     fn from(value: ISWbemQualifier) -> Self {
3044         unsafe { ::std::mem::transmute(value) }
3045     }
3046 }
3047 impl ::std::convert::From<&ISWbemQualifier> for ::windows::runtime::IUnknown {
from(value: &ISWbemQualifier) -> Self3048     fn from(value: &ISWbemQualifier) -> Self {
3049         ::std::convert::From::from(::std::clone::Clone::clone(value))
3050     }
3051 }
3052 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemQualifier {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3053     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3054         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3055     }
3056 }
3057 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemQualifier {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3058     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3059         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3060     }
3061 }
3062 #[cfg(feature = "Win32_System_Ole_Automation")]
3063 impl ::std::convert::From<ISWbemQualifier> for super::Ole::Automation::IDispatch {
from(value: ISWbemQualifier) -> Self3064     fn from(value: ISWbemQualifier) -> Self {
3065         unsafe { ::std::mem::transmute(value) }
3066     }
3067 }
3068 #[cfg(feature = "Win32_System_Ole_Automation")]
3069 impl ::std::convert::From<&ISWbemQualifier> for super::Ole::Automation::IDispatch {
from(value: &ISWbemQualifier) -> Self3070     fn from(value: &ISWbemQualifier) -> Self {
3071         ::std::convert::From::from(::std::clone::Clone::clone(value))
3072     }
3073 }
3074 #[cfg(feature = "Win32_System_Ole_Automation")]
3075 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemQualifier {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3076     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3077         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3078     }
3079 }
3080 #[cfg(feature = "Win32_System_Ole_Automation")]
3081 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemQualifier {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3082     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3083         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3084     }
3085 }
3086 #[repr(C)]
3087 #[doc(hidden)]
3088 pub struct ISWbemQualifier_abi(
3089     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3091     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3092     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3093     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3094     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3095     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3096     #[cfg(not(feature = "Win32_Foundation"))] usize,
3097     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3098     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3099     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3100     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3101     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3102     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, varvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3103     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3104     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3105     #[cfg(not(feature = "Win32_Foundation"))] usize,
3106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bislocal: *mut i16) -> ::windows::runtime::HRESULT,
3107     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bpropagatestosubclass: *mut i16) -> ::windows::runtime::HRESULT,
3108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bpropagatestosubclass: i16) -> ::windows::runtime::HRESULT,
3109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bpropagatestoinstance: *mut i16) -> ::windows::runtime::HRESULT,
3110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bpropagatestoinstance: i16) -> ::windows::runtime::HRESULT,
3111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisoverridable: *mut i16) -> ::windows::runtime::HRESULT,
3112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisoverridable: i16) -> ::windows::runtime::HRESULT,
3113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisamended: *mut i16) -> ::windows::runtime::HRESULT,
3114 );
3115 #[repr(transparent)]
3116 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3117 pub struct ISWbemQualifierSet(::windows::runtime::IUnknown);
3118 impl ISWbemQualifierSet {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3119     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3120         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3121         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3122     }
3123     #[cfg(feature = "Win32_Foundation")]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemQualifier>3124     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0, iflags: i32) -> ::windows::runtime::Result<ISWbemQualifier> {
3125         let mut result__: <ISWbemQualifier as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3126         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), name.into_param().abi(), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemQualifier>(result__)
3127     }
Count(&self) -> ::windows::runtime::Result<i32>3128     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
3129         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3130         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3131     }
3132     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, varval: *const super::Com::VARIANT, bpropagatestosubclass: i16, bpropagatestoinstance: i16, bisoverridable: i16, iflags: i32) -> ::windows::runtime::Result<ISWbemQualifier>3133     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, varval: *const super::Com::VARIANT, bpropagatestosubclass: i16, bpropagatestoinstance: i16, bisoverridable: i16, iflags: i32) -> ::windows::runtime::Result<ISWbemQualifier> {
3134         let mut result__: <ISWbemQualifier as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3135         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(varval), ::std::mem::transmute(bpropagatestosubclass), ::std::mem::transmute(bpropagatestoinstance), ::std::mem::transmute(bisoverridable), ::std::mem::transmute(iflags), &mut result__).from_abi::<ISWbemQualifier>(result__)
3136     }
3137     #[cfg(feature = "Win32_Foundation")]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<()>3138     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, iflags: i32) -> ::windows::runtime::Result<()> {
3139         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(iflags)).ok()
3140     }
3141 }
3142 unsafe impl ::windows::runtime::Interface for ISWbemQualifierSet {
3143     type Vtable = ISWbemQualifierSet_abi;
3144     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2601970966, 54239, 4561, [139, 8, 0, 96, 8, 6, 217, 182]);
3145 }
3146 impl ::std::convert::From<ISWbemQualifierSet> for ::windows::runtime::IUnknown {
from(value: ISWbemQualifierSet) -> Self3147     fn from(value: ISWbemQualifierSet) -> Self {
3148         unsafe { ::std::mem::transmute(value) }
3149     }
3150 }
3151 impl ::std::convert::From<&ISWbemQualifierSet> for ::windows::runtime::IUnknown {
from(value: &ISWbemQualifierSet) -> Self3152     fn from(value: &ISWbemQualifierSet) -> Self {
3153         ::std::convert::From::from(::std::clone::Clone::clone(value))
3154     }
3155 }
3156 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemQualifierSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3157     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3158         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3159     }
3160 }
3161 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemQualifierSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3162     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3163         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3164     }
3165 }
3166 #[cfg(feature = "Win32_System_Ole_Automation")]
3167 impl ::std::convert::From<ISWbemQualifierSet> for super::Ole::Automation::IDispatch {
from(value: ISWbemQualifierSet) -> Self3168     fn from(value: ISWbemQualifierSet) -> Self {
3169         unsafe { ::std::mem::transmute(value) }
3170     }
3171 }
3172 #[cfg(feature = "Win32_System_Ole_Automation")]
3173 impl ::std::convert::From<&ISWbemQualifierSet> for super::Ole::Automation::IDispatch {
from(value: &ISWbemQualifierSet) -> Self3174     fn from(value: &ISWbemQualifierSet) -> Self {
3175         ::std::convert::From::from(::std::clone::Clone::clone(value))
3176     }
3177 }
3178 #[cfg(feature = "Win32_System_Ole_Automation")]
3179 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemQualifierSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3180     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3181         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3182     }
3183 }
3184 #[cfg(feature = "Win32_System_Ole_Automation")]
3185 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemQualifierSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3186     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3187         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3188     }
3189 }
3190 #[repr(C)]
3191 #[doc(hidden)]
3192 pub struct ISWbemQualifierSet_abi(
3193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3197     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3198     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3199     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3200     #[cfg(not(feature = "Win32_Foundation"))] usize,
3201     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3202     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3203     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3204     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3205     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemqualifier: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3206     #[cfg(not(feature = "Win32_Foundation"))] usize,
3207     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
3208     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, varval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, bpropagatestosubclass: i16, bpropagatestoinstance: i16, bisoverridable: i16, iflags: i32, objwbemqualifier: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3209     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3210     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32) -> ::windows::runtime::HRESULT,
3211     #[cfg(not(feature = "Win32_Foundation"))] usize,
3212 );
3213 #[repr(transparent)]
3214 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3215 pub struct ISWbemRefreshableItem(::windows::runtime::IUnknown);
3216 impl ISWbemRefreshableItem {
Index(&self) -> ::windows::runtime::Result<i32>3217     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
3218         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3219         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3220     }
Refresher(&self) -> ::windows::runtime::Result<ISWbemRefresher>3221     pub unsafe fn Refresher(&self) -> ::windows::runtime::Result<ISWbemRefresher> {
3222         let mut result__: <ISWbemRefresher as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3223         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemRefresher>(result__)
3224     }
IsSet(&self) -> ::windows::runtime::Result<i16>3225     pub unsafe fn IsSet(&self) -> ::windows::runtime::Result<i16> {
3226         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3227         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3228     }
Object(&self) -> ::windows::runtime::Result<ISWbemObjectEx>3229     pub unsafe fn Object(&self) -> ::windows::runtime::Result<ISWbemObjectEx> {
3230         let mut result__: <ISWbemObjectEx as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3231         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObjectEx>(result__)
3232     }
ObjectSet(&self) -> ::windows::runtime::Result<ISWbemObjectSet>3233     pub unsafe fn ObjectSet(&self) -> ::windows::runtime::Result<ISWbemObjectSet> {
3234         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3235         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObjectSet>(result__)
3236     }
Remove(&self, iflags: i32) -> ::windows::runtime::Result<()>3237     pub unsafe fn Remove(&self, iflags: i32) -> ::windows::runtime::Result<()> {
3238         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags)).ok()
3239     }
3240 }
3241 unsafe impl ::windows::runtime::Interface for ISWbemRefreshableItem {
3242     type Vtable = ISWbemRefreshableItem_abi;
3243     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1523892114, 55979, 4563, [179, 143, 0, 16, 90, 31, 71, 58]);
3244 }
3245 impl ::std::convert::From<ISWbemRefreshableItem> for ::windows::runtime::IUnknown {
from(value: ISWbemRefreshableItem) -> Self3246     fn from(value: ISWbemRefreshableItem) -> Self {
3247         unsafe { ::std::mem::transmute(value) }
3248     }
3249 }
3250 impl ::std::convert::From<&ISWbemRefreshableItem> for ::windows::runtime::IUnknown {
from(value: &ISWbemRefreshableItem) -> Self3251     fn from(value: &ISWbemRefreshableItem) -> Self {
3252         ::std::convert::From::from(::std::clone::Clone::clone(value))
3253     }
3254 }
3255 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemRefreshableItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3256     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3257         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3258     }
3259 }
3260 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemRefreshableItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3261     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3262         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3263     }
3264 }
3265 #[cfg(feature = "Win32_System_Ole_Automation")]
3266 impl ::std::convert::From<ISWbemRefreshableItem> for super::Ole::Automation::IDispatch {
from(value: ISWbemRefreshableItem) -> Self3267     fn from(value: ISWbemRefreshableItem) -> Self {
3268         unsafe { ::std::mem::transmute(value) }
3269     }
3270 }
3271 #[cfg(feature = "Win32_System_Ole_Automation")]
3272 impl ::std::convert::From<&ISWbemRefreshableItem> for super::Ole::Automation::IDispatch {
from(value: &ISWbemRefreshableItem) -> Self3273     fn from(value: &ISWbemRefreshableItem) -> Self {
3274         ::std::convert::From::from(::std::clone::Clone::clone(value))
3275     }
3276 }
3277 #[cfg(feature = "Win32_System_Ole_Automation")]
3278 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemRefreshableItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3279     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3280         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3281     }
3282 }
3283 #[cfg(feature = "Win32_System_Ole_Automation")]
3284 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemRefreshableItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3285     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3286         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3287     }
3288 }
3289 #[repr(C)]
3290 #[doc(hidden)]
3291 pub struct ISWbemRefreshableItem_abi(
3292     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3293     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3294     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3295     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3296     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3297     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3298     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3299     #[cfg(not(feature = "Win32_Foundation"))] usize,
3300     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3301     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3302     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3303     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: *mut i32) -> ::windows::runtime::HRESULT,
3304     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemrefresher: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3305     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bisset: *mut i16) -> ::windows::runtime::HRESULT,
3306     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3307     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3308     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32) -> ::windows::runtime::HRESULT,
3309 );
3310 #[repr(transparent)]
3311 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3312 pub struct ISWbemRefresher(::windows::runtime::IUnknown);
3313 impl ISWbemRefresher {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3314     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3315         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3316         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3317     }
Item(&self, iindex: i32) -> ::windows::runtime::Result<ISWbemRefreshableItem>3318     pub unsafe fn Item(&self, iindex: i32) -> ::windows::runtime::Result<ISWbemRefreshableItem> {
3319         let mut result__: <ISWbemRefreshableItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3320         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), &mut result__).from_abi::<ISWbemRefreshableItem>(result__)
3321     }
Count(&self) -> ::windows::runtime::Result<i32>3322     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
3323         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3324         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3325     }
3326     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemServicesEx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemservices: Param0, bsinstancepath: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemRefreshableItem>3327     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemServicesEx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemservices: Param0, bsinstancepath: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemRefreshableItem> {
3328         let mut result__: <ISWbemRefreshableItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3329         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objwbemservices.into_param().abi(), bsinstancepath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemRefreshableItem>(result__)
3330     }
3331     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AddEnum<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemServicesEx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemservices: Param0, bsclassname: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemRefreshableItem>3332     pub unsafe fn AddEnum<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemServicesEx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemservices: Param0, bsclassname: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemRefreshableItem> {
3333         let mut result__: <ISWbemRefreshableItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3334         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), objwbemservices.into_param().abi(), bsclassname.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemRefreshableItem>(result__)
3335     }
Remove(&self, iindex: i32, iflags: i32) -> ::windows::runtime::Result<()>3336     pub unsafe fn Remove(&self, iindex: i32, iflags: i32) -> ::windows::runtime::Result<()> {
3337         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), ::std::mem::transmute(iflags)).ok()
3338     }
Refresh(&self, iflags: i32) -> ::windows::runtime::Result<()>3339     pub unsafe fn Refresh(&self, iflags: i32) -> ::windows::runtime::Result<()> {
3340         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(iflags)).ok()
3341     }
AutoReconnect(&self) -> ::windows::runtime::Result<i16>3342     pub unsafe fn AutoReconnect(&self) -> ::windows::runtime::Result<i16> {
3343         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3344         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3345     }
SetAutoReconnect(&self, bcount: i16) -> ::windows::runtime::Result<()>3346     pub unsafe fn SetAutoReconnect(&self, bcount: i16) -> ::windows::runtime::Result<()> {
3347         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(bcount)).ok()
3348     }
DeleteAll(&self) -> ::windows::runtime::Result<()>3349     pub unsafe fn DeleteAll(&self) -> ::windows::runtime::Result<()> {
3350         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok()
3351     }
3352 }
3353 unsafe impl ::windows::runtime::Interface for ISWbemRefresher {
3354     type Vtable = ISWbemRefresher_abi;
3355     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(349709582, 55746, 4563, [179, 143, 0, 16, 90, 31, 71, 58]);
3356 }
3357 impl ::std::convert::From<ISWbemRefresher> for ::windows::runtime::IUnknown {
from(value: ISWbemRefresher) -> Self3358     fn from(value: ISWbemRefresher) -> Self {
3359         unsafe { ::std::mem::transmute(value) }
3360     }
3361 }
3362 impl ::std::convert::From<&ISWbemRefresher> for ::windows::runtime::IUnknown {
from(value: &ISWbemRefresher) -> Self3363     fn from(value: &ISWbemRefresher) -> Self {
3364         ::std::convert::From::from(::std::clone::Clone::clone(value))
3365     }
3366 }
3367 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemRefresher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3368     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3369         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3370     }
3371 }
3372 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemRefresher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3373     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3374         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3375     }
3376 }
3377 #[cfg(feature = "Win32_System_Ole_Automation")]
3378 impl ::std::convert::From<ISWbemRefresher> for super::Ole::Automation::IDispatch {
from(value: ISWbemRefresher) -> Self3379     fn from(value: ISWbemRefresher) -> Self {
3380         unsafe { ::std::mem::transmute(value) }
3381     }
3382 }
3383 #[cfg(feature = "Win32_System_Ole_Automation")]
3384 impl ::std::convert::From<&ISWbemRefresher> for super::Ole::Automation::IDispatch {
from(value: &ISWbemRefresher) -> Self3385     fn from(value: &ISWbemRefresher) -> Self {
3386         ::std::convert::From::from(::std::clone::Clone::clone(value))
3387     }
3388 }
3389 #[cfg(feature = "Win32_System_Ole_Automation")]
3390 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemRefresher {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3391     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3392         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3393     }
3394 }
3395 #[cfg(feature = "Win32_System_Ole_Automation")]
3396 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemRefresher {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3397     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3398         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3399     }
3400 }
3401 #[repr(C)]
3402 #[doc(hidden)]
3403 pub struct ISWbemRefresher_abi(
3404     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3408     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3409     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3410     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3411     #[cfg(not(feature = "Win32_Foundation"))] usize,
3412     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3413     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3414     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, objwbemrefreshableitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, icount: *mut i32) -> ::windows::runtime::HRESULT,
3418     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemservices: ::windows::runtime::RawPtr, bsinstancepath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemrefreshableitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3419     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3420     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemservices: ::windows::runtime::RawPtr, bsclassname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemrefreshableitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3421     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3422     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, iflags: i32) -> ::windows::runtime::HRESULT,
3423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iflags: i32) -> ::windows::runtime::HRESULT,
3424     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bcount: *mut i16) -> ::windows::runtime::HRESULT,
3425     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bcount: i16) -> ::windows::runtime::HRESULT,
3426     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3427 );
3428 #[repr(transparent)]
3429 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3430 pub struct ISWbemSecurity(::windows::runtime::IUnknown);
3431 impl ISWbemSecurity {
ImpersonationLevel(&self) -> ::windows::runtime::Result<WbemImpersonationLevelEnum>3432     pub unsafe fn ImpersonationLevel(&self) -> ::windows::runtime::Result<WbemImpersonationLevelEnum> {
3433         let mut result__: <WbemImpersonationLevelEnum as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3434         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<WbemImpersonationLevelEnum>(result__)
3435     }
SetImpersonationLevel(&self, iimpersonationlevel: WbemImpersonationLevelEnum) -> ::windows::runtime::Result<()>3436     pub unsafe fn SetImpersonationLevel(&self, iimpersonationlevel: WbemImpersonationLevelEnum) -> ::windows::runtime::Result<()> {
3437         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iimpersonationlevel)).ok()
3438     }
AuthenticationLevel(&self) -> ::windows::runtime::Result<WbemAuthenticationLevelEnum>3439     pub unsafe fn AuthenticationLevel(&self) -> ::windows::runtime::Result<WbemAuthenticationLevelEnum> {
3440         let mut result__: <WbemAuthenticationLevelEnum as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3441         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<WbemAuthenticationLevelEnum>(result__)
3442     }
SetAuthenticationLevel(&self, iauthenticationlevel: WbemAuthenticationLevelEnum) -> ::windows::runtime::Result<()>3443     pub unsafe fn SetAuthenticationLevel(&self, iauthenticationlevel: WbemAuthenticationLevelEnum) -> ::windows::runtime::Result<()> {
3444         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iauthenticationlevel)).ok()
3445     }
Privileges(&self) -> ::windows::runtime::Result<ISWbemPrivilegeSet>3446     pub unsafe fn Privileges(&self) -> ::windows::runtime::Result<ISWbemPrivilegeSet> {
3447         let mut result__: <ISWbemPrivilegeSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3448         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemPrivilegeSet>(result__)
3449     }
3450 }
3451 unsafe impl ::windows::runtime::Interface for ISWbemSecurity {
3452     type Vtable = ISWbemSecurity_abi;
3453     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3041748710, 8839, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
3454 }
3455 impl ::std::convert::From<ISWbemSecurity> for ::windows::runtime::IUnknown {
from(value: ISWbemSecurity) -> Self3456     fn from(value: ISWbemSecurity) -> Self {
3457         unsafe { ::std::mem::transmute(value) }
3458     }
3459 }
3460 impl ::std::convert::From<&ISWbemSecurity> for ::windows::runtime::IUnknown {
from(value: &ISWbemSecurity) -> Self3461     fn from(value: &ISWbemSecurity) -> Self {
3462         ::std::convert::From::from(::std::clone::Clone::clone(value))
3463     }
3464 }
3465 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemSecurity {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3466     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3467         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3468     }
3469 }
3470 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemSecurity {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3471     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3472         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3473     }
3474 }
3475 #[cfg(feature = "Win32_System_Ole_Automation")]
3476 impl ::std::convert::From<ISWbemSecurity> for super::Ole::Automation::IDispatch {
from(value: ISWbemSecurity) -> Self3477     fn from(value: ISWbemSecurity) -> Self {
3478         unsafe { ::std::mem::transmute(value) }
3479     }
3480 }
3481 #[cfg(feature = "Win32_System_Ole_Automation")]
3482 impl ::std::convert::From<&ISWbemSecurity> for super::Ole::Automation::IDispatch {
from(value: &ISWbemSecurity) -> Self3483     fn from(value: &ISWbemSecurity) -> Self {
3484         ::std::convert::From::from(::std::clone::Clone::clone(value))
3485     }
3486 }
3487 #[cfg(feature = "Win32_System_Ole_Automation")]
3488 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemSecurity {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3489     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3490         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3491     }
3492 }
3493 #[cfg(feature = "Win32_System_Ole_Automation")]
3494 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemSecurity {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3495     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3496         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3497     }
3498 }
3499 #[repr(C)]
3500 #[doc(hidden)]
3501 pub struct ISWbemSecurity_abi(
3502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3506     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3507     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3508     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3509     #[cfg(not(feature = "Win32_Foundation"))] usize,
3510     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3511     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3512     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iimpersonationlevel: *mut WbemImpersonationLevelEnum) -> ::windows::runtime::HRESULT,
3514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iimpersonationlevel: WbemImpersonationLevelEnum) -> ::windows::runtime::HRESULT,
3515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iauthenticationlevel: *mut WbemAuthenticationLevelEnum) -> ::windows::runtime::HRESULT,
3516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iauthenticationlevel: WbemAuthenticationLevelEnum) -> ::windows::runtime::HRESULT,
3517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemprivilegeset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3518 );
3519 #[repr(transparent)]
3520 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3521 pub struct ISWbemServices(::windows::runtime::IUnknown);
3522 impl ISWbemServices {
3523     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObject>3524     pub unsafe fn Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObject> {
3525         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3526         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
3527     }
3528     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
GetAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, strobjectpath: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4) -> ::windows::runtime::Result<()>3529     pub unsafe fn GetAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, strobjectpath: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4) -> ::windows::runtime::Result<()> {
3530         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3531     }
3532     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<()>3533     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<()> {
3534         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
3535     }
3536     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
DeleteAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strobjectpath: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4, ) -> ::windows::runtime::Result<()>3537     pub unsafe fn DeleteAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3538         &self,
3539         objwbemsink: Param0,
3540         strobjectpath: Param1,
3541         iflags: i32,
3542         objwbemnamedvalueset: Param3,
3543         objwbemasynccontext: Param4,
3544     ) -> ::windows::runtime::Result<()> {
3545         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3546     }
3547     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
InstancesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet>3548     pub unsafe fn InstancesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet> {
3549         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3550         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
3551     }
3552     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
InstancesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strclass: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4, ) -> ::windows::runtime::Result<()>3553     pub unsafe fn InstancesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3554         &self,
3555         objwbemsink: Param0,
3556         strclass: Param1,
3557         iflags: i32,
3558         objwbemnamedvalueset: Param3,
3559         objwbemasynccontext: Param4,
3560     ) -> ::windows::runtime::Result<()> {
3561         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3562     }
3563     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
SubclassesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strsuperclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet>3564     pub unsafe fn SubclassesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strsuperclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet> {
3565         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3566         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), strsuperclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
3567     }
3568     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
SubclassesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strsuperclass: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4, ) -> ::windows::runtime::Result<()>3569     pub unsafe fn SubclassesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3570         &self,
3571         objwbemsink: Param0,
3572         strsuperclass: Param1,
3573         iflags: i32,
3574         objwbemnamedvalueset: Param3,
3575         objwbemasynccontext: Param4,
3576     ) -> ::windows::runtime::Result<()> {
3577         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strsuperclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3578     }
3579     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObjectSet>3580     pub unsafe fn ExecQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObjectSet> {
3581         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3582         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
3583     }
3584     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strquery: Param1, strquerylanguage: Param2, lflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>3585     pub unsafe fn ExecQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3586         &self,
3587         objwbemsink: Param0,
3588         strquery: Param1,
3589         strquerylanguage: Param2,
3590         lflags: i32,
3591         objwbemnamedvalueset: Param4,
3592         objwbemasynccontext: Param5,
3593     ) -> ::windows::runtime::Result<()> {
3594         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(lflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3595     }
3596     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsOf< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, strobjectpath: Param0, strassocclass: Param1, strresultclass: Param2, strresultrole: Param3, strrole: Param4, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param7, strrequiredqualifier: Param8, iflags: i32, objwbemnamedvalueset: Param10, ) -> ::windows::runtime::Result<ISWbemObjectSet>3597     pub unsafe fn AssociatorsOf<
3598         'a,
3599         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3600         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3601         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3602         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3603         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3604         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3605         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3606         Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3607     >(
3608         &self,
3609         strobjectpath: Param0,
3610         strassocclass: Param1,
3611         strresultclass: Param2,
3612         strresultrole: Param3,
3613         strrole: Param4,
3614         bclassesonly: i16,
3615         bschemaonly: i16,
3616         strrequiredassocqualifier: Param7,
3617         strrequiredqualifier: Param8,
3618         iflags: i32,
3619         objwbemnamedvalueset: Param10,
3620     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
3621         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3622         (::windows::runtime::Interface::vtable(self).17)(
3623             ::std::mem::transmute_copy(self),
3624             strobjectpath.into_param().abi(),
3625             strassocclass.into_param().abi(),
3626             strresultclass.into_param().abi(),
3627             strresultrole.into_param().abi(),
3628             strrole.into_param().abi(),
3629             ::std::mem::transmute(bclassesonly),
3630             ::std::mem::transmute(bschemaonly),
3631             strrequiredassocqualifier.into_param().abi(),
3632             strrequiredqualifier.into_param().abi(),
3633             ::std::mem::transmute(iflags),
3634             objwbemnamedvalueset.into_param().abi(),
3635             &mut result__,
3636         )
3637         .from_abi::<ISWbemObjectSet>(result__)
3638     }
3639     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsOfAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param9: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param12: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strobjectpath: Param1, strassocclass: Param2, strresultclass: Param3, strresultrole: Param4, strrole: Param5, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param8, strrequiredqualifier: Param9, iflags: i32, objwbemnamedvalueset: Param11, objwbemasynccontext: Param12, ) -> ::windows::runtime::Result<()>3640     pub unsafe fn AssociatorsOfAsync<
3641         'a,
3642         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3643         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3644         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3645         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3646         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3647         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3648         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3649         Param9: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3650         Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3651         Param12: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3652     >(
3653         &self,
3654         objwbemsink: Param0,
3655         strobjectpath: Param1,
3656         strassocclass: Param2,
3657         strresultclass: Param3,
3658         strresultrole: Param4,
3659         strrole: Param5,
3660         bclassesonly: i16,
3661         bschemaonly: i16,
3662         strrequiredassocqualifier: Param8,
3663         strrequiredqualifier: Param9,
3664         iflags: i32,
3665         objwbemnamedvalueset: Param11,
3666         objwbemasynccontext: Param12,
3667     ) -> ::windows::runtime::Result<()> {
3668         (::windows::runtime::Interface::vtable(self).18)(
3669             ::std::mem::transmute_copy(self),
3670             objwbemsink.into_param().abi(),
3671             strobjectpath.into_param().abi(),
3672             strassocclass.into_param().abi(),
3673             strresultclass.into_param().abi(),
3674             strresultrole.into_param().abi(),
3675             strrole.into_param().abi(),
3676             ::std::mem::transmute(bclassesonly),
3677             ::std::mem::transmute(bschemaonly),
3678             strrequiredassocqualifier.into_param().abi(),
3679             strrequiredqualifier.into_param().abi(),
3680             ::std::mem::transmute(iflags),
3681             objwbemnamedvalueset.into_param().abi(),
3682             objwbemasynccontext.into_param().abi(),
3683         )
3684         .ok()
3685     }
3686     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strobjectpath: Param0, strresultclass: Param1, strrole: Param2, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param5, iflags: i32, objwbemnamedvalueset: Param7, ) -> ::windows::runtime::Result<ISWbemObjectSet>3687     pub unsafe fn ReferencesTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3688         &self,
3689         strobjectpath: Param0,
3690         strresultclass: Param1,
3691         strrole: Param2,
3692         bclassesonly: i16,
3693         bschemaonly: i16,
3694         strrequiredqualifier: Param5,
3695         iflags: i32,
3696         objwbemnamedvalueset: Param7,
3697     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
3698         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3699         (::windows::runtime::Interface::vtable(self).19)(
3700             ::std::mem::transmute_copy(self),
3701             strobjectpath.into_param().abi(),
3702             strresultclass.into_param().abi(),
3703             strrole.into_param().abi(),
3704             ::std::mem::transmute(bclassesonly),
3705             ::std::mem::transmute(bschemaonly),
3706             strrequiredqualifier.into_param().abi(),
3707             ::std::mem::transmute(iflags),
3708             objwbemnamedvalueset.into_param().abi(),
3709             &mut result__,
3710         )
3711         .from_abi::<ISWbemObjectSet>(result__)
3712     }
3713     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesToAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strobjectpath: Param1, strresultclass: Param2, strrole: Param3, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param6, iflags: i32, objwbemnamedvalueset: Param8, objwbemasynccontext: Param9, ) -> ::windows::runtime::Result<()>3714     pub unsafe fn ReferencesToAsync<
3715         'a,
3716         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3717         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3718         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3719         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3720         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3721         Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3722         Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3723     >(
3724         &self,
3725         objwbemsink: Param0,
3726         strobjectpath: Param1,
3727         strresultclass: Param2,
3728         strrole: Param3,
3729         bclassesonly: i16,
3730         bschemaonly: i16,
3731         strrequiredqualifier: Param6,
3732         iflags: i32,
3733         objwbemnamedvalueset: Param8,
3734         objwbemasynccontext: Param9,
3735     ) -> ::windows::runtime::Result<()> {
3736         (::windows::runtime::Interface::vtable(self).20)(
3737             ::std::mem::transmute_copy(self),
3738             objwbemsink.into_param().abi(),
3739             strobjectpath.into_param().abi(),
3740             strresultclass.into_param().abi(),
3741             strrole.into_param().abi(),
3742             ::std::mem::transmute(bclassesonly),
3743             ::std::mem::transmute(bschemaonly),
3744             strrequiredqualifier.into_param().abi(),
3745             ::std::mem::transmute(iflags),
3746             objwbemnamedvalueset.into_param().abi(),
3747             objwbemasynccontext.into_param().abi(),
3748         )
3749         .ok()
3750     }
3751     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecNotificationQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemEventSource>3752     pub unsafe fn ExecNotificationQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemEventSource> {
3753         let mut result__: <ISWbemEventSource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3754         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemEventSource>(result__)
3755     }
3756     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecNotificationQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strquery: Param1, strquerylanguage: Param2, iflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>3757     pub unsafe fn ExecNotificationQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3758         &self,
3759         objwbemsink: Param0,
3760         strquery: Param1,
3761         strquerylanguage: Param2,
3762         iflags: i32,
3763         objwbemnamedvalueset: Param4,
3764         objwbemasynccontext: Param5,
3765     ) -> ::windows::runtime::Result<()> {
3766         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3767     }
3768     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strobjectpath: Param0, strmethodname: Param1, objwbeminparameters: Param2, iflags: i32, objwbemnamedvalueset: Param4, ) -> ::windows::runtime::Result<ISWbemObject>3769     pub unsafe fn ExecMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3770         &self,
3771         strobjectpath: Param0,
3772         strmethodname: Param1,
3773         objwbeminparameters: Param2,
3774         iflags: i32,
3775         objwbemnamedvalueset: Param4,
3776     ) -> ::windows::runtime::Result<ISWbemObject> {
3777         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3778         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
3779     }
3780     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethodAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strobjectpath: Param1, strmethodname: Param2, objwbeminparameters: Param3, iflags: i32, objwbemnamedvalueset: Param5, objwbemasynccontext: Param6, ) -> ::windows::runtime::Result<()>3781     pub unsafe fn ExecMethodAsync<
3782         'a,
3783         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3784         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3785         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
3786         Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3787         Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3788         Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
3789     >(
3790         &self,
3791         objwbemsink: Param0,
3792         strobjectpath: Param1,
3793         strmethodname: Param2,
3794         objwbeminparameters: Param3,
3795         iflags: i32,
3796         objwbemnamedvalueset: Param5,
3797         objwbemasynccontext: Param6,
3798     ) -> ::windows::runtime::Result<()> {
3799         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3800     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>3801     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
3802         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3803         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
3804     }
3805 }
3806 unsafe impl ::windows::runtime::Interface for ISWbemServices {
3807     type Vtable = ISWbemServices_abi;
3808     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1990607196, 52033, 4561, [139, 2, 0, 96, 8, 6, 217, 182]);
3809 }
3810 impl ::std::convert::From<ISWbemServices> for ::windows::runtime::IUnknown {
from(value: ISWbemServices) -> Self3811     fn from(value: ISWbemServices) -> Self {
3812         unsafe { ::std::mem::transmute(value) }
3813     }
3814 }
3815 impl ::std::convert::From<&ISWbemServices> for ::windows::runtime::IUnknown {
from(value: &ISWbemServices) -> Self3816     fn from(value: &ISWbemServices) -> Self {
3817         ::std::convert::From::from(::std::clone::Clone::clone(value))
3818     }
3819 }
3820 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3821     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3822         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3823     }
3824 }
3825 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3826     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3827         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3828     }
3829 }
3830 #[cfg(feature = "Win32_System_Ole_Automation")]
3831 impl ::std::convert::From<ISWbemServices> for super::Ole::Automation::IDispatch {
from(value: ISWbemServices) -> Self3832     fn from(value: ISWbemServices) -> Self {
3833         unsafe { ::std::mem::transmute(value) }
3834     }
3835 }
3836 #[cfg(feature = "Win32_System_Ole_Automation")]
3837 impl ::std::convert::From<&ISWbemServices> for super::Ole::Automation::IDispatch {
from(value: &ISWbemServices) -> Self3838     fn from(value: &ISWbemServices) -> Self {
3839         ::std::convert::From::from(::std::clone::Clone::clone(value))
3840     }
3841 }
3842 #[cfg(feature = "Win32_System_Ole_Automation")]
3843 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemServices {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3844     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3845         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3846     }
3847 }
3848 #[cfg(feature = "Win32_System_Ole_Automation")]
3849 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemServices {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3850     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3851         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3852     }
3853 }
3854 #[repr(C)]
3855 #[doc(hidden)]
3856 pub struct ISWbemServices_abi(
3857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3861     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3862     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3863     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3864     #[cfg(not(feature = "Win32_Foundation"))] usize,
3865     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3866     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3867     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3868     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3869     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3870     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3871     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3872     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3873     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3874     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3875     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3876     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3877     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3878     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3879     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3880     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsuperclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3881     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3882     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strsuperclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3883     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3884     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3885     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3886     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3887     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3888     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
3889     pub  unsafe extern "system" fn(
3890         this: ::windows::runtime::RawPtr,
3891         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3892         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3893         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3894         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3895         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3896         bclassesonly: i16,
3897         bschemaonly: i16,
3898         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3899         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3900         iflags: i32,
3901         objwbemnamedvalueset: ::windows::runtime::RawPtr,
3902         objwbemobjectset: *mut ::windows::runtime::RawPtr,
3903     ) -> ::windows::runtime::HRESULT,
3904     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3905     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
3906     pub  unsafe extern "system" fn(
3907         this: ::windows::runtime::RawPtr,
3908         objwbemsink: ::windows::runtime::RawPtr,
3909         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3910         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3911         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3912         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3913         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3914         bclassesonly: i16,
3915         bschemaonly: i16,
3916         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3917         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3918         iflags: i32,
3919         objwbemnamedvalueset: ::windows::runtime::RawPtr,
3920         objwbemasynccontext: ::windows::runtime::RawPtr,
3921     ) -> ::windows::runtime::HRESULT,
3922     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3923     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
3924     pub  unsafe extern "system" fn(
3925         this: ::windows::runtime::RawPtr,
3926         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3927         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3928         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3929         bclassesonly: i16,
3930         bschemaonly: i16,
3931         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3932         iflags: i32,
3933         objwbemnamedvalueset: ::windows::runtime::RawPtr,
3934         objwbemobjectset: *mut ::windows::runtime::RawPtr,
3935     ) -> ::windows::runtime::HRESULT,
3936     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3937     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
3938     pub  unsafe extern "system" fn(
3939         this: ::windows::runtime::RawPtr,
3940         objwbemsink: ::windows::runtime::RawPtr,
3941         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3942         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3943         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3944         bclassesonly: i16,
3945         bschemaonly: i16,
3946         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
3947         iflags: i32,
3948         objwbemnamedvalueset: ::windows::runtime::RawPtr,
3949         objwbemasynccontext: ::windows::runtime::RawPtr,
3950     ) -> ::windows::runtime::HRESULT,
3951     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3952     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemeventsource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3953     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3954     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3955     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3956     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemoutparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3957     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3958     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
3959     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3960     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
3961     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3962 );
3963 #[repr(transparent)]
3964 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3965 pub struct ISWbemServicesEx(::windows::runtime::IUnknown);
3966 impl ISWbemServicesEx {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3967     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
3968         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3969         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3970     }
3971     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>3972     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
3973         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3974         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
3975     }
3976     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>3977     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
3978         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
3979     }
3980     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>3981     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
3982         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
3983     }
3984     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObject>3985     pub unsafe fn Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObject> {
3986         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3987         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
3988     }
3989     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
GetAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, strobjectpath: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4) -> ::windows::runtime::Result<()>3990     pub unsafe fn GetAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, strobjectpath: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4) -> ::windows::runtime::Result<()> {
3991         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
3992     }
3993     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<()>3994     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strobjectpath: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<()> {
3995         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi()).ok()
3996     }
3997     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
DeleteAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strobjectpath: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4, ) -> ::windows::runtime::Result<()>3998     pub unsafe fn DeleteAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
3999         &self,
4000         objwbemsink: Param0,
4001         strobjectpath: Param1,
4002         iflags: i32,
4003         objwbemnamedvalueset: Param3,
4004         objwbemasynccontext: Param4,
4005     ) -> ::windows::runtime::Result<()> {
4006         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strobjectpath.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4007     }
4008     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
InstancesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet>4009     pub unsafe fn InstancesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet> {
4010         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4011         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
4012     }
4013     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
InstancesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strclass: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4, ) -> ::windows::runtime::Result<()>4014     pub unsafe fn InstancesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
4015         &self,
4016         objwbemsink: Param0,
4017         strclass: Param1,
4018         iflags: i32,
4019         objwbemnamedvalueset: Param3,
4020         objwbemasynccontext: Param4,
4021     ) -> ::windows::runtime::Result<()> {
4022         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4023     }
4024     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
SubclassesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strsuperclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet>4025     pub unsafe fn SubclassesOf<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strsuperclass: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectSet> {
4026         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4027         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), strsuperclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
4028     }
4029     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
SubclassesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strsuperclass: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4, ) -> ::windows::runtime::Result<()>4030     pub unsafe fn SubclassesOfAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
4031         &self,
4032         objwbemsink: Param0,
4033         strsuperclass: Param1,
4034         iflags: i32,
4035         objwbemnamedvalueset: Param3,
4036         objwbemasynccontext: Param4,
4037     ) -> ::windows::runtime::Result<()> {
4038         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strsuperclass.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4039     }
4040     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObjectSet>4041     pub unsafe fn ExecQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemObjectSet> {
4042         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4043         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectSet>(result__)
4044     }
4045     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strquery: Param1, strquerylanguage: Param2, lflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>4046     pub unsafe fn ExecQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
4047         &self,
4048         objwbemsink: Param0,
4049         strquery: Param1,
4050         strquerylanguage: Param2,
4051         lflags: i32,
4052         objwbemnamedvalueset: Param4,
4053         objwbemasynccontext: Param5,
4054     ) -> ::windows::runtime::Result<()> {
4055         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(lflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4056     }
4057     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsOf< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, strobjectpath: Param0, strassocclass: Param1, strresultclass: Param2, strresultrole: Param3, strrole: Param4, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param7, strrequiredqualifier: Param8, iflags: i32, objwbemnamedvalueset: Param10, ) -> ::windows::runtime::Result<ISWbemObjectSet>4058     pub unsafe fn AssociatorsOf<
4059         'a,
4060         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4061         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4062         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4063         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4064         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4065         Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4066         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4067         Param10: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4068     >(
4069         &self,
4070         strobjectpath: Param0,
4071         strassocclass: Param1,
4072         strresultclass: Param2,
4073         strresultrole: Param3,
4074         strrole: Param4,
4075         bclassesonly: i16,
4076         bschemaonly: i16,
4077         strrequiredassocqualifier: Param7,
4078         strrequiredqualifier: Param8,
4079         iflags: i32,
4080         objwbemnamedvalueset: Param10,
4081     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
4082         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4083         (::windows::runtime::Interface::vtable(self).17)(
4084             ::std::mem::transmute_copy(self),
4085             strobjectpath.into_param().abi(),
4086             strassocclass.into_param().abi(),
4087             strresultclass.into_param().abi(),
4088             strresultrole.into_param().abi(),
4089             strrole.into_param().abi(),
4090             ::std::mem::transmute(bclassesonly),
4091             ::std::mem::transmute(bschemaonly),
4092             strrequiredassocqualifier.into_param().abi(),
4093             strrequiredqualifier.into_param().abi(),
4094             ::std::mem::transmute(iflags),
4095             objwbemnamedvalueset.into_param().abi(),
4096             &mut result__,
4097         )
4098         .from_abi::<ISWbemObjectSet>(result__)
4099     }
4100     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
AssociatorsOfAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param9: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param12: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strobjectpath: Param1, strassocclass: Param2, strresultclass: Param3, strresultrole: Param4, strrole: Param5, bclassesonly: i16, bschemaonly: i16, strrequiredassocqualifier: Param8, strrequiredqualifier: Param9, iflags: i32, objwbemnamedvalueset: Param11, objwbemasynccontext: Param12, ) -> ::windows::runtime::Result<()>4101     pub unsafe fn AssociatorsOfAsync<
4102         'a,
4103         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4104         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4105         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4106         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4107         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4108         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4109         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4110         Param9: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4111         Param11: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4112         Param12: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4113     >(
4114         &self,
4115         objwbemsink: Param0,
4116         strobjectpath: Param1,
4117         strassocclass: Param2,
4118         strresultclass: Param3,
4119         strresultrole: Param4,
4120         strrole: Param5,
4121         bclassesonly: i16,
4122         bschemaonly: i16,
4123         strrequiredassocqualifier: Param8,
4124         strrequiredqualifier: Param9,
4125         iflags: i32,
4126         objwbemnamedvalueset: Param11,
4127         objwbemasynccontext: Param12,
4128     ) -> ::windows::runtime::Result<()> {
4129         (::windows::runtime::Interface::vtable(self).18)(
4130             ::std::mem::transmute_copy(self),
4131             objwbemsink.into_param().abi(),
4132             strobjectpath.into_param().abi(),
4133             strassocclass.into_param().abi(),
4134             strresultclass.into_param().abi(),
4135             strresultrole.into_param().abi(),
4136             strrole.into_param().abi(),
4137             ::std::mem::transmute(bclassesonly),
4138             ::std::mem::transmute(bschemaonly),
4139             strrequiredassocqualifier.into_param().abi(),
4140             strrequiredqualifier.into_param().abi(),
4141             ::std::mem::transmute(iflags),
4142             objwbemnamedvalueset.into_param().abi(),
4143             objwbemasynccontext.into_param().abi(),
4144         )
4145         .ok()
4146     }
4147     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strobjectpath: Param0, strresultclass: Param1, strrole: Param2, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param5, iflags: i32, objwbemnamedvalueset: Param7, ) -> ::windows::runtime::Result<ISWbemObjectSet>4148     pub unsafe fn ReferencesTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
4149         &self,
4150         strobjectpath: Param0,
4151         strresultclass: Param1,
4152         strrole: Param2,
4153         bclassesonly: i16,
4154         bschemaonly: i16,
4155         strrequiredqualifier: Param5,
4156         iflags: i32,
4157         objwbemnamedvalueset: Param7,
4158     ) -> ::windows::runtime::Result<ISWbemObjectSet> {
4159         let mut result__: <ISWbemObjectSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4160         (::windows::runtime::Interface::vtable(self).19)(
4161             ::std::mem::transmute_copy(self),
4162             strobjectpath.into_param().abi(),
4163             strresultclass.into_param().abi(),
4164             strrole.into_param().abi(),
4165             ::std::mem::transmute(bclassesonly),
4166             ::std::mem::transmute(bschemaonly),
4167             strrequiredqualifier.into_param().abi(),
4168             ::std::mem::transmute(iflags),
4169             objwbemnamedvalueset.into_param().abi(),
4170             &mut result__,
4171         )
4172         .from_abi::<ISWbemObjectSet>(result__)
4173     }
4174     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ReferencesToAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strobjectpath: Param1, strresultclass: Param2, strrole: Param3, bclassesonly: i16, bschemaonly: i16, strrequiredqualifier: Param6, iflags: i32, objwbemnamedvalueset: Param8, objwbemasynccontext: Param9, ) -> ::windows::runtime::Result<()>4175     pub unsafe fn ReferencesToAsync<
4176         'a,
4177         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4178         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4179         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4180         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4181         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4182         Param8: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4183         Param9: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4184     >(
4185         &self,
4186         objwbemsink: Param0,
4187         strobjectpath: Param1,
4188         strresultclass: Param2,
4189         strrole: Param3,
4190         bclassesonly: i16,
4191         bschemaonly: i16,
4192         strrequiredqualifier: Param6,
4193         iflags: i32,
4194         objwbemnamedvalueset: Param8,
4195         objwbemasynccontext: Param9,
4196     ) -> ::windows::runtime::Result<()> {
4197         (::windows::runtime::Interface::vtable(self).20)(
4198             ::std::mem::transmute_copy(self),
4199             objwbemsink.into_param().abi(),
4200             strobjectpath.into_param().abi(),
4201             strresultclass.into_param().abi(),
4202             strrole.into_param().abi(),
4203             ::std::mem::transmute(bclassesonly),
4204             ::std::mem::transmute(bschemaonly),
4205             strrequiredqualifier.into_param().abi(),
4206             ::std::mem::transmute(iflags),
4207             objwbemnamedvalueset.into_param().abi(),
4208             objwbemasynccontext.into_param().abi(),
4209         )
4210         .ok()
4211     }
4212     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecNotificationQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemEventSource>4213     pub unsafe fn ExecNotificationQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, strquery: Param0, strquerylanguage: Param1, iflags: i32, objwbemnamedvalueset: Param3) -> ::windows::runtime::Result<ISWbemEventSource> {
4214         let mut result__: <ISWbemEventSource as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4215         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemEventSource>(result__)
4216     }
4217     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecNotificationQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, objwbemsink: Param0, strquery: Param1, strquerylanguage: Param2, iflags: i32, objwbemnamedvalueset: Param4, objwbemasynccontext: Param5, ) -> ::windows::runtime::Result<()>4218     pub unsafe fn ExecNotificationQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
4219         &self,
4220         objwbemsink: Param0,
4221         strquery: Param1,
4222         strquerylanguage: Param2,
4223         iflags: i32,
4224         objwbemnamedvalueset: Param4,
4225         objwbemasynccontext: Param5,
4226     ) -> ::windows::runtime::Result<()> {
4227         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strquery.into_param().abi(), strquerylanguage.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4228     }
4229     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>( &self, strobjectpath: Param0, strmethodname: Param1, objwbeminparameters: Param2, iflags: i32, objwbemnamedvalueset: Param4, ) -> ::windows::runtime::Result<ISWbemObject>4230     pub unsafe fn ExecMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(
4231         &self,
4232         strobjectpath: Param0,
4233         strmethodname: Param1,
4234         objwbeminparameters: Param2,
4235         iflags: i32,
4236         objwbemnamedvalueset: Param4,
4237     ) -> ::windows::runtime::Result<ISWbemObject> {
4238         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4239         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObject>(result__)
4240     }
4241     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
ExecMethodAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, >( &self, objwbemsink: Param0, strobjectpath: Param1, strmethodname: Param2, objwbeminparameters: Param3, iflags: i32, objwbemnamedvalueset: Param5, objwbemasynccontext: Param6, ) -> ::windows::runtime::Result<()>4242     pub unsafe fn ExecMethodAsync<
4243         'a,
4244         Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4245         Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4246         Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
4247         Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4248         Param5: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4249         Param6: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>,
4250     >(
4251         &self,
4252         objwbemsink: Param0,
4253         strobjectpath: Param1,
4254         strmethodname: Param2,
4255         objwbeminparameters: Param3,
4256         iflags: i32,
4257         objwbemnamedvalueset: Param5,
4258         objwbemasynccontext: Param6,
4259     ) -> ::windows::runtime::Result<()> {
4260         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), objwbeminparameters.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4261     }
Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity>4262     pub unsafe fn Security_(&self) -> ::windows::runtime::Result<ISWbemSecurity> {
4263         let mut result__: <ISWbemSecurity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4264         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemSecurity>(result__)
4265     }
4266     #[cfg(feature = "Win32_System_Ole_Automation")]
Put<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemObjectEx>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectPath>4267     pub unsafe fn Put<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemObjectEx>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemobject: Param0, iflags: i32, objwbemnamedvalueset: Param2) -> ::windows::runtime::Result<ISWbemObjectPath> {
4268         let mut result__: <ISWbemObjectPath as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4269         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), objwbemobject.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), &mut result__).from_abi::<ISWbemObjectPath>(result__)
4270     }
4271     #[cfg(feature = "Win32_System_Ole_Automation")]
PutAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemSink>, Param1: ::windows::runtime::IntoParam<'a, ISWbemObjectEx>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, objwbemobject: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4) -> ::windows::runtime::Result<()>4272     pub unsafe fn PutAsync<'a, Param0: ::windows::runtime::IntoParam<'a, ISWbemSink>, Param1: ::windows::runtime::IntoParam<'a, ISWbemObjectEx>, Param3: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param4: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, objwbemsink: Param0, objwbemobject: Param1, iflags: i32, objwbemnamedvalueset: Param3, objwbemasynccontext: Param4) -> ::windows::runtime::Result<()> {
4273         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), objwbemsink.into_param().abi(), objwbemobject.into_param().abi(), ::std::mem::transmute(iflags), objwbemnamedvalueset.into_param().abi(), objwbemasynccontext.into_param().abi()).ok()
4274     }
4275 }
4276 unsafe impl ::windows::runtime::Interface for ISWbemServicesEx {
4277     type Vtable = ISWbemServicesEx_abi;
4278     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3539371075, 34268, 17022, [145, 216, 54, 101, 84, 204, 117, 76]);
4279 }
4280 impl ::std::convert::From<ISWbemServicesEx> for ::windows::runtime::IUnknown {
from(value: ISWbemServicesEx) -> Self4281     fn from(value: ISWbemServicesEx) -> Self {
4282         unsafe { ::std::mem::transmute(value) }
4283     }
4284 }
4285 impl ::std::convert::From<&ISWbemServicesEx> for ::windows::runtime::IUnknown {
from(value: &ISWbemServicesEx) -> Self4286     fn from(value: &ISWbemServicesEx) -> Self {
4287         ::std::convert::From::from(::std::clone::Clone::clone(value))
4288     }
4289 }
4290 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemServicesEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4291     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4292         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4293     }
4294 }
4295 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemServicesEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4296     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4297         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4298     }
4299 }
4300 impl ::std::convert::From<ISWbemServicesEx> for ISWbemServices {
from(value: ISWbemServicesEx) -> Self4301     fn from(value: ISWbemServicesEx) -> Self {
4302         unsafe { ::std::mem::transmute(value) }
4303     }
4304 }
4305 impl ::std::convert::From<&ISWbemServicesEx> for ISWbemServices {
from(value: &ISWbemServicesEx) -> Self4306     fn from(value: &ISWbemServicesEx) -> Self {
4307         ::std::convert::From::from(::std::clone::Clone::clone(value))
4308     }
4309 }
4310 impl<'a> ::windows::runtime::IntoParam<'a, ISWbemServices> for ISWbemServicesEx {
into_param(self) -> ::windows::runtime::Param<'a, ISWbemServices>4311     fn into_param(self) -> ::windows::runtime::Param<'a, ISWbemServices> {
4312         ::windows::runtime::Param::Owned(::std::convert::Into::<ISWbemServices>::into(self))
4313     }
4314 }
4315 impl<'a> ::windows::runtime::IntoParam<'a, ISWbemServices> for &ISWbemServicesEx {
into_param(self) -> ::windows::runtime::Param<'a, ISWbemServices>4316     fn into_param(self) -> ::windows::runtime::Param<'a, ISWbemServices> {
4317         ::windows::runtime::Param::Owned(::std::convert::Into::<ISWbemServices>::into(::std::clone::Clone::clone(self)))
4318     }
4319 }
4320 #[cfg(feature = "Win32_System_Ole_Automation")]
4321 impl ::std::convert::From<ISWbemServicesEx> for super::Ole::Automation::IDispatch {
from(value: ISWbemServicesEx) -> Self4322     fn from(value: ISWbemServicesEx) -> Self {
4323         unsafe { ::std::mem::transmute(value) }
4324     }
4325 }
4326 #[cfg(feature = "Win32_System_Ole_Automation")]
4327 impl ::std::convert::From<&ISWbemServicesEx> for super::Ole::Automation::IDispatch {
from(value: &ISWbemServicesEx) -> Self4328     fn from(value: &ISWbemServicesEx) -> Self {
4329         ::std::convert::From::from(::std::clone::Clone::clone(value))
4330     }
4331 }
4332 #[cfg(feature = "Win32_System_Ole_Automation")]
4333 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemServicesEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4334     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4335         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4336     }
4337 }
4338 #[cfg(feature = "Win32_System_Ole_Automation")]
4339 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemServicesEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4340     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4341         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4342     }
4343 }
4344 #[repr(C)]
4345 #[doc(hidden)]
4346 pub struct ISWbemServicesEx_abi(
4347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4351     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4352     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4353     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4354     #[cfg(not(feature = "Win32_Foundation"))] usize,
4355     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4356     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4357     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4358     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4359     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4360     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4361     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4362     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4363     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4364     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4365     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4366     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4367     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4368     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4369     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4370     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsuperclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4371     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4372     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strsuperclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4373     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4374     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4375     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4376     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4377     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4378     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
4379     pub  unsafe extern "system" fn(
4380         this: ::windows::runtime::RawPtr,
4381         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4382         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4383         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4384         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4385         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4386         bclassesonly: i16,
4387         bschemaonly: i16,
4388         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4389         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4390         iflags: i32,
4391         objwbemnamedvalueset: ::windows::runtime::RawPtr,
4392         objwbemobjectset: *mut ::windows::runtime::RawPtr,
4393     ) -> ::windows::runtime::HRESULT,
4394     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4395     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
4396     pub  unsafe extern "system" fn(
4397         this: ::windows::runtime::RawPtr,
4398         objwbemsink: ::windows::runtime::RawPtr,
4399         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4400         strassocclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4401         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4402         strresultrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4403         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4404         bclassesonly: i16,
4405         bschemaonly: i16,
4406         strrequiredassocqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4407         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4408         iflags: i32,
4409         objwbemnamedvalueset: ::windows::runtime::RawPtr,
4410         objwbemasynccontext: ::windows::runtime::RawPtr,
4411     ) -> ::windows::runtime::HRESULT,
4412     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4413     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
4414     pub  unsafe extern "system" fn(
4415         this: ::windows::runtime::RawPtr,
4416         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4417         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4418         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4419         bclassesonly: i16,
4420         bschemaonly: i16,
4421         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4422         iflags: i32,
4423         objwbemnamedvalueset: ::windows::runtime::RawPtr,
4424         objwbemobjectset: *mut ::windows::runtime::RawPtr,
4425     ) -> ::windows::runtime::HRESULT,
4426     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4427     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
4428     pub  unsafe extern "system" fn(
4429         this: ::windows::runtime::RawPtr,
4430         objwbemsink: ::windows::runtime::RawPtr,
4431         strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4432         strresultclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4433         strrole: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4434         bclassesonly: i16,
4435         bschemaonly: i16,
4436         strrequiredqualifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
4437         iflags: i32,
4438         objwbemnamedvalueset: ::windows::runtime::RawPtr,
4439         objwbemasynccontext: ::windows::runtime::RawPtr,
4440     ) -> ::windows::runtime::HRESULT,
4441     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4442     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemeventsource: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4443     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4444     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4445     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4446     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemoutparameters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4447     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4448     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
4449     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, objwbeminparameters: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4450     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
4451     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsecurity: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4452     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemobject: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemobjectpath: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4453     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4454     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwbemsink: ::windows::runtime::RawPtr, objwbemobject: ::windows::runtime::RawPtr, iflags: i32, objwbemnamedvalueset: ::windows::runtime::RawPtr, objwbemasynccontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4455     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4456 );
4457 #[repr(transparent)]
4458 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4459 pub struct ISWbemSink(::windows::runtime::IUnknown);
4460 impl ISWbemSink {
Cancel(&self) -> ::windows::runtime::Result<()>4461     pub unsafe fn Cancel(&self) -> ::windows::runtime::Result<()> {
4462         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
4463     }
4464 }
4465 unsafe impl ::windows::runtime::Interface for ISWbemSink {
4466     type Vtable = ISWbemSink_abi;
4467     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1970375839, 61481, 4561, [161, 172, 0, 192, 79, 182, 194, 35]);
4468 }
4469 impl ::std::convert::From<ISWbemSink> for ::windows::runtime::IUnknown {
from(value: ISWbemSink) -> Self4470     fn from(value: ISWbemSink) -> Self {
4471         unsafe { ::std::mem::transmute(value) }
4472     }
4473 }
4474 impl ::std::convert::From<&ISWbemSink> for ::windows::runtime::IUnknown {
from(value: &ISWbemSink) -> Self4475     fn from(value: &ISWbemSink) -> Self {
4476         ::std::convert::From::from(::std::clone::Clone::clone(value))
4477     }
4478 }
4479 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4480     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4481         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4482     }
4483 }
4484 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4485     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4486         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4487     }
4488 }
4489 #[cfg(feature = "Win32_System_Ole_Automation")]
4490 impl ::std::convert::From<ISWbemSink> for super::Ole::Automation::IDispatch {
from(value: ISWbemSink) -> Self4491     fn from(value: ISWbemSink) -> Self {
4492         unsafe { ::std::mem::transmute(value) }
4493     }
4494 }
4495 #[cfg(feature = "Win32_System_Ole_Automation")]
4496 impl ::std::convert::From<&ISWbemSink> for super::Ole::Automation::IDispatch {
from(value: &ISWbemSink) -> Self4497     fn from(value: &ISWbemSink) -> Self {
4498         ::std::convert::From::from(::std::clone::Clone::clone(value))
4499     }
4500 }
4501 #[cfg(feature = "Win32_System_Ole_Automation")]
4502 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemSink {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4503     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4504         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4505     }
4506 }
4507 #[cfg(feature = "Win32_System_Ole_Automation")]
4508 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemSink {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4509     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4510         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4511     }
4512 }
4513 #[repr(C)]
4514 #[doc(hidden)]
4515 pub struct ISWbemSink_abi(
4516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4520     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4521     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4522     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4523     #[cfg(not(feature = "Win32_Foundation"))] usize,
4524     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4525     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4526     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4528 );
4529 #[repr(transparent)]
4530 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4531 pub struct ISWbemSinkEvents(::windows::runtime::IUnknown);
4532 impl ISWbemSinkEvents {}
4533 unsafe impl ::windows::runtime::Interface for ISWbemSinkEvents {
4534     type Vtable = ISWbemSinkEvents_abi;
4535     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1970375840, 61481, 4561, [161, 172, 0, 192, 79, 182, 194, 35]);
4536 }
4537 impl ::std::convert::From<ISWbemSinkEvents> for ::windows::runtime::IUnknown {
from(value: ISWbemSinkEvents) -> Self4538     fn from(value: ISWbemSinkEvents) -> Self {
4539         unsafe { ::std::mem::transmute(value) }
4540     }
4541 }
4542 impl ::std::convert::From<&ISWbemSinkEvents> for ::windows::runtime::IUnknown {
from(value: &ISWbemSinkEvents) -> Self4543     fn from(value: &ISWbemSinkEvents) -> Self {
4544         ::std::convert::From::from(::std::clone::Clone::clone(value))
4545     }
4546 }
4547 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISWbemSinkEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4548     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4549         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4550     }
4551 }
4552 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISWbemSinkEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4553     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4554         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4555     }
4556 }
4557 #[cfg(feature = "Win32_System_Ole_Automation")]
4558 impl ::std::convert::From<ISWbemSinkEvents> for super::Ole::Automation::IDispatch {
from(value: ISWbemSinkEvents) -> Self4559     fn from(value: ISWbemSinkEvents) -> Self {
4560         unsafe { ::std::mem::transmute(value) }
4561     }
4562 }
4563 #[cfg(feature = "Win32_System_Ole_Automation")]
4564 impl ::std::convert::From<&ISWbemSinkEvents> for super::Ole::Automation::IDispatch {
from(value: &ISWbemSinkEvents) -> Self4565     fn from(value: &ISWbemSinkEvents) -> Self {
4566         ::std::convert::From::from(::std::clone::Clone::clone(value))
4567     }
4568 }
4569 #[cfg(feature = "Win32_System_Ole_Automation")]
4570 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISWbemSinkEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4571     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4572         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4573     }
4574 }
4575 #[cfg(feature = "Win32_System_Ole_Automation")]
4576 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISWbemSinkEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4577     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4578         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4579     }
4580 }
4581 #[repr(C)]
4582 #[doc(hidden)]
4583 pub struct ISWbemSinkEvents_abi(
4584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4587     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4588     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4589     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4590     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4591     #[cfg(not(feature = "Win32_Foundation"))] usize,
4592     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4593     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4594     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4595 );
4596 #[repr(transparent)]
4597 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4598 pub struct IUnsecuredApartment(::windows::runtime::IUnknown);
4599 impl IUnsecuredApartment {
CreateObjectStub<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pobject: Param0) -> ::windows::runtime::Result<::windows::runtime::IUnknown>4600     pub unsafe fn CreateObjectStub<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pobject: Param0) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
4601         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4602         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pobject.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
4603     }
4604 }
4605 unsafe impl ::windows::runtime::Interface for IUnsecuredApartment {
4606     type Vtable = IUnsecuredApartment_abi;
4607     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(486193804, 5411, 4561, [173, 121, 0, 192, 79, 216, 253, 255]);
4608 }
4609 impl ::std::convert::From<IUnsecuredApartment> for ::windows::runtime::IUnknown {
from(value: IUnsecuredApartment) -> Self4610     fn from(value: IUnsecuredApartment) -> Self {
4611         unsafe { ::std::mem::transmute(value) }
4612     }
4613 }
4614 impl ::std::convert::From<&IUnsecuredApartment> for ::windows::runtime::IUnknown {
from(value: &IUnsecuredApartment) -> Self4615     fn from(value: &IUnsecuredApartment) -> Self {
4616         ::std::convert::From::from(::std::clone::Clone::clone(value))
4617     }
4618 }
4619 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IUnsecuredApartment {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4620     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4621         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4622     }
4623 }
4624 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IUnsecuredApartment {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4625     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4626         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4627     }
4628 }
4629 #[repr(C)]
4630 #[doc(hidden)]
4631 pub struct IUnsecuredApartment_abi(
4632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4633     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pobject: ::windows::runtime::RawPtr, ppstub: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4636 );
4637 #[repr(transparent)]
4638 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4639 pub struct IWMIExtension(::windows::runtime::IUnknown);
4640 impl IWMIExtension {
4641     #[cfg(feature = "Win32_Foundation")]
WMIObjectPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4642     pub unsafe fn WMIObjectPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4643         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4644         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4645     }
GetWMIObject(&self) -> ::windows::runtime::Result<ISWbemObject>4646     pub unsafe fn GetWMIObject(&self) -> ::windows::runtime::Result<ISWbemObject> {
4647         let mut result__: <ISWbemObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4648         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemObject>(result__)
4649     }
GetWMIServices(&self) -> ::windows::runtime::Result<ISWbemServices>4650     pub unsafe fn GetWMIServices(&self) -> ::windows::runtime::Result<ISWbemServices> {
4651         let mut result__: <ISWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4652         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISWbemServices>(result__)
4653     }
4654 }
4655 unsafe impl ::windows::runtime::Interface for IWMIExtension {
4656     type Vtable = IWMIExtension_abi;
4657     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2915168366, 23678, 4562, [139, 116, 0, 16, 75, 42, 251, 65]);
4658 }
4659 impl ::std::convert::From<IWMIExtension> for ::windows::runtime::IUnknown {
from(value: IWMIExtension) -> Self4660     fn from(value: IWMIExtension) -> Self {
4661         unsafe { ::std::mem::transmute(value) }
4662     }
4663 }
4664 impl ::std::convert::From<&IWMIExtension> for ::windows::runtime::IUnknown {
from(value: &IWMIExtension) -> Self4665     fn from(value: &IWMIExtension) -> Self {
4666         ::std::convert::From::from(::std::clone::Clone::clone(value))
4667     }
4668 }
4669 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMIExtension {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4670     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4671         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4672     }
4673 }
4674 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMIExtension {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4675     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4676         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4677     }
4678 }
4679 #[cfg(feature = "Win32_System_Ole_Automation")]
4680 impl ::std::convert::From<IWMIExtension> for super::Ole::Automation::IDispatch {
from(value: IWMIExtension) -> Self4681     fn from(value: IWMIExtension) -> Self {
4682         unsafe { ::std::mem::transmute(value) }
4683     }
4684 }
4685 #[cfg(feature = "Win32_System_Ole_Automation")]
4686 impl ::std::convert::From<&IWMIExtension> for super::Ole::Automation::IDispatch {
from(value: &IWMIExtension) -> Self4687     fn from(value: &IWMIExtension) -> Self {
4688         ::std::convert::From::from(::std::clone::Clone::clone(value))
4689     }
4690 }
4691 #[cfg(feature = "Win32_System_Ole_Automation")]
4692 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWMIExtension {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4693     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4694         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4695     }
4696 }
4697 #[cfg(feature = "Win32_System_Ole_Automation")]
4698 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWMIExtension {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4699     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4700         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4701     }
4702 }
4703 #[repr(C)]
4704 #[doc(hidden)]
4705 pub struct IWMIExtension_abi(
4706     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4707     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4710     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4711     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4712     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4713     #[cfg(not(feature = "Win32_Foundation"))] usize,
4714     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4715     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4716     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4717     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strwmiobjectpath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4718     #[cfg(not(feature = "Win32_Foundation"))] usize,
4719     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwmiobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4720     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objwmiservices: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4721 );
4722 #[repr(transparent)]
4723 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4724 pub struct IWbemAddressResolution(::windows::runtime::IUnknown);
4725 impl IWbemAddressResolution {
4726     #[cfg(feature = "Win32_Foundation")]
Resolve<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wsznamespacepath: Param0, wszaddresstype: super::super::Foundation::PWSTR, pdwaddresslength: *mut u32, pabbinaryaddress: *mut *mut u8) -> ::windows::runtime::Result<()>4727     pub unsafe fn Resolve<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wsznamespacepath: Param0, wszaddresstype: super::super::Foundation::PWSTR, pdwaddresslength: *mut u32, pabbinaryaddress: *mut *mut u8) -> ::windows::runtime::Result<()> {
4728         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wsznamespacepath.into_param().abi(), ::std::mem::transmute(wszaddresstype), ::std::mem::transmute(pdwaddresslength), ::std::mem::transmute(pabbinaryaddress)).ok()
4729     }
4730 }
4731 unsafe impl ::windows::runtime::Interface for IWbemAddressResolution {
4732     type Vtable = IWbemAddressResolution_abi;
4733     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4157484562, 35984, 4561, [158, 123, 0, 192, 79, 195, 36, 168]);
4734 }
4735 impl ::std::convert::From<IWbemAddressResolution> for ::windows::runtime::IUnknown {
from(value: IWbemAddressResolution) -> Self4736     fn from(value: IWbemAddressResolution) -> Self {
4737         unsafe { ::std::mem::transmute(value) }
4738     }
4739 }
4740 impl ::std::convert::From<&IWbemAddressResolution> for ::windows::runtime::IUnknown {
from(value: &IWbemAddressResolution) -> Self4741     fn from(value: &IWbemAddressResolution) -> Self {
4742         ::std::convert::From::from(::std::clone::Clone::clone(value))
4743     }
4744 }
4745 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemAddressResolution {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4746     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4747         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4748     }
4749 }
4750 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemAddressResolution {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4751     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4752         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4753     }
4754 }
4755 #[repr(C)]
4756 #[doc(hidden)]
4757 pub struct IWbemAddressResolution_abi(
4758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4761     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wsznamespacepath: super::super::Foundation::PWSTR, wszaddresstype: super::super::Foundation::PWSTR, pdwaddresslength: *mut u32, pabbinaryaddress: *mut *mut u8) -> ::windows::runtime::HRESULT,
4762     #[cfg(not(feature = "Win32_Foundation"))] usize,
4763 );
4764 #[repr(transparent)]
4765 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4766 pub struct IWbemBackupRestore(::windows::runtime::IUnknown);
4767 impl IWbemBackupRestore {
4768     #[cfg(feature = "Win32_Foundation")]
Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strbackuptofile: Param0, lflags: i32) -> ::windows::runtime::Result<()>4769     pub unsafe fn Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strbackuptofile: Param0, lflags: i32) -> ::windows::runtime::Result<()> {
4770         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), strbackuptofile.into_param().abi(), ::std::mem::transmute(lflags)).ok()
4771     }
4772     #[cfg(feature = "Win32_Foundation")]
Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strrestorefromfile: Param0, lflags: i32) -> ::windows::runtime::Result<()>4773     pub unsafe fn Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strrestorefromfile: Param0, lflags: i32) -> ::windows::runtime::Result<()> {
4774         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), strrestorefromfile.into_param().abi(), ::std::mem::transmute(lflags)).ok()
4775     }
4776 }
4777 unsafe impl ::windows::runtime::Interface for IWbemBackupRestore {
4778     type Vtable = IWbemBackupRestore_abi;
4779     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3298702023, 48267, 4562, [133, 212, 0, 16, 90, 31, 131, 4]);
4780 }
4781 impl ::std::convert::From<IWbemBackupRestore> for ::windows::runtime::IUnknown {
from(value: IWbemBackupRestore) -> Self4782     fn from(value: IWbemBackupRestore) -> Self {
4783         unsafe { ::std::mem::transmute(value) }
4784     }
4785 }
4786 impl ::std::convert::From<&IWbemBackupRestore> for ::windows::runtime::IUnknown {
from(value: &IWbemBackupRestore) -> Self4787     fn from(value: &IWbemBackupRestore) -> Self {
4788         ::std::convert::From::from(::std::clone::Clone::clone(value))
4789     }
4790 }
4791 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemBackupRestore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4792     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4793         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4794     }
4795 }
4796 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemBackupRestore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4797     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4798         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4799     }
4800 }
4801 #[repr(C)]
4802 #[doc(hidden)]
4803 pub struct IWbemBackupRestore_abi(
4804     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4805     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4806     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4807     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strbackuptofile: super::super::Foundation::PWSTR, lflags: i32) -> ::windows::runtime::HRESULT,
4808     #[cfg(not(feature = "Win32_Foundation"))] usize,
4809     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strrestorefromfile: super::super::Foundation::PWSTR, lflags: i32) -> ::windows::runtime::HRESULT,
4810     #[cfg(not(feature = "Win32_Foundation"))] usize,
4811 );
4812 #[repr(transparent)]
4813 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4814 pub struct IWbemBackupRestoreEx(::windows::runtime::IUnknown);
4815 impl IWbemBackupRestoreEx {
4816     #[cfg(feature = "Win32_Foundation")]
Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strbackuptofile: Param0, lflags: i32) -> ::windows::runtime::Result<()>4817     pub unsafe fn Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strbackuptofile: Param0, lflags: i32) -> ::windows::runtime::Result<()> {
4818         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), strbackuptofile.into_param().abi(), ::std::mem::transmute(lflags)).ok()
4819     }
4820     #[cfg(feature = "Win32_Foundation")]
Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strrestorefromfile: Param0, lflags: i32) -> ::windows::runtime::Result<()>4821     pub unsafe fn Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strrestorefromfile: Param0, lflags: i32) -> ::windows::runtime::Result<()> {
4822         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), strrestorefromfile.into_param().abi(), ::std::mem::transmute(lflags)).ok()
4823     }
Pause(&self) -> ::windows::runtime::Result<()>4824     pub unsafe fn Pause(&self) -> ::windows::runtime::Result<()> {
4825         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
4826     }
Resume(&self) -> ::windows::runtime::Result<()>4827     pub unsafe fn Resume(&self) -> ::windows::runtime::Result<()> {
4828         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
4829     }
4830 }
4831 unsafe impl ::windows::runtime::Interface for IWbemBackupRestoreEx {
4832     type Vtable = IWbemBackupRestoreEx_abi;
4833     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2740575941, 59411, 18484, [138, 42, 186, 127, 29, 119, 125, 118]);
4834 }
4835 impl ::std::convert::From<IWbemBackupRestoreEx> for ::windows::runtime::IUnknown {
from(value: IWbemBackupRestoreEx) -> Self4836     fn from(value: IWbemBackupRestoreEx) -> Self {
4837         unsafe { ::std::mem::transmute(value) }
4838     }
4839 }
4840 impl ::std::convert::From<&IWbemBackupRestoreEx> for ::windows::runtime::IUnknown {
from(value: &IWbemBackupRestoreEx) -> Self4841     fn from(value: &IWbemBackupRestoreEx) -> Self {
4842         ::std::convert::From::from(::std::clone::Clone::clone(value))
4843     }
4844 }
4845 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemBackupRestoreEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4846     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4847         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4848     }
4849 }
4850 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemBackupRestoreEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4851     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4852         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4853     }
4854 }
4855 impl ::std::convert::From<IWbemBackupRestoreEx> for IWbemBackupRestore {
from(value: IWbemBackupRestoreEx) -> Self4856     fn from(value: IWbemBackupRestoreEx) -> Self {
4857         unsafe { ::std::mem::transmute(value) }
4858     }
4859 }
4860 impl ::std::convert::From<&IWbemBackupRestoreEx> for IWbemBackupRestore {
from(value: &IWbemBackupRestoreEx) -> Self4861     fn from(value: &IWbemBackupRestoreEx) -> Self {
4862         ::std::convert::From::from(::std::clone::Clone::clone(value))
4863     }
4864 }
4865 impl<'a> ::windows::runtime::IntoParam<'a, IWbemBackupRestore> for IWbemBackupRestoreEx {
into_param(self) -> ::windows::runtime::Param<'a, IWbemBackupRestore>4866     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemBackupRestore> {
4867         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemBackupRestore>::into(self))
4868     }
4869 }
4870 impl<'a> ::windows::runtime::IntoParam<'a, IWbemBackupRestore> for &IWbemBackupRestoreEx {
into_param(self) -> ::windows::runtime::Param<'a, IWbemBackupRestore>4871     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemBackupRestore> {
4872         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemBackupRestore>::into(::std::clone::Clone::clone(self)))
4873     }
4874 }
4875 #[repr(C)]
4876 #[doc(hidden)]
4877 pub struct IWbemBackupRestoreEx_abi(
4878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4881     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strbackuptofile: super::super::Foundation::PWSTR, lflags: i32) -> ::windows::runtime::HRESULT,
4882     #[cfg(not(feature = "Win32_Foundation"))] usize,
4883     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strrestorefromfile: super::super::Foundation::PWSTR, lflags: i32) -> ::windows::runtime::HRESULT,
4884     #[cfg(not(feature = "Win32_Foundation"))] usize,
4885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4887 );
4888 #[repr(transparent)]
4889 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4890 pub struct IWbemCallResult(::windows::runtime::IUnknown);
4891 impl IWbemCallResult {
GetResultObject(&self, ltimeout: i32) -> ::windows::runtime::Result<IWbemClassObject>4892     pub unsafe fn GetResultObject(&self, ltimeout: i32) -> ::windows::runtime::Result<IWbemClassObject> {
4893         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4894         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltimeout), &mut result__).from_abi::<IWbemClassObject>(result__)
4895     }
4896     #[cfg(feature = "Win32_Foundation")]
GetResultString(&self, ltimeout: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4897     pub unsafe fn GetResultString(&self, ltimeout: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4898         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4899         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltimeout), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4900     }
GetResultServices(&self, ltimeout: i32) -> ::windows::runtime::Result<IWbemServices>4901     pub unsafe fn GetResultServices(&self, ltimeout: i32) -> ::windows::runtime::Result<IWbemServices> {
4902         let mut result__: <IWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4903         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltimeout), &mut result__).from_abi::<IWbemServices>(result__)
4904     }
GetCallStatus(&self, ltimeout: i32) -> ::windows::runtime::Result<i32>4905     pub unsafe fn GetCallStatus(&self, ltimeout: i32) -> ::windows::runtime::Result<i32> {
4906         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4907         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ltimeout), &mut result__).from_abi::<i32>(result__)
4908     }
4909 }
4910 unsafe impl ::windows::runtime::Interface for IWbemCallResult {
4911     type Vtable = IWbemCallResult_abi;
4912     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1152165493, 59644, 4560, [160, 124, 0, 192, 79, 182, 136, 32]);
4913 }
4914 impl ::std::convert::From<IWbemCallResult> for ::windows::runtime::IUnknown {
from(value: IWbemCallResult) -> Self4915     fn from(value: IWbemCallResult) -> Self {
4916         unsafe { ::std::mem::transmute(value) }
4917     }
4918 }
4919 impl ::std::convert::From<&IWbemCallResult> for ::windows::runtime::IUnknown {
from(value: &IWbemCallResult) -> Self4920     fn from(value: &IWbemCallResult) -> Self {
4921         ::std::convert::From::from(::std::clone::Clone::clone(value))
4922     }
4923 }
4924 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemCallResult {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4925     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4926         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4927     }
4928 }
4929 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemCallResult {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4930     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4931         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4932     }
4933 }
4934 #[repr(C)]
4935 #[doc(hidden)]
4936 pub struct IWbemCallResult_abi(
4937     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4938     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4939     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4940     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltimeout: i32, ppresultobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4941     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltimeout: i32, pstrresultstring: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4942     #[cfg(not(feature = "Win32_Foundation"))] usize,
4943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltimeout: i32, ppservices: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ltimeout: i32, plstatus: *mut i32) -> ::windows::runtime::HRESULT,
4945 );
4946 #[repr(transparent)]
4947 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4948 pub struct IWbemClassObject(::windows::runtime::IUnknown);
4949 impl IWbemClassObject {
GetQualifierSet(&self) -> ::windows::runtime::Result<IWbemQualifierSet>4950     pub unsafe fn GetQualifierSet(&self) -> ::windows::runtime::Result<IWbemQualifierSet> {
4951         let mut result__: <IWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4952         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWbemQualifierSet>(result__)
4953     }
4954     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()>4955     pub unsafe fn Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()> {
4956         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pval), ::std::mem::transmute(ptype), ::std::mem::transmute(plflavor)).ok()
4957     }
4958     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *const super::Com::VARIANT, r#type: i32) -> ::windows::runtime::Result<()>4959     pub unsafe fn Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *const super::Com::VARIANT, r#type: i32) -> ::windows::runtime::Result<()> {
4960         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pval), ::std::mem::transmute(r#type)).ok()
4961     }
4962     #[cfg(feature = "Win32_Foundation")]
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()>4963     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()> {
4964         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), wszname.into_param().abi()).ok()
4965     }
4966     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszqualifiername: Param0, lflags: i32, pqualifierval: *const super::Com::VARIANT) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>4967     pub unsafe fn GetNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszqualifiername: Param0, lflags: i32, pqualifierval: *const super::Com::VARIANT) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
4968         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4969         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), wszqualifiername.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pqualifierval), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
4970     }
BeginEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()>4971     pub unsafe fn BeginEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()> {
4972         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lenumflags)).ok()
4973     }
4974     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Next(&self, lflags: i32, strname: *mut super::super::Foundation::BSTR, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()>4975     pub unsafe fn Next(&self, lflags: i32, strname: *mut super::super::Foundation::BSTR, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()> {
4976         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(strname), ::std::mem::transmute(pval), ::std::mem::transmute(ptype), ::std::mem::transmute(plflavor)).ok()
4977     }
EndEnumeration(&self) -> ::windows::runtime::Result<()>4978     pub unsafe fn EndEnumeration(&self) -> ::windows::runtime::Result<()> {
4979         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
4980     }
4981     #[cfg(feature = "Win32_Foundation")]
GetPropertyQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszproperty: Param0) -> ::windows::runtime::Result<IWbemQualifierSet>4982     pub unsafe fn GetPropertyQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszproperty: Param0) -> ::windows::runtime::Result<IWbemQualifierSet> {
4983         let mut result__: <IWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4984         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), wszproperty.into_param().abi(), &mut result__).from_abi::<IWbemQualifierSet>(result__)
4985     }
Clone(&self) -> ::windows::runtime::Result<IWbemClassObject>4986     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IWbemClassObject> {
4987         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4988         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWbemClassObject>(result__)
4989     }
4990     #[cfg(feature = "Win32_Foundation")]
GetObjectText(&self, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4991     pub unsafe fn GetObjectText(&self, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4992         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4993         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4994     }
SpawnDerivedClass(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject>4995     pub unsafe fn SpawnDerivedClass(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject> {
4996         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4997         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<IWbemClassObject>(result__)
4998     }
SpawnInstance(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject>4999     pub unsafe fn SpawnInstance(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject> {
5000         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5001         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<IWbemClassObject>(result__)
5002     }
CompareTo<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, pcompareto: Param1) -> ::windows::runtime::Result<()>5003     pub unsafe fn CompareTo<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, pcompareto: Param1) -> ::windows::runtime::Result<()> {
5004         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), pcompareto.into_param().abi()).ok()
5005     }
5006     #[cfg(feature = "Win32_Foundation")]
GetPropertyOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5007     pub unsafe fn GetPropertyOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5008         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5009         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), wszname.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5010     }
5011     #[cfg(feature = "Win32_Foundation")]
InheritsFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strancestor: Param0) -> ::windows::runtime::Result<()>5012     pub unsafe fn InheritsFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strancestor: Param0) -> ::windows::runtime::Result<()> {
5013         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), strancestor.into_param().abi()).ok()
5014     }
5015     #[cfg(feature = "Win32_Foundation")]
GetMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>5016     pub unsafe fn GetMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
5017         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(ppinsignature), ::std::mem::transmute(ppoutsignature)).ok()
5018     }
5019     #[cfg(feature = "Win32_Foundation")]
PutMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, wszname: Param0, lflags: i32, pinsignature: Param2, poutsignature: Param3) -> ::windows::runtime::Result<()>5020     pub unsafe fn PutMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, wszname: Param0, lflags: i32, pinsignature: Param2, poutsignature: Param3) -> ::windows::runtime::Result<()> {
5021         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), pinsignature.into_param().abi(), poutsignature.into_param().abi()).ok()
5022     }
5023     #[cfg(feature = "Win32_Foundation")]
DeleteMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()>5024     pub unsafe fn DeleteMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()> {
5025         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), wszname.into_param().abi()).ok()
5026     }
BeginMethodEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()>5027     pub unsafe fn BeginMethodEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()> {
5028         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(lenumflags)).ok()
5029     }
5030     #[cfg(feature = "Win32_Foundation")]
NextMethod(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>5031     pub unsafe fn NextMethod(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
5032         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(pstrname), ::std::mem::transmute(ppinsignature), ::std::mem::transmute(ppoutsignature)).ok()
5033     }
EndMethodEnumeration(&self) -> ::windows::runtime::Result<()>5034     pub unsafe fn EndMethodEnumeration(&self) -> ::windows::runtime::Result<()> {
5035         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self)).ok()
5036     }
5037     #[cfg(feature = "Win32_Foundation")]
GetMethodQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethod: Param0) -> ::windows::runtime::Result<IWbemQualifierSet>5038     pub unsafe fn GetMethodQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethod: Param0) -> ::windows::runtime::Result<IWbemQualifierSet> {
5039         let mut result__: <IWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5040         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), wszmethod.into_param().abi(), &mut result__).from_abi::<IWbemQualifierSet>(result__)
5041     }
5042     #[cfg(feature = "Win32_Foundation")]
GetMethodOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethodname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5043     pub unsafe fn GetMethodOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethodname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5044         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5045         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), wszmethodname.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5046     }
5047 }
5048 unsafe impl ::windows::runtime::Interface for IWbemClassObject {
5049     type Vtable = IWbemClassObject_abi;
5050     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3692209793, 29567, 4559, [136, 77, 0, 170, 0, 75, 46, 36]);
5051 }
5052 impl ::std::convert::From<IWbemClassObject> for ::windows::runtime::IUnknown {
from(value: IWbemClassObject) -> Self5053     fn from(value: IWbemClassObject) -> Self {
5054         unsafe { ::std::mem::transmute(value) }
5055     }
5056 }
5057 impl ::std::convert::From<&IWbemClassObject> for ::windows::runtime::IUnknown {
from(value: &IWbemClassObject) -> Self5058     fn from(value: &IWbemClassObject) -> Self {
5059         ::std::convert::From::from(::std::clone::Clone::clone(value))
5060     }
5061 }
5062 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemClassObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5063     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5064         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5065     }
5066 }
5067 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemClassObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5068     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5069         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5070     }
5071 }
5072 #[repr(C)]
5073 #[doc(hidden)]
5074 pub struct IWbemClassObject_abi(
5075     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5076     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5077     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5078     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqualset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5079     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::HRESULT,
5080     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5081     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, r#type: i32) -> ::windows::runtime::HRESULT,
5082     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5083     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5084     #[cfg(not(feature = "Win32_Foundation"))] usize,
5085     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszqualifiername: super::super::Foundation::PWSTR, lflags: i32, pqualifierval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pnames: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
5086     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5087     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lenumflags: i32) -> ::windows::runtime::HRESULT,
5088     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, strname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::HRESULT,
5089     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5091     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszproperty: super::super::Foundation::PWSTR, ppqualset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5092     #[cfg(not(feature = "Win32_Foundation"))] usize,
5093     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcopy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5094     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pstrobjecttext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5095     #[cfg(not(feature = "Win32_Foundation"))] usize,
5096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, ppnewclass: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5097     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, ppnewinstance: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5098     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pcompareto: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5099     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, pstrclassname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5100     #[cfg(not(feature = "Win32_Foundation"))] usize,
5101     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strancestor: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5102     #[cfg(not(feature = "Win32_Foundation"))] usize,
5103     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, ppinsignature: *mut ::windows::runtime::RawPtr, ppoutsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5104     #[cfg(not(feature = "Win32_Foundation"))] usize,
5105     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pinsignature: ::windows::runtime::RawPtr, poutsignature: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5106     #[cfg(not(feature = "Win32_Foundation"))] usize,
5107     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5108     #[cfg(not(feature = "Win32_Foundation"))] usize,
5109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lenumflags: i32) -> ::windows::runtime::HRESULT,
5110     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppinsignature: *mut ::windows::runtime::RawPtr, ppoutsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5111     #[cfg(not(feature = "Win32_Foundation"))] usize,
5112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5113     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmethod: super::super::Foundation::PWSTR, ppqualset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5114     #[cfg(not(feature = "Win32_Foundation"))] usize,
5115     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmethodname: super::super::Foundation::PWSTR, pstrclassname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5116     #[cfg(not(feature = "Win32_Foundation"))] usize,
5117 );
5118 #[repr(transparent)]
5119 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5120 pub struct IWbemClientConnectionTransport(::windows::runtime::IUnknown);
5121 impl IWbemClientConnectionTransport {
5122     #[cfg(feature = "Win32_Foundation")]
Open<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, IWbemContext>>( &self, straddresstype: Param0, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strobject: Param3, struser: Param4, strpassword: Param5, strlocale: Param6, lflags: i32, pctx: Param8, riid: *const ::windows::runtime::GUID, pinterface: *mut *mut ::std::ffi::c_void, pcallres: *mut ::std::option::Option<IWbemCallResult>, ) -> ::windows::runtime::Result<()>5123     pub unsafe fn Open<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, IWbemContext>>(
5124         &self,
5125         straddresstype: Param0,
5126         dwbinaryaddresslength: u32,
5127         abbinaryaddress: *const u8,
5128         strobject: Param3,
5129         struser: Param4,
5130         strpassword: Param5,
5131         strlocale: Param6,
5132         lflags: i32,
5133         pctx: Param8,
5134         riid: *const ::windows::runtime::GUID,
5135         pinterface: *mut *mut ::std::ffi::c_void,
5136         pcallres: *mut ::std::option::Option<IWbemCallResult>,
5137     ) -> ::windows::runtime::Result<()> {
5138         (::windows::runtime::Interface::vtable(self).3)(
5139             ::std::mem::transmute_copy(self),
5140             straddresstype.into_param().abi(),
5141             ::std::mem::transmute(dwbinaryaddresslength),
5142             ::std::mem::transmute(abbinaryaddress),
5143             strobject.into_param().abi(),
5144             struser.into_param().abi(),
5145             strpassword.into_param().abi(),
5146             strlocale.into_param().abi(),
5147             ::std::mem::transmute(lflags),
5148             pctx.into_param().abi(),
5149             ::std::mem::transmute(riid),
5150             ::std::mem::transmute(pinterface),
5151             ::std::mem::transmute(pcallres),
5152         )
5153         .ok()
5154     }
5155     #[cfg(feature = "Win32_Foundation")]
OpenAsync< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, IWbemContext>, Param10: ::windows::runtime::IntoParam<'a, IWbemObjectSink>, >( &self, straddresstype: Param0, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strobject: Param3, struser: Param4, strpassword: Param5, strlocale: Param6, lflags: i32, pctx: Param8, riid: *const ::windows::runtime::GUID, presponsehandler: Param10, ) -> ::windows::runtime::Result<()>5156     pub unsafe fn OpenAsync<
5157         'a,
5158         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5159         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5160         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5161         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5162         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5163         Param8: ::windows::runtime::IntoParam<'a, IWbemContext>,
5164         Param10: ::windows::runtime::IntoParam<'a, IWbemObjectSink>,
5165     >(
5166         &self,
5167         straddresstype: Param0,
5168         dwbinaryaddresslength: u32,
5169         abbinaryaddress: *const u8,
5170         strobject: Param3,
5171         struser: Param4,
5172         strpassword: Param5,
5173         strlocale: Param6,
5174         lflags: i32,
5175         pctx: Param8,
5176         riid: *const ::windows::runtime::GUID,
5177         presponsehandler: Param10,
5178     ) -> ::windows::runtime::Result<()> {
5179         (::windows::runtime::Interface::vtable(self).4)(
5180             ::std::mem::transmute_copy(self),
5181             straddresstype.into_param().abi(),
5182             ::std::mem::transmute(dwbinaryaddresslength),
5183             ::std::mem::transmute(abbinaryaddress),
5184             strobject.into_param().abi(),
5185             struser.into_param().abi(),
5186             strpassword.into_param().abi(),
5187             strlocale.into_param().abi(),
5188             ::std::mem::transmute(lflags),
5189             pctx.into_param().abi(),
5190             ::std::mem::transmute(riid),
5191             presponsehandler.into_param().abi(),
5192         )
5193         .ok()
5194     }
Cancel<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, lflags: i32, phandler: Param1) -> ::windows::runtime::Result<()>5195     pub unsafe fn Cancel<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, lflags: i32, phandler: Param1) -> ::windows::runtime::Result<()> {
5196         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), phandler.into_param().abi()).ok()
5197     }
5198 }
5199 unsafe impl ::windows::runtime::Interface for IWbemClientConnectionTransport {
5200     type Vtable = IWbemClientConnectionTransport_abi;
5201     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2827601706, 64705, 19102, [175, 97, 237, 7, 19, 51, 251, 91]);
5202 }
5203 impl ::std::convert::From<IWbemClientConnectionTransport> for ::windows::runtime::IUnknown {
from(value: IWbemClientConnectionTransport) -> Self5204     fn from(value: IWbemClientConnectionTransport) -> Self {
5205         unsafe { ::std::mem::transmute(value) }
5206     }
5207 }
5208 impl ::std::convert::From<&IWbemClientConnectionTransport> for ::windows::runtime::IUnknown {
from(value: &IWbemClientConnectionTransport) -> Self5209     fn from(value: &IWbemClientConnectionTransport) -> Self {
5210         ::std::convert::From::from(::std::clone::Clone::clone(value))
5211     }
5212 }
5213 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemClientConnectionTransport {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5214     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5215         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5216     }
5217 }
5218 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemClientConnectionTransport {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5219     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5220         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5221     }
5222 }
5223 #[repr(C)]
5224 #[doc(hidden)]
5225 pub struct IWbemClientConnectionTransport_abi(
5226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5227     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5228     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5229     #[cfg(feature = "Win32_Foundation")]
5230     pub  unsafe extern "system" fn(
5231         this: ::windows::runtime::RawPtr,
5232         straddresstype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5233         dwbinaryaddresslength: u32,
5234         abbinaryaddress: *const u8,
5235         strobject: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5236         struser: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5237         strpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5238         strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5239         lflags: i32,
5240         pctx: ::windows::runtime::RawPtr,
5241         riid: *const ::windows::runtime::GUID,
5242         pinterface: *mut *mut ::std::ffi::c_void,
5243         pcallres: *mut ::windows::runtime::RawPtr,
5244     ) -> ::windows::runtime::HRESULT,
5245     #[cfg(not(feature = "Win32_Foundation"))] usize,
5246     #[cfg(feature = "Win32_Foundation")]
5247     pub  unsafe extern "system" fn(
5248         this: ::windows::runtime::RawPtr,
5249         straddresstype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5250         dwbinaryaddresslength: u32,
5251         abbinaryaddress: *const u8,
5252         strobject: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5253         struser: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5254         strpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5255         strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5256         lflags: i32,
5257         pctx: ::windows::runtime::RawPtr,
5258         riid: *const ::windows::runtime::GUID,
5259         presponsehandler: ::windows::runtime::RawPtr,
5260     ) -> ::windows::runtime::HRESULT,
5261     #[cfg(not(feature = "Win32_Foundation"))] usize,
5262     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, phandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5263 );
5264 #[repr(transparent)]
5265 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5266 pub struct IWbemClientTransport(::windows::runtime::IUnknown);
5267 impl IWbemClientTransport {
5268     #[cfg(feature = "Win32_Foundation")]
ConnectServer< 'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param9: ::windows::runtime::IntoParam<'a, IWbemContext>, >( &self, straddresstype: Param0, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strnetworkresource: Param3, struser: Param4, strpassword: Param5, strlocale: Param6, lsecurityflags: i32, strauthority: Param8, pctx: Param9, ) -> ::windows::runtime::Result<IWbemServices>5269     pub unsafe fn ConnectServer<
5270         'a,
5271         Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5272         Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5273         Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5274         Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5275         Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5276         Param8: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>,
5277         Param9: ::windows::runtime::IntoParam<'a, IWbemContext>,
5278     >(
5279         &self,
5280         straddresstype: Param0,
5281         dwbinaryaddresslength: u32,
5282         abbinaryaddress: *const u8,
5283         strnetworkresource: Param3,
5284         struser: Param4,
5285         strpassword: Param5,
5286         strlocale: Param6,
5287         lsecurityflags: i32,
5288         strauthority: Param8,
5289         pctx: Param9,
5290     ) -> ::windows::runtime::Result<IWbemServices> {
5291         let mut result__: <IWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5292         (::windows::runtime::Interface::vtable(self).3)(
5293             ::std::mem::transmute_copy(self),
5294             straddresstype.into_param().abi(),
5295             ::std::mem::transmute(dwbinaryaddresslength),
5296             ::std::mem::transmute(abbinaryaddress),
5297             strnetworkresource.into_param().abi(),
5298             struser.into_param().abi(),
5299             strpassword.into_param().abi(),
5300             strlocale.into_param().abi(),
5301             ::std::mem::transmute(lsecurityflags),
5302             strauthority.into_param().abi(),
5303             pctx.into_param().abi(),
5304             &mut result__,
5305         )
5306         .from_abi::<IWbemServices>(result__)
5307     }
5308 }
5309 unsafe impl ::windows::runtime::Interface for IWbemClientTransport {
5310     type Vtable = IWbemClientTransport_abi;
5311     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4157484561, 35984, 4561, [158, 123, 0, 192, 79, 195, 36, 168]);
5312 }
5313 impl ::std::convert::From<IWbemClientTransport> for ::windows::runtime::IUnknown {
from(value: IWbemClientTransport) -> Self5314     fn from(value: IWbemClientTransport) -> Self {
5315         unsafe { ::std::mem::transmute(value) }
5316     }
5317 }
5318 impl ::std::convert::From<&IWbemClientTransport> for ::windows::runtime::IUnknown {
from(value: &IWbemClientTransport) -> Self5319     fn from(value: &IWbemClientTransport) -> Self {
5320         ::std::convert::From::from(::std::clone::Clone::clone(value))
5321     }
5322 }
5323 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemClientTransport {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5324     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5325         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5326     }
5327 }
5328 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemClientTransport {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5329     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5330         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5331     }
5332 }
5333 #[repr(C)]
5334 #[doc(hidden)]
5335 pub struct IWbemClientTransport_abi(
5336     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5337     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5338     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5339     #[cfg(feature = "Win32_Foundation")]
5340     pub  unsafe extern "system" fn(
5341         this: ::windows::runtime::RawPtr,
5342         straddresstype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5343         dwbinaryaddresslength: u32,
5344         abbinaryaddress: *const u8,
5345         strnetworkresource: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5346         struser: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5347         strpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5348         strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5349         lsecurityflags: i32,
5350         strauthority: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
5351         pctx: ::windows::runtime::RawPtr,
5352         ppnamespace: *mut ::windows::runtime::RawPtr,
5353     ) -> ::windows::runtime::HRESULT,
5354     #[cfg(not(feature = "Win32_Foundation"))] usize,
5355 );
5356 #[repr(transparent)]
5357 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5358 pub struct IWbemConfigureRefresher(::windows::runtime::IUnknown);
5359 impl IWbemConfigureRefresher {
5360     #[cfg(feature = "Win32_Foundation")]
AddObjectByPath<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, wszpath: Param1, lflags: i32, pcontext: Param3, pprefreshable: *mut ::std::option::Option<IWbemClassObject>, plid: *mut i32) -> ::windows::runtime::Result<()>5361     pub unsafe fn AddObjectByPath<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, wszpath: Param1, lflags: i32, pcontext: Param3, pprefreshable: *mut ::std::option::Option<IWbemClassObject>, plid: *mut i32) -> ::windows::runtime::Result<()> {
5362         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), wszpath.into_param().abi(), ::std::mem::transmute(lflags), pcontext.into_param().abi(), ::std::mem::transmute(pprefreshable), ::std::mem::transmute(plid)).ok()
5363     }
AddObjectByTemplate<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, ptemplate: Param1, lflags: i32, pcontext: Param3, pprefreshable: *mut ::std::option::Option<IWbemClassObject>, plid: *mut i32) -> ::windows::runtime::Result<()>5364     pub unsafe fn AddObjectByTemplate<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, ptemplate: Param1, lflags: i32, pcontext: Param3, pprefreshable: *mut ::std::option::Option<IWbemClassObject>, plid: *mut i32) -> ::windows::runtime::Result<()> {
5365         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), ptemplate.into_param().abi(), ::std::mem::transmute(lflags), pcontext.into_param().abi(), ::std::mem::transmute(pprefreshable), ::std::mem::transmute(plid)).ok()
5366     }
AddRefresher<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemRefresher>>(&self, prefresher: Param0, lflags: i32, plid: *mut i32) -> ::windows::runtime::Result<()>5367     pub unsafe fn AddRefresher<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemRefresher>>(&self, prefresher: Param0, lflags: i32, plid: *mut i32) -> ::windows::runtime::Result<()> {
5368         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), prefresher.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(plid)).ok()
5369     }
Remove(&self, lid: i32, lflags: i32) -> ::windows::runtime::Result<()>5370     pub unsafe fn Remove(&self, lid: i32, lflags: i32) -> ::windows::runtime::Result<()> {
5371         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lid), ::std::mem::transmute(lflags)).ok()
5372     }
5373     #[cfg(feature = "Win32_Foundation")]
AddEnum<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, wszclassname: Param1, lflags: i32, pcontext: Param3, ppenum: *mut ::std::option::Option<IWbemHiPerfEnum>, plid: *mut i32) -> ::windows::runtime::Result<()>5374     pub unsafe fn AddEnum<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, wszclassname: Param1, lflags: i32, pcontext: Param3, ppenum: *mut ::std::option::Option<IWbemHiPerfEnum>, plid: *mut i32) -> ::windows::runtime::Result<()> {
5375         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), wszclassname.into_param().abi(), ::std::mem::transmute(lflags), pcontext.into_param().abi(), ::std::mem::transmute(ppenum), ::std::mem::transmute(plid)).ok()
5376     }
5377 }
5378 unsafe impl ::windows::runtime::Interface for IWbemConfigureRefresher {
5379     type Vtable = IWbemConfigureRefresher_abi;
5380     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1228225682, 20843, 4561, [174, 166, 0, 192, 79, 182, 136, 32]);
5381 }
5382 impl ::std::convert::From<IWbemConfigureRefresher> for ::windows::runtime::IUnknown {
from(value: IWbemConfigureRefresher) -> Self5383     fn from(value: IWbemConfigureRefresher) -> Self {
5384         unsafe { ::std::mem::transmute(value) }
5385     }
5386 }
5387 impl ::std::convert::From<&IWbemConfigureRefresher> for ::windows::runtime::IUnknown {
from(value: &IWbemConfigureRefresher) -> Self5388     fn from(value: &IWbemConfigureRefresher) -> Self {
5389         ::std::convert::From::from(::std::clone::Clone::clone(value))
5390     }
5391 }
5392 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemConfigureRefresher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5393     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5394         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5395     }
5396 }
5397 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemConfigureRefresher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5398     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5399         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5400     }
5401 }
5402 #[repr(C)]
5403 #[doc(hidden)]
5404 pub struct IWbemConfigureRefresher_abi(
5405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5408     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, wszpath: super::super::Foundation::PWSTR, lflags: i32, pcontext: ::windows::runtime::RawPtr, pprefreshable: *mut ::windows::runtime::RawPtr, plid: *mut i32) -> ::windows::runtime::HRESULT,
5409     #[cfg(not(feature = "Win32_Foundation"))] usize,
5410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, ptemplate: ::windows::runtime::RawPtr, lflags: i32, pcontext: ::windows::runtime::RawPtr, pprefreshable: *mut ::windows::runtime::RawPtr, plid: *mut i32) -> ::windows::runtime::HRESULT,
5411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prefresher: ::windows::runtime::RawPtr, lflags: i32, plid: *mut i32) -> ::windows::runtime::HRESULT,
5412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lid: i32, lflags: i32) -> ::windows::runtime::HRESULT,
5413     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, wszclassname: super::super::Foundation::PWSTR, lflags: i32, pcontext: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr, plid: *mut i32) -> ::windows::runtime::HRESULT,
5414     #[cfg(not(feature = "Win32_Foundation"))] usize,
5415 );
5416 #[repr(transparent)]
5417 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5418 pub struct IWbemConnectorLogin(::windows::runtime::IUnknown);
5419 impl IWbemConnectorLogin {
5420     #[cfg(feature = "Win32_Foundation")]
ConnectorLogin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, T: ::windows::runtime::Interface>(&self, wsznetworkresource: Param0, wszpreferredlocale: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<T>5421     pub unsafe fn ConnectorLogin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, T: ::windows::runtime::Interface>(&self, wsznetworkresource: Param0, wszpreferredlocale: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<T> {
5422         let mut result__ = ::std::option::Option::None;
5423         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wsznetworkresource.into_param().abi(), wszpreferredlocale.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
5424     }
5425 }
5426 unsafe impl ::windows::runtime::Interface for IWbemConnectorLogin {
5427     type Vtable = IWbemConnectorLogin_abi;
5428     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3639385265, 45365, 20240, [139, 27, 199, 24, 139, 176, 209, 134]);
5429 }
5430 impl ::std::convert::From<IWbemConnectorLogin> for ::windows::runtime::IUnknown {
from(value: IWbemConnectorLogin) -> Self5431     fn from(value: IWbemConnectorLogin) -> Self {
5432         unsafe { ::std::mem::transmute(value) }
5433     }
5434 }
5435 impl ::std::convert::From<&IWbemConnectorLogin> for ::windows::runtime::IUnknown {
from(value: &IWbemConnectorLogin) -> Self5436     fn from(value: &IWbemConnectorLogin) -> Self {
5437         ::std::convert::From::from(::std::clone::Clone::clone(value))
5438     }
5439 }
5440 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemConnectorLogin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5441     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5442         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5443     }
5444 }
5445 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemConnectorLogin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5446     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5447         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5448     }
5449 }
5450 #[repr(C)]
5451 #[doc(hidden)]
5452 pub struct IWbemConnectorLogin_abi(
5453     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5454     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5456     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wsznetworkresource: super::super::Foundation::PWSTR, wszpreferredlocale: super::super::Foundation::PWSTR, lflags: i32, pctx: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, pinterface: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
5457     #[cfg(not(feature = "Win32_Foundation"))] usize,
5458 );
5459 #[repr(transparent)]
5460 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5461 pub struct IWbemConstructClassObject(::windows::runtime::IUnknown);
5462 impl IWbemConstructClassObject {
5463     #[cfg(feature = "Win32_Foundation")]
SetInheritanceChain(&self, lnumantecedents: i32, awszantecedents: *const super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>5464     pub unsafe fn SetInheritanceChain(&self, lnumantecedents: i32, awszantecedents: *const super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
5465         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lnumantecedents), ::std::mem::transmute(awszantecedents)).ok()
5466     }
5467     #[cfg(feature = "Win32_Foundation")]
SetPropertyOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszpropertyname: Param0, loriginindex: i32) -> ::windows::runtime::Result<()>5468     pub unsafe fn SetPropertyOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszpropertyname: Param0, loriginindex: i32) -> ::windows::runtime::Result<()> {
5469         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wszpropertyname.into_param().abi(), ::std::mem::transmute(loriginindex)).ok()
5470     }
5471     #[cfg(feature = "Win32_Foundation")]
SetMethodOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethodname: Param0, loriginindex: i32) -> ::windows::runtime::Result<()>5472     pub unsafe fn SetMethodOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethodname: Param0, loriginindex: i32) -> ::windows::runtime::Result<()> {
5473         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wszmethodname.into_param().abi(), ::std::mem::transmute(loriginindex)).ok()
5474     }
5475     #[cfg(feature = "Win32_Foundation")]
SetServerNamespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszserver: Param0, wsznamespace: Param1) -> ::windows::runtime::Result<()>5476     pub unsafe fn SetServerNamespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszserver: Param0, wsznamespace: Param1) -> ::windows::runtime::Result<()> {
5477         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), wszserver.into_param().abi(), wsznamespace.into_param().abi()).ok()
5478     }
5479 }
5480 unsafe impl ::windows::runtime::Interface for IWbemConstructClassObject {
5481     type Vtable = IWbemConstructClassObject_abi;
5482     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2667012500, 28885, 4561, [173, 144, 0, 192, 79, 216, 253, 255]);
5483 }
5484 impl ::std::convert::From<IWbemConstructClassObject> for ::windows::runtime::IUnknown {
from(value: IWbemConstructClassObject) -> Self5485     fn from(value: IWbemConstructClassObject) -> Self {
5486         unsafe { ::std::mem::transmute(value) }
5487     }
5488 }
5489 impl ::std::convert::From<&IWbemConstructClassObject> for ::windows::runtime::IUnknown {
from(value: &IWbemConstructClassObject) -> Self5490     fn from(value: &IWbemConstructClassObject) -> Self {
5491         ::std::convert::From::from(::std::clone::Clone::clone(value))
5492     }
5493 }
5494 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemConstructClassObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5495     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5496         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5497     }
5498 }
5499 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemConstructClassObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5500     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5501         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5502     }
5503 }
5504 #[repr(C)]
5505 #[doc(hidden)]
5506 pub struct IWbemConstructClassObject_abi(
5507     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5510     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lnumantecedents: i32, awszantecedents: *const super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5511     #[cfg(not(feature = "Win32_Foundation"))] usize,
5512     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszpropertyname: super::super::Foundation::PWSTR, loriginindex: i32) -> ::windows::runtime::HRESULT,
5513     #[cfg(not(feature = "Win32_Foundation"))] usize,
5514     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmethodname: super::super::Foundation::PWSTR, loriginindex: i32) -> ::windows::runtime::HRESULT,
5515     #[cfg(not(feature = "Win32_Foundation"))] usize,
5516     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszserver: super::super::Foundation::PWSTR, wsznamespace: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
5517     #[cfg(not(feature = "Win32_Foundation"))] usize,
5518 );
5519 #[repr(transparent)]
5520 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5521 pub struct IWbemContext(::windows::runtime::IUnknown);
5522 impl IWbemContext {
Clone(&self) -> ::windows::runtime::Result<IWbemContext>5523     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IWbemContext> {
5524         let mut result__: <IWbemContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5525         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWbemContext>(result__)
5526     }
5527     #[cfg(feature = "Win32_System_Com")]
GetNames(&self, lflags: i32) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>5528     pub unsafe fn GetNames(&self, lflags: i32) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
5529         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5530         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
5531     }
BeginEnumeration(&self, lflags: i32) -> ::windows::runtime::Result<()>5532     pub unsafe fn BeginEnumeration(&self, lflags: i32) -> ::windows::runtime::Result<()> {
5533         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
5534     }
5535     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Next(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, pvalue: *mut super::Com::VARIANT) -> ::windows::runtime::Result<()>5536     pub unsafe fn Next(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, pvalue: *mut super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5537         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(pstrname), ::std::mem::transmute(pvalue)).ok()
5538     }
EndEnumeration(&self) -> ::windows::runtime::Result<()>5539     pub unsafe fn EndEnumeration(&self) -> ::windows::runtime::Result<()> {
5540         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
5541     }
5542     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5543     pub unsafe fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5544         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pvalue)).ok()
5545     }
5546     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32) -> ::windows::runtime::Result<super::Com::VARIANT>5547     pub unsafe fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32) -> ::windows::runtime::Result<super::Com::VARIANT> {
5548         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5549         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5550     }
5551     #[cfg(feature = "Win32_Foundation")]
DeleteValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32) -> ::windows::runtime::Result<()>5552     pub unsafe fn DeleteValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32) -> ::windows::runtime::Result<()> {
5553         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags)).ok()
5554     }
DeleteAll(&self) -> ::windows::runtime::Result<()>5555     pub unsafe fn DeleteAll(&self) -> ::windows::runtime::Result<()> {
5556         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
5557     }
5558 }
5559 unsafe impl ::windows::runtime::Interface for IWbemContext {
5560     type Vtable = IWbemContext_abi;
5561     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1152165492, 59644, 4560, [160, 124, 0, 192, 79, 182, 136, 32]);
5562 }
5563 impl ::std::convert::From<IWbemContext> for ::windows::runtime::IUnknown {
from(value: IWbemContext) -> Self5564     fn from(value: IWbemContext) -> Self {
5565         unsafe { ::std::mem::transmute(value) }
5566     }
5567 }
5568 impl ::std::convert::From<&IWbemContext> for ::windows::runtime::IUnknown {
from(value: &IWbemContext) -> Self5569     fn from(value: &IWbemContext) -> Self {
5570         ::std::convert::From::from(::std::clone::Clone::clone(value))
5571     }
5572 }
5573 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5574     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5575         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5576     }
5577 }
5578 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5579     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5580         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5581     }
5582 }
5583 #[repr(C)]
5584 #[doc(hidden)]
5585 pub struct IWbemContext_abi(
5586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5587     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5588     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppnewcopy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5590     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pnames: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
5591     #[cfg(not(feature = "Win32_System_Com"))] usize,
5592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
5593     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5594     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5595     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5596     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5597     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5598     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5599     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5600     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32) -> ::windows::runtime::HRESULT,
5601     #[cfg(not(feature = "Win32_Foundation"))] usize,
5602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5603 );
5604 #[repr(transparent)]
5605 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5606 pub struct IWbemDecoupledBasicEventProvider(::windows::runtime::IUnknown);
5607 impl IWbemDecoupledBasicEventProvider {
5608     #[cfg(feature = "Win32_Foundation")]
Register<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param6: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>( &self, a_flags: i32, a_context: Param1, a_user: Param2, a_locale: Param3, a_scope: Param4, a_registration: Param5, piunknown: Param6, ) -> ::windows::runtime::Result<()>5609     pub unsafe fn Register<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param6: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(
5610         &self,
5611         a_flags: i32,
5612         a_context: Param1,
5613         a_user: Param2,
5614         a_locale: Param3,
5615         a_scope: Param4,
5616         a_registration: Param5,
5617         piunknown: Param6,
5618     ) -> ::windows::runtime::Result<()> {
5619         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(a_flags), a_context.into_param().abi(), a_user.into_param().abi(), a_locale.into_param().abi(), a_scope.into_param().abi(), a_registration.into_param().abi(), piunknown.into_param().abi()).ok()
5620     }
UnRegister(&self) -> ::windows::runtime::Result<()>5621     pub unsafe fn UnRegister(&self) -> ::windows::runtime::Result<()> {
5622         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5623     }
GetSink<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, a_flags: i32, a_context: Param1) -> ::windows::runtime::Result<IWbemObjectSink>5624     pub unsafe fn GetSink<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, a_flags: i32, a_context: Param1) -> ::windows::runtime::Result<IWbemObjectSink> {
5625         let mut result__: <IWbemObjectSink as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5626         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(a_flags), a_context.into_param().abi(), &mut result__).from_abi::<IWbemObjectSink>(result__)
5627     }
GetService<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, a_flags: i32, a_context: Param1) -> ::windows::runtime::Result<IWbemServices>5628     pub unsafe fn GetService<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, a_flags: i32, a_context: Param1) -> ::windows::runtime::Result<IWbemServices> {
5629         let mut result__: <IWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5630         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(a_flags), a_context.into_param().abi(), &mut result__).from_abi::<IWbemServices>(result__)
5631     }
5632 }
5633 unsafe impl ::windows::runtime::Interface for IWbemDecoupledBasicEventProvider {
5634     type Vtable = IWbemDecoupledBasicEventProvider_abi;
5635     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2251517216, 51729, 18310, [158, 241, 188, 138, 148, 107, 66, 252]);
5636 }
5637 impl ::std::convert::From<IWbemDecoupledBasicEventProvider> for ::windows::runtime::IUnknown {
from(value: IWbemDecoupledBasicEventProvider) -> Self5638     fn from(value: IWbemDecoupledBasicEventProvider) -> Self {
5639         unsafe { ::std::mem::transmute(value) }
5640     }
5641 }
5642 impl ::std::convert::From<&IWbemDecoupledBasicEventProvider> for ::windows::runtime::IUnknown {
from(value: &IWbemDecoupledBasicEventProvider) -> Self5643     fn from(value: &IWbemDecoupledBasicEventProvider) -> Self {
5644         ::std::convert::From::from(::std::clone::Clone::clone(value))
5645     }
5646 }
5647 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemDecoupledBasicEventProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5648     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5649         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5650     }
5651 }
5652 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemDecoupledBasicEventProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5653     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5654         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5655     }
5656 }
5657 impl ::std::convert::From<IWbemDecoupledBasicEventProvider> for IWbemDecoupledRegistrar {
from(value: IWbemDecoupledBasicEventProvider) -> Self5658     fn from(value: IWbemDecoupledBasicEventProvider) -> Self {
5659         unsafe { ::std::mem::transmute(value) }
5660     }
5661 }
5662 impl ::std::convert::From<&IWbemDecoupledBasicEventProvider> for IWbemDecoupledRegistrar {
from(value: &IWbemDecoupledBasicEventProvider) -> Self5663     fn from(value: &IWbemDecoupledBasicEventProvider) -> Self {
5664         ::std::convert::From::from(::std::clone::Clone::clone(value))
5665     }
5666 }
5667 impl<'a> ::windows::runtime::IntoParam<'a, IWbemDecoupledRegistrar> for IWbemDecoupledBasicEventProvider {
into_param(self) -> ::windows::runtime::Param<'a, IWbemDecoupledRegistrar>5668     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemDecoupledRegistrar> {
5669         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemDecoupledRegistrar>::into(self))
5670     }
5671 }
5672 impl<'a> ::windows::runtime::IntoParam<'a, IWbemDecoupledRegistrar> for &IWbemDecoupledBasicEventProvider {
into_param(self) -> ::windows::runtime::Param<'a, IWbemDecoupledRegistrar>5673     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemDecoupledRegistrar> {
5674         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemDecoupledRegistrar>::into(::std::clone::Clone::clone(self)))
5675     }
5676 }
5677 #[repr(C)]
5678 #[doc(hidden)]
5679 pub struct IWbemDecoupledBasicEventProvider_abi(
5680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5683     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, a_flags: i32, a_context: ::windows::runtime::RawPtr, a_user: super::super::Foundation::PWSTR, a_locale: super::super::Foundation::PWSTR, a_scope: super::super::Foundation::PWSTR, a_registration: super::super::Foundation::PWSTR, piunknown: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5684     #[cfg(not(feature = "Win32_Foundation"))] usize,
5685     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5686     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, a_flags: i32, a_context: ::windows::runtime::RawPtr, a_sink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, a_flags: i32, a_context: ::windows::runtime::RawPtr, a_service: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5688 );
5689 #[repr(transparent)]
5690 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5691 pub struct IWbemDecoupledRegistrar(::windows::runtime::IUnknown);
5692 impl IWbemDecoupledRegistrar {
5693     #[cfg(feature = "Win32_Foundation")]
Register<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param6: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>( &self, a_flags: i32, a_context: Param1, a_user: Param2, a_locale: Param3, a_scope: Param4, a_registration: Param5, piunknown: Param6, ) -> ::windows::runtime::Result<()>5694     pub unsafe fn Register<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemContext>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param6: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(
5695         &self,
5696         a_flags: i32,
5697         a_context: Param1,
5698         a_user: Param2,
5699         a_locale: Param3,
5700         a_scope: Param4,
5701         a_registration: Param5,
5702         piunknown: Param6,
5703     ) -> ::windows::runtime::Result<()> {
5704         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(a_flags), a_context.into_param().abi(), a_user.into_param().abi(), a_locale.into_param().abi(), a_scope.into_param().abi(), a_registration.into_param().abi(), piunknown.into_param().abi()).ok()
5705     }
UnRegister(&self) -> ::windows::runtime::Result<()>5706     pub unsafe fn UnRegister(&self) -> ::windows::runtime::Result<()> {
5707         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5708     }
5709 }
5710 unsafe impl ::windows::runtime::Interface for IWbemDecoupledRegistrar {
5711     type Vtable = IWbemDecoupledRegistrar_abi;
5712     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(268815311, 58959, 17990, [188, 211, 58, 8, 157, 138, 132, 180]);
5713 }
5714 impl ::std::convert::From<IWbemDecoupledRegistrar> for ::windows::runtime::IUnknown {
from(value: IWbemDecoupledRegistrar) -> Self5715     fn from(value: IWbemDecoupledRegistrar) -> Self {
5716         unsafe { ::std::mem::transmute(value) }
5717     }
5718 }
5719 impl ::std::convert::From<&IWbemDecoupledRegistrar> for ::windows::runtime::IUnknown {
from(value: &IWbemDecoupledRegistrar) -> Self5720     fn from(value: &IWbemDecoupledRegistrar) -> Self {
5721         ::std::convert::From::from(::std::clone::Clone::clone(value))
5722     }
5723 }
5724 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemDecoupledRegistrar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5725     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5726         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5727     }
5728 }
5729 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemDecoupledRegistrar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5730     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5731         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5732     }
5733 }
5734 #[repr(C)]
5735 #[doc(hidden)]
5736 pub struct IWbemDecoupledRegistrar_abi(
5737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5740     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, a_flags: i32, a_context: ::windows::runtime::RawPtr, a_user: super::super::Foundation::PWSTR, a_locale: super::super::Foundation::PWSTR, a_scope: super::super::Foundation::PWSTR, a_registration: super::super::Foundation::PWSTR, piunknown: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5741     #[cfg(not(feature = "Win32_Foundation"))] usize,
5742     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5743 );
5744 #[repr(transparent)]
5745 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5746 pub struct IWbemEventConsumerProvider(::windows::runtime::IUnknown);
5747 impl IWbemEventConsumerProvider {
FindConsumer<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, plogicalconsumer: Param0) -> ::windows::runtime::Result<IWbemUnboundObjectSink>5748     pub unsafe fn FindConsumer<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, plogicalconsumer: Param0) -> ::windows::runtime::Result<IWbemUnboundObjectSink> {
5749         let mut result__: <IWbemUnboundObjectSink as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5750         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), plogicalconsumer.into_param().abi(), &mut result__).from_abi::<IWbemUnboundObjectSink>(result__)
5751     }
5752 }
5753 unsafe impl ::windows::runtime::Interface for IWbemEventConsumerProvider {
5754     type Vtable = IWbemEventConsumerProvider_abi;
5755     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3796242554, 45166, 4560, [173, 97, 0, 192, 79, 216, 253, 255]);
5756 }
5757 impl ::std::convert::From<IWbemEventConsumerProvider> for ::windows::runtime::IUnknown {
from(value: IWbemEventConsumerProvider) -> Self5758     fn from(value: IWbemEventConsumerProvider) -> Self {
5759         unsafe { ::std::mem::transmute(value) }
5760     }
5761 }
5762 impl ::std::convert::From<&IWbemEventConsumerProvider> for ::windows::runtime::IUnknown {
from(value: &IWbemEventConsumerProvider) -> Self5763     fn from(value: &IWbemEventConsumerProvider) -> Self {
5764         ::std::convert::From::from(::std::clone::Clone::clone(value))
5765     }
5766 }
5767 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemEventConsumerProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5768     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5769         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5770     }
5771 }
5772 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemEventConsumerProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5773     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5774         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5775     }
5776 }
5777 #[repr(C)]
5778 #[doc(hidden)]
5779 pub struct IWbemEventConsumerProvider_abi(
5780     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5782     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5783     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plogicalconsumer: ::windows::runtime::RawPtr, ppconsumer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5784 );
5785 #[repr(transparent)]
5786 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5787 pub struct IWbemEventProvider(::windows::runtime::IUnknown);
5788 impl IWbemEventProvider {
ProvideEvents<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, psink: Param0, lflags: i32) -> ::windows::runtime::Result<()>5789     pub unsafe fn ProvideEvents<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, psink: Param0, lflags: i32) -> ::windows::runtime::Result<()> {
5790         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), psink.into_param().abi(), ::std::mem::transmute(lflags)).ok()
5791     }
5792 }
5793 unsafe impl ::windows::runtime::Interface for IWbemEventProvider {
5794     type Vtable = IWbemEventProvider_abi;
5795     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3796176987, 45166, 4560, [173, 97, 0, 192, 79, 216, 253, 255]);
5796 }
5797 impl ::std::convert::From<IWbemEventProvider> for ::windows::runtime::IUnknown {
from(value: IWbemEventProvider) -> Self5798     fn from(value: IWbemEventProvider) -> Self {
5799         unsafe { ::std::mem::transmute(value) }
5800     }
5801 }
5802 impl ::std::convert::From<&IWbemEventProvider> for ::windows::runtime::IUnknown {
from(value: &IWbemEventProvider) -> Self5803     fn from(value: &IWbemEventProvider) -> Self {
5804         ::std::convert::From::from(::std::clone::Clone::clone(value))
5805     }
5806 }
5807 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemEventProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5808     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5809         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5810     }
5811 }
5812 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemEventProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5813     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5814         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5815     }
5816 }
5817 #[repr(C)]
5818 #[doc(hidden)]
5819 pub struct IWbemEventProvider_abi(
5820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5821     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5822     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
5824 );
5825 #[repr(transparent)]
5826 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5827 pub struct IWbemEventProviderQuerySink(::windows::runtime::IUnknown);
5828 impl IWbemEventProviderQuerySink {
NewQuery(&self, dwid: u32, wszquerylanguage: *const u16, wszquery: *const u16) -> ::windows::runtime::Result<()>5829     pub unsafe fn NewQuery(&self, dwid: u32, wszquerylanguage: *const u16, wszquery: *const u16) -> ::windows::runtime::Result<()> {
5830         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwid), ::std::mem::transmute(wszquerylanguage), ::std::mem::transmute(wszquery)).ok()
5831     }
CancelQuery(&self, dwid: u32) -> ::windows::runtime::Result<()>5832     pub unsafe fn CancelQuery(&self, dwid: u32) -> ::windows::runtime::Result<()> {
5833         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwid)).ok()
5834     }
5835 }
5836 unsafe impl ::windows::runtime::Interface for IWbemEventProviderQuerySink {
5837     type Vtable = IWbemEventProviderQuerySink_abi;
5838     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1477102328, 64028, 4560, [173, 114, 0, 192, 79, 216, 253, 255]);
5839 }
5840 impl ::std::convert::From<IWbemEventProviderQuerySink> for ::windows::runtime::IUnknown {
from(value: IWbemEventProviderQuerySink) -> Self5841     fn from(value: IWbemEventProviderQuerySink) -> Self {
5842         unsafe { ::std::mem::transmute(value) }
5843     }
5844 }
5845 impl ::std::convert::From<&IWbemEventProviderQuerySink> for ::windows::runtime::IUnknown {
from(value: &IWbemEventProviderQuerySink) -> Self5846     fn from(value: &IWbemEventProviderQuerySink) -> Self {
5847         ::std::convert::From::from(::std::clone::Clone::clone(value))
5848     }
5849 }
5850 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemEventProviderQuerySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5851     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5852         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5853     }
5854 }
5855 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemEventProviderQuerySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5856     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5857         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5858     }
5859 }
5860 #[repr(C)]
5861 #[doc(hidden)]
5862 pub struct IWbemEventProviderQuerySink_abi(
5863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwid: u32, wszquerylanguage: *const u16, wszquery: *const u16) -> ::windows::runtime::HRESULT,
5867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwid: u32) -> ::windows::runtime::HRESULT,
5868 );
5869 #[repr(transparent)]
5870 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5871 pub struct IWbemEventProviderSecurity(::windows::runtime::IUnknown);
5872 impl IWbemEventProviderSecurity {
AccessCheck(&self, wszquerylanguage: *const u16, wszquery: *const u16, lsidlength: i32, psid: *const u8) -> ::windows::runtime::Result<()>5873     pub unsafe fn AccessCheck(&self, wszquerylanguage: *const u16, wszquery: *const u16, lsidlength: i32, psid: *const u8) -> ::windows::runtime::Result<()> {
5874         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(wszquerylanguage), ::std::mem::transmute(wszquery), ::std::mem::transmute(lsidlength), ::std::mem::transmute(psid)).ok()
5875     }
5876 }
5877 unsafe impl ::windows::runtime::Interface for IWbemEventProviderSecurity {
5878     type Vtable = IWbemEventProviderSecurity_abi;
5879     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1663008150, 55699, 4562, [179, 57, 0, 16, 90, 31, 74, 175]);
5880 }
5881 impl ::std::convert::From<IWbemEventProviderSecurity> for ::windows::runtime::IUnknown {
from(value: IWbemEventProviderSecurity) -> Self5882     fn from(value: IWbemEventProviderSecurity) -> Self {
5883         unsafe { ::std::mem::transmute(value) }
5884     }
5885 }
5886 impl ::std::convert::From<&IWbemEventProviderSecurity> for ::windows::runtime::IUnknown {
from(value: &IWbemEventProviderSecurity) -> Self5887     fn from(value: &IWbemEventProviderSecurity) -> Self {
5888         ::std::convert::From::from(::std::clone::Clone::clone(value))
5889     }
5890 }
5891 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemEventProviderSecurity {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5892     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5893         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5894     }
5895 }
5896 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemEventProviderSecurity {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5897     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5898         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5899     }
5900 }
5901 #[repr(C)]
5902 #[doc(hidden)]
5903 pub struct IWbemEventProviderSecurity_abi(
5904     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5906     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5907     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszquerylanguage: *const u16, wszquery: *const u16, lsidlength: i32, psid: *const u8) -> ::windows::runtime::HRESULT,
5908 );
5909 #[repr(transparent)]
5910 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5911 pub struct IWbemEventSink(::windows::runtime::IUnknown);
5912 impl IWbemEventSink {
Indicate(&self, lobjectcount: i32, apobjarray: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>5913     pub unsafe fn Indicate(&self, lobjectcount: i32, apobjarray: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
5914         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lobjectcount), ::std::mem::transmute(apobjarray)).ok()
5915     }
5916     #[cfg(feature = "Win32_Foundation")]
SetStatus<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: Param2, pobjparam: Param3) -> ::windows::runtime::Result<()>5917     pub unsafe fn SetStatus<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: Param2, pobjparam: Param3) -> ::windows::runtime::Result<()> {
5918         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(hresult), strparam.into_param().abi(), pobjparam.into_param().abi()).ok()
5919     }
SetSinkSecurity(&self, lsdlength: i32, psd: *const u8) -> ::windows::runtime::Result<()>5920     pub unsafe fn SetSinkSecurity(&self, lsdlength: i32, psd: *const u8) -> ::windows::runtime::Result<()> {
5921         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lsdlength), ::std::mem::transmute(psd)).ok()
5922     }
IsActive(&self) -> ::windows::runtime::Result<()>5923     pub unsafe fn IsActive(&self) -> ::windows::runtime::Result<()> {
5924         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
5925     }
5926     #[cfg(feature = "Win32_Foundation")]
GetRestrictedSink<'a, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, lnumqueries: i32, awszqueries: *const super::super::Foundation::PWSTR, pcallback: Param2) -> ::windows::runtime::Result<IWbemEventSink>5927     pub unsafe fn GetRestrictedSink<'a, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, lnumqueries: i32, awszqueries: *const super::super::Foundation::PWSTR, pcallback: Param2) -> ::windows::runtime::Result<IWbemEventSink> {
5928         let mut result__: <IWbemEventSink as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5929         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lnumqueries), ::std::mem::transmute(awszqueries), pcallback.into_param().abi(), &mut result__).from_abi::<IWbemEventSink>(result__)
5930     }
SetBatchingParameters(&self, lflags: i32, dwmaxbuffersize: u32, dwmaxsendlatency: u32) -> ::windows::runtime::Result<()>5931     pub unsafe fn SetBatchingParameters(&self, lflags: i32, dwmaxbuffersize: u32, dwmaxsendlatency: u32) -> ::windows::runtime::Result<()> {
5932         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(dwmaxbuffersize), ::std::mem::transmute(dwmaxsendlatency)).ok()
5933     }
5934 }
5935 unsafe impl ::windows::runtime::Interface for IWbemEventSink {
5936     type Vtable = IWbemEventSink_abi;
5937     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(987760650, 32314, 17254, [191, 137, 15, 238, 220, 147, 22, 89]);
5938 }
5939 impl ::std::convert::From<IWbemEventSink> for ::windows::runtime::IUnknown {
from(value: IWbemEventSink) -> Self5940     fn from(value: IWbemEventSink) -> Self {
5941         unsafe { ::std::mem::transmute(value) }
5942     }
5943 }
5944 impl ::std::convert::From<&IWbemEventSink> for ::windows::runtime::IUnknown {
from(value: &IWbemEventSink) -> Self5945     fn from(value: &IWbemEventSink) -> Self {
5946         ::std::convert::From::from(::std::clone::Clone::clone(value))
5947     }
5948 }
5949 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5950     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5951         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5952     }
5953 }
5954 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5955     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5956         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5957     }
5958 }
5959 impl ::std::convert::From<IWbemEventSink> for IWbemObjectSink {
from(value: IWbemEventSink) -> Self5960     fn from(value: IWbemEventSink) -> Self {
5961         unsafe { ::std::mem::transmute(value) }
5962     }
5963 }
5964 impl ::std::convert::From<&IWbemEventSink> for IWbemObjectSink {
from(value: &IWbemEventSink) -> Self5965     fn from(value: &IWbemEventSink) -> Self {
5966         ::std::convert::From::from(::std::clone::Clone::clone(value))
5967     }
5968 }
5969 impl<'a> ::windows::runtime::IntoParam<'a, IWbemObjectSink> for IWbemEventSink {
into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink>5970     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink> {
5971         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemObjectSink>::into(self))
5972     }
5973 }
5974 impl<'a> ::windows::runtime::IntoParam<'a, IWbemObjectSink> for &IWbemEventSink {
into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink>5975     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink> {
5976         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemObjectSink>::into(::std::clone::Clone::clone(self)))
5977     }
5978 }
5979 #[repr(C)]
5980 #[doc(hidden)]
5981 pub struct IWbemEventSink_abi(
5982     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5983     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5984     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5985     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lobjectcount: i32, apobjarray: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5986     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pobjparam: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5987     #[cfg(not(feature = "Win32_Foundation"))] usize,
5988     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lsdlength: i32, psd: *const u8) -> ::windows::runtime::HRESULT,
5989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5990     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lnumqueries: i32, awszqueries: *const super::super::Foundation::PWSTR, pcallback: ::windows::runtime::RawPtr, ppsink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5991     #[cfg(not(feature = "Win32_Foundation"))] usize,
5992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, dwmaxbuffersize: u32, dwmaxsendlatency: u32) -> ::windows::runtime::HRESULT,
5993 );
5994 #[repr(transparent)]
5995 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5996 pub struct IWbemHiPerfEnum(::windows::runtime::IUnknown);
5997 impl IWbemHiPerfEnum {
AddObjects(&self, lflags: i32, unumobjects: u32, apids: *const i32, apobj: *const ::std::option::Option<IWbemObjectAccess>) -> ::windows::runtime::Result<()>5998     pub unsafe fn AddObjects(&self, lflags: i32, unumobjects: u32, apids: *const i32, apobj: *const ::std::option::Option<IWbemObjectAccess>) -> ::windows::runtime::Result<()> {
5999         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(unumobjects), ::std::mem::transmute(apids), ::std::mem::transmute(apobj)).ok()
6000     }
RemoveObjects(&self, lflags: i32, unumobjects: u32, apids: *const i32) -> ::windows::runtime::Result<()>6001     pub unsafe fn RemoveObjects(&self, lflags: i32, unumobjects: u32, apids: *const i32) -> ::windows::runtime::Result<()> {
6002         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(unumobjects), ::std::mem::transmute(apids)).ok()
6003     }
GetObjects(&self, lflags: i32, unumobjects: u32, apobj: *mut ::std::option::Option<IWbemObjectAccess>, pureturned: *mut u32) -> ::windows::runtime::Result<()>6004     pub unsafe fn GetObjects(&self, lflags: i32, unumobjects: u32, apobj: *mut ::std::option::Option<IWbemObjectAccess>, pureturned: *mut u32) -> ::windows::runtime::Result<()> {
6005         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(unumobjects), ::std::mem::transmute(apobj), ::std::mem::transmute(pureturned)).ok()
6006     }
RemoveAll(&self, lflags: i32) -> ::windows::runtime::Result<()>6007     pub unsafe fn RemoveAll(&self, lflags: i32) -> ::windows::runtime::Result<()> {
6008         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
6009     }
6010 }
6011 unsafe impl ::windows::runtime::Interface for IWbemHiPerfEnum {
6012     type Vtable = IWbemHiPerfEnum_abi;
6013     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(654688904, 31150, 4562, [179, 72, 0, 16, 90, 31, 129, 119]);
6014 }
6015 impl ::std::convert::From<IWbemHiPerfEnum> for ::windows::runtime::IUnknown {
from(value: IWbemHiPerfEnum) -> Self6016     fn from(value: IWbemHiPerfEnum) -> Self {
6017         unsafe { ::std::mem::transmute(value) }
6018     }
6019 }
6020 impl ::std::convert::From<&IWbemHiPerfEnum> for ::windows::runtime::IUnknown {
from(value: &IWbemHiPerfEnum) -> Self6021     fn from(value: &IWbemHiPerfEnum) -> Self {
6022         ::std::convert::From::from(::std::clone::Clone::clone(value))
6023     }
6024 }
6025 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemHiPerfEnum {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6026     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6027         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6028     }
6029 }
6030 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemHiPerfEnum {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6031     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6032         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6033     }
6034 }
6035 #[repr(C)]
6036 #[doc(hidden)]
6037 pub struct IWbemHiPerfEnum_abi(
6038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, unumobjects: u32, apids: *const i32, apobj: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, unumobjects: u32, apids: *const i32) -> ::windows::runtime::HRESULT,
6043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, unumobjects: u32, apobj: *mut ::windows::runtime::RawPtr, pureturned: *mut u32) -> ::windows::runtime::HRESULT,
6044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
6045 );
6046 #[repr(transparent)]
6047 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6048 pub struct IWbemHiPerfProvider(::windows::runtime::IUnknown);
6049 impl IWbemHiPerfProvider {
6050     #[cfg(feature = "Win32_Foundation")]
QueryInstances<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, wszclass: Param1, lflags: i32, pctx: Param3, psink: ::std::option::Option<IWbemObjectSink>) -> ::windows::runtime::Result<()>6051     pub unsafe fn QueryInstances<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, wszclass: Param1, lflags: i32, pctx: Param3, psink: ::std::option::Option<IWbemObjectSink>) -> ::windows::runtime::Result<()> {
6052         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), wszclass.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(psink)).ok()
6053     }
CreateRefresher<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>>(&self, pnamespace: Param0, lflags: i32) -> ::windows::runtime::Result<IWbemRefresher>6054     pub unsafe fn CreateRefresher<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>>(&self, pnamespace: Param0, lflags: i32) -> ::windows::runtime::Result<IWbemRefresher> {
6055         let mut result__: <IWbemRefresher as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6056         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), ::std::mem::transmute(lflags), &mut result__).from_abi::<IWbemRefresher>(result__)
6057     }
CreateRefreshableObject<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, IWbemObjectAccess>, Param2: ::windows::runtime::IntoParam<'a, IWbemRefresher>, Param4: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, ptemplate: Param1, prefresher: Param2, lflags: i32, pcontext: Param4, pprefreshable: *mut ::std::option::Option<IWbemObjectAccess>, plid: *mut i32) -> ::windows::runtime::Result<()>6058     pub unsafe fn CreateRefreshableObject<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, IWbemObjectAccess>, Param2: ::windows::runtime::IntoParam<'a, IWbemRefresher>, Param4: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, ptemplate: Param1, prefresher: Param2, lflags: i32, pcontext: Param4, pprefreshable: *mut ::std::option::Option<IWbemObjectAccess>, plid: *mut i32) -> ::windows::runtime::Result<()> {
6059         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), ptemplate.into_param().abi(), prefresher.into_param().abi(), ::std::mem::transmute(lflags), pcontext.into_param().abi(), ::std::mem::transmute(pprefreshable), ::std::mem::transmute(plid)).ok()
6060     }
StopRefreshing<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemRefresher>>(&self, prefresher: Param0, lid: i32, lflags: i32) -> ::windows::runtime::Result<()>6061     pub unsafe fn StopRefreshing<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemRefresher>>(&self, prefresher: Param0, lid: i32, lflags: i32) -> ::windows::runtime::Result<()> {
6062         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), prefresher.into_param().abi(), ::std::mem::transmute(lid), ::std::mem::transmute(lflags)).ok()
6063     }
6064     #[cfg(feature = "Win32_Foundation")]
CreateRefreshableEnum<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemRefresher>, Param4: ::windows::runtime::IntoParam<'a, IWbemContext>, Param5: ::windows::runtime::IntoParam<'a, IWbemHiPerfEnum>>( &self, pnamespace: Param0, wszclass: Param1, prefresher: Param2, lflags: i32, pcontext: Param4, phiperfenum: Param5, ) -> ::windows::runtime::Result<i32>6065     pub unsafe fn CreateRefreshableEnum<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemRefresher>, Param4: ::windows::runtime::IntoParam<'a, IWbemContext>, Param5: ::windows::runtime::IntoParam<'a, IWbemHiPerfEnum>>(
6066         &self,
6067         pnamespace: Param0,
6068         wszclass: Param1,
6069         prefresher: Param2,
6070         lflags: i32,
6071         pcontext: Param4,
6072         phiperfenum: Param5,
6073     ) -> ::windows::runtime::Result<i32> {
6074         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6075         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), wszclass.into_param().abi(), prefresher.into_param().abi(), ::std::mem::transmute(lflags), pcontext.into_param().abi(), phiperfenum.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6076     }
GetObjects<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param4: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, lnumobjects: i32, apobj: *mut ::std::option::Option<IWbemObjectAccess>, lflags: i32, pcontext: Param4) -> ::windows::runtime::Result<()>6077     pub unsafe fn GetObjects<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemServices>, Param4: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pnamespace: Param0, lnumobjects: i32, apobj: *mut ::std::option::Option<IWbemObjectAccess>, lflags: i32, pcontext: Param4) -> ::windows::runtime::Result<()> {
6078         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pnamespace.into_param().abi(), ::std::mem::transmute(lnumobjects), ::std::mem::transmute(apobj), ::std::mem::transmute(lflags), pcontext.into_param().abi()).ok()
6079     }
6080 }
6081 unsafe impl ::windows::runtime::Interface for IWbemHiPerfProvider {
6082     type Vtable = IWbemHiPerfProvider_abi;
6083     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1228225683, 20843, 4561, [174, 166, 0, 192, 79, 182, 136, 32]);
6084 }
6085 impl ::std::convert::From<IWbemHiPerfProvider> for ::windows::runtime::IUnknown {
from(value: IWbemHiPerfProvider) -> Self6086     fn from(value: IWbemHiPerfProvider) -> Self {
6087         unsafe { ::std::mem::transmute(value) }
6088     }
6089 }
6090 impl ::std::convert::From<&IWbemHiPerfProvider> for ::windows::runtime::IUnknown {
from(value: &IWbemHiPerfProvider) -> Self6091     fn from(value: &IWbemHiPerfProvider) -> Self {
6092         ::std::convert::From::from(::std::clone::Clone::clone(value))
6093     }
6094 }
6095 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemHiPerfProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6096     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6097         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6098     }
6099 }
6100 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemHiPerfProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6101     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6102         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6103     }
6104 }
6105 #[repr(C)]
6106 #[doc(hidden)]
6107 pub struct IWbemHiPerfProvider_abi(
6108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6111     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, wszclass: super::super::Foundation::PWSTR, lflags: i32, pctx: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6112     #[cfg(not(feature = "Win32_Foundation"))] usize,
6113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, lflags: i32, pprefresher: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, ptemplate: ::windows::runtime::RawPtr, prefresher: ::windows::runtime::RawPtr, lflags: i32, pcontext: ::windows::runtime::RawPtr, pprefreshable: *mut ::windows::runtime::RawPtr, plid: *mut i32) -> ::windows::runtime::HRESULT,
6115     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prefresher: ::windows::runtime::RawPtr, lid: i32, lflags: i32) -> ::windows::runtime::HRESULT,
6116     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, wszclass: super::super::Foundation::PWSTR, prefresher: ::windows::runtime::RawPtr, lflags: i32, pcontext: ::windows::runtime::RawPtr, phiperfenum: ::windows::runtime::RawPtr, plid: *mut i32) -> ::windows::runtime::HRESULT,
6117     #[cfg(not(feature = "Win32_Foundation"))] usize,
6118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnamespace: ::windows::runtime::RawPtr, lnumobjects: i32, apobj: *mut ::windows::runtime::RawPtr, lflags: i32, pcontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6119 );
6120 #[repr(transparent)]
6121 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6122 pub struct IWbemLevel1Login(::windows::runtime::IUnknown);
6123 impl IWbemLevel1Login {
6124     #[cfg(feature = "Win32_Foundation")]
EstablishPosition<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszlocalelist: Param0, dwnumlocales: u32) -> ::windows::runtime::Result<u32>6125     pub unsafe fn EstablishPosition<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszlocalelist: Param0, dwnumlocales: u32) -> ::windows::runtime::Result<u32> {
6126         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6127         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wszlocalelist.into_param().abi(), ::std::mem::transmute(dwnumlocales), &mut result__).from_abi::<u32>(result__)
6128     }
6129     #[cfg(feature = "Win32_Foundation")]
RequestChallenge<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wsznetworkresource: Param0, wszuser: Param1) -> ::windows::runtime::Result<u8>6130     pub unsafe fn RequestChallenge<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wsznetworkresource: Param0, wszuser: Param1) -> ::windows::runtime::Result<u8> {
6131         let mut result__: <u8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6132         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wsznetworkresource.into_param().abi(), wszuser.into_param().abi(), &mut result__).from_abi::<u8>(result__)
6133     }
6134     #[cfg(feature = "Win32_Foundation")]
WBEMLogin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, wszpreferredlocale: Param0, accesstoken: *const u8, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IWbemServices>6135     pub unsafe fn WBEMLogin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, wszpreferredlocale: Param0, accesstoken: *const u8, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IWbemServices> {
6136         let mut result__: <IWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6137         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wszpreferredlocale.into_param().abi(), ::std::mem::transmute(accesstoken), ::std::mem::transmute(lflags), pctx.into_param().abi(), &mut result__).from_abi::<IWbemServices>(result__)
6138     }
6139     #[cfg(feature = "Win32_Foundation")]
NTLMLogin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, wsznetworkresource: Param0, wszpreferredlocale: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IWbemServices>6140     pub unsafe fn NTLMLogin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, wsznetworkresource: Param0, wszpreferredlocale: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IWbemServices> {
6141         let mut result__: <IWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6142         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), wsznetworkresource.into_param().abi(), wszpreferredlocale.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), &mut result__).from_abi::<IWbemServices>(result__)
6143     }
6144 }
6145 unsafe impl ::windows::runtime::Interface for IWbemLevel1Login {
6146     type Vtable = IWbemLevel1Login_abi;
6147     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4077497624, 55402, 4560, [160, 117, 0, 192, 79, 182, 136, 32]);
6148 }
6149 impl ::std::convert::From<IWbemLevel1Login> for ::windows::runtime::IUnknown {
from(value: IWbemLevel1Login) -> Self6150     fn from(value: IWbemLevel1Login) -> Self {
6151         unsafe { ::std::mem::transmute(value) }
6152     }
6153 }
6154 impl ::std::convert::From<&IWbemLevel1Login> for ::windows::runtime::IUnknown {
from(value: &IWbemLevel1Login) -> Self6155     fn from(value: &IWbemLevel1Login) -> Self {
6156         ::std::convert::From::from(::std::clone::Clone::clone(value))
6157     }
6158 }
6159 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemLevel1Login {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6160     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6161         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6162     }
6163 }
6164 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemLevel1Login {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6165     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6166         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6167     }
6168 }
6169 #[repr(C)]
6170 #[doc(hidden)]
6171 pub struct IWbemLevel1Login_abi(
6172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6175     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszlocalelist: super::super::Foundation::PWSTR, dwnumlocales: u32, reserved: *mut u32) -> ::windows::runtime::HRESULT,
6176     #[cfg(not(feature = "Win32_Foundation"))] usize,
6177     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wsznetworkresource: super::super::Foundation::PWSTR, wszuser: super::super::Foundation::PWSTR, nonce: *mut u8) -> ::windows::runtime::HRESULT,
6178     #[cfg(not(feature = "Win32_Foundation"))] usize,
6179     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszpreferredlocale: super::super::Foundation::PWSTR, accesstoken: *const u8, lflags: i32, pctx: ::windows::runtime::RawPtr, ppnamespace: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6180     #[cfg(not(feature = "Win32_Foundation"))] usize,
6181     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wsznetworkresource: super::super::Foundation::PWSTR, wszpreferredlocale: super::super::Foundation::PWSTR, lflags: i32, pctx: ::windows::runtime::RawPtr, ppnamespace: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6182     #[cfg(not(feature = "Win32_Foundation"))] usize,
6183 );
6184 #[repr(transparent)]
6185 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6186 pub struct IWbemLocator(::windows::runtime::IUnknown);
6187 impl IWbemLocator {
6188     #[cfg(feature = "Win32_Foundation")]
ConnectServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, IWbemContext>>( &self, strnetworkresource: Param0, struser: Param1, strpassword: Param2, strlocale: Param3, lsecurityflags: i32, strauthority: Param5, pctx: Param6, ) -> ::windows::runtime::Result<IWbemServices>6189     pub unsafe fn ConnectServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, IWbemContext>>(
6190         &self,
6191         strnetworkresource: Param0,
6192         struser: Param1,
6193         strpassword: Param2,
6194         strlocale: Param3,
6195         lsecurityflags: i32,
6196         strauthority: Param5,
6197         pctx: Param6,
6198     ) -> ::windows::runtime::Result<IWbemServices> {
6199         let mut result__: <IWbemServices as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6200         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), strnetworkresource.into_param().abi(), struser.into_param().abi(), strpassword.into_param().abi(), strlocale.into_param().abi(), ::std::mem::transmute(lsecurityflags), strauthority.into_param().abi(), pctx.into_param().abi(), &mut result__).from_abi::<IWbemServices>(result__)
6201     }
6202 }
6203 unsafe impl ::windows::runtime::Interface for IWbemLocator {
6204     type Vtable = IWbemLocator_abi;
6205     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3692209799, 29567, 4559, [136, 77, 0, 170, 0, 75, 46, 36]);
6206 }
6207 impl ::std::convert::From<IWbemLocator> for ::windows::runtime::IUnknown {
from(value: IWbemLocator) -> Self6208     fn from(value: IWbemLocator) -> Self {
6209         unsafe { ::std::mem::transmute(value) }
6210     }
6211 }
6212 impl ::std::convert::From<&IWbemLocator> for ::windows::runtime::IUnknown {
from(value: &IWbemLocator) -> Self6213     fn from(value: &IWbemLocator) -> Self {
6214         ::std::convert::From::from(::std::clone::Clone::clone(value))
6215     }
6216 }
6217 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemLocator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6218     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6219         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6220     }
6221 }
6222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemLocator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6224         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6225     }
6226 }
6227 #[repr(C)]
6228 #[doc(hidden)]
6229 pub struct IWbemLocator_abi(
6230     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6231     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6232     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6233     #[cfg(feature = "Win32_Foundation")]
6234     pub  unsafe extern "system" fn(
6235         this: ::windows::runtime::RawPtr,
6236         strnetworkresource: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
6237         struser: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
6238         strpassword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
6239         strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
6240         lsecurityflags: i32,
6241         strauthority: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>,
6242         pctx: ::windows::runtime::RawPtr,
6243         ppnamespace: *mut ::windows::runtime::RawPtr,
6244     ) -> ::windows::runtime::HRESULT,
6245     #[cfg(not(feature = "Win32_Foundation"))] usize,
6246 );
6247 #[repr(transparent)]
6248 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6249 pub struct IWbemObjectAccess(::windows::runtime::IUnknown);
6250 impl IWbemObjectAccess {
GetQualifierSet(&self) -> ::windows::runtime::Result<IWbemQualifierSet>6251     pub unsafe fn GetQualifierSet(&self) -> ::windows::runtime::Result<IWbemQualifierSet> {
6252         let mut result__: <IWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6253         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWbemQualifierSet>(result__)
6254     }
6255     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()>6256     pub unsafe fn Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()> {
6257         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pval), ::std::mem::transmute(ptype), ::std::mem::transmute(plflavor)).ok()
6258     }
6259     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *const super::Com::VARIANT, r#type: i32) -> ::windows::runtime::Result<()>6260     pub unsafe fn Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *const super::Com::VARIANT, r#type: i32) -> ::windows::runtime::Result<()> {
6261         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pval), ::std::mem::transmute(r#type)).ok()
6262     }
6263     #[cfg(feature = "Win32_Foundation")]
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()>6264     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()> {
6265         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), wszname.into_param().abi()).ok()
6266     }
6267     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszqualifiername: Param0, lflags: i32, pqualifierval: *const super::Com::VARIANT) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>6268     pub unsafe fn GetNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszqualifiername: Param0, lflags: i32, pqualifierval: *const super::Com::VARIANT) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
6269         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6270         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), wszqualifiername.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pqualifierval), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
6271     }
BeginEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()>6272     pub unsafe fn BeginEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()> {
6273         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lenumflags)).ok()
6274     }
6275     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Next(&self, lflags: i32, strname: *mut super::super::Foundation::BSTR, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()>6276     pub unsafe fn Next(&self, lflags: i32, strname: *mut super::super::Foundation::BSTR, pval: *mut super::Com::VARIANT, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::Result<()> {
6277         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(strname), ::std::mem::transmute(pval), ::std::mem::transmute(ptype), ::std::mem::transmute(plflavor)).ok()
6278     }
EndEnumeration(&self) -> ::windows::runtime::Result<()>6279     pub unsafe fn EndEnumeration(&self) -> ::windows::runtime::Result<()> {
6280         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
6281     }
6282     #[cfg(feature = "Win32_Foundation")]
GetPropertyQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszproperty: Param0) -> ::windows::runtime::Result<IWbemQualifierSet>6283     pub unsafe fn GetPropertyQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszproperty: Param0) -> ::windows::runtime::Result<IWbemQualifierSet> {
6284         let mut result__: <IWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6285         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), wszproperty.into_param().abi(), &mut result__).from_abi::<IWbemQualifierSet>(result__)
6286     }
Clone(&self) -> ::windows::runtime::Result<IWbemClassObject>6287     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IWbemClassObject> {
6288         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6289         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWbemClassObject>(result__)
6290     }
6291     #[cfg(feature = "Win32_Foundation")]
GetObjectText(&self, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6292     pub unsafe fn GetObjectText(&self, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6293         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6294         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6295     }
SpawnDerivedClass(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject>6296     pub unsafe fn SpawnDerivedClass(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject> {
6297         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6298         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<IWbemClassObject>(result__)
6299     }
SpawnInstance(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject>6300     pub unsafe fn SpawnInstance(&self, lflags: i32) -> ::windows::runtime::Result<IWbemClassObject> {
6301         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6302         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<IWbemClassObject>(result__)
6303     }
CompareTo<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, pcompareto: Param1) -> ::windows::runtime::Result<()>6304     pub unsafe fn CompareTo<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, pcompareto: Param1) -> ::windows::runtime::Result<()> {
6305         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), pcompareto.into_param().abi()).ok()
6306     }
6307     #[cfg(feature = "Win32_Foundation")]
GetPropertyOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6308     pub unsafe fn GetPropertyOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6309         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6310         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), wszname.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6311     }
6312     #[cfg(feature = "Win32_Foundation")]
InheritsFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strancestor: Param0) -> ::windows::runtime::Result<()>6313     pub unsafe fn InheritsFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, strancestor: Param0) -> ::windows::runtime::Result<()> {
6314         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), strancestor.into_param().abi()).ok()
6315     }
6316     #[cfg(feature = "Win32_Foundation")]
GetMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>6317     pub unsafe fn GetMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
6318         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(ppinsignature), ::std::mem::transmute(ppoutsignature)).ok()
6319     }
6320     #[cfg(feature = "Win32_Foundation")]
PutMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, wszname: Param0, lflags: i32, pinsignature: Param2, poutsignature: Param3) -> ::windows::runtime::Result<()>6321     pub unsafe fn PutMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, wszname: Param0, lflags: i32, pinsignature: Param2, poutsignature: Param3) -> ::windows::runtime::Result<()> {
6322         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), pinsignature.into_param().abi(), poutsignature.into_param().abi()).ok()
6323     }
6324     #[cfg(feature = "Win32_Foundation")]
DeleteMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()>6325     pub unsafe fn DeleteMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()> {
6326         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), wszname.into_param().abi()).ok()
6327     }
BeginMethodEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()>6328     pub unsafe fn BeginMethodEnumeration(&self, lenumflags: i32) -> ::windows::runtime::Result<()> {
6329         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(lenumflags)).ok()
6330     }
6331     #[cfg(feature = "Win32_Foundation")]
NextMethod(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>6332     pub unsafe fn NextMethod(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, ppinsignature: *mut ::std::option::Option<IWbemClassObject>, ppoutsignature: *mut ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
6333         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(pstrname), ::std::mem::transmute(ppinsignature), ::std::mem::transmute(ppoutsignature)).ok()
6334     }
EndMethodEnumeration(&self) -> ::windows::runtime::Result<()>6335     pub unsafe fn EndMethodEnumeration(&self) -> ::windows::runtime::Result<()> {
6336         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self)).ok()
6337     }
6338     #[cfg(feature = "Win32_Foundation")]
GetMethodQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethod: Param0) -> ::windows::runtime::Result<IWbemQualifierSet>6339     pub unsafe fn GetMethodQualifierSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethod: Param0) -> ::windows::runtime::Result<IWbemQualifierSet> {
6340         let mut result__: <IWbemQualifierSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6341         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), wszmethod.into_param().abi(), &mut result__).from_abi::<IWbemQualifierSet>(result__)
6342     }
6343     #[cfg(feature = "Win32_Foundation")]
GetMethodOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethodname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6344     pub unsafe fn GetMethodOrigin<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmethodname: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6345         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6346         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), wszmethodname.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6347     }
6348     #[cfg(feature = "Win32_Foundation")]
GetPropertyHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszpropertyname: Param0, ptype: *mut i32, plhandle: *mut i32) -> ::windows::runtime::Result<()>6349     pub unsafe fn GetPropertyHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszpropertyname: Param0, ptype: *mut i32, plhandle: *mut i32) -> ::windows::runtime::Result<()> {
6350         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), wszpropertyname.into_param().abi(), ::std::mem::transmute(ptype), ::std::mem::transmute(plhandle)).ok()
6351     }
WritePropertyValue(&self, lhandle: i32, lnumbytes: i32, adata: *const u8) -> ::windows::runtime::Result<()>6352     pub unsafe fn WritePropertyValue(&self, lhandle: i32, lnumbytes: i32, adata: *const u8) -> ::windows::runtime::Result<()> {
6353         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), ::std::mem::transmute(lnumbytes), ::std::mem::transmute(adata)).ok()
6354     }
ReadPropertyValue(&self, lhandle: i32, lbuffersize: i32, plnumbytes: *mut i32, adata: *mut u8) -> ::windows::runtime::Result<()>6355     pub unsafe fn ReadPropertyValue(&self, lhandle: i32, lbuffersize: i32, plnumbytes: *mut i32, adata: *mut u8) -> ::windows::runtime::Result<()> {
6356         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), ::std::mem::transmute(lbuffersize), ::std::mem::transmute(plnumbytes), ::std::mem::transmute(adata)).ok()
6357     }
ReadDWORD(&self, lhandle: i32) -> ::windows::runtime::Result<u32>6358     pub unsafe fn ReadDWORD(&self, lhandle: i32) -> ::windows::runtime::Result<u32> {
6359         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6360         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), &mut result__).from_abi::<u32>(result__)
6361     }
WriteDWORD(&self, lhandle: i32, dw: u32) -> ::windows::runtime::Result<()>6362     pub unsafe fn WriteDWORD(&self, lhandle: i32, dw: u32) -> ::windows::runtime::Result<()> {
6363         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), ::std::mem::transmute(dw)).ok()
6364     }
ReadQWORD(&self, lhandle: i32) -> ::windows::runtime::Result<u64>6365     pub unsafe fn ReadQWORD(&self, lhandle: i32) -> ::windows::runtime::Result<u64> {
6366         let mut result__: <u64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6367         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), &mut result__).from_abi::<u64>(result__)
6368     }
WriteQWORD(&self, lhandle: i32, pw: u64) -> ::windows::runtime::Result<()>6369     pub unsafe fn WriteQWORD(&self, lhandle: i32, pw: u64) -> ::windows::runtime::Result<()> {
6370         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), ::std::mem::transmute(pw)).ok()
6371     }
6372     #[cfg(feature = "Win32_Foundation")]
GetPropertyInfoByHandle(&self, lhandle: i32, pstrname: *mut super::super::Foundation::BSTR, ptype: *mut i32) -> ::windows::runtime::Result<()>6373     pub unsafe fn GetPropertyInfoByHandle(&self, lhandle: i32, pstrname: *mut super::super::Foundation::BSTR, ptype: *mut i32) -> ::windows::runtime::Result<()> {
6374         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(lhandle), ::std::mem::transmute(pstrname), ::std::mem::transmute(ptype)).ok()
6375     }
Lock(&self, lflags: i32) -> ::windows::runtime::Result<()>6376     pub unsafe fn Lock(&self, lflags: i32) -> ::windows::runtime::Result<()> {
6377         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
6378     }
Unlock(&self, lflags: i32) -> ::windows::runtime::Result<()>6379     pub unsafe fn Unlock(&self, lflags: i32) -> ::windows::runtime::Result<()> {
6380         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
6381     }
6382 }
6383 unsafe impl ::windows::runtime::Interface for IWbemObjectAccess {
6384     type Vtable = IWbemObjectAccess_abi;
6385     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1228225690, 20843, 4561, [174, 166, 0, 192, 79, 182, 136, 32]);
6386 }
6387 impl ::std::convert::From<IWbemObjectAccess> for ::windows::runtime::IUnknown {
from(value: IWbemObjectAccess) -> Self6388     fn from(value: IWbemObjectAccess) -> Self {
6389         unsafe { ::std::mem::transmute(value) }
6390     }
6391 }
6392 impl ::std::convert::From<&IWbemObjectAccess> for ::windows::runtime::IUnknown {
from(value: &IWbemObjectAccess) -> Self6393     fn from(value: &IWbemObjectAccess) -> Self {
6394         ::std::convert::From::from(::std::clone::Clone::clone(value))
6395     }
6396 }
6397 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemObjectAccess {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6398     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6399         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6400     }
6401 }
6402 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemObjectAccess {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6403     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6404         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6405     }
6406 }
6407 impl ::std::convert::From<IWbemObjectAccess> for IWbemClassObject {
from(value: IWbemObjectAccess) -> Self6408     fn from(value: IWbemObjectAccess) -> Self {
6409         unsafe { ::std::mem::transmute(value) }
6410     }
6411 }
6412 impl ::std::convert::From<&IWbemObjectAccess> for IWbemClassObject {
from(value: &IWbemObjectAccess) -> Self6413     fn from(value: &IWbemObjectAccess) -> Self {
6414         ::std::convert::From::from(::std::clone::Clone::clone(value))
6415     }
6416 }
6417 impl<'a> ::windows::runtime::IntoParam<'a, IWbemClassObject> for IWbemObjectAccess {
into_param(self) -> ::windows::runtime::Param<'a, IWbemClassObject>6418     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemClassObject> {
6419         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemClassObject>::into(self))
6420     }
6421 }
6422 impl<'a> ::windows::runtime::IntoParam<'a, IWbemClassObject> for &IWbemObjectAccess {
into_param(self) -> ::windows::runtime::Param<'a, IWbemClassObject>6423     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemClassObject> {
6424         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemClassObject>::into(::std::clone::Clone::clone(self)))
6425     }
6426 }
6427 #[repr(C)]
6428 #[doc(hidden)]
6429 pub struct IWbemObjectAccess_abi(
6430     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6432     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6433     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqualset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6434     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::HRESULT,
6435     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6436     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, r#type: i32) -> ::windows::runtime::HRESULT,
6437     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6438     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6439     #[cfg(not(feature = "Win32_Foundation"))] usize,
6440     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszqualifiername: super::super::Foundation::PWSTR, lflags: i32, pqualifierval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pnames: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
6441     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6442     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lenumflags: i32) -> ::windows::runtime::HRESULT,
6443     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, strname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, ptype: *mut i32, plflavor: *mut i32) -> ::windows::runtime::HRESULT,
6444     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6446     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszproperty: super::super::Foundation::PWSTR, ppqualset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6447     #[cfg(not(feature = "Win32_Foundation"))] usize,
6448     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcopy: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6449     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pstrobjecttext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6450     #[cfg(not(feature = "Win32_Foundation"))] usize,
6451     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, ppnewclass: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6452     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, ppnewinstance: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6453     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pcompareto: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6454     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, pstrclassname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6455     #[cfg(not(feature = "Win32_Foundation"))] usize,
6456     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strancestor: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6457     #[cfg(not(feature = "Win32_Foundation"))] usize,
6458     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, ppinsignature: *mut ::windows::runtime::RawPtr, ppoutsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6459     #[cfg(not(feature = "Win32_Foundation"))] usize,
6460     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pinsignature: ::windows::runtime::RawPtr, poutsignature: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6461     #[cfg(not(feature = "Win32_Foundation"))] usize,
6462     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6463     #[cfg(not(feature = "Win32_Foundation"))] usize,
6464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lenumflags: i32) -> ::windows::runtime::HRESULT,
6465     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppinsignature: *mut ::windows::runtime::RawPtr, ppoutsignature: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6466     #[cfg(not(feature = "Win32_Foundation"))] usize,
6467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6468     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmethod: super::super::Foundation::PWSTR, ppqualset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6469     #[cfg(not(feature = "Win32_Foundation"))] usize,
6470     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmethodname: super::super::Foundation::PWSTR, pstrclassname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6471     #[cfg(not(feature = "Win32_Foundation"))] usize,
6472     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszpropertyname: super::super::Foundation::PWSTR, ptype: *mut i32, plhandle: *mut i32) -> ::windows::runtime::HRESULT,
6473     #[cfg(not(feature = "Win32_Foundation"))] usize,
6474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, lnumbytes: i32, adata: *const u8) -> ::windows::runtime::HRESULT,
6475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, lbuffersize: i32, plnumbytes: *mut i32, adata: *mut u8) -> ::windows::runtime::HRESULT,
6476     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, pdw: *mut u32) -> ::windows::runtime::HRESULT,
6477     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, dw: u32) -> ::windows::runtime::HRESULT,
6478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, pqw: *mut u64) -> ::windows::runtime::HRESULT,
6479     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, pw: u64) -> ::windows::runtime::HRESULT,
6480     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lhandle: i32, pstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ptype: *mut i32) -> ::windows::runtime::HRESULT,
6481     #[cfg(not(feature = "Win32_Foundation"))] usize,
6482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
6483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
6484 );
6485 #[repr(transparent)]
6486 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6487 pub struct IWbemObjectSink(::windows::runtime::IUnknown);
6488 impl IWbemObjectSink {
Indicate(&self, lobjectcount: i32, apobjarray: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>6489     pub unsafe fn Indicate(&self, lobjectcount: i32, apobjarray: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
6490         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lobjectcount), ::std::mem::transmute(apobjarray)).ok()
6491     }
6492     #[cfg(feature = "Win32_Foundation")]
SetStatus<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: Param2, pobjparam: Param3) -> ::windows::runtime::Result<()>6493     pub unsafe fn SetStatus<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: Param2, pobjparam: Param3) -> ::windows::runtime::Result<()> {
6494         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(hresult), strparam.into_param().abi(), pobjparam.into_param().abi()).ok()
6495     }
6496 }
6497 unsafe impl ::windows::runtime::Interface for IWbemObjectSink {
6498     type Vtable = IWbemObjectSink_abi;
6499     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2089121793, 29569, 4559, [136, 77, 0, 170, 0, 75, 46, 36]);
6500 }
6501 impl ::std::convert::From<IWbemObjectSink> for ::windows::runtime::IUnknown {
from(value: IWbemObjectSink) -> Self6502     fn from(value: IWbemObjectSink) -> Self {
6503         unsafe { ::std::mem::transmute(value) }
6504     }
6505 }
6506 impl ::std::convert::From<&IWbemObjectSink> for ::windows::runtime::IUnknown {
from(value: &IWbemObjectSink) -> Self6507     fn from(value: &IWbemObjectSink) -> Self {
6508         ::std::convert::From::from(::std::clone::Clone::clone(value))
6509     }
6510 }
6511 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemObjectSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6512     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6513         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6514     }
6515 }
6516 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemObjectSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6517     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6518         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6519     }
6520 }
6521 #[repr(C)]
6522 #[doc(hidden)]
6523 pub struct IWbemObjectSink_abi(
6524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lobjectcount: i32, apobjarray: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6528     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pobjparam: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6529     #[cfg(not(feature = "Win32_Foundation"))] usize,
6530 );
6531 #[repr(transparent)]
6532 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6533 pub struct IWbemObjectSinkEx(::windows::runtime::IUnknown);
6534 impl IWbemObjectSinkEx {
Indicate(&self, lobjectcount: i32, apobjarray: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>6535     pub unsafe fn Indicate(&self, lobjectcount: i32, apobjarray: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
6536         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lobjectcount), ::std::mem::transmute(apobjarray)).ok()
6537     }
6538     #[cfg(feature = "Win32_Foundation")]
SetStatus<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: Param2, pobjparam: Param3) -> ::windows::runtime::Result<()>6539     pub unsafe fn SetStatus<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: Param2, pobjparam: Param3) -> ::windows::runtime::Result<()> {
6540         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(hresult), strparam.into_param().abi(), pobjparam.into_param().abi()).ok()
6541     }
6542     #[cfg(feature = "Win32_Foundation")]
WriteMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uchannel: u32, strmessage: Param1) -> ::windows::runtime::Result<()>6543     pub unsafe fn WriteMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uchannel: u32, strmessage: Param1) -> ::windows::runtime::Result<()> {
6544         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(uchannel), strmessage.into_param().abi()).ok()
6545     }
WriteError<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, pobjerror: Param0) -> ::windows::runtime::Result<u8>6546     pub unsafe fn WriteError<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, pobjerror: Param0) -> ::windows::runtime::Result<u8> {
6547         let mut result__: <u8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6548         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pobjerror.into_param().abi(), &mut result__).from_abi::<u8>(result__)
6549     }
6550     #[cfg(feature = "Win32_Foundation")]
PromptUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strmessage: Param0, uprompttype: u8) -> ::windows::runtime::Result<u8>6551     pub unsafe fn PromptUser<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strmessage: Param0, uprompttype: u8) -> ::windows::runtime::Result<u8> {
6552         let mut result__: <u8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6553         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), strmessage.into_param().abi(), ::std::mem::transmute(uprompttype), &mut result__).from_abi::<u8>(result__)
6554     }
6555     #[cfg(feature = "Win32_Foundation")]
WriteProgress<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, stractivity: Param0, strcurrentoperation: Param1, strstatusdescription: Param2, upercentcomplete: u32, usecondsremaining: u32) -> ::windows::runtime::Result<()>6556     pub unsafe fn WriteProgress<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, stractivity: Param0, strcurrentoperation: Param1, strstatusdescription: Param2, upercentcomplete: u32, usecondsremaining: u32) -> ::windows::runtime::Result<()> {
6557         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), stractivity.into_param().abi(), strcurrentoperation.into_param().abi(), strstatusdescription.into_param().abi(), ::std::mem::transmute(upercentcomplete), ::std::mem::transmute(usecondsremaining)).ok()
6558     }
6559     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
WriteStreamParameter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, vtvalue: *const super::Com::VARIANT, ultype: u32, ulflags: u32) -> ::windows::runtime::Result<()>6560     pub unsafe fn WriteStreamParameter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strname: Param0, vtvalue: *const super::Com::VARIANT, ultype: u32, ulflags: u32) -> ::windows::runtime::Result<()> {
6561         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), strname.into_param().abi(), ::std::mem::transmute(vtvalue), ::std::mem::transmute(ultype), ::std::mem::transmute(ulflags)).ok()
6562     }
6563 }
6564 unsafe impl ::windows::runtime::Interface for IWbemObjectSinkEx {
6565     type Vtable = IWbemObjectSinkEx_abi;
6566     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3889388794, 13451, 18526, [181, 36, 37, 39, 37, 214, 151, 202]);
6567 }
6568 impl ::std::convert::From<IWbemObjectSinkEx> for ::windows::runtime::IUnknown {
from(value: IWbemObjectSinkEx) -> Self6569     fn from(value: IWbemObjectSinkEx) -> Self {
6570         unsafe { ::std::mem::transmute(value) }
6571     }
6572 }
6573 impl ::std::convert::From<&IWbemObjectSinkEx> for ::windows::runtime::IUnknown {
from(value: &IWbemObjectSinkEx) -> Self6574     fn from(value: &IWbemObjectSinkEx) -> Self {
6575         ::std::convert::From::from(::std::clone::Clone::clone(value))
6576     }
6577 }
6578 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemObjectSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6579     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6580         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6581     }
6582 }
6583 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemObjectSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6584     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6585         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6586     }
6587 }
6588 impl ::std::convert::From<IWbemObjectSinkEx> for IWbemObjectSink {
from(value: IWbemObjectSinkEx) -> Self6589     fn from(value: IWbemObjectSinkEx) -> Self {
6590         unsafe { ::std::mem::transmute(value) }
6591     }
6592 }
6593 impl ::std::convert::From<&IWbemObjectSinkEx> for IWbemObjectSink {
from(value: &IWbemObjectSinkEx) -> Self6594     fn from(value: &IWbemObjectSinkEx) -> Self {
6595         ::std::convert::From::from(::std::clone::Clone::clone(value))
6596     }
6597 }
6598 impl<'a> ::windows::runtime::IntoParam<'a, IWbemObjectSink> for IWbemObjectSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink>6599     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink> {
6600         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemObjectSink>::into(self))
6601     }
6602 }
6603 impl<'a> ::windows::runtime::IntoParam<'a, IWbemObjectSink> for &IWbemObjectSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink>6604     fn into_param(self) -> ::windows::runtime::Param<'a, IWbemObjectSink> {
6605         ::windows::runtime::Param::Owned(::std::convert::Into::<IWbemObjectSink>::into(::std::clone::Clone::clone(self)))
6606     }
6607 }
6608 #[repr(C)]
6609 #[doc(hidden)]
6610 pub struct IWbemObjectSinkEx_abi(
6611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6612     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6613     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6614     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lobjectcount: i32, apobjarray: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6615     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, hresult: ::windows::runtime::HRESULT, strparam: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pobjparam: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6616     #[cfg(not(feature = "Win32_Foundation"))] usize,
6617     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uchannel: u32, strmessage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6618     #[cfg(not(feature = "Win32_Foundation"))] usize,
6619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pobjerror: ::windows::runtime::RawPtr, pureturned: *mut u8) -> ::windows::runtime::HRESULT,
6620     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strmessage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, uprompttype: u8, pureturned: *mut u8) -> ::windows::runtime::HRESULT,
6621     #[cfg(not(feature = "Win32_Foundation"))] usize,
6622     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stractivity: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strcurrentoperation: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strstatusdescription: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, upercentcomplete: u32, usecondsremaining: u32) -> ::windows::runtime::HRESULT,
6623     #[cfg(not(feature = "Win32_Foundation"))] usize,
6624     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vtvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, ultype: u32, ulflags: u32) -> ::windows::runtime::HRESULT,
6625     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6626 );
6627 #[repr(transparent)]
6628 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6629 pub struct IWbemObjectTextSrc(::windows::runtime::IUnknown);
6630 impl IWbemObjectTextSrc {
6631     #[cfg(feature = "Win32_Foundation")]
GetText<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, lflags: i32, pobj: Param1, uobjtextformat: u32, pctx: Param3) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6632     pub unsafe fn GetText<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, lflags: i32, pobj: Param1, uobjtextformat: u32, pctx: Param3) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6633         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6634         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), pobj.into_param().abi(), ::std::mem::transmute(uobjtextformat), pctx.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6635     }
6636     #[cfg(feature = "Win32_Foundation")]
CreateFromText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, lflags: i32, strtext: Param1, uobjtextformat: u32, pctx: Param3) -> ::windows::runtime::Result<IWbemClassObject>6637     pub unsafe fn CreateFromText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, lflags: i32, strtext: Param1, uobjtextformat: u32, pctx: Param3) -> ::windows::runtime::Result<IWbemClassObject> {
6638         let mut result__: <IWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6639         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), strtext.into_param().abi(), ::std::mem::transmute(uobjtextformat), pctx.into_param().abi(), &mut result__).from_abi::<IWbemClassObject>(result__)
6640     }
6641 }
6642 unsafe impl ::windows::runtime::Interface for IWbemObjectTextSrc {
6643     type Vtable = IWbemObjectTextSrc_abi;
6644     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3217000506, 51927, 4563, [161, 27, 0, 16, 90, 31, 81, 90]);
6645 }
6646 impl ::std::convert::From<IWbemObjectTextSrc> for ::windows::runtime::IUnknown {
from(value: IWbemObjectTextSrc) -> Self6647     fn from(value: IWbemObjectTextSrc) -> Self {
6648         unsafe { ::std::mem::transmute(value) }
6649     }
6650 }
6651 impl ::std::convert::From<&IWbemObjectTextSrc> for ::windows::runtime::IUnknown {
from(value: &IWbemObjectTextSrc) -> Self6652     fn from(value: &IWbemObjectTextSrc) -> Self {
6653         ::std::convert::From::from(::std::clone::Clone::clone(value))
6654     }
6655 }
6656 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemObjectTextSrc {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6657     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6658         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6659     }
6660 }
6661 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemObjectTextSrc {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6662     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6663         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6664     }
6665 }
6666 #[repr(C)]
6667 #[doc(hidden)]
6668 pub struct IWbemObjectTextSrc_abi(
6669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6670     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6671     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6672     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pobj: ::windows::runtime::RawPtr, uobjtextformat: u32, pctx: ::windows::runtime::RawPtr, strtext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6673     #[cfg(not(feature = "Win32_Foundation"))] usize,
6674     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, strtext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, uobjtextformat: u32, pctx: ::windows::runtime::RawPtr, pnewobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6675     #[cfg(not(feature = "Win32_Foundation"))] usize,
6676 );
6677 #[repr(transparent)]
6678 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6679 pub struct IWbemPath(::windows::runtime::IUnknown);
6680 impl IWbemPath {
6681     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, umode: u32, pszpath: Param1) -> ::windows::runtime::Result<()>6682     pub unsafe fn SetText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, umode: u32, pszpath: Param1) -> ::windows::runtime::Result<()> {
6683         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(umode), pszpath.into_param().abi()).ok()
6684     }
6685     #[cfg(feature = "Win32_Foundation")]
GetText(&self, lflags: i32, pubufflength: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>6686     pub unsafe fn GetText(&self, lflags: i32, pubufflength: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
6687         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(pubufflength), ::std::mem::transmute(psztext)).ok()
6688     }
GetInfo(&self, urequestedinfo: u32) -> ::windows::runtime::Result<u64>6689     pub unsafe fn GetInfo(&self, urequestedinfo: u32) -> ::windows::runtime::Result<u64> {
6690         let mut result__: <u64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6691         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(urequestedinfo), &mut result__).from_abi::<u64>(result__)
6692     }
6693     #[cfg(feature = "Win32_Foundation")]
SetServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>6694     pub unsafe fn SetServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
6695         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
6696     }
6697     #[cfg(feature = "Win32_Foundation")]
GetServer(&self, punamebuflength: *mut u32, pname: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>6698     pub unsafe fn GetServer(&self, punamebuflength: *mut u32, pname: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
6699         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(punamebuflength), ::std::mem::transmute(pname)).ok()
6700     }
GetNamespaceCount(&self) -> ::windows::runtime::Result<u32>6701     pub unsafe fn GetNamespaceCount(&self) -> ::windows::runtime::Result<u32> {
6702         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6703         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6704     }
6705     #[cfg(feature = "Win32_Foundation")]
SetNamespaceAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uindex: u32, pszname: Param1) -> ::windows::runtime::Result<()>6706     pub unsafe fn SetNamespaceAt<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uindex: u32, pszname: Param1) -> ::windows::runtime::Result<()> {
6707         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), pszname.into_param().abi()).ok()
6708     }
6709     #[cfg(feature = "Win32_Foundation")]
GetNamespaceAt(&self, uindex: u32, punamebuflength: *mut u32, pname: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>6710     pub unsafe fn GetNamespaceAt(&self, uindex: u32, punamebuflength: *mut u32, pname: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
6711         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), ::std::mem::transmute(punamebuflength), ::std::mem::transmute(pname)).ok()
6712     }
RemoveNamespaceAt(&self, uindex: u32) -> ::windows::runtime::Result<()>6713     pub unsafe fn RemoveNamespaceAt(&self, uindex: u32) -> ::windows::runtime::Result<()> {
6714         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex)).ok()
6715     }
RemoveAllNamespaces(&self) -> ::windows::runtime::Result<()>6716     pub unsafe fn RemoveAllNamespaces(&self) -> ::windows::runtime::Result<()> {
6717         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
6718     }
GetScopeCount(&self) -> ::windows::runtime::Result<u32>6719     pub unsafe fn GetScopeCount(&self) -> ::windows::runtime::Result<u32> {
6720         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6721         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6722     }
6723     #[cfg(feature = "Win32_Foundation")]
SetScope<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uindex: u32, pszclass: Param1) -> ::windows::runtime::Result<()>6724     pub unsafe fn SetScope<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uindex: u32, pszclass: Param1) -> ::windows::runtime::Result<()> {
6725         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), pszclass.into_param().abi()).ok()
6726     }
6727     #[cfg(feature = "Win32_Foundation")]
SetScopeFromText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uindex: u32, psztext: Param1) -> ::windows::runtime::Result<()>6728     pub unsafe fn SetScopeFromText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uindex: u32, psztext: Param1) -> ::windows::runtime::Result<()> {
6729         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), psztext.into_param().abi()).ok()
6730     }
6731     #[cfg(feature = "Win32_Foundation")]
GetScope(&self, uindex: u32, puclassnamebufsize: *mut u32, pszclass: super::super::Foundation::PWSTR, pkeylist: *mut ::std::option::Option<IWbemPathKeyList>) -> ::windows::runtime::Result<()>6732     pub unsafe fn GetScope(&self, uindex: u32, puclassnamebufsize: *mut u32, pszclass: super::super::Foundation::PWSTR, pkeylist: *mut ::std::option::Option<IWbemPathKeyList>) -> ::windows::runtime::Result<()> {
6733         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), ::std::mem::transmute(puclassnamebufsize), ::std::mem::transmute(pszclass), ::std::mem::transmute(pkeylist)).ok()
6734     }
6735     #[cfg(feature = "Win32_Foundation")]
GetScopeAsText(&self, uindex: u32, putextbufsize: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>6736     pub unsafe fn GetScopeAsText(&self, uindex: u32, putextbufsize: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
6737         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), ::std::mem::transmute(putextbufsize), ::std::mem::transmute(psztext)).ok()
6738     }
RemoveScope(&self, uindex: u32) -> ::windows::runtime::Result<()>6739     pub unsafe fn RemoveScope(&self, uindex: u32) -> ::windows::runtime::Result<()> {
6740         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex)).ok()
6741     }
RemoveAllScopes(&self) -> ::windows::runtime::Result<()>6742     pub unsafe fn RemoveAllScopes(&self) -> ::windows::runtime::Result<()> {
6743         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok()
6744     }
6745     #[cfg(feature = "Win32_Foundation")]
SetClassName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>6746     pub unsafe fn SetClassName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
6747         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
6748     }
6749     #[cfg(feature = "Win32_Foundation")]
GetClassName(&self, pubufflength: *mut u32, pszname: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>6750     pub unsafe fn GetClassName(&self, pubufflength: *mut u32, pszname: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
6751         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(pubufflength), ::std::mem::transmute(pszname)).ok()
6752     }
GetKeyList(&self) -> ::windows::runtime::Result<IWbemPathKeyList>6753     pub unsafe fn GetKeyList(&self) -> ::windows::runtime::Result<IWbemPathKeyList> {
6754         let mut result__: <IWbemPathKeyList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6755         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWbemPathKeyList>(result__)
6756     }
6757     #[cfg(feature = "Win32_Foundation")]
CreateClassPart<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lflags: i32, name: Param1) -> ::windows::runtime::Result<()>6758     pub unsafe fn CreateClassPart<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lflags: i32, name: Param1) -> ::windows::runtime::Result<()> {
6759         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), name.into_param().abi()).ok()
6760     }
DeleteClassPart(&self, lflags: i32) -> ::windows::runtime::Result<()>6761     pub unsafe fn DeleteClassPart(&self, lflags: i32) -> ::windows::runtime::Result<()> {
6762         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
6763     }
6764     #[cfg(feature = "Win32_Foundation")]
IsRelative<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmachine: Param0, wsznamespace: Param1) -> super::super::Foundation::BOOL6765     pub unsafe fn IsRelative<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmachine: Param0, wsznamespace: Param1) -> super::super::Foundation::BOOL {
6766         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), wszmachine.into_param().abi(), wsznamespace.into_param().abi()))
6767     }
6768     #[cfg(feature = "Win32_Foundation")]
IsRelativeOrChild<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmachine: Param0, wsznamespace: Param1, lflags: i32) -> super::super::Foundation::BOOL6769     pub unsafe fn IsRelativeOrChild<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmachine: Param0, wsznamespace: Param1, lflags: i32) -> super::super::Foundation::BOOL {
6770         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), wszmachine.into_param().abi(), wsznamespace.into_param().abi(), ::std::mem::transmute(lflags)))
6771     }
6772     #[cfg(feature = "Win32_Foundation")]
IsLocal<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmachine: Param0) -> super::super::Foundation::BOOL6773     pub unsafe fn IsLocal<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszmachine: Param0) -> super::super::Foundation::BOOL {
6774         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), wszmachine.into_param().abi()))
6775     }
6776     #[cfg(feature = "Win32_Foundation")]
IsSameClassName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszclass: Param0) -> super::super::Foundation::BOOL6777     pub unsafe fn IsSameClassName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszclass: Param0) -> super::super::Foundation::BOOL {
6778         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), wszclass.into_param().abi()))
6779     }
6780 }
6781 unsafe impl ::windows::runtime::Interface for IWbemPath {
6782     type Vtable = IWbemPath_abi;
6783     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1002527474, 29548, 18302, [158, 81, 35, 138, 248, 102, 125, 204]);
6784 }
6785 impl ::std::convert::From<IWbemPath> for ::windows::runtime::IUnknown {
from(value: IWbemPath) -> Self6786     fn from(value: IWbemPath) -> Self {
6787         unsafe { ::std::mem::transmute(value) }
6788     }
6789 }
6790 impl ::std::convert::From<&IWbemPath> for ::windows::runtime::IUnknown {
from(value: &IWbemPath) -> Self6791     fn from(value: &IWbemPath) -> Self {
6792         ::std::convert::From::from(::std::clone::Clone::clone(value))
6793     }
6794 }
6795 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemPath {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6796     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6797         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6798     }
6799 }
6800 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemPath {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6801     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6802         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6803     }
6804 }
6805 #[repr(C)]
6806 #[doc(hidden)]
6807 pub struct IWbemPath_abi(
6808     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6809     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6810     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6811     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, umode: u32, pszpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6812     #[cfg(not(feature = "Win32_Foundation"))] usize,
6813     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pubufflength: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6814     #[cfg(not(feature = "Win32_Foundation"))] usize,
6815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, urequestedinfo: u32, puresponse: *mut u64) -> ::windows::runtime::HRESULT,
6816     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6817     #[cfg(not(feature = "Win32_Foundation"))] usize,
6818     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punamebuflength: *mut u32, pname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6819     #[cfg(not(feature = "Win32_Foundation"))] usize,
6820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pucount: *mut u32) -> ::windows::runtime::HRESULT,
6821     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, pszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6822     #[cfg(not(feature = "Win32_Foundation"))] usize,
6823     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, punamebuflength: *mut u32, pname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6824     #[cfg(not(feature = "Win32_Foundation"))] usize,
6825     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32) -> ::windows::runtime::HRESULT,
6826     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6827     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pucount: *mut u32) -> ::windows::runtime::HRESULT,
6828     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, pszclass: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6829     #[cfg(not(feature = "Win32_Foundation"))] usize,
6830     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6831     #[cfg(not(feature = "Win32_Foundation"))] usize,
6832     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, puclassnamebufsize: *mut u32, pszclass: super::super::Foundation::PWSTR, pkeylist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6833     #[cfg(not(feature = "Win32_Foundation"))] usize,
6834     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, putextbufsize: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6835     #[cfg(not(feature = "Win32_Foundation"))] usize,
6836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32) -> ::windows::runtime::HRESULT,
6837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6838     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6839     #[cfg(not(feature = "Win32_Foundation"))] usize,
6840     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pubufflength: *mut u32, pszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6841     #[cfg(not(feature = "Win32_Foundation"))] usize,
6842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pout: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6843     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, name: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6844     #[cfg(not(feature = "Win32_Foundation"))] usize,
6845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
6846     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmachine: super::super::Foundation::PWSTR, wsznamespace: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL,
6847     #[cfg(not(feature = "Win32_Foundation"))] usize,
6848     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmachine: super::super::Foundation::PWSTR, wsznamespace: super::super::Foundation::PWSTR, lflags: i32) -> super::super::Foundation::BOOL,
6849     #[cfg(not(feature = "Win32_Foundation"))] usize,
6850     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszmachine: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL,
6851     #[cfg(not(feature = "Win32_Foundation"))] usize,
6852     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszclass: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL,
6853     #[cfg(not(feature = "Win32_Foundation"))] usize,
6854 );
6855 #[repr(transparent)]
6856 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6857 pub struct IWbemPathKeyList(::windows::runtime::IUnknown);
6858 impl IWbemPathKeyList {
GetCount(&self) -> ::windows::runtime::Result<u32>6859     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
6860         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6861         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6862     }
6863     #[cfg(feature = "Win32_Foundation")]
SetKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, uflags: u32, ucimtype: u32, pkeyval: *const ::std::ffi::c_void) -> ::windows::runtime::Result<()>6864     pub unsafe fn SetKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, uflags: u32, ucimtype: u32, pkeyval: *const ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
6865         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(uflags), ::std::mem::transmute(ucimtype), ::std::mem::transmute(pkeyval)).ok()
6866     }
6867     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetKey2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, uflags: u32, ucimtype: u32, pkeyval: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6868     pub unsafe fn SetKey2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, uflags: u32, ucimtype: u32, pkeyval: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6869         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(uflags), ::std::mem::transmute(ucimtype), ::std::mem::transmute(pkeyval)).ok()
6870     }
6871     #[cfg(feature = "Win32_Foundation")]
GetKey(&self, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: super::super::Foundation::PWSTR, pukeyvalbufsize: *mut u32, pkeyval: *mut ::std::ffi::c_void, puapparentcimtype: *mut u32) -> ::windows::runtime::Result<()>6872     pub unsafe fn GetKey(&self, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: super::super::Foundation::PWSTR, pukeyvalbufsize: *mut u32, pkeyval: *mut ::std::ffi::c_void, puapparentcimtype: *mut u32) -> ::windows::runtime::Result<()> {
6873         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ukeyix), ::std::mem::transmute(uflags), ::std::mem::transmute(punamebufsize), ::std::mem::transmute(pszkeyname), ::std::mem::transmute(pukeyvalbufsize), ::std::mem::transmute(pkeyval), ::std::mem::transmute(puapparentcimtype)).ok()
6874     }
6875     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetKey2(&self, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: super::super::Foundation::PWSTR, pkeyvalue: *mut super::Com::VARIANT, puapparentcimtype: *mut u32) -> ::windows::runtime::Result<()>6876     pub unsafe fn GetKey2(&self, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: super::super::Foundation::PWSTR, pkeyvalue: *mut super::Com::VARIANT, puapparentcimtype: *mut u32) -> ::windows::runtime::Result<()> {
6877         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ukeyix), ::std::mem::transmute(uflags), ::std::mem::transmute(punamebufsize), ::std::mem::transmute(pszkeyname), ::std::mem::transmute(pkeyvalue), ::std::mem::transmute(puapparentcimtype)).ok()
6878     }
6879     #[cfg(feature = "Win32_Foundation")]
RemoveKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, uflags: u32) -> ::windows::runtime::Result<()>6880     pub unsafe fn RemoveKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, uflags: u32) -> ::windows::runtime::Result<()> {
6881         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(uflags)).ok()
6882     }
RemoveAllKeys(&self, uflags: u32) -> ::windows::runtime::Result<()>6883     pub unsafe fn RemoveAllKeys(&self, uflags: u32) -> ::windows::runtime::Result<()> {
6884         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(uflags)).ok()
6885     }
MakeSingleton(&self, bset: u8) -> ::windows::runtime::Result<()>6886     pub unsafe fn MakeSingleton(&self, bset: u8) -> ::windows::runtime::Result<()> {
6887         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(bset)).ok()
6888     }
GetInfo(&self, urequestedinfo: u32) -> ::windows::runtime::Result<u64>6889     pub unsafe fn GetInfo(&self, urequestedinfo: u32) -> ::windows::runtime::Result<u64> {
6890         let mut result__: <u64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6891         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(urequestedinfo), &mut result__).from_abi::<u64>(result__)
6892     }
6893     #[cfg(feature = "Win32_Foundation")]
GetText(&self, lflags: i32, pubufflength: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>6894     pub unsafe fn GetText(&self, lflags: i32, pubufflength: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
6895         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(pubufflength), ::std::mem::transmute(psztext)).ok()
6896     }
6897 }
6898 unsafe impl ::windows::runtime::Interface for IWbemPathKeyList {
6899     type Vtable = IWbemPathKeyList_abi;
6900     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2598774903, 30020, 19376, [170, 38, 161, 56, 36, 101, 158, 214]);
6901 }
6902 impl ::std::convert::From<IWbemPathKeyList> for ::windows::runtime::IUnknown {
from(value: IWbemPathKeyList) -> Self6903     fn from(value: IWbemPathKeyList) -> Self {
6904         unsafe { ::std::mem::transmute(value) }
6905     }
6906 }
6907 impl ::std::convert::From<&IWbemPathKeyList> for ::windows::runtime::IUnknown {
from(value: &IWbemPathKeyList) -> Self6908     fn from(value: &IWbemPathKeyList) -> Self {
6909         ::std::convert::From::from(::std::clone::Clone::clone(value))
6910     }
6911 }
6912 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemPathKeyList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6913     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6914         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6915     }
6916 }
6917 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemPathKeyList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6918     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6919         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6920     }
6921 }
6922 #[repr(C)]
6923 #[doc(hidden)]
6924 pub struct IWbemPathKeyList_abi(
6925     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6926     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6927     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6928     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pukeycount: *mut u32) -> ::windows::runtime::HRESULT,
6929     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, uflags: u32, ucimtype: u32, pkeyval: *const ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
6930     #[cfg(not(feature = "Win32_Foundation"))] usize,
6931     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, uflags: u32, ucimtype: u32, pkeyval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6932     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6933     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: super::super::Foundation::PWSTR, pukeyvalbufsize: *mut u32, pkeyval: *mut ::std::ffi::c_void, puapparentcimtype: *mut u32) -> ::windows::runtime::HRESULT,
6934     #[cfg(not(feature = "Win32_Foundation"))] usize,
6935     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: super::super::Foundation::PWSTR, pkeyvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, puapparentcimtype: *mut u32) -> ::windows::runtime::HRESULT,
6936     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6937     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, uflags: u32) -> ::windows::runtime::HRESULT,
6938     #[cfg(not(feature = "Win32_Foundation"))] usize,
6939     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uflags: u32) -> ::windows::runtime::HRESULT,
6940     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bset: u8) -> ::windows::runtime::HRESULT,
6941     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, urequestedinfo: u32, puresponse: *mut u64) -> ::windows::runtime::HRESULT,
6942     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pubufflength: *mut u32, psztext: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6943     #[cfg(not(feature = "Win32_Foundation"))] usize,
6944 );
6945 #[repr(transparent)]
6946 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6947 pub struct IWbemPropertyProvider(::windows::runtime::IUnknown);
6948 impl IWbemPropertyProvider {
6949     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetProperty<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lflags: i32, strlocale: Param1, strclassmapping: Param2, strinstmapping: Param3, strpropmapping: Param4) -> ::windows::runtime::Result<super::Com::VARIANT>6950     pub unsafe fn GetProperty<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lflags: i32, strlocale: Param1, strclassmapping: Param2, strinstmapping: Param3, strpropmapping: Param4) -> ::windows::runtime::Result<super::Com::VARIANT> {
6951         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6952         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), strlocale.into_param().abi(), strclassmapping.into_param().abi(), strinstmapping.into_param().abi(), strpropmapping.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6953     }
6954     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
PutProperty<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>( &self, lflags: i32, strlocale: Param1, strclassmapping: Param2, strinstmapping: Param3, strpropmapping: Param4, pvvalue: *const super::Com::VARIANT, ) -> ::windows::runtime::Result<()>6955     pub unsafe fn PutProperty<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(
6956         &self,
6957         lflags: i32,
6958         strlocale: Param1,
6959         strclassmapping: Param2,
6960         strinstmapping: Param3,
6961         strpropmapping: Param4,
6962         pvvalue: *const super::Com::VARIANT,
6963     ) -> ::windows::runtime::Result<()> {
6964         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), strlocale.into_param().abi(), strclassmapping.into_param().abi(), strinstmapping.into_param().abi(), strpropmapping.into_param().abi(), ::std::mem::transmute(pvvalue)).ok()
6965     }
6966 }
6967 unsafe impl ::windows::runtime::Interface for IWbemPropertyProvider {
6968     type Vtable = IWbemPropertyProvider_abi;
6969     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3462522945, 26044, 4560, [182, 189, 0, 170, 0, 50, 64, 199]);
6970 }
6971 impl ::std::convert::From<IWbemPropertyProvider> for ::windows::runtime::IUnknown {
from(value: IWbemPropertyProvider) -> Self6972     fn from(value: IWbemPropertyProvider) -> Self {
6973         unsafe { ::std::mem::transmute(value) }
6974     }
6975 }
6976 impl ::std::convert::From<&IWbemPropertyProvider> for ::windows::runtime::IUnknown {
from(value: &IWbemPropertyProvider) -> Self6977     fn from(value: &IWbemPropertyProvider) -> Self {
6978         ::std::convert::From::from(::std::clone::Clone::clone(value))
6979     }
6980 }
6981 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemPropertyProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6982     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6983         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6984     }
6985 }
6986 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemPropertyProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6987     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6988         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6989     }
6990 }
6991 #[repr(C)]
6992 #[doc(hidden)]
6993 pub struct IWbemPropertyProvider_abi(
6994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6997     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6998     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strclassmapping: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strinstmapping: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strpropmapping: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6999     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7000     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7001     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, strlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strclassmapping: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strinstmapping: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strpropmapping: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7002     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7003 );
7004 #[repr(transparent)]
7005 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7006 pub struct IWbemProviderIdentity(::windows::runtime::IUnknown);
7007 impl IWbemProviderIdentity {
SetRegistrationObject<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, pprovreg: Param1) -> ::windows::runtime::Result<()>7008     pub unsafe fn SetRegistrationObject<'a, Param1: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, lflags: i32, pprovreg: Param1) -> ::windows::runtime::Result<()> {
7009         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), pprovreg.into_param().abi()).ok()
7010     }
7011 }
7012 unsafe impl ::windows::runtime::Interface for IWbemProviderIdentity {
7013     type Vtable = IWbemProviderIdentity_abi;
7014     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1663008151, 55699, 4562, [179, 57, 0, 16, 90, 31, 74, 175]);
7015 }
7016 impl ::std::convert::From<IWbemProviderIdentity> for ::windows::runtime::IUnknown {
from(value: IWbemProviderIdentity) -> Self7017     fn from(value: IWbemProviderIdentity) -> Self {
7018         unsafe { ::std::mem::transmute(value) }
7019     }
7020 }
7021 impl ::std::convert::From<&IWbemProviderIdentity> for ::windows::runtime::IUnknown {
from(value: &IWbemProviderIdentity) -> Self7022     fn from(value: &IWbemProviderIdentity) -> Self {
7023         ::std::convert::From::from(::std::clone::Clone::clone(value))
7024     }
7025 }
7026 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemProviderIdentity {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7027     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7028         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7029     }
7030 }
7031 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemProviderIdentity {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7032     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7033         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7034     }
7035 }
7036 #[repr(C)]
7037 #[doc(hidden)]
7038 pub struct IWbemProviderIdentity_abi(
7039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pprovreg: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7043 );
7044 #[repr(transparent)]
7045 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7046 pub struct IWbemProviderInit(::windows::runtime::IUnknown);
7047 impl IWbemProviderInit {
7048     #[cfg(feature = "Win32_Foundation")]
Initialize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, IWbemServices>, Param5: ::windows::runtime::IntoParam<'a, IWbemContext>, Param6: ::windows::runtime::IntoParam<'a, IWbemProviderInitSink>>( &self, wszuser: Param0, lflags: i32, wsznamespace: Param2, wszlocale: Param3, pnamespace: Param4, pctx: Param5, pinitsink: Param6, ) -> ::windows::runtime::Result<()>7049     pub unsafe fn Initialize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, IWbemServices>, Param5: ::windows::runtime::IntoParam<'a, IWbemContext>, Param6: ::windows::runtime::IntoParam<'a, IWbemProviderInitSink>>(
7050         &self,
7051         wszuser: Param0,
7052         lflags: i32,
7053         wsznamespace: Param2,
7054         wszlocale: Param3,
7055         pnamespace: Param4,
7056         pctx: Param5,
7057         pinitsink: Param6,
7058     ) -> ::windows::runtime::Result<()> {
7059         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wszuser.into_param().abi(), ::std::mem::transmute(lflags), wsznamespace.into_param().abi(), wszlocale.into_param().abi(), pnamespace.into_param().abi(), pctx.into_param().abi(), pinitsink.into_param().abi()).ok()
7060     }
7061 }
7062 unsafe impl ::windows::runtime::Interface for IWbemProviderInit {
7063     type Vtable = IWbemProviderInit_abi;
7064     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(467932530, 37341, 4561, [174, 178, 0, 192, 79, 182, 136, 32]);
7065 }
7066 impl ::std::convert::From<IWbemProviderInit> for ::windows::runtime::IUnknown {
from(value: IWbemProviderInit) -> Self7067     fn from(value: IWbemProviderInit) -> Self {
7068         unsafe { ::std::mem::transmute(value) }
7069     }
7070 }
7071 impl ::std::convert::From<&IWbemProviderInit> for ::windows::runtime::IUnknown {
from(value: &IWbemProviderInit) -> Self7072     fn from(value: &IWbemProviderInit) -> Self {
7073         ::std::convert::From::from(::std::clone::Clone::clone(value))
7074     }
7075 }
7076 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemProviderInit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7077     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7078         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7079     }
7080 }
7081 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemProviderInit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7082     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7083         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7084     }
7085 }
7086 #[repr(C)]
7087 #[doc(hidden)]
7088 pub struct IWbemProviderInit_abi(
7089     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7091     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7092     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszuser: super::super::Foundation::PWSTR, lflags: i32, wsznamespace: super::super::Foundation::PWSTR, wszlocale: super::super::Foundation::PWSTR, pnamespace: ::windows::runtime::RawPtr, pctx: ::windows::runtime::RawPtr, pinitsink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7093     #[cfg(not(feature = "Win32_Foundation"))] usize,
7094 );
7095 #[repr(transparent)]
7096 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7097 pub struct IWbemProviderInitSink(::windows::runtime::IUnknown);
7098 impl IWbemProviderInitSink {
SetStatus(&self, lstatus: i32, lflags: i32) -> ::windows::runtime::Result<()>7099     pub unsafe fn SetStatus(&self, lstatus: i32, lflags: i32) -> ::windows::runtime::Result<()> {
7100         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lstatus), ::std::mem::transmute(lflags)).ok()
7101     }
7102 }
7103 unsafe impl ::windows::runtime::Interface for IWbemProviderInitSink {
7104     type Vtable = IWbemProviderInitSink_abi;
7105     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(467932529, 37341, 4561, [174, 178, 0, 192, 79, 182, 136, 32]);
7106 }
7107 impl ::std::convert::From<IWbemProviderInitSink> for ::windows::runtime::IUnknown {
from(value: IWbemProviderInitSink) -> Self7108     fn from(value: IWbemProviderInitSink) -> Self {
7109         unsafe { ::std::mem::transmute(value) }
7110     }
7111 }
7112 impl ::std::convert::From<&IWbemProviderInitSink> for ::windows::runtime::IUnknown {
from(value: &IWbemProviderInitSink) -> Self7113     fn from(value: &IWbemProviderInitSink) -> Self {
7114         ::std::convert::From::from(::std::clone::Clone::clone(value))
7115     }
7116 }
7117 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemProviderInitSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7118     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7119         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7120     }
7121 }
7122 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemProviderInitSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7123     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7124         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7125     }
7126 }
7127 #[repr(C)]
7128 #[doc(hidden)]
7129 pub struct IWbemProviderInitSink_abi(
7130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7133     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lstatus: i32, lflags: i32) -> ::windows::runtime::HRESULT,
7134 );
7135 #[repr(transparent)]
7136 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7137 pub struct IWbemQualifierSet(::windows::runtime::IUnknown);
7138 impl IWbemQualifierSet {
7139     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *mut super::Com::VARIANT, plflavor: *mut i32) -> ::windows::runtime::Result<()>7140     pub unsafe fn Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, lflags: i32, pval: *mut super::Com::VARIANT, plflavor: *mut i32) -> ::windows::runtime::Result<()> {
7141         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(lflags), ::std::mem::transmute(pval), ::std::mem::transmute(plflavor)).ok()
7142     }
7143     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, pval: *const super::Com::VARIANT, lflavor: i32) -> ::windows::runtime::Result<()>7144     pub unsafe fn Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0, pval: *const super::Com::VARIANT, lflavor: i32) -> ::windows::runtime::Result<()> {
7145         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wszname.into_param().abi(), ::std::mem::transmute(pval), ::std::mem::transmute(lflavor)).ok()
7146     }
7147     #[cfg(feature = "Win32_Foundation")]
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()>7148     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, wszname: Param0) -> ::windows::runtime::Result<()> {
7149         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wszname.into_param().abi()).ok()
7150     }
7151     #[cfg(feature = "Win32_System_Com")]
GetNames(&self, lflags: i32) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>7152     pub unsafe fn GetNames(&self, lflags: i32) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
7153         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7154         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
7155     }
BeginEnumeration(&self, lflags: i32) -> ::windows::runtime::Result<()>7156     pub unsafe fn BeginEnumeration(&self, lflags: i32) -> ::windows::runtime::Result<()> {
7157         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
7158     }
7159     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Next(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, pval: *mut super::Com::VARIANT, plflavor: *mut i32) -> ::windows::runtime::Result<()>7160     pub unsafe fn Next(&self, lflags: i32, pstrname: *mut super::super::Foundation::BSTR, pval: *mut super::Com::VARIANT, plflavor: *mut i32) -> ::windows::runtime::Result<()> {
7161         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), ::std::mem::transmute(pstrname), ::std::mem::transmute(pval), ::std::mem::transmute(plflavor)).ok()
7162     }
EndEnumeration(&self) -> ::windows::runtime::Result<()>7163     pub unsafe fn EndEnumeration(&self) -> ::windows::runtime::Result<()> {
7164         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
7165     }
7166 }
7167 unsafe impl ::windows::runtime::Interface for IWbemQualifierSet {
7168     type Vtable = IWbemQualifierSet_abi;
7169     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3692209792, 29567, 4559, [136, 77, 0, 170, 0, 75, 46, 36]);
7170 }
7171 impl ::std::convert::From<IWbemQualifierSet> for ::windows::runtime::IUnknown {
from(value: IWbemQualifierSet) -> Self7172     fn from(value: IWbemQualifierSet) -> Self {
7173         unsafe { ::std::mem::transmute(value) }
7174     }
7175 }
7176 impl ::std::convert::From<&IWbemQualifierSet> for ::windows::runtime::IUnknown {
from(value: &IWbemQualifierSet) -> Self7177     fn from(value: &IWbemQualifierSet) -> Self {
7178         ::std::convert::From::from(::std::clone::Clone::clone(value))
7179     }
7180 }
7181 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemQualifierSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7182     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7183         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7184     }
7185 }
7186 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemQualifierSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7187     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7188         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7189     }
7190 }
7191 #[repr(C)]
7192 #[doc(hidden)]
7193 pub struct IWbemQualifierSet_abi(
7194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7197     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, lflags: i32, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, plflavor: *mut i32) -> ::windows::runtime::HRESULT,
7198     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7199     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR, pval: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, lflavor: i32) -> ::windows::runtime::HRESULT,
7200     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7201     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wszname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7202     #[cfg(not(feature = "Win32_Foundation"))] usize,
7203     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pnames: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
7204     #[cfg(not(feature = "Win32_System_Com"))] usize,
7205     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
7206     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, pstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pval: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, plflavor: *mut i32) -> ::windows::runtime::HRESULT,
7207     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7208     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7209 );
7210 #[repr(transparent)]
7211 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7212 pub struct IWbemQuery(::windows::runtime::IUnknown);
7213 impl IWbemQuery {
Empty(&self) -> ::windows::runtime::Result<()>7214     pub unsafe fn Empty(&self) -> ::windows::runtime::Result<()> {
7215         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
7216     }
SetLanguageFeatures(&self, uflags: u32, uarraysize: u32, pufeatures: *const u32) -> ::windows::runtime::Result<()>7217     pub unsafe fn SetLanguageFeatures(&self, uflags: u32, uarraysize: u32, pufeatures: *const u32) -> ::windows::runtime::Result<()> {
7218         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(uflags), ::std::mem::transmute(uarraysize), ::std::mem::transmute(pufeatures)).ok()
7219     }
TestLanguageFeatures(&self, uflags: u32, uarraysize: *mut u32, pufeatures: *mut u32) -> ::windows::runtime::Result<()>7220     pub unsafe fn TestLanguageFeatures(&self, uflags: u32, uarraysize: *mut u32, pufeatures: *mut u32) -> ::windows::runtime::Result<()> {
7221         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(uflags), ::std::mem::transmute(uarraysize), ::std::mem::transmute(pufeatures)).ok()
7222     }
7223     #[cfg(feature = "Win32_Foundation")]
Parse<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszlang: Param0, pszquery: Param1, uflags: u32) -> ::windows::runtime::Result<()>7224     pub unsafe fn Parse<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszlang: Param0, pszquery: Param1, uflags: u32) -> ::windows::runtime::Result<()> {
7225         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pszlang.into_param().abi(), pszquery.into_param().abi(), ::std::mem::transmute(uflags)).ok()
7226     }
GetAnalysis(&self, uanalysistype: u32, uflags: u32, panalysis: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>7227     pub unsafe fn GetAnalysis(&self, uanalysistype: u32, uflags: u32, panalysis: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
7228         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(uanalysistype), ::std::mem::transmute(uflags), ::std::mem::transmute(panalysis)).ok()
7229     }
FreeMemory(&self, pmem: *const ::std::ffi::c_void) -> ::windows::runtime::Result<()>7230     pub unsafe fn FreeMemory(&self, pmem: *const ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
7231         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmem)).ok()
7232     }
GetQueryInfo(&self, uanalysistype: u32, uinfoid: u32, ubufsize: u32, pdestbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>7233     pub unsafe fn GetQueryInfo(&self, uanalysistype: u32, uinfoid: u32, ubufsize: u32, pdestbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
7234         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(uanalysistype), ::std::mem::transmute(uinfoid), ::std::mem::transmute(ubufsize), ::std::mem::transmute(pdestbuf)).ok()
7235     }
7236 }
7237 unsafe impl ::windows::runtime::Interface for IWbemQuery {
7238     type Vtable = IWbemQuery_abi;
7239     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2165731160, 56728, 4563, [161, 32, 0, 16, 90, 31, 81, 90]);
7240 }
7241 impl ::std::convert::From<IWbemQuery> for ::windows::runtime::IUnknown {
from(value: IWbemQuery) -> Self7242     fn from(value: IWbemQuery) -> Self {
7243         unsafe { ::std::mem::transmute(value) }
7244     }
7245 }
7246 impl ::std::convert::From<&IWbemQuery> for ::windows::runtime::IUnknown {
from(value: &IWbemQuery) -> Self7247     fn from(value: &IWbemQuery) -> Self {
7248         ::std::convert::From::from(::std::clone::Clone::clone(value))
7249     }
7250 }
7251 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemQuery {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7252     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7253         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7254     }
7255 }
7256 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemQuery {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7257     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7258         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7259     }
7260 }
7261 #[repr(C)]
7262 #[doc(hidden)]
7263 pub struct IWbemQuery_abi(
7264     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7265     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7266     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7268     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uflags: u32, uarraysize: u32, pufeatures: *const u32) -> ::windows::runtime::HRESULT,
7269     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uflags: u32, uarraysize: *mut u32, pufeatures: *mut u32) -> ::windows::runtime::HRESULT,
7270     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszlang: super::super::Foundation::PWSTR, pszquery: super::super::Foundation::PWSTR, uflags: u32) -> ::windows::runtime::HRESULT,
7271     #[cfg(not(feature = "Win32_Foundation"))] usize,
7272     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uanalysistype: u32, uflags: u32, panalysis: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
7273     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmem: *const ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
7274     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uanalysistype: u32, uinfoid: u32, ubufsize: u32, pdestbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
7275 );
7276 #[repr(transparent)]
7277 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7278 pub struct IWbemRefresher(::windows::runtime::IUnknown);
7279 impl IWbemRefresher {
Refresh(&self, lflags: i32) -> ::windows::runtime::Result<()>7280     pub unsafe fn Refresh(&self, lflags: i32) -> ::windows::runtime::Result<()> {
7281         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags)).ok()
7282     }
7283 }
7284 unsafe impl ::windows::runtime::Interface for IWbemRefresher {
7285     type Vtable = IWbemRefresher_abi;
7286     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1228225689, 20843, 4561, [174, 166, 0, 192, 79, 182, 136, 32]);
7287 }
7288 impl ::std::convert::From<IWbemRefresher> for ::windows::runtime::IUnknown {
from(value: IWbemRefresher) -> Self7289     fn from(value: IWbemRefresher) -> Self {
7290         unsafe { ::std::mem::transmute(value) }
7291     }
7292 }
7293 impl ::std::convert::From<&IWbemRefresher> for ::windows::runtime::IUnknown {
from(value: &IWbemRefresher) -> Self7294     fn from(value: &IWbemRefresher) -> Self {
7295         ::std::convert::From::from(::std::clone::Clone::clone(value))
7296     }
7297 }
7298 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemRefresher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7299     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7300         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7301     }
7302 }
7303 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemRefresher {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7304     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7305         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7306     }
7307 }
7308 #[repr(C)]
7309 #[doc(hidden)]
7310 pub struct IWbemRefresher_abi(
7311     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7312     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7313     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7314     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32) -> ::windows::runtime::HRESULT,
7315 );
7316 #[repr(transparent)]
7317 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7318 pub struct IWbemServices(::windows::runtime::IUnknown);
7319 impl IWbemServices {
7320     #[cfg(feature = "Win32_Foundation")]
OpenNamespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strnamespace: Param0, lflags: i32, pctx: Param2, ppworkingnamespace: *mut ::std::option::Option<IWbemServices>, ppresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()>7321     pub unsafe fn OpenNamespace<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strnamespace: Param0, lflags: i32, pctx: Param2, ppworkingnamespace: *mut ::std::option::Option<IWbemServices>, ppresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()> {
7322         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), strnamespace.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(ppworkingnamespace), ::std::mem::transmute(ppresult)).ok()
7323     }
CancelAsyncCall<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, psink: Param0) -> ::windows::runtime::Result<()>7324     pub unsafe fn CancelAsyncCall<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, psink: Param0) -> ::windows::runtime::Result<()> {
7325         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), psink.into_param().abi()).ok()
7326     }
QueryObjectSink(&self, lflags: i32) -> ::windows::runtime::Result<IWbemObjectSink>7327     pub unsafe fn QueryObjectSink(&self, lflags: i32) -> ::windows::runtime::Result<IWbemObjectSink> {
7328         let mut result__: <IWbemObjectSink as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7329         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lflags), &mut result__).from_abi::<IWbemObjectSink>(result__)
7330     }
7331     #[cfg(feature = "Win32_Foundation")]
GetObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, ppobject: *mut ::std::option::Option<IWbemClassObject>, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()>7332     pub unsafe fn GetObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, ppobject: *mut ::std::option::Option<IWbemClassObject>, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()> {
7333         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(ppobject), ::std::mem::transmute(ppcallresult)).ok()
7334     }
7335     #[cfg(feature = "Win32_Foundation")]
GetObjectAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7336     pub unsafe fn GetObjectAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7337         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7338     }
PutClass<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pobject: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()>7339     pub unsafe fn PutClass<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pobject: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()> {
7340         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pobject.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(ppcallresult)).ok()
7341     }
PutClassAsync<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, pobject: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7342     pub unsafe fn PutClassAsync<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, pobject: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7343         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pobject.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7344     }
7345     #[cfg(feature = "Win32_Foundation")]
DeleteClass<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strclass: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()>7346     pub unsafe fn DeleteClass<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strclass: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()> {
7347         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), strclass.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(ppcallresult)).ok()
7348     }
7349     #[cfg(feature = "Win32_Foundation")]
DeleteClassAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strclass: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7350     pub unsafe fn DeleteClassAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strclass: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7351         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strclass.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7352     }
7353     #[cfg(feature = "Win32_Foundation")]
CreateClassEnum<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strsuperclass: Param0, lflags: i32, pctx: Param2) -> ::windows::runtime::Result<IEnumWbemClassObject>7354     pub unsafe fn CreateClassEnum<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strsuperclass: Param0, lflags: i32, pctx: Param2) -> ::windows::runtime::Result<IEnumWbemClassObject> {
7355         let mut result__: <IEnumWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7356         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), strsuperclass.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), &mut result__).from_abi::<IEnumWbemClassObject>(result__)
7357     }
7358     #[cfg(feature = "Win32_Foundation")]
CreateClassEnumAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strsuperclass: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7359     pub unsafe fn CreateClassEnumAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strsuperclass: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7360         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), strsuperclass.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7361     }
PutInstance<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pinst: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()>7362     pub unsafe fn PutInstance<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, pinst: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()> {
7363         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), pinst.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(ppcallresult)).ok()
7364     }
PutInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, pinst: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7365     pub unsafe fn PutInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, pinst: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7366         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pinst.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7367     }
7368     #[cfg(feature = "Win32_Foundation")]
DeleteInstance<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()>7369     pub unsafe fn DeleteInstance<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, ppcallresult: *mut ::std::option::Option<IWbemCallResult>) -> ::windows::runtime::Result<()> {
7370         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), ::std::mem::transmute(ppcallresult)).ok()
7371     }
7372     #[cfg(feature = "Win32_Foundation")]
DeleteInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7373     pub unsafe fn DeleteInstanceAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strobjectpath: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7374         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7375     }
7376     #[cfg(feature = "Win32_Foundation")]
CreateInstanceEnum<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strfilter: Param0, lflags: i32, pctx: Param2) -> ::windows::runtime::Result<IEnumWbemClassObject>7377     pub unsafe fn CreateInstanceEnum<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strfilter: Param0, lflags: i32, pctx: Param2) -> ::windows::runtime::Result<IEnumWbemClassObject> {
7378         let mut result__: <IEnumWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7379         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), strfilter.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), &mut result__).from_abi::<IEnumWbemClassObject>(result__)
7380     }
7381     #[cfg(feature = "Win32_Foundation")]
CreateInstanceEnumAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strfilter: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()>7382     pub unsafe fn CreateInstanceEnumAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>, Param3: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strfilter: Param0, lflags: i32, pctx: Param2, presponsehandler: Param3) -> ::windows::runtime::Result<()> {
7383         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), strfilter.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7384     }
7385     #[cfg(feature = "Win32_Foundation")]
ExecQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IEnumWbemClassObject>7386     pub unsafe fn ExecQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IEnumWbemClassObject> {
7387         let mut result__: <IEnumWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7388         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), &mut result__).from_abi::<IEnumWbemClassObject>(result__)
7389     }
7390     #[cfg(feature = "Win32_Foundation")]
ExecQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3, presponsehandler: Param4) -> ::windows::runtime::Result<()>7391     pub unsafe fn ExecQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3, presponsehandler: Param4) -> ::windows::runtime::Result<()> {
7392         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7393     }
7394     #[cfg(feature = "Win32_Foundation")]
ExecNotificationQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IEnumWbemClassObject>7395     pub unsafe fn ExecNotificationQuery<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3) -> ::windows::runtime::Result<IEnumWbemClassObject> {
7396         let mut result__: <IEnumWbemClassObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7397         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), &mut result__).from_abi::<IEnumWbemClassObject>(result__)
7398     }
7399     #[cfg(feature = "Win32_Foundation")]
ExecNotificationQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3, presponsehandler: Param4) -> ::windows::runtime::Result<()>7400     pub unsafe fn ExecNotificationQueryAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(&self, strquerylanguage: Param0, strquery: Param1, lflags: i32, pctx: Param3, presponsehandler: Param4) -> ::windows::runtime::Result<()> {
7401         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), presponsehandler.into_param().abi()).ok()
7402     }
7403     #[cfg(feature = "Win32_Foundation")]
ExecMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemClassObject>>( &self, strobjectpath: Param0, strmethodname: Param1, lflags: i32, pctx: Param3, pinparams: Param4, ppoutparams: *mut ::std::option::Option<IWbemClassObject>, ppcallresult: *mut ::std::option::Option<IWbemCallResult>, ) -> ::windows::runtime::Result<()>7404     pub unsafe fn ExecMethod<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(
7405         &self,
7406         strobjectpath: Param0,
7407         strmethodname: Param1,
7408         lflags: i32,
7409         pctx: Param3,
7410         pinparams: Param4,
7411         ppoutparams: *mut ::std::option::Option<IWbemClassObject>,
7412         ppcallresult: *mut ::std::option::Option<IWbemCallResult>,
7413     ) -> ::windows::runtime::Result<()> {
7414         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), pinparams.into_param().abi(), ::std::mem::transmute(ppoutparams), ::std::mem::transmute(ppcallresult)).ok()
7415     }
7416     #[cfg(feature = "Win32_Foundation")]
ExecMethodAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param5: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>( &self, strobjectpath: Param0, strmethodname: Param1, lflags: i32, pctx: Param3, pinparams: Param4, presponsehandler: Param5, ) -> ::windows::runtime::Result<()>7417     pub unsafe fn ExecMethodAsync<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, IWbemContext>, Param4: ::windows::runtime::IntoParam<'a, IWbemClassObject>, Param5: ::windows::runtime::IntoParam<'a, IWbemObjectSink>>(
7418         &self,
7419         strobjectpath: Param0,
7420         strmethodname: Param1,
7421         lflags: i32,
7422         pctx: Param3,
7423         pinparams: Param4,
7424         presponsehandler: Param5,
7425     ) -> ::windows::runtime::Result<()> {
7426         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), ::std::mem::transmute(lflags), pctx.into_param().abi(), pinparams.into_param().abi(), presponsehandler.into_param().abi()).ok()
7427     }
7428 }
7429 unsafe impl ::windows::runtime::Interface for IWbemServices {
7430     type Vtable = IWbemServices_abi;
7431     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2505497753, 33420, 4559, [163, 126, 0, 170, 0, 50, 64, 199]);
7432 }
7433 impl ::std::convert::From<IWbemServices> for ::windows::runtime::IUnknown {
from(value: IWbemServices) -> Self7434     fn from(value: IWbemServices) -> Self {
7435         unsafe { ::std::mem::transmute(value) }
7436     }
7437 }
7438 impl ::std::convert::From<&IWbemServices> for ::windows::runtime::IUnknown {
from(value: &IWbemServices) -> Self7439     fn from(value: &IWbemServices) -> Self {
7440         ::std::convert::From::from(::std::clone::Clone::clone(value))
7441     }
7442 }
7443 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7444     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7445         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7446     }
7447 }
7448 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7449     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7450         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7451     }
7452 }
7453 #[repr(C)]
7454 #[doc(hidden)]
7455 pub struct IWbemServices_abi(
7456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7459     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strnamespace: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppworkingnamespace: *mut ::windows::runtime::RawPtr, ppresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7460     #[cfg(not(feature = "Win32_Foundation"))] usize,
7461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lflags: i32, ppresponsehandler: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7463     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppobject: *mut ::windows::runtime::RawPtr, ppcallresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7464     #[cfg(not(feature = "Win32_Foundation"))] usize,
7465     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7466     #[cfg(not(feature = "Win32_Foundation"))] usize,
7467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pobject: ::windows::runtime::RawPtr, lflags: i32, pctx: ::windows::runtime::RawPtr, ppcallresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pobject: ::windows::runtime::RawPtr, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7469     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppcallresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7470     #[cfg(not(feature = "Win32_Foundation"))] usize,
7471     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7472     #[cfg(not(feature = "Win32_Foundation"))] usize,
7473     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsuperclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7474     #[cfg(not(feature = "Win32_Foundation"))] usize,
7475     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsuperclass: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7476     #[cfg(not(feature = "Win32_Foundation"))] usize,
7477     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinst: ::windows::runtime::RawPtr, lflags: i32, pctx: ::windows::runtime::RawPtr, ppcallresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinst: ::windows::runtime::RawPtr, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7479     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppcallresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7480     #[cfg(not(feature = "Win32_Foundation"))] usize,
7481     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7482     #[cfg(not(feature = "Win32_Foundation"))] usize,
7483     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strfilter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7484     #[cfg(not(feature = "Win32_Foundation"))] usize,
7485     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strfilter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7486     #[cfg(not(feature = "Win32_Foundation"))] usize,
7487     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7488     #[cfg(not(feature = "Win32_Foundation"))] usize,
7489     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7490     #[cfg(not(feature = "Win32_Foundation"))] usize,
7491     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7492     #[cfg(not(feature = "Win32_Foundation"))] usize,
7493     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strquerylanguage: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7494     #[cfg(not(feature = "Win32_Foundation"))] usize,
7495     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, pinparams: ::windows::runtime::RawPtr, ppoutparams: *mut ::windows::runtime::RawPtr, ppcallresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7496     #[cfg(not(feature = "Win32_Foundation"))] usize,
7497     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strobjectpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strmethodname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lflags: i32, pctx: ::windows::runtime::RawPtr, pinparams: ::windows::runtime::RawPtr, presponsehandler: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7498     #[cfg(not(feature = "Win32_Foundation"))] usize,
7499 );
7500 #[repr(transparent)]
7501 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7502 pub struct IWbemShutdown(::windows::runtime::IUnknown);
7503 impl IWbemShutdown {
Shutdown<'a, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, ureason: i32, umaxmilliseconds: u32, pctx: Param2) -> ::windows::runtime::Result<()>7504     pub unsafe fn Shutdown<'a, Param2: ::windows::runtime::IntoParam<'a, IWbemContext>>(&self, ureason: i32, umaxmilliseconds: u32, pctx: Param2) -> ::windows::runtime::Result<()> {
7505         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ureason), ::std::mem::transmute(umaxmilliseconds), pctx.into_param().abi()).ok()
7506     }
7507 }
7508 unsafe impl ::windows::runtime::Interface for IWbemShutdown {
7509     type Vtable = IWbemShutdown_abi;
7510     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3081969145, 54549, 4563, [161, 28, 0, 16, 90, 31, 81, 90]);
7511 }
7512 impl ::std::convert::From<IWbemShutdown> for ::windows::runtime::IUnknown {
from(value: IWbemShutdown) -> Self7513     fn from(value: IWbemShutdown) -> Self {
7514         unsafe { ::std::mem::transmute(value) }
7515     }
7516 }
7517 impl ::std::convert::From<&IWbemShutdown> for ::windows::runtime::IUnknown {
from(value: &IWbemShutdown) -> Self7518     fn from(value: &IWbemShutdown) -> Self {
7519         ::std::convert::From::from(::std::clone::Clone::clone(value))
7520     }
7521 }
7522 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemShutdown {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7523     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7524         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7525     }
7526 }
7527 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemShutdown {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7528     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7529         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7530     }
7531 }
7532 #[repr(C)]
7533 #[doc(hidden)]
7534 pub struct IWbemShutdown_abi(
7535     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7537     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7538     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ureason: i32, umaxmilliseconds: u32, pctx: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7539 );
7540 #[repr(transparent)]
7541 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7542 pub struct IWbemStatusCodeText(::windows::runtime::IUnknown);
7543 impl IWbemStatusCodeText {
7544     #[cfg(feature = "Win32_Foundation")]
GetErrorCodeText(&self, hres: ::windows::runtime::HRESULT, localeid: u32, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7545     pub unsafe fn GetErrorCodeText(&self, hres: ::windows::runtime::HRESULT, localeid: u32, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7546         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7547         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(hres), ::std::mem::transmute(localeid), ::std::mem::transmute(lflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7548     }
7549     #[cfg(feature = "Win32_Foundation")]
GetFacilityCodeText(&self, hres: ::windows::runtime::HRESULT, localeid: u32, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7550     pub unsafe fn GetFacilityCodeText(&self, hres: ::windows::runtime::HRESULT, localeid: u32, lflags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7551         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7552         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(hres), ::std::mem::transmute(localeid), ::std::mem::transmute(lflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7553     }
7554 }
7555 unsafe impl ::windows::runtime::Interface for IWbemStatusCodeText {
7556     type Vtable = IWbemStatusCodeText_abi;
7557     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3951550908, 12851, 4562, [174, 201, 0, 192, 79, 182, 136, 32]);
7558 }
7559 impl ::std::convert::From<IWbemStatusCodeText> for ::windows::runtime::IUnknown {
from(value: IWbemStatusCodeText) -> Self7560     fn from(value: IWbemStatusCodeText) -> Self {
7561         unsafe { ::std::mem::transmute(value) }
7562     }
7563 }
7564 impl ::std::convert::From<&IWbemStatusCodeText> for ::windows::runtime::IUnknown {
from(value: &IWbemStatusCodeText) -> Self7565     fn from(value: &IWbemStatusCodeText) -> Self {
7566         ::std::convert::From::from(::std::clone::Clone::clone(value))
7567     }
7568 }
7569 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemStatusCodeText {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7570     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7571         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7572     }
7573 }
7574 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemStatusCodeText {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7575     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7576         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7577     }
7578 }
7579 #[repr(C)]
7580 #[doc(hidden)]
7581 pub struct IWbemStatusCodeText_abi(
7582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7585     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hres: ::windows::runtime::HRESULT, localeid: u32, lflags: i32, messagetext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7586     #[cfg(not(feature = "Win32_Foundation"))] usize,
7587     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hres: ::windows::runtime::HRESULT, localeid: u32, lflags: i32, messagetext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7588     #[cfg(not(feature = "Win32_Foundation"))] usize,
7589 );
7590 #[repr(transparent)]
7591 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7592 pub struct IWbemTransport(::windows::runtime::IUnknown);
7593 impl IWbemTransport {
Initialize(&self) -> ::windows::runtime::Result<()>7594     pub unsafe fn Initialize(&self) -> ::windows::runtime::Result<()> {
7595         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
7596     }
7597 }
7598 unsafe impl ::windows::runtime::Interface for IWbemTransport {
7599     type Vtable = IWbemTransport_abi;
7600     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1430250884, 8534, 4560, [182, 174, 0, 170, 0, 50, 64, 199]);
7601 }
7602 impl ::std::convert::From<IWbemTransport> for ::windows::runtime::IUnknown {
from(value: IWbemTransport) -> Self7603     fn from(value: IWbemTransport) -> Self {
7604         unsafe { ::std::mem::transmute(value) }
7605     }
7606 }
7607 impl ::std::convert::From<&IWbemTransport> for ::windows::runtime::IUnknown {
from(value: &IWbemTransport) -> Self7608     fn from(value: &IWbemTransport) -> Self {
7609         ::std::convert::From::from(::std::clone::Clone::clone(value))
7610     }
7611 }
7612 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemTransport {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7613     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7614         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7615     }
7616 }
7617 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemTransport {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7618     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7619         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7620     }
7621 }
7622 #[repr(C)]
7623 #[doc(hidden)]
7624 pub struct IWbemTransport_abi(
7625     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7626     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7627     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7628     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7629 );
7630 #[repr(transparent)]
7631 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7632 pub struct IWbemUnboundObjectSink(::windows::runtime::IUnknown);
7633 impl IWbemUnboundObjectSink {
IndicateToConsumer<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, plogicalconsumer: Param0, lnumobjects: i32, apobjects: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()>7634     pub unsafe fn IndicateToConsumer<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemClassObject>>(&self, plogicalconsumer: Param0, lnumobjects: i32, apobjects: *const ::std::option::Option<IWbemClassObject>) -> ::windows::runtime::Result<()> {
7635         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), plogicalconsumer.into_param().abi(), ::std::mem::transmute(lnumobjects), ::std::mem::transmute(apobjects)).ok()
7636     }
7637 }
7638 unsafe impl ::windows::runtime::Interface for IWbemUnboundObjectSink {
7639     type Vtable = IWbemUnboundObjectSink_abi;
7640     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3796242555, 45166, 4560, [173, 97, 0, 192, 79, 216, 253, 255]);
7641 }
7642 impl ::std::convert::From<IWbemUnboundObjectSink> for ::windows::runtime::IUnknown {
from(value: IWbemUnboundObjectSink) -> Self7643     fn from(value: IWbemUnboundObjectSink) -> Self {
7644         unsafe { ::std::mem::transmute(value) }
7645     }
7646 }
7647 impl ::std::convert::From<&IWbemUnboundObjectSink> for ::windows::runtime::IUnknown {
from(value: &IWbemUnboundObjectSink) -> Self7648     fn from(value: &IWbemUnboundObjectSink) -> Self {
7649         ::std::convert::From::from(::std::clone::Clone::clone(value))
7650     }
7651 }
7652 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemUnboundObjectSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7653     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7654         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7655     }
7656 }
7657 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemUnboundObjectSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7658     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7659         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7660     }
7661 }
7662 #[repr(C)]
7663 #[doc(hidden)]
7664 pub struct IWbemUnboundObjectSink_abi(
7665     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plogicalconsumer: ::windows::runtime::RawPtr, lnumobjects: i32, apobjects: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7669 );
7670 #[repr(transparent)]
7671 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7672 pub struct IWbemUnsecuredApartment(::windows::runtime::IUnknown);
7673 impl IWbemUnsecuredApartment {
CreateObjectStub<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pobject: Param0) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7674     pub unsafe fn CreateObjectStub<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pobject: Param0) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7675         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7676         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pobject.into_param().abi(), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7677     }
7678     #[cfg(feature = "Win32_Foundation")]
CreateSinkStub<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemObjectSink>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, psink: Param0, dwflags: u32, wszreserved: Param2) -> ::windows::runtime::Result<IWbemObjectSink>7679     pub unsafe fn CreateSinkStub<'a, Param0: ::windows::runtime::IntoParam<'a, IWbemObjectSink>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, psink: Param0, dwflags: u32, wszreserved: Param2) -> ::windows::runtime::Result<IWbemObjectSink> {
7680         let mut result__: <IWbemObjectSink as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7681         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), psink.into_param().abi(), ::std::mem::transmute(dwflags), wszreserved.into_param().abi(), &mut result__).from_abi::<IWbemObjectSink>(result__)
7682     }
7683 }
7684 unsafe impl ::windows::runtime::Interface for IWbemUnsecuredApartment {
7685     type Vtable = IWbemUnsecuredApartment_abi;
7686     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(829660420, 13425, 19700, [154, 124, 87, 164, 74, 231, 25, 86]);
7687 }
7688 impl ::std::convert::From<IWbemUnsecuredApartment> for ::windows::runtime::IUnknown {
from(value: IWbemUnsecuredApartment) -> Self7689     fn from(value: IWbemUnsecuredApartment) -> Self {
7690         unsafe { ::std::mem::transmute(value) }
7691     }
7692 }
7693 impl ::std::convert::From<&IWbemUnsecuredApartment> for ::windows::runtime::IUnknown {
from(value: &IWbemUnsecuredApartment) -> Self7694     fn from(value: &IWbemUnsecuredApartment) -> Self {
7695         ::std::convert::From::from(::std::clone::Clone::clone(value))
7696     }
7697 }
7698 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWbemUnsecuredApartment {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7699     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7700         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7701     }
7702 }
7703 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWbemUnsecuredApartment {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7704     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7705         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7706     }
7707 }
7708 impl ::std::convert::From<IWbemUnsecuredApartment> for IUnsecuredApartment {
from(value: IWbemUnsecuredApartment) -> Self7709     fn from(value: IWbemUnsecuredApartment) -> Self {
7710         unsafe { ::std::mem::transmute(value) }
7711     }
7712 }
7713 impl ::std::convert::From<&IWbemUnsecuredApartment> for IUnsecuredApartment {
from(value: &IWbemUnsecuredApartment) -> Self7714     fn from(value: &IWbemUnsecuredApartment) -> Self {
7715         ::std::convert::From::from(::std::clone::Clone::clone(value))
7716     }
7717 }
7718 impl<'a> ::windows::runtime::IntoParam<'a, IUnsecuredApartment> for IWbemUnsecuredApartment {
into_param(self) -> ::windows::runtime::Param<'a, IUnsecuredApartment>7719     fn into_param(self) -> ::windows::runtime::Param<'a, IUnsecuredApartment> {
7720         ::windows::runtime::Param::Owned(::std::convert::Into::<IUnsecuredApartment>::into(self))
7721     }
7722 }
7723 impl<'a> ::windows::runtime::IntoParam<'a, IUnsecuredApartment> for &IWbemUnsecuredApartment {
into_param(self) -> ::windows::runtime::Param<'a, IUnsecuredApartment>7724     fn into_param(self) -> ::windows::runtime::Param<'a, IUnsecuredApartment> {
7725         ::windows::runtime::Param::Owned(::std::convert::Into::<IUnsecuredApartment>::into(::std::clone::Clone::clone(self)))
7726     }
7727 }
7728 #[repr(C)]
7729 #[doc(hidden)]
7730 pub struct IWbemUnsecuredApartment_abi(
7731     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7732     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7733     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7734     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pobject: ::windows::runtime::RawPtr, ppstub: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7735     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, dwflags: u32, wszreserved: super::super::Foundation::PWSTR, ppstub: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7736     #[cfg(not(feature = "Win32_Foundation"))] usize,
7737 );
7738 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7739 #[repr(C)]
7740 pub struct MI_Application {
7741     pub reserved1: u64,
7742     pub reserved2: isize,
7743     pub ft: *mut MI_ApplicationFT,
7744 }
7745 impl MI_Application {}
7746 impl ::std::default::Default for MI_Application {
default() -> Self7747     fn default() -> Self {
7748         unsafe { ::std::mem::zeroed() }
7749     }
7750 }
7751 impl ::std::fmt::Debug for MI_Application {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7752     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7753         fmt.debug_struct("MI_Application").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
7754     }
7755 }
7756 impl ::std::cmp::PartialEq for MI_Application {
eq(&self, other: &Self) -> bool7757     fn eq(&self, other: &Self) -> bool {
7758         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
7759     }
7760 }
7761 impl ::std::cmp::Eq for MI_Application {}
7762 unsafe impl ::windows::runtime::Abi for MI_Application {
7763     type Abi = Self;
7764     type DefaultType = Self;
7765 }
7766 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7767 #[repr(C)]
7768 pub struct MI_ApplicationFT {
7769     pub Close: isize,
7770     pub NewSession: isize,
7771     pub NewHostedProvider: isize,
7772     pub NewInstance: isize,
7773     pub NewDestinationOptions: isize,
7774     pub NewOperationOptions: isize,
7775     pub NewSubscriptionDeliveryOptions: isize,
7776     pub NewSerializer: isize,
7777     pub NewDeserializer: isize,
7778     pub NewInstanceFromClass: isize,
7779     pub NewClass: isize,
7780 }
7781 impl MI_ApplicationFT {}
7782 impl ::std::default::Default for MI_ApplicationFT {
default() -> Self7783     fn default() -> Self {
7784         unsafe { ::std::mem::zeroed() }
7785     }
7786 }
7787 impl ::std::fmt::Debug for MI_ApplicationFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7788     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7789         fmt.debug_struct("MI_ApplicationFT")
7790             .field("Close", &self.Close)
7791             .field("NewSession", &self.NewSession)
7792             .field("NewHostedProvider", &self.NewHostedProvider)
7793             .field("NewInstance", &self.NewInstance)
7794             .field("NewDestinationOptions", &self.NewDestinationOptions)
7795             .field("NewOperationOptions", &self.NewOperationOptions)
7796             .field("NewSubscriptionDeliveryOptions", &self.NewSubscriptionDeliveryOptions)
7797             .field("NewSerializer", &self.NewSerializer)
7798             .field("NewDeserializer", &self.NewDeserializer)
7799             .field("NewInstanceFromClass", &self.NewInstanceFromClass)
7800             .field("NewClass", &self.NewClass)
7801             .finish()
7802     }
7803 }
7804 impl ::std::cmp::PartialEq for MI_ApplicationFT {
eq(&self, other: &Self) -> bool7805     fn eq(&self, other: &Self) -> bool {
7806         self.Close == other.Close
7807             && self.NewSession == other.NewSession
7808             && self.NewHostedProvider == other.NewHostedProvider
7809             && self.NewInstance == other.NewInstance
7810             && self.NewDestinationOptions == other.NewDestinationOptions
7811             && self.NewOperationOptions == other.NewOperationOptions
7812             && self.NewSubscriptionDeliveryOptions == other.NewSubscriptionDeliveryOptions
7813             && self.NewSerializer == other.NewSerializer
7814             && self.NewDeserializer == other.NewDeserializer
7815             && self.NewInstanceFromClass == other.NewInstanceFromClass
7816             && self.NewClass == other.NewClass
7817     }
7818 }
7819 impl ::std::cmp::Eq for MI_ApplicationFT {}
7820 unsafe impl ::windows::runtime::Abi for MI_ApplicationFT {
7821     type Abi = Self;
7822     type DefaultType = Self;
7823 }
7824 #[inline]
MI_Application_InitializeV1(flags: u32, applicationid: *const u16, extendederror: *mut *mut MI_Instance, application: *mut MI_Application) -> MI_Result7825 pub unsafe fn MI_Application_InitializeV1(flags: u32, applicationid: *const u16, extendederror: *mut *mut MI_Instance, application: *mut MI_Application) -> MI_Result {
7826     #[cfg(windows)]
7827     {
7828         #[link(name = "windows")]
7829         extern "system" {
7830             fn MI_Application_InitializeV1(flags: u32, applicationid: *const u16, extendederror: *mut *mut MI_Instance, application: *mut MI_Application) -> MI_Result;
7831         }
7832         ::std::mem::transmute(MI_Application_InitializeV1(::std::mem::transmute(flags), ::std::mem::transmute(applicationid), ::std::mem::transmute(extendederror), ::std::mem::transmute(application)))
7833     }
7834     #[cfg(not(windows))]
7835     unimplemented!("Unsupported target OS");
7836 }
7837 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7838 #[repr(C)]
7839 pub struct MI_Array {
7840     pub data: *mut ::std::ffi::c_void,
7841     pub size: u32,
7842 }
7843 impl MI_Array {}
7844 impl ::std::default::Default for MI_Array {
default() -> Self7845     fn default() -> Self {
7846         unsafe { ::std::mem::zeroed() }
7847     }
7848 }
7849 impl ::std::fmt::Debug for MI_Array {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7850     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7851         fmt.debug_struct("MI_Array").field("data", &self.data).field("size", &self.size).finish()
7852     }
7853 }
7854 impl ::std::cmp::PartialEq for MI_Array {
eq(&self, other: &Self) -> bool7855     fn eq(&self, other: &Self) -> bool {
7856         self.data == other.data && self.size == other.size
7857     }
7858 }
7859 impl ::std::cmp::Eq for MI_Array {}
7860 unsafe impl ::windows::runtime::Abi for MI_Array {
7861     type Abi = Self;
7862     type DefaultType = Self;
7863 }
7864 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7865 #[repr(C)]
7866 pub struct MI_ArrayField {
7867     pub value: MI_Array,
7868     pub exists: u8,
7869     pub flags: u8,
7870 }
7871 impl MI_ArrayField {}
7872 impl ::std::default::Default for MI_ArrayField {
default() -> Self7873     fn default() -> Self {
7874         unsafe { ::std::mem::zeroed() }
7875     }
7876 }
7877 impl ::std::fmt::Debug for MI_ArrayField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7878     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7879         fmt.debug_struct("MI_ArrayField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
7880     }
7881 }
7882 impl ::std::cmp::PartialEq for MI_ArrayField {
eq(&self, other: &Self) -> bool7883     fn eq(&self, other: &Self) -> bool {
7884         self.value == other.value && self.exists == other.exists && self.flags == other.flags
7885     }
7886 }
7887 impl ::std::cmp::Eq for MI_ArrayField {}
7888 unsafe impl ::windows::runtime::Abi for MI_ArrayField {
7889     type Abi = Self;
7890     type DefaultType = Self;
7891 }
7892 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7893 #[repr(C)]
7894 pub struct MI_BooleanA {
7895     pub data: *mut u8,
7896     pub size: u32,
7897 }
7898 impl MI_BooleanA {}
7899 impl ::std::default::Default for MI_BooleanA {
default() -> Self7900     fn default() -> Self {
7901         unsafe { ::std::mem::zeroed() }
7902     }
7903 }
7904 impl ::std::fmt::Debug for MI_BooleanA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7905     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7906         fmt.debug_struct("MI_BooleanA").field("data", &self.data).field("size", &self.size).finish()
7907     }
7908 }
7909 impl ::std::cmp::PartialEq for MI_BooleanA {
eq(&self, other: &Self) -> bool7910     fn eq(&self, other: &Self) -> bool {
7911         self.data == other.data && self.size == other.size
7912     }
7913 }
7914 impl ::std::cmp::Eq for MI_BooleanA {}
7915 unsafe impl ::windows::runtime::Abi for MI_BooleanA {
7916     type Abi = Self;
7917     type DefaultType = Self;
7918 }
7919 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7920 #[repr(C)]
7921 pub struct MI_BooleanAField {
7922     pub value: MI_BooleanA,
7923     pub exists: u8,
7924     pub flags: u8,
7925 }
7926 impl MI_BooleanAField {}
7927 impl ::std::default::Default for MI_BooleanAField {
default() -> Self7928     fn default() -> Self {
7929         unsafe { ::std::mem::zeroed() }
7930     }
7931 }
7932 impl ::std::fmt::Debug for MI_BooleanAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7933     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7934         fmt.debug_struct("MI_BooleanAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
7935     }
7936 }
7937 impl ::std::cmp::PartialEq for MI_BooleanAField {
eq(&self, other: &Self) -> bool7938     fn eq(&self, other: &Self) -> bool {
7939         self.value == other.value && self.exists == other.exists && self.flags == other.flags
7940     }
7941 }
7942 impl ::std::cmp::Eq for MI_BooleanAField {}
7943 unsafe impl ::windows::runtime::Abi for MI_BooleanAField {
7944     type Abi = Self;
7945     type DefaultType = Self;
7946 }
7947 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7948 #[repr(C)]
7949 pub struct MI_BooleanField {
7950     pub value: u8,
7951     pub exists: u8,
7952     pub flags: u8,
7953 }
7954 impl MI_BooleanField {}
7955 impl ::std::default::Default for MI_BooleanField {
default() -> Self7956     fn default() -> Self {
7957         unsafe { ::std::mem::zeroed() }
7958     }
7959 }
7960 impl ::std::fmt::Debug for MI_BooleanField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7961     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7962         fmt.debug_struct("MI_BooleanField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
7963     }
7964 }
7965 impl ::std::cmp::PartialEq for MI_BooleanField {
eq(&self, other: &Self) -> bool7966     fn eq(&self, other: &Self) -> bool {
7967         self.value == other.value && self.exists == other.exists && self.flags == other.flags
7968     }
7969 }
7970 impl ::std::cmp::Eq for MI_BooleanField {}
7971 unsafe impl ::windows::runtime::Abi for MI_BooleanField {
7972     type Abi = Self;
7973     type DefaultType = Self;
7974 }
7975 pub const MI_CALL_VERSION: u32 = 1u32;
7976 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7977 #[repr(transparent)]
7978 pub struct MI_CallbackMode(pub i32);
7979 pub const MI_CALLBACKMODE_REPORT: MI_CallbackMode = MI_CallbackMode(0i32);
7980 pub const MI_CALLBACKMODE_INQUIRE: MI_CallbackMode = MI_CallbackMode(1i32);
7981 pub const MI_CALLBACKMODE_IGNORE: MI_CallbackMode = MI_CallbackMode(2i32);
7982 impl ::std::convert::From<i32> for MI_CallbackMode {
from(value: i32) -> Self7983     fn from(value: i32) -> Self {
7984         Self(value)
7985     }
7986 }
7987 unsafe impl ::windows::runtime::Abi for MI_CallbackMode {
7988     type Abi = Self;
7989     type DefaultType = Self;
7990 }
7991 pub type MI_CancelCallback = unsafe extern "system" fn(reason: MI_CancellationReason, callbackdata: *const ::std::ffi::c_void);
7992 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7993 #[repr(transparent)]
7994 pub struct MI_CancellationReason(pub i32);
7995 pub const MI_REASON_NONE: MI_CancellationReason = MI_CancellationReason(0i32);
7996 pub const MI_REASON_TIMEOUT: MI_CancellationReason = MI_CancellationReason(1i32);
7997 pub const MI_REASON_SHUTDOWN: MI_CancellationReason = MI_CancellationReason(2i32);
7998 pub const MI_REASON_SERVICESTOP: MI_CancellationReason = MI_CancellationReason(3i32);
7999 impl ::std::convert::From<i32> for MI_CancellationReason {
from(value: i32) -> Self8000     fn from(value: i32) -> Self {
8001         Self(value)
8002     }
8003 }
8004 unsafe impl ::windows::runtime::Abi for MI_CancellationReason {
8005     type Abi = Self;
8006     type DefaultType = Self;
8007 }
8008 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8009 #[repr(C)]
8010 pub struct MI_Char16A {
8011     pub data: *mut u16,
8012     pub size: u32,
8013 }
8014 impl MI_Char16A {}
8015 impl ::std::default::Default for MI_Char16A {
default() -> Self8016     fn default() -> Self {
8017         unsafe { ::std::mem::zeroed() }
8018     }
8019 }
8020 impl ::std::fmt::Debug for MI_Char16A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8021     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8022         fmt.debug_struct("MI_Char16A").field("data", &self.data).field("size", &self.size).finish()
8023     }
8024 }
8025 impl ::std::cmp::PartialEq for MI_Char16A {
eq(&self, other: &Self) -> bool8026     fn eq(&self, other: &Self) -> bool {
8027         self.data == other.data && self.size == other.size
8028     }
8029 }
8030 impl ::std::cmp::Eq for MI_Char16A {}
8031 unsafe impl ::windows::runtime::Abi for MI_Char16A {
8032     type Abi = Self;
8033     type DefaultType = Self;
8034 }
8035 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8036 #[repr(C)]
8037 pub struct MI_Char16AField {
8038     pub value: MI_Char16A,
8039     pub exists: u8,
8040     pub flags: u8,
8041 }
8042 impl MI_Char16AField {}
8043 impl ::std::default::Default for MI_Char16AField {
default() -> Self8044     fn default() -> Self {
8045         unsafe { ::std::mem::zeroed() }
8046     }
8047 }
8048 impl ::std::fmt::Debug for MI_Char16AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8049     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8050         fmt.debug_struct("MI_Char16AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8051     }
8052 }
8053 impl ::std::cmp::PartialEq for MI_Char16AField {
eq(&self, other: &Self) -> bool8054     fn eq(&self, other: &Self) -> bool {
8055         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8056     }
8057 }
8058 impl ::std::cmp::Eq for MI_Char16AField {}
8059 unsafe impl ::windows::runtime::Abi for MI_Char16AField {
8060     type Abi = Self;
8061     type DefaultType = Self;
8062 }
8063 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8064 #[repr(C)]
8065 pub struct MI_Char16Field {
8066     pub value: u16,
8067     pub exists: u8,
8068     pub flags: u8,
8069 }
8070 impl MI_Char16Field {}
8071 impl ::std::default::Default for MI_Char16Field {
default() -> Self8072     fn default() -> Self {
8073         unsafe { ::std::mem::zeroed() }
8074     }
8075 }
8076 impl ::std::fmt::Debug for MI_Char16Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8077     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8078         fmt.debug_struct("MI_Char16Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8079     }
8080 }
8081 impl ::std::cmp::PartialEq for MI_Char16Field {
eq(&self, other: &Self) -> bool8082     fn eq(&self, other: &Self) -> bool {
8083         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8084     }
8085 }
8086 impl ::std::cmp::Eq for MI_Char16Field {}
8087 unsafe impl ::windows::runtime::Abi for MI_Char16Field {
8088     type Abi = Self;
8089     type DefaultType = Self;
8090 }
8091 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8092 #[repr(C)]
8093 pub struct MI_Class {
8094     pub ft: *mut MI_ClassFT,
8095     pub classDecl: *mut MI_ClassDecl,
8096     pub namespaceName: *mut u16,
8097     pub serverName: *mut u16,
8098     pub reserved: [isize; 4],
8099 }
8100 impl MI_Class {}
8101 impl ::std::default::Default for MI_Class {
default() -> Self8102     fn default() -> Self {
8103         unsafe { ::std::mem::zeroed() }
8104     }
8105 }
8106 impl ::std::fmt::Debug for MI_Class {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8107     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8108         fmt.debug_struct("MI_Class").field("ft", &self.ft).field("classDecl", &self.classDecl).field("namespaceName", &self.namespaceName).field("serverName", &self.serverName).field("reserved", &self.reserved).finish()
8109     }
8110 }
8111 impl ::std::cmp::PartialEq for MI_Class {
eq(&self, other: &Self) -> bool8112     fn eq(&self, other: &Self) -> bool {
8113         self.ft == other.ft && self.classDecl == other.classDecl && self.namespaceName == other.namespaceName && self.serverName == other.serverName && self.reserved == other.reserved
8114     }
8115 }
8116 impl ::std::cmp::Eq for MI_Class {}
8117 unsafe impl ::windows::runtime::Abi for MI_Class {
8118     type Abi = Self;
8119     type DefaultType = Self;
8120 }
8121 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8122 #[repr(C)]
8123 pub struct MI_ClassDecl {
8124     pub flags: u32,
8125     pub code: u32,
8126     pub name: *mut u16,
8127     pub qualifiers: *mut *mut MI_Qualifier,
8128     pub numQualifiers: u32,
8129     pub properties: *mut *mut MI_PropertyDecl,
8130     pub numProperties: u32,
8131     pub size: u32,
8132     pub superClass: *mut u16,
8133     pub superClassDecl: *mut MI_ClassDecl,
8134     pub methods: *mut *mut MI_MethodDecl,
8135     pub numMethods: u32,
8136     pub schema: *mut MI_SchemaDecl,
8137     pub providerFT: *mut MI_ProviderFT,
8138     pub owningClass: *mut MI_Class,
8139 }
8140 impl MI_ClassDecl {}
8141 impl ::std::default::Default for MI_ClassDecl {
default() -> Self8142     fn default() -> Self {
8143         unsafe { ::std::mem::zeroed() }
8144     }
8145 }
8146 impl ::std::fmt::Debug for MI_ClassDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8147     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8148         fmt.debug_struct("MI_ClassDecl")
8149             .field("flags", &self.flags)
8150             .field("code", &self.code)
8151             .field("name", &self.name)
8152             .field("qualifiers", &self.qualifiers)
8153             .field("numQualifiers", &self.numQualifiers)
8154             .field("properties", &self.properties)
8155             .field("numProperties", &self.numProperties)
8156             .field("size", &self.size)
8157             .field("superClass", &self.superClass)
8158             .field("superClassDecl", &self.superClassDecl)
8159             .field("methods", &self.methods)
8160             .field("numMethods", &self.numMethods)
8161             .field("schema", &self.schema)
8162             .field("providerFT", &self.providerFT)
8163             .field("owningClass", &self.owningClass)
8164             .finish()
8165     }
8166 }
8167 impl ::std::cmp::PartialEq for MI_ClassDecl {
eq(&self, other: &Self) -> bool8168     fn eq(&self, other: &Self) -> bool {
8169         self.flags == other.flags
8170             && self.code == other.code
8171             && self.name == other.name
8172             && self.qualifiers == other.qualifiers
8173             && self.numQualifiers == other.numQualifiers
8174             && self.properties == other.properties
8175             && self.numProperties == other.numProperties
8176             && self.size == other.size
8177             && self.superClass == other.superClass
8178             && self.superClassDecl == other.superClassDecl
8179             && self.methods == other.methods
8180             && self.numMethods == other.numMethods
8181             && self.schema == other.schema
8182             && self.providerFT == other.providerFT
8183             && self.owningClass == other.owningClass
8184     }
8185 }
8186 impl ::std::cmp::Eq for MI_ClassDecl {}
8187 unsafe impl ::windows::runtime::Abi for MI_ClassDecl {
8188     type Abi = Self;
8189     type DefaultType = Self;
8190 }
8191 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8192 #[repr(C)]
8193 pub struct MI_ClassFT {
8194     pub GetClassNameA: isize,
8195     pub GetNameSpace: isize,
8196     pub GetServerName: isize,
8197     pub GetElementCount: isize,
8198     pub GetElement: isize,
8199     pub GetElementAt: isize,
8200     pub GetClassQualifierSet: isize,
8201     pub GetMethodCount: isize,
8202     pub GetMethodAt: isize,
8203     pub GetMethod: isize,
8204     pub GetParentClassName: isize,
8205     pub GetParentClass: isize,
8206     pub Delete: isize,
8207     pub Clone: isize,
8208 }
8209 impl MI_ClassFT {}
8210 impl ::std::default::Default for MI_ClassFT {
default() -> Self8211     fn default() -> Self {
8212         unsafe { ::std::mem::zeroed() }
8213     }
8214 }
8215 impl ::std::fmt::Debug for MI_ClassFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8216     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8217         fmt.debug_struct("MI_ClassFT")
8218             .field("GetClassNameA", &self.GetClassNameA)
8219             .field("GetNameSpace", &self.GetNameSpace)
8220             .field("GetServerName", &self.GetServerName)
8221             .field("GetElementCount", &self.GetElementCount)
8222             .field("GetElement", &self.GetElement)
8223             .field("GetElementAt", &self.GetElementAt)
8224             .field("GetClassQualifierSet", &self.GetClassQualifierSet)
8225             .field("GetMethodCount", &self.GetMethodCount)
8226             .field("GetMethodAt", &self.GetMethodAt)
8227             .field("GetMethod", &self.GetMethod)
8228             .field("GetParentClassName", &self.GetParentClassName)
8229             .field("GetParentClass", &self.GetParentClass)
8230             .field("Delete", &self.Delete)
8231             .field("Clone", &self.Clone)
8232             .finish()
8233     }
8234 }
8235 impl ::std::cmp::PartialEq for MI_ClassFT {
eq(&self, other: &Self) -> bool8236     fn eq(&self, other: &Self) -> bool {
8237         self.GetClassNameA == other.GetClassNameA
8238             && self.GetNameSpace == other.GetNameSpace
8239             && self.GetServerName == other.GetServerName
8240             && self.GetElementCount == other.GetElementCount
8241             && self.GetElement == other.GetElement
8242             && self.GetElementAt == other.GetElementAt
8243             && self.GetClassQualifierSet == other.GetClassQualifierSet
8244             && self.GetMethodCount == other.GetMethodCount
8245             && self.GetMethodAt == other.GetMethodAt
8246             && self.GetMethod == other.GetMethod
8247             && self.GetParentClassName == other.GetParentClassName
8248             && self.GetParentClass == other.GetParentClass
8249             && self.Delete == other.Delete
8250             && self.Clone == other.Clone
8251     }
8252 }
8253 impl ::std::cmp::Eq for MI_ClassFT {}
8254 unsafe impl ::windows::runtime::Abi for MI_ClassFT {
8255     type Abi = Self;
8256     type DefaultType = Self;
8257 }
8258 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8259 #[repr(C)]
8260 pub struct MI_ClientFT_V1 {
8261     pub applicationFT: *mut MI_ApplicationFT,
8262     pub sessionFT: *mut MI_SessionFT,
8263     pub operationFT: *mut MI_OperationFT,
8264     pub hostedProviderFT: *mut MI_HostedProviderFT,
8265     pub serializerFT: *mut MI_SerializerFT,
8266     pub deserializerFT: *mut MI_DeserializerFT,
8267     pub subscribeDeliveryOptionsFT: *mut MI_SubscriptionDeliveryOptionsFT,
8268     pub destinationOptionsFT: *mut MI_DestinationOptionsFT,
8269     pub operationOptionsFT: *mut MI_OperationOptionsFT,
8270     pub utilitiesFT: *mut MI_UtilitiesFT,
8271 }
8272 impl MI_ClientFT_V1 {}
8273 impl ::std::default::Default for MI_ClientFT_V1 {
default() -> Self8274     fn default() -> Self {
8275         unsafe { ::std::mem::zeroed() }
8276     }
8277 }
8278 impl ::std::fmt::Debug for MI_ClientFT_V1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8279     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8280         fmt.debug_struct("MI_ClientFT_V1")
8281             .field("applicationFT", &self.applicationFT)
8282             .field("sessionFT", &self.sessionFT)
8283             .field("operationFT", &self.operationFT)
8284             .field("hostedProviderFT", &self.hostedProviderFT)
8285             .field("serializerFT", &self.serializerFT)
8286             .field("deserializerFT", &self.deserializerFT)
8287             .field("subscribeDeliveryOptionsFT", &self.subscribeDeliveryOptionsFT)
8288             .field("destinationOptionsFT", &self.destinationOptionsFT)
8289             .field("operationOptionsFT", &self.operationOptionsFT)
8290             .field("utilitiesFT", &self.utilitiesFT)
8291             .finish()
8292     }
8293 }
8294 impl ::std::cmp::PartialEq for MI_ClientFT_V1 {
eq(&self, other: &Self) -> bool8295     fn eq(&self, other: &Self) -> bool {
8296         self.applicationFT == other.applicationFT && self.sessionFT == other.sessionFT && self.operationFT == other.operationFT && self.hostedProviderFT == other.hostedProviderFT && self.serializerFT == other.serializerFT && self.deserializerFT == other.deserializerFT && self.subscribeDeliveryOptionsFT == other.subscribeDeliveryOptionsFT && self.destinationOptionsFT == other.destinationOptionsFT && self.operationOptionsFT == other.operationOptionsFT && self.utilitiesFT == other.utilitiesFT
8297     }
8298 }
8299 impl ::std::cmp::Eq for MI_ClientFT_V1 {}
8300 unsafe impl ::windows::runtime::Abi for MI_ClientFT_V1 {
8301     type Abi = Self;
8302     type DefaultType = Self;
8303 }
8304 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8305 #[repr(C)]
8306 pub struct MI_ConstBooleanA {
8307     pub data: *mut u8,
8308     pub size: u32,
8309 }
8310 impl MI_ConstBooleanA {}
8311 impl ::std::default::Default for MI_ConstBooleanA {
default() -> Self8312     fn default() -> Self {
8313         unsafe { ::std::mem::zeroed() }
8314     }
8315 }
8316 impl ::std::fmt::Debug for MI_ConstBooleanA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8317     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8318         fmt.debug_struct("MI_ConstBooleanA").field("data", &self.data).field("size", &self.size).finish()
8319     }
8320 }
8321 impl ::std::cmp::PartialEq for MI_ConstBooleanA {
eq(&self, other: &Self) -> bool8322     fn eq(&self, other: &Self) -> bool {
8323         self.data == other.data && self.size == other.size
8324     }
8325 }
8326 impl ::std::cmp::Eq for MI_ConstBooleanA {}
8327 unsafe impl ::windows::runtime::Abi for MI_ConstBooleanA {
8328     type Abi = Self;
8329     type DefaultType = Self;
8330 }
8331 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8332 #[repr(C)]
8333 pub struct MI_ConstBooleanAField {
8334     pub value: MI_ConstBooleanA,
8335     pub exists: u8,
8336     pub flags: u8,
8337 }
8338 impl MI_ConstBooleanAField {}
8339 impl ::std::default::Default for MI_ConstBooleanAField {
default() -> Self8340     fn default() -> Self {
8341         unsafe { ::std::mem::zeroed() }
8342     }
8343 }
8344 impl ::std::fmt::Debug for MI_ConstBooleanAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8345     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8346         fmt.debug_struct("MI_ConstBooleanAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8347     }
8348 }
8349 impl ::std::cmp::PartialEq for MI_ConstBooleanAField {
eq(&self, other: &Self) -> bool8350     fn eq(&self, other: &Self) -> bool {
8351         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8352     }
8353 }
8354 impl ::std::cmp::Eq for MI_ConstBooleanAField {}
8355 unsafe impl ::windows::runtime::Abi for MI_ConstBooleanAField {
8356     type Abi = Self;
8357     type DefaultType = Self;
8358 }
8359 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8360 #[repr(C)]
8361 pub struct MI_ConstBooleanField {
8362     pub value: u8,
8363     pub exists: u8,
8364     pub flags: u8,
8365 }
8366 impl MI_ConstBooleanField {}
8367 impl ::std::default::Default for MI_ConstBooleanField {
default() -> Self8368     fn default() -> Self {
8369         unsafe { ::std::mem::zeroed() }
8370     }
8371 }
8372 impl ::std::fmt::Debug for MI_ConstBooleanField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8373     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8374         fmt.debug_struct("MI_ConstBooleanField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8375     }
8376 }
8377 impl ::std::cmp::PartialEq for MI_ConstBooleanField {
eq(&self, other: &Self) -> bool8378     fn eq(&self, other: &Self) -> bool {
8379         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8380     }
8381 }
8382 impl ::std::cmp::Eq for MI_ConstBooleanField {}
8383 unsafe impl ::windows::runtime::Abi for MI_ConstBooleanField {
8384     type Abi = Self;
8385     type DefaultType = Self;
8386 }
8387 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8388 #[repr(C)]
8389 pub struct MI_ConstChar16A {
8390     pub data: *mut u16,
8391     pub size: u32,
8392 }
8393 impl MI_ConstChar16A {}
8394 impl ::std::default::Default for MI_ConstChar16A {
default() -> Self8395     fn default() -> Self {
8396         unsafe { ::std::mem::zeroed() }
8397     }
8398 }
8399 impl ::std::fmt::Debug for MI_ConstChar16A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8400     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8401         fmt.debug_struct("MI_ConstChar16A").field("data", &self.data).field("size", &self.size).finish()
8402     }
8403 }
8404 impl ::std::cmp::PartialEq for MI_ConstChar16A {
eq(&self, other: &Self) -> bool8405     fn eq(&self, other: &Self) -> bool {
8406         self.data == other.data && self.size == other.size
8407     }
8408 }
8409 impl ::std::cmp::Eq for MI_ConstChar16A {}
8410 unsafe impl ::windows::runtime::Abi for MI_ConstChar16A {
8411     type Abi = Self;
8412     type DefaultType = Self;
8413 }
8414 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8415 #[repr(C)]
8416 pub struct MI_ConstChar16AField {
8417     pub value: MI_ConstChar16A,
8418     pub exists: u8,
8419     pub flags: u8,
8420 }
8421 impl MI_ConstChar16AField {}
8422 impl ::std::default::Default for MI_ConstChar16AField {
default() -> Self8423     fn default() -> Self {
8424         unsafe { ::std::mem::zeroed() }
8425     }
8426 }
8427 impl ::std::fmt::Debug for MI_ConstChar16AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8428     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8429         fmt.debug_struct("MI_ConstChar16AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8430     }
8431 }
8432 impl ::std::cmp::PartialEq for MI_ConstChar16AField {
eq(&self, other: &Self) -> bool8433     fn eq(&self, other: &Self) -> bool {
8434         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8435     }
8436 }
8437 impl ::std::cmp::Eq for MI_ConstChar16AField {}
8438 unsafe impl ::windows::runtime::Abi for MI_ConstChar16AField {
8439     type Abi = Self;
8440     type DefaultType = Self;
8441 }
8442 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8443 #[repr(C)]
8444 pub struct MI_ConstChar16Field {
8445     pub value: u16,
8446     pub exists: u8,
8447     pub flags: u8,
8448 }
8449 impl MI_ConstChar16Field {}
8450 impl ::std::default::Default for MI_ConstChar16Field {
default() -> Self8451     fn default() -> Self {
8452         unsafe { ::std::mem::zeroed() }
8453     }
8454 }
8455 impl ::std::fmt::Debug for MI_ConstChar16Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8456     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8457         fmt.debug_struct("MI_ConstChar16Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8458     }
8459 }
8460 impl ::std::cmp::PartialEq for MI_ConstChar16Field {
eq(&self, other: &Self) -> bool8461     fn eq(&self, other: &Self) -> bool {
8462         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8463     }
8464 }
8465 impl ::std::cmp::Eq for MI_ConstChar16Field {}
8466 unsafe impl ::windows::runtime::Abi for MI_ConstChar16Field {
8467     type Abi = Self;
8468     type DefaultType = Self;
8469 }
8470 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8471 #[repr(C)]
8472 pub struct MI_ConstDatetimeA {
8473     pub data: *mut MI_Datetime,
8474     pub size: u32,
8475 }
8476 impl MI_ConstDatetimeA {}
8477 impl ::std::default::Default for MI_ConstDatetimeA {
default() -> Self8478     fn default() -> Self {
8479         unsafe { ::std::mem::zeroed() }
8480     }
8481 }
8482 impl ::std::fmt::Debug for MI_ConstDatetimeA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8483     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8484         fmt.debug_struct("MI_ConstDatetimeA").field("data", &self.data).field("size", &self.size).finish()
8485     }
8486 }
8487 impl ::std::cmp::PartialEq for MI_ConstDatetimeA {
eq(&self, other: &Self) -> bool8488     fn eq(&self, other: &Self) -> bool {
8489         self.data == other.data && self.size == other.size
8490     }
8491 }
8492 impl ::std::cmp::Eq for MI_ConstDatetimeA {}
8493 unsafe impl ::windows::runtime::Abi for MI_ConstDatetimeA {
8494     type Abi = Self;
8495     type DefaultType = Self;
8496 }
8497 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8498 #[repr(C)]
8499 pub struct MI_ConstDatetimeAField {
8500     pub value: MI_ConstDatetimeA,
8501     pub exists: u8,
8502     pub flags: u8,
8503 }
8504 impl MI_ConstDatetimeAField {}
8505 impl ::std::default::Default for MI_ConstDatetimeAField {
default() -> Self8506     fn default() -> Self {
8507         unsafe { ::std::mem::zeroed() }
8508     }
8509 }
8510 impl ::std::fmt::Debug for MI_ConstDatetimeAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8511     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8512         fmt.debug_struct("MI_ConstDatetimeAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8513     }
8514 }
8515 impl ::std::cmp::PartialEq for MI_ConstDatetimeAField {
eq(&self, other: &Self) -> bool8516     fn eq(&self, other: &Self) -> bool {
8517         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8518     }
8519 }
8520 impl ::std::cmp::Eq for MI_ConstDatetimeAField {}
8521 unsafe impl ::windows::runtime::Abi for MI_ConstDatetimeAField {
8522     type Abi = Self;
8523     type DefaultType = Self;
8524 }
8525 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8526 #[repr(C)]
8527 pub struct MI_ConstDatetimeField {
8528     pub value: MI_Datetime,
8529     pub exists: u8,
8530     pub flags: u8,
8531 }
8532 impl MI_ConstDatetimeField {}
8533 impl ::std::default::Default for MI_ConstDatetimeField {
default() -> Self8534     fn default() -> Self {
8535         unsafe { ::std::mem::zeroed() }
8536     }
8537 }
8538 impl ::std::cmp::PartialEq for MI_ConstDatetimeField {
eq(&self, _other: &Self) -> bool8539     fn eq(&self, _other: &Self) -> bool {
8540         unimplemented!()
8541     }
8542 }
8543 impl ::std::cmp::Eq for MI_ConstDatetimeField {}
8544 unsafe impl ::windows::runtime::Abi for MI_ConstDatetimeField {
8545     type Abi = Self;
8546     type DefaultType = Self;
8547 }
8548 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8549 #[repr(C)]
8550 pub struct MI_ConstInstanceA {
8551     pub data: *mut *mut MI_Instance,
8552     pub size: u32,
8553 }
8554 impl MI_ConstInstanceA {}
8555 impl ::std::default::Default for MI_ConstInstanceA {
default() -> Self8556     fn default() -> Self {
8557         unsafe { ::std::mem::zeroed() }
8558     }
8559 }
8560 impl ::std::fmt::Debug for MI_ConstInstanceA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8561     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8562         fmt.debug_struct("MI_ConstInstanceA").field("data", &self.data).field("size", &self.size).finish()
8563     }
8564 }
8565 impl ::std::cmp::PartialEq for MI_ConstInstanceA {
eq(&self, other: &Self) -> bool8566     fn eq(&self, other: &Self) -> bool {
8567         self.data == other.data && self.size == other.size
8568     }
8569 }
8570 impl ::std::cmp::Eq for MI_ConstInstanceA {}
8571 unsafe impl ::windows::runtime::Abi for MI_ConstInstanceA {
8572     type Abi = Self;
8573     type DefaultType = Self;
8574 }
8575 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8576 #[repr(C)]
8577 pub struct MI_ConstInstanceAField {
8578     pub value: MI_ConstInstanceA,
8579     pub exists: u8,
8580     pub flags: u8,
8581 }
8582 impl MI_ConstInstanceAField {}
8583 impl ::std::default::Default for MI_ConstInstanceAField {
default() -> Self8584     fn default() -> Self {
8585         unsafe { ::std::mem::zeroed() }
8586     }
8587 }
8588 impl ::std::fmt::Debug for MI_ConstInstanceAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8589     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8590         fmt.debug_struct("MI_ConstInstanceAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8591     }
8592 }
8593 impl ::std::cmp::PartialEq for MI_ConstInstanceAField {
eq(&self, other: &Self) -> bool8594     fn eq(&self, other: &Self) -> bool {
8595         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8596     }
8597 }
8598 impl ::std::cmp::Eq for MI_ConstInstanceAField {}
8599 unsafe impl ::windows::runtime::Abi for MI_ConstInstanceAField {
8600     type Abi = Self;
8601     type DefaultType = Self;
8602 }
8603 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8604 #[repr(C)]
8605 pub struct MI_ConstInstanceField {
8606     pub value: *mut MI_Instance,
8607     pub exists: u8,
8608     pub flags: u8,
8609 }
8610 impl MI_ConstInstanceField {}
8611 impl ::std::default::Default for MI_ConstInstanceField {
default() -> Self8612     fn default() -> Self {
8613         unsafe { ::std::mem::zeroed() }
8614     }
8615 }
8616 impl ::std::fmt::Debug for MI_ConstInstanceField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8617     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8618         fmt.debug_struct("MI_ConstInstanceField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8619     }
8620 }
8621 impl ::std::cmp::PartialEq for MI_ConstInstanceField {
eq(&self, other: &Self) -> bool8622     fn eq(&self, other: &Self) -> bool {
8623         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8624     }
8625 }
8626 impl ::std::cmp::Eq for MI_ConstInstanceField {}
8627 unsafe impl ::windows::runtime::Abi for MI_ConstInstanceField {
8628     type Abi = Self;
8629     type DefaultType = Self;
8630 }
8631 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8632 #[repr(C)]
8633 pub struct MI_ConstReal32A {
8634     pub data: *mut f32,
8635     pub size: u32,
8636 }
8637 impl MI_ConstReal32A {}
8638 impl ::std::default::Default for MI_ConstReal32A {
default() -> Self8639     fn default() -> Self {
8640         unsafe { ::std::mem::zeroed() }
8641     }
8642 }
8643 impl ::std::fmt::Debug for MI_ConstReal32A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8644     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8645         fmt.debug_struct("MI_ConstReal32A").field("data", &self.data).field("size", &self.size).finish()
8646     }
8647 }
8648 impl ::std::cmp::PartialEq for MI_ConstReal32A {
eq(&self, other: &Self) -> bool8649     fn eq(&self, other: &Self) -> bool {
8650         self.data == other.data && self.size == other.size
8651     }
8652 }
8653 impl ::std::cmp::Eq for MI_ConstReal32A {}
8654 unsafe impl ::windows::runtime::Abi for MI_ConstReal32A {
8655     type Abi = Self;
8656     type DefaultType = Self;
8657 }
8658 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8659 #[repr(C)]
8660 pub struct MI_ConstReal32AField {
8661     pub value: MI_ConstReal32A,
8662     pub exists: u8,
8663     pub flags: u8,
8664 }
8665 impl MI_ConstReal32AField {}
8666 impl ::std::default::Default for MI_ConstReal32AField {
default() -> Self8667     fn default() -> Self {
8668         unsafe { ::std::mem::zeroed() }
8669     }
8670 }
8671 impl ::std::fmt::Debug for MI_ConstReal32AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8672     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8673         fmt.debug_struct("MI_ConstReal32AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8674     }
8675 }
8676 impl ::std::cmp::PartialEq for MI_ConstReal32AField {
eq(&self, other: &Self) -> bool8677     fn eq(&self, other: &Self) -> bool {
8678         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8679     }
8680 }
8681 impl ::std::cmp::Eq for MI_ConstReal32AField {}
8682 unsafe impl ::windows::runtime::Abi for MI_ConstReal32AField {
8683     type Abi = Self;
8684     type DefaultType = Self;
8685 }
8686 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8687 #[repr(C)]
8688 pub struct MI_ConstReal32Field {
8689     pub value: f32,
8690     pub exists: u8,
8691     pub flags: u8,
8692 }
8693 impl MI_ConstReal32Field {}
8694 impl ::std::default::Default for MI_ConstReal32Field {
default() -> Self8695     fn default() -> Self {
8696         unsafe { ::std::mem::zeroed() }
8697     }
8698 }
8699 impl ::std::fmt::Debug for MI_ConstReal32Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8700     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8701         fmt.debug_struct("MI_ConstReal32Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8702     }
8703 }
8704 impl ::std::cmp::PartialEq for MI_ConstReal32Field {
eq(&self, other: &Self) -> bool8705     fn eq(&self, other: &Self) -> bool {
8706         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8707     }
8708 }
8709 impl ::std::cmp::Eq for MI_ConstReal32Field {}
8710 unsafe impl ::windows::runtime::Abi for MI_ConstReal32Field {
8711     type Abi = Self;
8712     type DefaultType = Self;
8713 }
8714 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8715 #[repr(C)]
8716 pub struct MI_ConstReal64A {
8717     pub data: *mut f64,
8718     pub size: u32,
8719 }
8720 impl MI_ConstReal64A {}
8721 impl ::std::default::Default for MI_ConstReal64A {
default() -> Self8722     fn default() -> Self {
8723         unsafe { ::std::mem::zeroed() }
8724     }
8725 }
8726 impl ::std::fmt::Debug for MI_ConstReal64A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8727     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8728         fmt.debug_struct("MI_ConstReal64A").field("data", &self.data).field("size", &self.size).finish()
8729     }
8730 }
8731 impl ::std::cmp::PartialEq for MI_ConstReal64A {
eq(&self, other: &Self) -> bool8732     fn eq(&self, other: &Self) -> bool {
8733         self.data == other.data && self.size == other.size
8734     }
8735 }
8736 impl ::std::cmp::Eq for MI_ConstReal64A {}
8737 unsafe impl ::windows::runtime::Abi for MI_ConstReal64A {
8738     type Abi = Self;
8739     type DefaultType = Self;
8740 }
8741 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8742 #[repr(C)]
8743 pub struct MI_ConstReal64AField {
8744     pub value: MI_ConstReal64A,
8745     pub exists: u8,
8746     pub flags: u8,
8747 }
8748 impl MI_ConstReal64AField {}
8749 impl ::std::default::Default for MI_ConstReal64AField {
default() -> Self8750     fn default() -> Self {
8751         unsafe { ::std::mem::zeroed() }
8752     }
8753 }
8754 impl ::std::fmt::Debug for MI_ConstReal64AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8755     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8756         fmt.debug_struct("MI_ConstReal64AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8757     }
8758 }
8759 impl ::std::cmp::PartialEq for MI_ConstReal64AField {
eq(&self, other: &Self) -> bool8760     fn eq(&self, other: &Self) -> bool {
8761         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8762     }
8763 }
8764 impl ::std::cmp::Eq for MI_ConstReal64AField {}
8765 unsafe impl ::windows::runtime::Abi for MI_ConstReal64AField {
8766     type Abi = Self;
8767     type DefaultType = Self;
8768 }
8769 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8770 #[repr(C)]
8771 pub struct MI_ConstReal64Field {
8772     pub value: f64,
8773     pub exists: u8,
8774     pub flags: u8,
8775 }
8776 impl MI_ConstReal64Field {}
8777 impl ::std::default::Default for MI_ConstReal64Field {
default() -> Self8778     fn default() -> Self {
8779         unsafe { ::std::mem::zeroed() }
8780     }
8781 }
8782 impl ::std::fmt::Debug for MI_ConstReal64Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8783     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8784         fmt.debug_struct("MI_ConstReal64Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8785     }
8786 }
8787 impl ::std::cmp::PartialEq for MI_ConstReal64Field {
eq(&self, other: &Self) -> bool8788     fn eq(&self, other: &Self) -> bool {
8789         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8790     }
8791 }
8792 impl ::std::cmp::Eq for MI_ConstReal64Field {}
8793 unsafe impl ::windows::runtime::Abi for MI_ConstReal64Field {
8794     type Abi = Self;
8795     type DefaultType = Self;
8796 }
8797 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8798 #[repr(C)]
8799 pub struct MI_ConstReferenceA {
8800     pub data: *mut *mut MI_Instance,
8801     pub size: u32,
8802 }
8803 impl MI_ConstReferenceA {}
8804 impl ::std::default::Default for MI_ConstReferenceA {
default() -> Self8805     fn default() -> Self {
8806         unsafe { ::std::mem::zeroed() }
8807     }
8808 }
8809 impl ::std::fmt::Debug for MI_ConstReferenceA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8810     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8811         fmt.debug_struct("MI_ConstReferenceA").field("data", &self.data).field("size", &self.size).finish()
8812     }
8813 }
8814 impl ::std::cmp::PartialEq for MI_ConstReferenceA {
eq(&self, other: &Self) -> bool8815     fn eq(&self, other: &Self) -> bool {
8816         self.data == other.data && self.size == other.size
8817     }
8818 }
8819 impl ::std::cmp::Eq for MI_ConstReferenceA {}
8820 unsafe impl ::windows::runtime::Abi for MI_ConstReferenceA {
8821     type Abi = Self;
8822     type DefaultType = Self;
8823 }
8824 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8825 #[repr(C)]
8826 pub struct MI_ConstReferenceAField {
8827     pub value: MI_ConstReferenceA,
8828     pub exists: u8,
8829     pub flags: u8,
8830 }
8831 impl MI_ConstReferenceAField {}
8832 impl ::std::default::Default for MI_ConstReferenceAField {
default() -> Self8833     fn default() -> Self {
8834         unsafe { ::std::mem::zeroed() }
8835     }
8836 }
8837 impl ::std::fmt::Debug for MI_ConstReferenceAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8838     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8839         fmt.debug_struct("MI_ConstReferenceAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8840     }
8841 }
8842 impl ::std::cmp::PartialEq for MI_ConstReferenceAField {
eq(&self, other: &Self) -> bool8843     fn eq(&self, other: &Self) -> bool {
8844         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8845     }
8846 }
8847 impl ::std::cmp::Eq for MI_ConstReferenceAField {}
8848 unsafe impl ::windows::runtime::Abi for MI_ConstReferenceAField {
8849     type Abi = Self;
8850     type DefaultType = Self;
8851 }
8852 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8853 #[repr(C)]
8854 pub struct MI_ConstReferenceField {
8855     pub value: *mut MI_Instance,
8856     pub exists: u8,
8857     pub flags: u8,
8858 }
8859 impl MI_ConstReferenceField {}
8860 impl ::std::default::Default for MI_ConstReferenceField {
default() -> Self8861     fn default() -> Self {
8862         unsafe { ::std::mem::zeroed() }
8863     }
8864 }
8865 impl ::std::fmt::Debug for MI_ConstReferenceField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8866     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8867         fmt.debug_struct("MI_ConstReferenceField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8868     }
8869 }
8870 impl ::std::cmp::PartialEq for MI_ConstReferenceField {
eq(&self, other: &Self) -> bool8871     fn eq(&self, other: &Self) -> bool {
8872         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8873     }
8874 }
8875 impl ::std::cmp::Eq for MI_ConstReferenceField {}
8876 unsafe impl ::windows::runtime::Abi for MI_ConstReferenceField {
8877     type Abi = Self;
8878     type DefaultType = Self;
8879 }
8880 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8881 #[repr(C)]
8882 pub struct MI_ConstSint16A {
8883     pub data: *mut i16,
8884     pub size: u32,
8885 }
8886 impl MI_ConstSint16A {}
8887 impl ::std::default::Default for MI_ConstSint16A {
default() -> Self8888     fn default() -> Self {
8889         unsafe { ::std::mem::zeroed() }
8890     }
8891 }
8892 impl ::std::fmt::Debug for MI_ConstSint16A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8893     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8894         fmt.debug_struct("MI_ConstSint16A").field("data", &self.data).field("size", &self.size).finish()
8895     }
8896 }
8897 impl ::std::cmp::PartialEq for MI_ConstSint16A {
eq(&self, other: &Self) -> bool8898     fn eq(&self, other: &Self) -> bool {
8899         self.data == other.data && self.size == other.size
8900     }
8901 }
8902 impl ::std::cmp::Eq for MI_ConstSint16A {}
8903 unsafe impl ::windows::runtime::Abi for MI_ConstSint16A {
8904     type Abi = Self;
8905     type DefaultType = Self;
8906 }
8907 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8908 #[repr(C)]
8909 pub struct MI_ConstSint16AField {
8910     pub value: MI_ConstSint16A,
8911     pub exists: u8,
8912     pub flags: u8,
8913 }
8914 impl MI_ConstSint16AField {}
8915 impl ::std::default::Default for MI_ConstSint16AField {
default() -> Self8916     fn default() -> Self {
8917         unsafe { ::std::mem::zeroed() }
8918     }
8919 }
8920 impl ::std::fmt::Debug for MI_ConstSint16AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8921     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8922         fmt.debug_struct("MI_ConstSint16AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8923     }
8924 }
8925 impl ::std::cmp::PartialEq for MI_ConstSint16AField {
eq(&self, other: &Self) -> bool8926     fn eq(&self, other: &Self) -> bool {
8927         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8928     }
8929 }
8930 impl ::std::cmp::Eq for MI_ConstSint16AField {}
8931 unsafe impl ::windows::runtime::Abi for MI_ConstSint16AField {
8932     type Abi = Self;
8933     type DefaultType = Self;
8934 }
8935 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8936 #[repr(C)]
8937 pub struct MI_ConstSint16Field {
8938     pub value: i16,
8939     pub exists: u8,
8940     pub flags: u8,
8941 }
8942 impl MI_ConstSint16Field {}
8943 impl ::std::default::Default for MI_ConstSint16Field {
default() -> Self8944     fn default() -> Self {
8945         unsafe { ::std::mem::zeroed() }
8946     }
8947 }
8948 impl ::std::fmt::Debug for MI_ConstSint16Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8949     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8950         fmt.debug_struct("MI_ConstSint16Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
8951     }
8952 }
8953 impl ::std::cmp::PartialEq for MI_ConstSint16Field {
eq(&self, other: &Self) -> bool8954     fn eq(&self, other: &Self) -> bool {
8955         self.value == other.value && self.exists == other.exists && self.flags == other.flags
8956     }
8957 }
8958 impl ::std::cmp::Eq for MI_ConstSint16Field {}
8959 unsafe impl ::windows::runtime::Abi for MI_ConstSint16Field {
8960     type Abi = Self;
8961     type DefaultType = Self;
8962 }
8963 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8964 #[repr(C)]
8965 pub struct MI_ConstSint32A {
8966     pub data: *mut i32,
8967     pub size: u32,
8968 }
8969 impl MI_ConstSint32A {}
8970 impl ::std::default::Default for MI_ConstSint32A {
default() -> Self8971     fn default() -> Self {
8972         unsafe { ::std::mem::zeroed() }
8973     }
8974 }
8975 impl ::std::fmt::Debug for MI_ConstSint32A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8976     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8977         fmt.debug_struct("MI_ConstSint32A").field("data", &self.data).field("size", &self.size).finish()
8978     }
8979 }
8980 impl ::std::cmp::PartialEq for MI_ConstSint32A {
eq(&self, other: &Self) -> bool8981     fn eq(&self, other: &Self) -> bool {
8982         self.data == other.data && self.size == other.size
8983     }
8984 }
8985 impl ::std::cmp::Eq for MI_ConstSint32A {}
8986 unsafe impl ::windows::runtime::Abi for MI_ConstSint32A {
8987     type Abi = Self;
8988     type DefaultType = Self;
8989 }
8990 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8991 #[repr(C)]
8992 pub struct MI_ConstSint32AField {
8993     pub value: MI_ConstSint32A,
8994     pub exists: u8,
8995     pub flags: u8,
8996 }
8997 impl MI_ConstSint32AField {}
8998 impl ::std::default::Default for MI_ConstSint32AField {
default() -> Self8999     fn default() -> Self {
9000         unsafe { ::std::mem::zeroed() }
9001     }
9002 }
9003 impl ::std::fmt::Debug for MI_ConstSint32AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9004     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9005         fmt.debug_struct("MI_ConstSint32AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9006     }
9007 }
9008 impl ::std::cmp::PartialEq for MI_ConstSint32AField {
eq(&self, other: &Self) -> bool9009     fn eq(&self, other: &Self) -> bool {
9010         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9011     }
9012 }
9013 impl ::std::cmp::Eq for MI_ConstSint32AField {}
9014 unsafe impl ::windows::runtime::Abi for MI_ConstSint32AField {
9015     type Abi = Self;
9016     type DefaultType = Self;
9017 }
9018 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9019 #[repr(C)]
9020 pub struct MI_ConstSint32Field {
9021     pub value: i32,
9022     pub exists: u8,
9023     pub flags: u8,
9024 }
9025 impl MI_ConstSint32Field {}
9026 impl ::std::default::Default for MI_ConstSint32Field {
default() -> Self9027     fn default() -> Self {
9028         unsafe { ::std::mem::zeroed() }
9029     }
9030 }
9031 impl ::std::fmt::Debug for MI_ConstSint32Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9032     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9033         fmt.debug_struct("MI_ConstSint32Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9034     }
9035 }
9036 impl ::std::cmp::PartialEq for MI_ConstSint32Field {
eq(&self, other: &Self) -> bool9037     fn eq(&self, other: &Self) -> bool {
9038         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9039     }
9040 }
9041 impl ::std::cmp::Eq for MI_ConstSint32Field {}
9042 unsafe impl ::windows::runtime::Abi for MI_ConstSint32Field {
9043     type Abi = Self;
9044     type DefaultType = Self;
9045 }
9046 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9047 #[repr(C)]
9048 pub struct MI_ConstSint64A {
9049     pub data: *mut i64,
9050     pub size: u32,
9051 }
9052 impl MI_ConstSint64A {}
9053 impl ::std::default::Default for MI_ConstSint64A {
default() -> Self9054     fn default() -> Self {
9055         unsafe { ::std::mem::zeroed() }
9056     }
9057 }
9058 impl ::std::fmt::Debug for MI_ConstSint64A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9059     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9060         fmt.debug_struct("MI_ConstSint64A").field("data", &self.data).field("size", &self.size).finish()
9061     }
9062 }
9063 impl ::std::cmp::PartialEq for MI_ConstSint64A {
eq(&self, other: &Self) -> bool9064     fn eq(&self, other: &Self) -> bool {
9065         self.data == other.data && self.size == other.size
9066     }
9067 }
9068 impl ::std::cmp::Eq for MI_ConstSint64A {}
9069 unsafe impl ::windows::runtime::Abi for MI_ConstSint64A {
9070     type Abi = Self;
9071     type DefaultType = Self;
9072 }
9073 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9074 #[repr(C)]
9075 pub struct MI_ConstSint64AField {
9076     pub value: MI_ConstSint64A,
9077     pub exists: u8,
9078     pub flags: u8,
9079 }
9080 impl MI_ConstSint64AField {}
9081 impl ::std::default::Default for MI_ConstSint64AField {
default() -> Self9082     fn default() -> Self {
9083         unsafe { ::std::mem::zeroed() }
9084     }
9085 }
9086 impl ::std::fmt::Debug for MI_ConstSint64AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9087     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9088         fmt.debug_struct("MI_ConstSint64AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9089     }
9090 }
9091 impl ::std::cmp::PartialEq for MI_ConstSint64AField {
eq(&self, other: &Self) -> bool9092     fn eq(&self, other: &Self) -> bool {
9093         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9094     }
9095 }
9096 impl ::std::cmp::Eq for MI_ConstSint64AField {}
9097 unsafe impl ::windows::runtime::Abi for MI_ConstSint64AField {
9098     type Abi = Self;
9099     type DefaultType = Self;
9100 }
9101 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9102 #[repr(C)]
9103 pub struct MI_ConstSint64Field {
9104     pub value: i64,
9105     pub exists: u8,
9106     pub flags: u8,
9107 }
9108 impl MI_ConstSint64Field {}
9109 impl ::std::default::Default for MI_ConstSint64Field {
default() -> Self9110     fn default() -> Self {
9111         unsafe { ::std::mem::zeroed() }
9112     }
9113 }
9114 impl ::std::fmt::Debug for MI_ConstSint64Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9115     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9116         fmt.debug_struct("MI_ConstSint64Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9117     }
9118 }
9119 impl ::std::cmp::PartialEq for MI_ConstSint64Field {
eq(&self, other: &Self) -> bool9120     fn eq(&self, other: &Self) -> bool {
9121         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9122     }
9123 }
9124 impl ::std::cmp::Eq for MI_ConstSint64Field {}
9125 unsafe impl ::windows::runtime::Abi for MI_ConstSint64Field {
9126     type Abi = Self;
9127     type DefaultType = Self;
9128 }
9129 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9130 #[repr(C)]
9131 pub struct MI_ConstSint8A {
9132     pub data: *mut i8,
9133     pub size: u32,
9134 }
9135 impl MI_ConstSint8A {}
9136 impl ::std::default::Default for MI_ConstSint8A {
default() -> Self9137     fn default() -> Self {
9138         unsafe { ::std::mem::zeroed() }
9139     }
9140 }
9141 impl ::std::fmt::Debug for MI_ConstSint8A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9142     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9143         fmt.debug_struct("MI_ConstSint8A").field("data", &self.data).field("size", &self.size).finish()
9144     }
9145 }
9146 impl ::std::cmp::PartialEq for MI_ConstSint8A {
eq(&self, other: &Self) -> bool9147     fn eq(&self, other: &Self) -> bool {
9148         self.data == other.data && self.size == other.size
9149     }
9150 }
9151 impl ::std::cmp::Eq for MI_ConstSint8A {}
9152 unsafe impl ::windows::runtime::Abi for MI_ConstSint8A {
9153     type Abi = Self;
9154     type DefaultType = Self;
9155 }
9156 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9157 #[repr(C)]
9158 pub struct MI_ConstSint8AField {
9159     pub value: MI_ConstSint8A,
9160     pub exists: u8,
9161     pub flags: u8,
9162 }
9163 impl MI_ConstSint8AField {}
9164 impl ::std::default::Default for MI_ConstSint8AField {
default() -> Self9165     fn default() -> Self {
9166         unsafe { ::std::mem::zeroed() }
9167     }
9168 }
9169 impl ::std::fmt::Debug for MI_ConstSint8AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9170     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9171         fmt.debug_struct("MI_ConstSint8AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9172     }
9173 }
9174 impl ::std::cmp::PartialEq for MI_ConstSint8AField {
eq(&self, other: &Self) -> bool9175     fn eq(&self, other: &Self) -> bool {
9176         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9177     }
9178 }
9179 impl ::std::cmp::Eq for MI_ConstSint8AField {}
9180 unsafe impl ::windows::runtime::Abi for MI_ConstSint8AField {
9181     type Abi = Self;
9182     type DefaultType = Self;
9183 }
9184 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9185 #[repr(C)]
9186 pub struct MI_ConstSint8Field {
9187     pub value: i8,
9188     pub exists: u8,
9189     pub flags: u8,
9190 }
9191 impl MI_ConstSint8Field {}
9192 impl ::std::default::Default for MI_ConstSint8Field {
default() -> Self9193     fn default() -> Self {
9194         unsafe { ::std::mem::zeroed() }
9195     }
9196 }
9197 impl ::std::fmt::Debug for MI_ConstSint8Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9198     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9199         fmt.debug_struct("MI_ConstSint8Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9200     }
9201 }
9202 impl ::std::cmp::PartialEq for MI_ConstSint8Field {
eq(&self, other: &Self) -> bool9203     fn eq(&self, other: &Self) -> bool {
9204         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9205     }
9206 }
9207 impl ::std::cmp::Eq for MI_ConstSint8Field {}
9208 unsafe impl ::windows::runtime::Abi for MI_ConstSint8Field {
9209     type Abi = Self;
9210     type DefaultType = Self;
9211 }
9212 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9213 #[repr(C)]
9214 pub struct MI_ConstStringA {
9215     pub data: *mut *mut u16,
9216     pub size: u32,
9217 }
9218 impl MI_ConstStringA {}
9219 impl ::std::default::Default for MI_ConstStringA {
default() -> Self9220     fn default() -> Self {
9221         unsafe { ::std::mem::zeroed() }
9222     }
9223 }
9224 impl ::std::fmt::Debug for MI_ConstStringA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9225     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9226         fmt.debug_struct("MI_ConstStringA").field("data", &self.data).field("size", &self.size).finish()
9227     }
9228 }
9229 impl ::std::cmp::PartialEq for MI_ConstStringA {
eq(&self, other: &Self) -> bool9230     fn eq(&self, other: &Self) -> bool {
9231         self.data == other.data && self.size == other.size
9232     }
9233 }
9234 impl ::std::cmp::Eq for MI_ConstStringA {}
9235 unsafe impl ::windows::runtime::Abi for MI_ConstStringA {
9236     type Abi = Self;
9237     type DefaultType = Self;
9238 }
9239 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9240 #[repr(C)]
9241 pub struct MI_ConstStringAField {
9242     pub value: MI_ConstStringA,
9243     pub exists: u8,
9244     pub flags: u8,
9245 }
9246 impl MI_ConstStringAField {}
9247 impl ::std::default::Default for MI_ConstStringAField {
default() -> Self9248     fn default() -> Self {
9249         unsafe { ::std::mem::zeroed() }
9250     }
9251 }
9252 impl ::std::fmt::Debug for MI_ConstStringAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9253     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9254         fmt.debug_struct("MI_ConstStringAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9255     }
9256 }
9257 impl ::std::cmp::PartialEq for MI_ConstStringAField {
eq(&self, other: &Self) -> bool9258     fn eq(&self, other: &Self) -> bool {
9259         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9260     }
9261 }
9262 impl ::std::cmp::Eq for MI_ConstStringAField {}
9263 unsafe impl ::windows::runtime::Abi for MI_ConstStringAField {
9264     type Abi = Self;
9265     type DefaultType = Self;
9266 }
9267 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9268 #[repr(C)]
9269 pub struct MI_ConstStringField {
9270     pub value: *mut u16,
9271     pub exists: u8,
9272     pub flags: u8,
9273 }
9274 impl MI_ConstStringField {}
9275 impl ::std::default::Default for MI_ConstStringField {
default() -> Self9276     fn default() -> Self {
9277         unsafe { ::std::mem::zeroed() }
9278     }
9279 }
9280 impl ::std::fmt::Debug for MI_ConstStringField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9281     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9282         fmt.debug_struct("MI_ConstStringField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9283     }
9284 }
9285 impl ::std::cmp::PartialEq for MI_ConstStringField {
eq(&self, other: &Self) -> bool9286     fn eq(&self, other: &Self) -> bool {
9287         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9288     }
9289 }
9290 impl ::std::cmp::Eq for MI_ConstStringField {}
9291 unsafe impl ::windows::runtime::Abi for MI_ConstStringField {
9292     type Abi = Self;
9293     type DefaultType = Self;
9294 }
9295 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9296 #[repr(C)]
9297 pub struct MI_ConstUint16A {
9298     pub data: *mut u16,
9299     pub size: u32,
9300 }
9301 impl MI_ConstUint16A {}
9302 impl ::std::default::Default for MI_ConstUint16A {
default() -> Self9303     fn default() -> Self {
9304         unsafe { ::std::mem::zeroed() }
9305     }
9306 }
9307 impl ::std::fmt::Debug for MI_ConstUint16A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9308     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9309         fmt.debug_struct("MI_ConstUint16A").field("data", &self.data).field("size", &self.size).finish()
9310     }
9311 }
9312 impl ::std::cmp::PartialEq for MI_ConstUint16A {
eq(&self, other: &Self) -> bool9313     fn eq(&self, other: &Self) -> bool {
9314         self.data == other.data && self.size == other.size
9315     }
9316 }
9317 impl ::std::cmp::Eq for MI_ConstUint16A {}
9318 unsafe impl ::windows::runtime::Abi for MI_ConstUint16A {
9319     type Abi = Self;
9320     type DefaultType = Self;
9321 }
9322 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9323 #[repr(C)]
9324 pub struct MI_ConstUint16AField {
9325     pub value: MI_ConstUint16A,
9326     pub exists: u8,
9327     pub flags: u8,
9328 }
9329 impl MI_ConstUint16AField {}
9330 impl ::std::default::Default for MI_ConstUint16AField {
default() -> Self9331     fn default() -> Self {
9332         unsafe { ::std::mem::zeroed() }
9333     }
9334 }
9335 impl ::std::fmt::Debug for MI_ConstUint16AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9336     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9337         fmt.debug_struct("MI_ConstUint16AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9338     }
9339 }
9340 impl ::std::cmp::PartialEq for MI_ConstUint16AField {
eq(&self, other: &Self) -> bool9341     fn eq(&self, other: &Self) -> bool {
9342         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9343     }
9344 }
9345 impl ::std::cmp::Eq for MI_ConstUint16AField {}
9346 unsafe impl ::windows::runtime::Abi for MI_ConstUint16AField {
9347     type Abi = Self;
9348     type DefaultType = Self;
9349 }
9350 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9351 #[repr(C)]
9352 pub struct MI_ConstUint16Field {
9353     pub value: u16,
9354     pub exists: u8,
9355     pub flags: u8,
9356 }
9357 impl MI_ConstUint16Field {}
9358 impl ::std::default::Default for MI_ConstUint16Field {
default() -> Self9359     fn default() -> Self {
9360         unsafe { ::std::mem::zeroed() }
9361     }
9362 }
9363 impl ::std::fmt::Debug for MI_ConstUint16Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9364     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9365         fmt.debug_struct("MI_ConstUint16Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9366     }
9367 }
9368 impl ::std::cmp::PartialEq for MI_ConstUint16Field {
eq(&self, other: &Self) -> bool9369     fn eq(&self, other: &Self) -> bool {
9370         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9371     }
9372 }
9373 impl ::std::cmp::Eq for MI_ConstUint16Field {}
9374 unsafe impl ::windows::runtime::Abi for MI_ConstUint16Field {
9375     type Abi = Self;
9376     type DefaultType = Self;
9377 }
9378 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9379 #[repr(C)]
9380 pub struct MI_ConstUint32A {
9381     pub data: *mut u32,
9382     pub size: u32,
9383 }
9384 impl MI_ConstUint32A {}
9385 impl ::std::default::Default for MI_ConstUint32A {
default() -> Self9386     fn default() -> Self {
9387         unsafe { ::std::mem::zeroed() }
9388     }
9389 }
9390 impl ::std::fmt::Debug for MI_ConstUint32A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9391     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9392         fmt.debug_struct("MI_ConstUint32A").field("data", &self.data).field("size", &self.size).finish()
9393     }
9394 }
9395 impl ::std::cmp::PartialEq for MI_ConstUint32A {
eq(&self, other: &Self) -> bool9396     fn eq(&self, other: &Self) -> bool {
9397         self.data == other.data && self.size == other.size
9398     }
9399 }
9400 impl ::std::cmp::Eq for MI_ConstUint32A {}
9401 unsafe impl ::windows::runtime::Abi for MI_ConstUint32A {
9402     type Abi = Self;
9403     type DefaultType = Self;
9404 }
9405 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9406 #[repr(C)]
9407 pub struct MI_ConstUint32AField {
9408     pub value: MI_ConstUint32A,
9409     pub exists: u8,
9410     pub flags: u8,
9411 }
9412 impl MI_ConstUint32AField {}
9413 impl ::std::default::Default for MI_ConstUint32AField {
default() -> Self9414     fn default() -> Self {
9415         unsafe { ::std::mem::zeroed() }
9416     }
9417 }
9418 impl ::std::fmt::Debug for MI_ConstUint32AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9419     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9420         fmt.debug_struct("MI_ConstUint32AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9421     }
9422 }
9423 impl ::std::cmp::PartialEq for MI_ConstUint32AField {
eq(&self, other: &Self) -> bool9424     fn eq(&self, other: &Self) -> bool {
9425         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9426     }
9427 }
9428 impl ::std::cmp::Eq for MI_ConstUint32AField {}
9429 unsafe impl ::windows::runtime::Abi for MI_ConstUint32AField {
9430     type Abi = Self;
9431     type DefaultType = Self;
9432 }
9433 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9434 #[repr(C)]
9435 pub struct MI_ConstUint32Field {
9436     pub value: u32,
9437     pub exists: u8,
9438     pub flags: u8,
9439 }
9440 impl MI_ConstUint32Field {}
9441 impl ::std::default::Default for MI_ConstUint32Field {
default() -> Self9442     fn default() -> Self {
9443         unsafe { ::std::mem::zeroed() }
9444     }
9445 }
9446 impl ::std::fmt::Debug for MI_ConstUint32Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9447     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9448         fmt.debug_struct("MI_ConstUint32Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9449     }
9450 }
9451 impl ::std::cmp::PartialEq for MI_ConstUint32Field {
eq(&self, other: &Self) -> bool9452     fn eq(&self, other: &Self) -> bool {
9453         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9454     }
9455 }
9456 impl ::std::cmp::Eq for MI_ConstUint32Field {}
9457 unsafe impl ::windows::runtime::Abi for MI_ConstUint32Field {
9458     type Abi = Self;
9459     type DefaultType = Self;
9460 }
9461 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9462 #[repr(C)]
9463 pub struct MI_ConstUint64A {
9464     pub data: *mut u64,
9465     pub size: u32,
9466 }
9467 impl MI_ConstUint64A {}
9468 impl ::std::default::Default for MI_ConstUint64A {
default() -> Self9469     fn default() -> Self {
9470         unsafe { ::std::mem::zeroed() }
9471     }
9472 }
9473 impl ::std::fmt::Debug for MI_ConstUint64A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9474     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9475         fmt.debug_struct("MI_ConstUint64A").field("data", &self.data).field("size", &self.size).finish()
9476     }
9477 }
9478 impl ::std::cmp::PartialEq for MI_ConstUint64A {
eq(&self, other: &Self) -> bool9479     fn eq(&self, other: &Self) -> bool {
9480         self.data == other.data && self.size == other.size
9481     }
9482 }
9483 impl ::std::cmp::Eq for MI_ConstUint64A {}
9484 unsafe impl ::windows::runtime::Abi for MI_ConstUint64A {
9485     type Abi = Self;
9486     type DefaultType = Self;
9487 }
9488 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9489 #[repr(C)]
9490 pub struct MI_ConstUint64AField {
9491     pub value: MI_ConstUint64A,
9492     pub exists: u8,
9493     pub flags: u8,
9494 }
9495 impl MI_ConstUint64AField {}
9496 impl ::std::default::Default for MI_ConstUint64AField {
default() -> Self9497     fn default() -> Self {
9498         unsafe { ::std::mem::zeroed() }
9499     }
9500 }
9501 impl ::std::fmt::Debug for MI_ConstUint64AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9502     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9503         fmt.debug_struct("MI_ConstUint64AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9504     }
9505 }
9506 impl ::std::cmp::PartialEq for MI_ConstUint64AField {
eq(&self, other: &Self) -> bool9507     fn eq(&self, other: &Self) -> bool {
9508         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9509     }
9510 }
9511 impl ::std::cmp::Eq for MI_ConstUint64AField {}
9512 unsafe impl ::windows::runtime::Abi for MI_ConstUint64AField {
9513     type Abi = Self;
9514     type DefaultType = Self;
9515 }
9516 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9517 #[repr(C)]
9518 pub struct MI_ConstUint64Field {
9519     pub value: u64,
9520     pub exists: u8,
9521     pub flags: u8,
9522 }
9523 impl MI_ConstUint64Field {}
9524 impl ::std::default::Default for MI_ConstUint64Field {
default() -> Self9525     fn default() -> Self {
9526         unsafe { ::std::mem::zeroed() }
9527     }
9528 }
9529 impl ::std::fmt::Debug for MI_ConstUint64Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9530     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9531         fmt.debug_struct("MI_ConstUint64Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9532     }
9533 }
9534 impl ::std::cmp::PartialEq for MI_ConstUint64Field {
eq(&self, other: &Self) -> bool9535     fn eq(&self, other: &Self) -> bool {
9536         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9537     }
9538 }
9539 impl ::std::cmp::Eq for MI_ConstUint64Field {}
9540 unsafe impl ::windows::runtime::Abi for MI_ConstUint64Field {
9541     type Abi = Self;
9542     type DefaultType = Self;
9543 }
9544 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9545 #[repr(C)]
9546 pub struct MI_ConstUint8A {
9547     pub data: *mut u8,
9548     pub size: u32,
9549 }
9550 impl MI_ConstUint8A {}
9551 impl ::std::default::Default for MI_ConstUint8A {
default() -> Self9552     fn default() -> Self {
9553         unsafe { ::std::mem::zeroed() }
9554     }
9555 }
9556 impl ::std::fmt::Debug for MI_ConstUint8A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9557     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9558         fmt.debug_struct("MI_ConstUint8A").field("data", &self.data).field("size", &self.size).finish()
9559     }
9560 }
9561 impl ::std::cmp::PartialEq for MI_ConstUint8A {
eq(&self, other: &Self) -> bool9562     fn eq(&self, other: &Self) -> bool {
9563         self.data == other.data && self.size == other.size
9564     }
9565 }
9566 impl ::std::cmp::Eq for MI_ConstUint8A {}
9567 unsafe impl ::windows::runtime::Abi for MI_ConstUint8A {
9568     type Abi = Self;
9569     type DefaultType = Self;
9570 }
9571 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9572 #[repr(C)]
9573 pub struct MI_ConstUint8AField {
9574     pub value: MI_ConstUint8A,
9575     pub exists: u8,
9576     pub flags: u8,
9577 }
9578 impl MI_ConstUint8AField {}
9579 impl ::std::default::Default for MI_ConstUint8AField {
default() -> Self9580     fn default() -> Self {
9581         unsafe { ::std::mem::zeroed() }
9582     }
9583 }
9584 impl ::std::fmt::Debug for MI_ConstUint8AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9585     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9586         fmt.debug_struct("MI_ConstUint8AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9587     }
9588 }
9589 impl ::std::cmp::PartialEq for MI_ConstUint8AField {
eq(&self, other: &Self) -> bool9590     fn eq(&self, other: &Self) -> bool {
9591         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9592     }
9593 }
9594 impl ::std::cmp::Eq for MI_ConstUint8AField {}
9595 unsafe impl ::windows::runtime::Abi for MI_ConstUint8AField {
9596     type Abi = Self;
9597     type DefaultType = Self;
9598 }
9599 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9600 #[repr(C)]
9601 pub struct MI_ConstUint8Field {
9602     pub value: u8,
9603     pub exists: u8,
9604     pub flags: u8,
9605 }
9606 impl MI_ConstUint8Field {}
9607 impl ::std::default::Default for MI_ConstUint8Field {
default() -> Self9608     fn default() -> Self {
9609         unsafe { ::std::mem::zeroed() }
9610     }
9611 }
9612 impl ::std::fmt::Debug for MI_ConstUint8Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9613     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9614         fmt.debug_struct("MI_ConstUint8Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9615     }
9616 }
9617 impl ::std::cmp::PartialEq for MI_ConstUint8Field {
eq(&self, other: &Self) -> bool9618     fn eq(&self, other: &Self) -> bool {
9619         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9620     }
9621 }
9622 impl ::std::cmp::Eq for MI_ConstUint8Field {}
9623 unsafe impl ::windows::runtime::Abi for MI_ConstUint8Field {
9624     type Abi = Self;
9625     type DefaultType = Self;
9626 }
9627 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9628 #[repr(C)]
9629 pub struct MI_Context {
9630     pub ft: *mut MI_ContextFT,
9631     pub reserved: [isize; 3],
9632 }
9633 impl MI_Context {}
9634 impl ::std::default::Default for MI_Context {
default() -> Self9635     fn default() -> Self {
9636         unsafe { ::std::mem::zeroed() }
9637     }
9638 }
9639 impl ::std::fmt::Debug for MI_Context {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9640     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9641         fmt.debug_struct("MI_Context").field("ft", &self.ft).field("reserved", &self.reserved).finish()
9642     }
9643 }
9644 impl ::std::cmp::PartialEq for MI_Context {
eq(&self, other: &Self) -> bool9645     fn eq(&self, other: &Self) -> bool {
9646         self.ft == other.ft && self.reserved == other.reserved
9647     }
9648 }
9649 impl ::std::cmp::Eq for MI_Context {}
9650 unsafe impl ::windows::runtime::Abi for MI_Context {
9651     type Abi = Self;
9652     type DefaultType = Self;
9653 }
9654 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9655 #[repr(C)]
9656 pub struct MI_ContextFT {
9657     pub PostResult: isize,
9658     pub PostInstance: isize,
9659     pub PostIndication: isize,
9660     pub ConstructInstance: isize,
9661     pub ConstructParameters: isize,
9662     pub NewInstance: isize,
9663     pub NewDynamicInstance: isize,
9664     pub NewParameters: isize,
9665     pub Canceled: isize,
9666     pub GetLocale: isize,
9667     pub RegisterCancel: isize,
9668     pub RequestUnload: isize,
9669     pub RefuseUnload: isize,
9670     pub GetLocalSession: isize,
9671     pub SetStringOption: isize,
9672     pub GetStringOption: isize,
9673     pub GetNumberOption: isize,
9674     pub GetCustomOption: isize,
9675     pub GetCustomOptionCount: isize,
9676     pub GetCustomOptionAt: isize,
9677     pub WriteMessage: isize,
9678     pub WriteProgress: isize,
9679     pub WriteStreamParameter: isize,
9680     pub WriteCimError: isize,
9681     pub PromptUser: isize,
9682     pub ShouldProcess: isize,
9683     pub ShouldContinue: isize,
9684     pub PostError: isize,
9685     pub PostCimError: isize,
9686     pub WriteError: isize,
9687 }
9688 impl MI_ContextFT {}
9689 impl ::std::default::Default for MI_ContextFT {
default() -> Self9690     fn default() -> Self {
9691         unsafe { ::std::mem::zeroed() }
9692     }
9693 }
9694 impl ::std::fmt::Debug for MI_ContextFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9695     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9696         fmt.debug_struct("MI_ContextFT")
9697             .field("PostResult", &self.PostResult)
9698             .field("PostInstance", &self.PostInstance)
9699             .field("PostIndication", &self.PostIndication)
9700             .field("ConstructInstance", &self.ConstructInstance)
9701             .field("ConstructParameters", &self.ConstructParameters)
9702             .field("NewInstance", &self.NewInstance)
9703             .field("NewDynamicInstance", &self.NewDynamicInstance)
9704             .field("NewParameters", &self.NewParameters)
9705             .field("Canceled", &self.Canceled)
9706             .field("GetLocale", &self.GetLocale)
9707             .field("RegisterCancel", &self.RegisterCancel)
9708             .field("RequestUnload", &self.RequestUnload)
9709             .field("RefuseUnload", &self.RefuseUnload)
9710             .field("GetLocalSession", &self.GetLocalSession)
9711             .field("SetStringOption", &self.SetStringOption)
9712             .field("GetStringOption", &self.GetStringOption)
9713             .field("GetNumberOption", &self.GetNumberOption)
9714             .field("GetCustomOption", &self.GetCustomOption)
9715             .field("GetCustomOptionCount", &self.GetCustomOptionCount)
9716             .field("GetCustomOptionAt", &self.GetCustomOptionAt)
9717             .field("WriteMessage", &self.WriteMessage)
9718             .field("WriteProgress", &self.WriteProgress)
9719             .field("WriteStreamParameter", &self.WriteStreamParameter)
9720             .field("WriteCimError", &self.WriteCimError)
9721             .field("PromptUser", &self.PromptUser)
9722             .field("ShouldProcess", &self.ShouldProcess)
9723             .field("ShouldContinue", &self.ShouldContinue)
9724             .field("PostError", &self.PostError)
9725             .field("PostCimError", &self.PostCimError)
9726             .field("WriteError", &self.WriteError)
9727             .finish()
9728     }
9729 }
9730 impl ::std::cmp::PartialEq for MI_ContextFT {
eq(&self, other: &Self) -> bool9731     fn eq(&self, other: &Self) -> bool {
9732         self.PostResult == other.PostResult
9733             && self.PostInstance == other.PostInstance
9734             && self.PostIndication == other.PostIndication
9735             && self.ConstructInstance == other.ConstructInstance
9736             && self.ConstructParameters == other.ConstructParameters
9737             && self.NewInstance == other.NewInstance
9738             && self.NewDynamicInstance == other.NewDynamicInstance
9739             && self.NewParameters == other.NewParameters
9740             && self.Canceled == other.Canceled
9741             && self.GetLocale == other.GetLocale
9742             && self.RegisterCancel == other.RegisterCancel
9743             && self.RequestUnload == other.RequestUnload
9744             && self.RefuseUnload == other.RefuseUnload
9745             && self.GetLocalSession == other.GetLocalSession
9746             && self.SetStringOption == other.SetStringOption
9747             && self.GetStringOption == other.GetStringOption
9748             && self.GetNumberOption == other.GetNumberOption
9749             && self.GetCustomOption == other.GetCustomOption
9750             && self.GetCustomOptionCount == other.GetCustomOptionCount
9751             && self.GetCustomOptionAt == other.GetCustomOptionAt
9752             && self.WriteMessage == other.WriteMessage
9753             && self.WriteProgress == other.WriteProgress
9754             && self.WriteStreamParameter == other.WriteStreamParameter
9755             && self.WriteCimError == other.WriteCimError
9756             && self.PromptUser == other.PromptUser
9757             && self.ShouldProcess == other.ShouldProcess
9758             && self.ShouldContinue == other.ShouldContinue
9759             && self.PostError == other.PostError
9760             && self.PostCimError == other.PostCimError
9761             && self.WriteError == other.WriteError
9762     }
9763 }
9764 impl ::std::cmp::Eq for MI_ContextFT {}
9765 unsafe impl ::windows::runtime::Abi for MI_ContextFT {
9766     type Abi = Self;
9767     type DefaultType = Self;
9768 }
9769 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9770 #[repr(C)]
9771 pub struct MI_Datetime {
9772     pub isTimestamp: u32,
9773     pub u: MI_Datetime_0,
9774 }
9775 impl MI_Datetime {}
9776 impl ::std::default::Default for MI_Datetime {
default() -> Self9777     fn default() -> Self {
9778         unsafe { ::std::mem::zeroed() }
9779     }
9780 }
9781 impl ::std::cmp::PartialEq for MI_Datetime {
eq(&self, _other: &Self) -> bool9782     fn eq(&self, _other: &Self) -> bool {
9783         unimplemented!()
9784     }
9785 }
9786 impl ::std::cmp::Eq for MI_Datetime {}
9787 unsafe impl ::windows::runtime::Abi for MI_Datetime {
9788     type Abi = Self;
9789     type DefaultType = Self;
9790 }
9791 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9792 #[repr(C)]
9793 pub union MI_Datetime_0 {
9794     pub timestamp: MI_Timestamp,
9795     pub interval: MI_Interval,
9796 }
9797 impl MI_Datetime_0 {}
9798 impl ::std::default::Default for MI_Datetime_0 {
default() -> Self9799     fn default() -> Self {
9800         unsafe { ::std::mem::zeroed() }
9801     }
9802 }
9803 impl ::std::cmp::PartialEq for MI_Datetime_0 {
eq(&self, _other: &Self) -> bool9804     fn eq(&self, _other: &Self) -> bool {
9805         unimplemented!()
9806     }
9807 }
9808 impl ::std::cmp::Eq for MI_Datetime_0 {}
9809 unsafe impl ::windows::runtime::Abi for MI_Datetime_0 {
9810     type Abi = Self;
9811     type DefaultType = Self;
9812 }
9813 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9814 #[repr(C)]
9815 pub struct MI_DatetimeA {
9816     pub data: *mut MI_Datetime,
9817     pub size: u32,
9818 }
9819 impl MI_DatetimeA {}
9820 impl ::std::default::Default for MI_DatetimeA {
default() -> Self9821     fn default() -> Self {
9822         unsafe { ::std::mem::zeroed() }
9823     }
9824 }
9825 impl ::std::fmt::Debug for MI_DatetimeA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9826     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9827         fmt.debug_struct("MI_DatetimeA").field("data", &self.data).field("size", &self.size).finish()
9828     }
9829 }
9830 impl ::std::cmp::PartialEq for MI_DatetimeA {
eq(&self, other: &Self) -> bool9831     fn eq(&self, other: &Self) -> bool {
9832         self.data == other.data && self.size == other.size
9833     }
9834 }
9835 impl ::std::cmp::Eq for MI_DatetimeA {}
9836 unsafe impl ::windows::runtime::Abi for MI_DatetimeA {
9837     type Abi = Self;
9838     type DefaultType = Self;
9839 }
9840 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9841 #[repr(C)]
9842 pub struct MI_DatetimeAField {
9843     pub value: MI_DatetimeA,
9844     pub exists: u8,
9845     pub flags: u8,
9846 }
9847 impl MI_DatetimeAField {}
9848 impl ::std::default::Default for MI_DatetimeAField {
default() -> Self9849     fn default() -> Self {
9850         unsafe { ::std::mem::zeroed() }
9851     }
9852 }
9853 impl ::std::fmt::Debug for MI_DatetimeAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9854     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9855         fmt.debug_struct("MI_DatetimeAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
9856     }
9857 }
9858 impl ::std::cmp::PartialEq for MI_DatetimeAField {
eq(&self, other: &Self) -> bool9859     fn eq(&self, other: &Self) -> bool {
9860         self.value == other.value && self.exists == other.exists && self.flags == other.flags
9861     }
9862 }
9863 impl ::std::cmp::Eq for MI_DatetimeAField {}
9864 unsafe impl ::windows::runtime::Abi for MI_DatetimeAField {
9865     type Abi = Self;
9866     type DefaultType = Self;
9867 }
9868 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9869 #[repr(C)]
9870 pub struct MI_DatetimeField {
9871     pub value: MI_Datetime,
9872     pub exists: u8,
9873     pub flags: u8,
9874 }
9875 impl MI_DatetimeField {}
9876 impl ::std::default::Default for MI_DatetimeField {
default() -> Self9877     fn default() -> Self {
9878         unsafe { ::std::mem::zeroed() }
9879     }
9880 }
9881 impl ::std::cmp::PartialEq for MI_DatetimeField {
eq(&self, _other: &Self) -> bool9882     fn eq(&self, _other: &Self) -> bool {
9883         unimplemented!()
9884     }
9885 }
9886 impl ::std::cmp::Eq for MI_DatetimeField {}
9887 unsafe impl ::windows::runtime::Abi for MI_DatetimeField {
9888     type Abi = Self;
9889     type DefaultType = Self;
9890 }
9891 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9892 #[repr(C)]
9893 pub struct MI_Deserializer {
9894     pub reserved1: u64,
9895     pub reserved2: isize,
9896 }
9897 impl MI_Deserializer {}
9898 impl ::std::default::Default for MI_Deserializer {
default() -> Self9899     fn default() -> Self {
9900         unsafe { ::std::mem::zeroed() }
9901     }
9902 }
9903 impl ::std::fmt::Debug for MI_Deserializer {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9904     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9905         fmt.debug_struct("MI_Deserializer").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).finish()
9906     }
9907 }
9908 impl ::std::cmp::PartialEq for MI_Deserializer {
eq(&self, other: &Self) -> bool9909     fn eq(&self, other: &Self) -> bool {
9910         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2
9911     }
9912 }
9913 impl ::std::cmp::Eq for MI_Deserializer {}
9914 unsafe impl ::windows::runtime::Abi for MI_Deserializer {
9915     type Abi = Self;
9916     type DefaultType = Self;
9917 }
9918 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9919 #[repr(C)]
9920 pub struct MI_DeserializerFT {
9921     pub Close: isize,
9922     pub DeserializeClass: isize,
9923     pub Class_GetClassName: isize,
9924     pub Class_GetParentClassName: isize,
9925     pub DeserializeInstance: isize,
9926     pub Instance_GetClassName: isize,
9927 }
9928 impl MI_DeserializerFT {}
9929 impl ::std::default::Default for MI_DeserializerFT {
default() -> Self9930     fn default() -> Self {
9931         unsafe { ::std::mem::zeroed() }
9932     }
9933 }
9934 impl ::std::fmt::Debug for MI_DeserializerFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9935     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9936         fmt.debug_struct("MI_DeserializerFT")
9937             .field("Close", &self.Close)
9938             .field("DeserializeClass", &self.DeserializeClass)
9939             .field("Class_GetClassName", &self.Class_GetClassName)
9940             .field("Class_GetParentClassName", &self.Class_GetParentClassName)
9941             .field("DeserializeInstance", &self.DeserializeInstance)
9942             .field("Instance_GetClassName", &self.Instance_GetClassName)
9943             .finish()
9944     }
9945 }
9946 impl ::std::cmp::PartialEq for MI_DeserializerFT {
eq(&self, other: &Self) -> bool9947     fn eq(&self, other: &Self) -> bool {
9948         self.Close == other.Close && self.DeserializeClass == other.DeserializeClass && self.Class_GetClassName == other.Class_GetClassName && self.Class_GetParentClassName == other.Class_GetParentClassName && self.DeserializeInstance == other.DeserializeInstance && self.Instance_GetClassName == other.Instance_GetClassName
9949     }
9950 }
9951 impl ::std::cmp::Eq for MI_DeserializerFT {}
9952 unsafe impl ::windows::runtime::Abi for MI_DeserializerFT {
9953     type Abi = Self;
9954     type DefaultType = Self;
9955 }
9956 pub type MI_Deserializer_ClassObjectNeeded = unsafe extern "system" fn(context: *const ::std::ffi::c_void, servername: *const u16, namespacename: *const u16, classname: *const u16, requestedclassobject: *mut *mut MI_Class) -> MI_Result;
9957 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9958 #[repr(C)]
9959 pub struct MI_DestinationOptions {
9960     pub reserved1: u64,
9961     pub reserved2: isize,
9962     pub ft: *mut MI_DestinationOptionsFT,
9963 }
9964 impl MI_DestinationOptions {}
9965 impl ::std::default::Default for MI_DestinationOptions {
default() -> Self9966     fn default() -> Self {
9967         unsafe { ::std::mem::zeroed() }
9968     }
9969 }
9970 impl ::std::fmt::Debug for MI_DestinationOptions {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9971     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9972         fmt.debug_struct("MI_DestinationOptions").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
9973     }
9974 }
9975 impl ::std::cmp::PartialEq for MI_DestinationOptions {
eq(&self, other: &Self) -> bool9976     fn eq(&self, other: &Self) -> bool {
9977         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
9978     }
9979 }
9980 impl ::std::cmp::Eq for MI_DestinationOptions {}
9981 unsafe impl ::windows::runtime::Abi for MI_DestinationOptions {
9982     type Abi = Self;
9983     type DefaultType = Self;
9984 }
9985 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9986 #[repr(C)]
9987 pub struct MI_DestinationOptionsFT {
9988     pub Delete: isize,
9989     pub SetString: isize,
9990     pub SetNumber: isize,
9991     pub AddCredentials: isize,
9992     pub GetString: isize,
9993     pub GetNumber: isize,
9994     pub GetOptionCount: isize,
9995     pub GetOptionAt: isize,
9996     pub GetOption: isize,
9997     pub GetCredentialsCount: isize,
9998     pub GetCredentialsAt: isize,
9999     pub GetCredentialsPasswordAt: isize,
10000     pub Clone: isize,
10001     pub SetInterval: isize,
10002     pub GetInterval: isize,
10003 }
10004 impl MI_DestinationOptionsFT {}
10005 impl ::std::default::Default for MI_DestinationOptionsFT {
default() -> Self10006     fn default() -> Self {
10007         unsafe { ::std::mem::zeroed() }
10008     }
10009 }
10010 impl ::std::fmt::Debug for MI_DestinationOptionsFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10011     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10012         fmt.debug_struct("MI_DestinationOptionsFT")
10013             .field("Delete", &self.Delete)
10014             .field("SetString", &self.SetString)
10015             .field("SetNumber", &self.SetNumber)
10016             .field("AddCredentials", &self.AddCredentials)
10017             .field("GetString", &self.GetString)
10018             .field("GetNumber", &self.GetNumber)
10019             .field("GetOptionCount", &self.GetOptionCount)
10020             .field("GetOptionAt", &self.GetOptionAt)
10021             .field("GetOption", &self.GetOption)
10022             .field("GetCredentialsCount", &self.GetCredentialsCount)
10023             .field("GetCredentialsAt", &self.GetCredentialsAt)
10024             .field("GetCredentialsPasswordAt", &self.GetCredentialsPasswordAt)
10025             .field("Clone", &self.Clone)
10026             .field("SetInterval", &self.SetInterval)
10027             .field("GetInterval", &self.GetInterval)
10028             .finish()
10029     }
10030 }
10031 impl ::std::cmp::PartialEq for MI_DestinationOptionsFT {
eq(&self, other: &Self) -> bool10032     fn eq(&self, other: &Self) -> bool {
10033         self.Delete == other.Delete
10034             && self.SetString == other.SetString
10035             && self.SetNumber == other.SetNumber
10036             && self.AddCredentials == other.AddCredentials
10037             && self.GetString == other.GetString
10038             && self.GetNumber == other.GetNumber
10039             && self.GetOptionCount == other.GetOptionCount
10040             && self.GetOptionAt == other.GetOptionAt
10041             && self.GetOption == other.GetOption
10042             && self.GetCredentialsCount == other.GetCredentialsCount
10043             && self.GetCredentialsAt == other.GetCredentialsAt
10044             && self.GetCredentialsPasswordAt == other.GetCredentialsPasswordAt
10045             && self.Clone == other.Clone
10046             && self.SetInterval == other.SetInterval
10047             && self.GetInterval == other.GetInterval
10048     }
10049 }
10050 impl ::std::cmp::Eq for MI_DestinationOptionsFT {}
10051 unsafe impl ::windows::runtime::Abi for MI_DestinationOptionsFT {
10052     type Abi = Self;
10053     type DefaultType = Self;
10054 }
10055 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10056 #[repr(transparent)]
10057 pub struct MI_DestinationOptions_ImpersonationType(pub i32);
10058 pub const MI_DestinationOptions_ImpersonationType_Default: MI_DestinationOptions_ImpersonationType = MI_DestinationOptions_ImpersonationType(0i32);
10059 pub const MI_DestinationOptions_ImpersonationType_None: MI_DestinationOptions_ImpersonationType = MI_DestinationOptions_ImpersonationType(1i32);
10060 pub const MI_DestinationOptions_ImpersonationType_Identify: MI_DestinationOptions_ImpersonationType = MI_DestinationOptions_ImpersonationType(2i32);
10061 pub const MI_DestinationOptions_ImpersonationType_Impersonate: MI_DestinationOptions_ImpersonationType = MI_DestinationOptions_ImpersonationType(3i32);
10062 pub const MI_DestinationOptions_ImpersonationType_Delegate: MI_DestinationOptions_ImpersonationType = MI_DestinationOptions_ImpersonationType(4i32);
10063 impl ::std::convert::From<i32> for MI_DestinationOptions_ImpersonationType {
from(value: i32) -> Self10064     fn from(value: i32) -> Self {
10065         Self(value)
10066     }
10067 }
10068 unsafe impl ::windows::runtime::Abi for MI_DestinationOptions_ImpersonationType {
10069     type Abi = Self;
10070     type DefaultType = Self;
10071 }
10072 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10073 #[repr(transparent)]
10074 pub struct MI_ErrorCategory(pub i32);
10075 pub const MI_ERRORCATEGORY_NOT_SPECIFIED: MI_ErrorCategory = MI_ErrorCategory(0i32);
10076 pub const MI_ERRORCATEGORY_OPEN_ERROR: MI_ErrorCategory = MI_ErrorCategory(1i32);
10077 pub const MI_ERRORCATEGORY_CLOS_EERROR: MI_ErrorCategory = MI_ErrorCategory(2i32);
10078 pub const MI_ERRORCATEGORY_DEVICE_ERROR: MI_ErrorCategory = MI_ErrorCategory(3i32);
10079 pub const MI_ERRORCATEGORY_DEADLOCK_DETECTED: MI_ErrorCategory = MI_ErrorCategory(4i32);
10080 pub const MI_ERRORCATEGORY_INVALID_ARGUMENT: MI_ErrorCategory = MI_ErrorCategory(5i32);
10081 pub const MI_ERRORCATEGORY_INVALID_DATA: MI_ErrorCategory = MI_ErrorCategory(6i32);
10082 pub const MI_ERRORCATEGORY_INVALID_OPERATION: MI_ErrorCategory = MI_ErrorCategory(7i32);
10083 pub const MI_ERRORCATEGORY_INVALID_RESULT: MI_ErrorCategory = MI_ErrorCategory(8i32);
10084 pub const MI_ERRORCATEGORY_INVALID_TYPE: MI_ErrorCategory = MI_ErrorCategory(9i32);
10085 pub const MI_ERRORCATEGORY_METADATA_ERROR: MI_ErrorCategory = MI_ErrorCategory(10i32);
10086 pub const MI_ERRORCATEGORY_NOT_IMPLEMENTED: MI_ErrorCategory = MI_ErrorCategory(11i32);
10087 pub const MI_ERRORCATEGORY_NOT_INSTALLED: MI_ErrorCategory = MI_ErrorCategory(12i32);
10088 pub const MI_ERRORCATEGORY_OBJECT_NOT_FOUND: MI_ErrorCategory = MI_ErrorCategory(13i32);
10089 pub const MI_ERRORCATEGORY_OPERATION_STOPPED: MI_ErrorCategory = MI_ErrorCategory(14i32);
10090 pub const MI_ERRORCATEGORY_OPERATION_TIMEOUT: MI_ErrorCategory = MI_ErrorCategory(15i32);
10091 pub const MI_ERRORCATEGORY_SYNTAX_ERROR: MI_ErrorCategory = MI_ErrorCategory(16i32);
10092 pub const MI_ERRORCATEGORY_PARSER_ERROR: MI_ErrorCategory = MI_ErrorCategory(17i32);
10093 pub const MI_ERRORCATEGORY_ACCESS_DENIED: MI_ErrorCategory = MI_ErrorCategory(18i32);
10094 pub const MI_ERRORCATEGORY_RESOURCE_BUSY: MI_ErrorCategory = MI_ErrorCategory(19i32);
10095 pub const MI_ERRORCATEGORY_RESOURCE_EXISTS: MI_ErrorCategory = MI_ErrorCategory(20i32);
10096 pub const MI_ERRORCATEGORY_RESOURCE_UNAVAILABLE: MI_ErrorCategory = MI_ErrorCategory(21i32);
10097 pub const MI_ERRORCATEGORY_READ_ERROR: MI_ErrorCategory = MI_ErrorCategory(22i32);
10098 pub const MI_ERRORCATEGORY_WRITE_ERROR: MI_ErrorCategory = MI_ErrorCategory(23i32);
10099 pub const MI_ERRORCATEGORY_FROM_STDERR: MI_ErrorCategory = MI_ErrorCategory(24i32);
10100 pub const MI_ERRORCATEGORY_SECURITY_ERROR: MI_ErrorCategory = MI_ErrorCategory(25i32);
10101 pub const MI_ERRORCATEGORY_PROTOCOL_ERROR: MI_ErrorCategory = MI_ErrorCategory(26i32);
10102 pub const MI_ERRORCATEGORY_CONNECTION_ERROR: MI_ErrorCategory = MI_ErrorCategory(27i32);
10103 pub const MI_ERRORCATEGORY_AUTHENTICATION_ERROR: MI_ErrorCategory = MI_ErrorCategory(28i32);
10104 pub const MI_ERRORCATEGORY_LIMITS_EXCEEDED: MI_ErrorCategory = MI_ErrorCategory(29i32);
10105 pub const MI_ERRORCATEGORY_QUOTA_EXCEEDED: MI_ErrorCategory = MI_ErrorCategory(30i32);
10106 pub const MI_ERRORCATEGORY_NOT_ENABLED: MI_ErrorCategory = MI_ErrorCategory(31i32);
10107 impl ::std::convert::From<i32> for MI_ErrorCategory {
from(value: i32) -> Self10108     fn from(value: i32) -> Self {
10109         Self(value)
10110     }
10111 }
10112 unsafe impl ::windows::runtime::Abi for MI_ErrorCategory {
10113     type Abi = Self;
10114     type DefaultType = Self;
10115 }
10116 pub const MI_FLAG_ABSTRACT: u32 = 131072u32;
10117 pub const MI_FLAG_ADOPT: u32 = 2147483648u32;
10118 pub const MI_FLAG_ANY: u32 = 127u32;
10119 pub const MI_FLAG_ASSOCIATION: u32 = 16u32;
10120 pub const MI_FLAG_BORROW: u32 = 1073741824u32;
10121 pub const MI_FLAG_CLASS: u32 = 1u32;
10122 pub const MI_FLAG_DISABLEOVERRIDE: u32 = 256u32;
10123 pub const MI_FLAG_ENABLEOVERRIDE: u32 = 128u32;
10124 pub const MI_FLAG_EXPENSIVE: u32 = 524288u32;
10125 pub const MI_FLAG_EXTENDED: u32 = 4096u32;
10126 pub const MI_FLAG_IN: u32 = 8192u32;
10127 pub const MI_FLAG_INDICATION: u32 = 32u32;
10128 pub const MI_FLAG_KEY: u32 = 4096u32;
10129 pub const MI_FLAG_METHOD: u32 = 2u32;
10130 pub const MI_FLAG_NOT_MODIFIED: u32 = 33554432u32;
10131 pub const MI_FLAG_NULL: u32 = 536870912u32;
10132 pub const MI_FLAG_OUT: u32 = 16384u32;
10133 pub const MI_FLAG_PARAMETER: u32 = 8u32;
10134 pub const MI_FLAG_PROPERTY: u32 = 4u32;
10135 pub const MI_FLAG_READONLY: u32 = 2097152u32;
10136 pub const MI_FLAG_REFERENCE: u32 = 64u32;
10137 pub const MI_FLAG_REQUIRED: u32 = 32768u32;
10138 pub const MI_FLAG_RESTRICTED: u32 = 512u32;
10139 pub const MI_FLAG_STATIC: u32 = 65536u32;
10140 pub const MI_FLAG_STREAM: u32 = 1048576u32;
10141 pub const MI_FLAG_TERMINAL: u32 = 262144u32;
10142 pub const MI_FLAG_TOSUBCLASS: u32 = 1024u32;
10143 pub const MI_FLAG_TRANSLATABLE: u32 = 2048u32;
10144 pub const MI_FLAG_VERSION: u32 = 469762048u32;
10145 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10146 #[repr(C)]
10147 pub struct MI_FeatureDecl {
10148     pub flags: u32,
10149     pub code: u32,
10150     pub name: *mut u16,
10151     pub qualifiers: *mut *mut MI_Qualifier,
10152     pub numQualifiers: u32,
10153 }
10154 impl MI_FeatureDecl {}
10155 impl ::std::default::Default for MI_FeatureDecl {
default() -> Self10156     fn default() -> Self {
10157         unsafe { ::std::mem::zeroed() }
10158     }
10159 }
10160 impl ::std::fmt::Debug for MI_FeatureDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10161     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10162         fmt.debug_struct("MI_FeatureDecl").field("flags", &self.flags).field("code", &self.code).field("name", &self.name).field("qualifiers", &self.qualifiers).field("numQualifiers", &self.numQualifiers).finish()
10163     }
10164 }
10165 impl ::std::cmp::PartialEq for MI_FeatureDecl {
eq(&self, other: &Self) -> bool10166     fn eq(&self, other: &Self) -> bool {
10167         self.flags == other.flags && self.code == other.code && self.name == other.name && self.qualifiers == other.qualifiers && self.numQualifiers == other.numQualifiers
10168     }
10169 }
10170 impl ::std::cmp::Eq for MI_FeatureDecl {}
10171 unsafe impl ::windows::runtime::Abi for MI_FeatureDecl {
10172     type Abi = Self;
10173     type DefaultType = Self;
10174 }
10175 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10176 #[repr(C)]
10177 pub struct MI_Filter {
10178     pub ft: *mut MI_FilterFT,
10179     pub reserved: [isize; 3],
10180 }
10181 impl MI_Filter {}
10182 impl ::std::default::Default for MI_Filter {
default() -> Self10183     fn default() -> Self {
10184         unsafe { ::std::mem::zeroed() }
10185     }
10186 }
10187 impl ::std::fmt::Debug for MI_Filter {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10188     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10189         fmt.debug_struct("MI_Filter").field("ft", &self.ft).field("reserved", &self.reserved).finish()
10190     }
10191 }
10192 impl ::std::cmp::PartialEq for MI_Filter {
eq(&self, other: &Self) -> bool10193     fn eq(&self, other: &Self) -> bool {
10194         self.ft == other.ft && self.reserved == other.reserved
10195     }
10196 }
10197 impl ::std::cmp::Eq for MI_Filter {}
10198 unsafe impl ::windows::runtime::Abi for MI_Filter {
10199     type Abi = Self;
10200     type DefaultType = Self;
10201 }
10202 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10203 #[repr(C)]
10204 pub struct MI_FilterFT {
10205     pub Evaluate: isize,
10206     pub GetExpression: isize,
10207 }
10208 impl MI_FilterFT {}
10209 impl ::std::default::Default for MI_FilterFT {
default() -> Self10210     fn default() -> Self {
10211         unsafe { ::std::mem::zeroed() }
10212     }
10213 }
10214 impl ::std::fmt::Debug for MI_FilterFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10215     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10216         fmt.debug_struct("MI_FilterFT").field("Evaluate", &self.Evaluate).field("GetExpression", &self.GetExpression).finish()
10217     }
10218 }
10219 impl ::std::cmp::PartialEq for MI_FilterFT {
eq(&self, other: &Self) -> bool10220     fn eq(&self, other: &Self) -> bool {
10221         self.Evaluate == other.Evaluate && self.GetExpression == other.GetExpression
10222     }
10223 }
10224 impl ::std::cmp::Eq for MI_FilterFT {}
10225 unsafe impl ::windows::runtime::Abi for MI_FilterFT {
10226     type Abi = Self;
10227     type DefaultType = Self;
10228 }
10229 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10230 #[repr(C)]
10231 pub struct MI_HostedProvider {
10232     pub reserved1: u64,
10233     pub reserved2: isize,
10234     pub ft: *mut MI_HostedProviderFT,
10235 }
10236 impl MI_HostedProvider {}
10237 impl ::std::default::Default for MI_HostedProvider {
default() -> Self10238     fn default() -> Self {
10239         unsafe { ::std::mem::zeroed() }
10240     }
10241 }
10242 impl ::std::fmt::Debug for MI_HostedProvider {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10243     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10244         fmt.debug_struct("MI_HostedProvider").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
10245     }
10246 }
10247 impl ::std::cmp::PartialEq for MI_HostedProvider {
eq(&self, other: &Self) -> bool10248     fn eq(&self, other: &Self) -> bool {
10249         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
10250     }
10251 }
10252 impl ::std::cmp::Eq for MI_HostedProvider {}
10253 unsafe impl ::windows::runtime::Abi for MI_HostedProvider {
10254     type Abi = Self;
10255     type DefaultType = Self;
10256 }
10257 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10258 #[repr(C)]
10259 pub struct MI_HostedProviderFT {
10260     pub Close: isize,
10261     pub GetApplication: isize,
10262 }
10263 impl MI_HostedProviderFT {}
10264 impl ::std::default::Default for MI_HostedProviderFT {
default() -> Self10265     fn default() -> Self {
10266         unsafe { ::std::mem::zeroed() }
10267     }
10268 }
10269 impl ::std::fmt::Debug for MI_HostedProviderFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10270     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10271         fmt.debug_struct("MI_HostedProviderFT").field("Close", &self.Close).field("GetApplication", &self.GetApplication).finish()
10272     }
10273 }
10274 impl ::std::cmp::PartialEq for MI_HostedProviderFT {
eq(&self, other: &Self) -> bool10275     fn eq(&self, other: &Self) -> bool {
10276         self.Close == other.Close && self.GetApplication == other.GetApplication
10277     }
10278 }
10279 impl ::std::cmp::Eq for MI_HostedProviderFT {}
10280 unsafe impl ::windows::runtime::Abi for MI_HostedProviderFT {
10281     type Abi = Self;
10282     type DefaultType = Self;
10283 }
10284 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10285 #[repr(C)]
10286 pub struct MI_Instance {
10287     pub ft: *mut MI_InstanceFT,
10288     pub classDecl: *mut MI_ClassDecl,
10289     pub serverName: *mut u16,
10290     pub nameSpace: *mut u16,
10291     pub reserved: [isize; 4],
10292 }
10293 impl MI_Instance {}
10294 impl ::std::default::Default for MI_Instance {
default() -> Self10295     fn default() -> Self {
10296         unsafe { ::std::mem::zeroed() }
10297     }
10298 }
10299 impl ::std::fmt::Debug for MI_Instance {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10300     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10301         fmt.debug_struct("MI_Instance").field("ft", &self.ft).field("classDecl", &self.classDecl).field("serverName", &self.serverName).field("nameSpace", &self.nameSpace).field("reserved", &self.reserved).finish()
10302     }
10303 }
10304 impl ::std::cmp::PartialEq for MI_Instance {
eq(&self, other: &Self) -> bool10305     fn eq(&self, other: &Self) -> bool {
10306         self.ft == other.ft && self.classDecl == other.classDecl && self.serverName == other.serverName && self.nameSpace == other.nameSpace && self.reserved == other.reserved
10307     }
10308 }
10309 impl ::std::cmp::Eq for MI_Instance {}
10310 unsafe impl ::windows::runtime::Abi for MI_Instance {
10311     type Abi = Self;
10312     type DefaultType = Self;
10313 }
10314 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10315 #[repr(C)]
10316 pub struct MI_InstanceA {
10317     pub data: *mut *mut MI_Instance,
10318     pub size: u32,
10319 }
10320 impl MI_InstanceA {}
10321 impl ::std::default::Default for MI_InstanceA {
default() -> Self10322     fn default() -> Self {
10323         unsafe { ::std::mem::zeroed() }
10324     }
10325 }
10326 impl ::std::fmt::Debug for MI_InstanceA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10327     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10328         fmt.debug_struct("MI_InstanceA").field("data", &self.data).field("size", &self.size).finish()
10329     }
10330 }
10331 impl ::std::cmp::PartialEq for MI_InstanceA {
eq(&self, other: &Self) -> bool10332     fn eq(&self, other: &Self) -> bool {
10333         self.data == other.data && self.size == other.size
10334     }
10335 }
10336 impl ::std::cmp::Eq for MI_InstanceA {}
10337 unsafe impl ::windows::runtime::Abi for MI_InstanceA {
10338     type Abi = Self;
10339     type DefaultType = Self;
10340 }
10341 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10342 #[repr(C)]
10343 pub struct MI_InstanceAField {
10344     pub value: MI_InstanceA,
10345     pub exists: u8,
10346     pub flags: u8,
10347 }
10348 impl MI_InstanceAField {}
10349 impl ::std::default::Default for MI_InstanceAField {
default() -> Self10350     fn default() -> Self {
10351         unsafe { ::std::mem::zeroed() }
10352     }
10353 }
10354 impl ::std::fmt::Debug for MI_InstanceAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10355     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10356         fmt.debug_struct("MI_InstanceAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
10357     }
10358 }
10359 impl ::std::cmp::PartialEq for MI_InstanceAField {
eq(&self, other: &Self) -> bool10360     fn eq(&self, other: &Self) -> bool {
10361         self.value == other.value && self.exists == other.exists && self.flags == other.flags
10362     }
10363 }
10364 impl ::std::cmp::Eq for MI_InstanceAField {}
10365 unsafe impl ::windows::runtime::Abi for MI_InstanceAField {
10366     type Abi = Self;
10367     type DefaultType = Self;
10368 }
10369 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10370 #[repr(C)]
10371 pub struct MI_InstanceExFT {
10372     pub parent: MI_InstanceFT,
10373     pub Normalize: isize,
10374 }
10375 impl MI_InstanceExFT {}
10376 impl ::std::default::Default for MI_InstanceExFT {
default() -> Self10377     fn default() -> Self {
10378         unsafe { ::std::mem::zeroed() }
10379     }
10380 }
10381 impl ::std::fmt::Debug for MI_InstanceExFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10382     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10383         fmt.debug_struct("MI_InstanceExFT").field("parent", &self.parent).field("Normalize", &self.Normalize).finish()
10384     }
10385 }
10386 impl ::std::cmp::PartialEq for MI_InstanceExFT {
eq(&self, other: &Self) -> bool10387     fn eq(&self, other: &Self) -> bool {
10388         self.parent == other.parent && self.Normalize == other.Normalize
10389     }
10390 }
10391 impl ::std::cmp::Eq for MI_InstanceExFT {}
10392 unsafe impl ::windows::runtime::Abi for MI_InstanceExFT {
10393     type Abi = Self;
10394     type DefaultType = Self;
10395 }
10396 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10397 #[repr(C)]
10398 pub struct MI_InstanceFT {
10399     pub Clone: isize,
10400     pub Destruct: isize,
10401     pub Delete: isize,
10402     pub IsA: isize,
10403     pub GetClassNameA: isize,
10404     pub SetNameSpace: isize,
10405     pub GetNameSpace: isize,
10406     pub GetElementCount: isize,
10407     pub AddElement: isize,
10408     pub SetElement: isize,
10409     pub SetElementAt: isize,
10410     pub GetElement: isize,
10411     pub GetElementAt: isize,
10412     pub ClearElement: isize,
10413     pub ClearElementAt: isize,
10414     pub GetServerName: isize,
10415     pub SetServerName: isize,
10416     pub GetClass: isize,
10417 }
10418 impl MI_InstanceFT {}
10419 impl ::std::default::Default for MI_InstanceFT {
default() -> Self10420     fn default() -> Self {
10421         unsafe { ::std::mem::zeroed() }
10422     }
10423 }
10424 impl ::std::fmt::Debug for MI_InstanceFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10425     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10426         fmt.debug_struct("MI_InstanceFT")
10427             .field("Clone", &self.Clone)
10428             .field("Destruct", &self.Destruct)
10429             .field("Delete", &self.Delete)
10430             .field("IsA", &self.IsA)
10431             .field("GetClassNameA", &self.GetClassNameA)
10432             .field("SetNameSpace", &self.SetNameSpace)
10433             .field("GetNameSpace", &self.GetNameSpace)
10434             .field("GetElementCount", &self.GetElementCount)
10435             .field("AddElement", &self.AddElement)
10436             .field("SetElement", &self.SetElement)
10437             .field("SetElementAt", &self.SetElementAt)
10438             .field("GetElement", &self.GetElement)
10439             .field("GetElementAt", &self.GetElementAt)
10440             .field("ClearElement", &self.ClearElement)
10441             .field("ClearElementAt", &self.ClearElementAt)
10442             .field("GetServerName", &self.GetServerName)
10443             .field("SetServerName", &self.SetServerName)
10444             .field("GetClass", &self.GetClass)
10445             .finish()
10446     }
10447 }
10448 impl ::std::cmp::PartialEq for MI_InstanceFT {
eq(&self, other: &Self) -> bool10449     fn eq(&self, other: &Self) -> bool {
10450         self.Clone == other.Clone
10451             && self.Destruct == other.Destruct
10452             && self.Delete == other.Delete
10453             && self.IsA == other.IsA
10454             && self.GetClassNameA == other.GetClassNameA
10455             && self.SetNameSpace == other.SetNameSpace
10456             && self.GetNameSpace == other.GetNameSpace
10457             && self.GetElementCount == other.GetElementCount
10458             && self.AddElement == other.AddElement
10459             && self.SetElement == other.SetElement
10460             && self.SetElementAt == other.SetElementAt
10461             && self.GetElement == other.GetElement
10462             && self.GetElementAt == other.GetElementAt
10463             && self.ClearElement == other.ClearElement
10464             && self.ClearElementAt == other.ClearElementAt
10465             && self.GetServerName == other.GetServerName
10466             && self.SetServerName == other.SetServerName
10467             && self.GetClass == other.GetClass
10468     }
10469 }
10470 impl ::std::cmp::Eq for MI_InstanceFT {}
10471 unsafe impl ::windows::runtime::Abi for MI_InstanceFT {
10472     type Abi = Self;
10473     type DefaultType = Self;
10474 }
10475 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10476 #[repr(C)]
10477 pub struct MI_InstanceField {
10478     pub value: *mut MI_Instance,
10479     pub exists: u8,
10480     pub flags: u8,
10481 }
10482 impl MI_InstanceField {}
10483 impl ::std::default::Default for MI_InstanceField {
default() -> Self10484     fn default() -> Self {
10485         unsafe { ::std::mem::zeroed() }
10486     }
10487 }
10488 impl ::std::fmt::Debug for MI_InstanceField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10489     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10490         fmt.debug_struct("MI_InstanceField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
10491     }
10492 }
10493 impl ::std::cmp::PartialEq for MI_InstanceField {
eq(&self, other: &Self) -> bool10494     fn eq(&self, other: &Self) -> bool {
10495         self.value == other.value && self.exists == other.exists && self.flags == other.flags
10496     }
10497 }
10498 impl ::std::cmp::Eq for MI_InstanceField {}
10499 unsafe impl ::windows::runtime::Abi for MI_InstanceField {
10500     type Abi = Self;
10501     type DefaultType = Self;
10502 }
10503 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10504 #[repr(C)]
10505 pub struct MI_Interval {
10506     pub days: u32,
10507     pub hours: u32,
10508     pub minutes: u32,
10509     pub seconds: u32,
10510     pub microseconds: u32,
10511     pub __padding1: u32,
10512     pub __padding2: u32,
10513     pub __padding3: u32,
10514 }
10515 impl MI_Interval {}
10516 impl ::std::default::Default for MI_Interval {
default() -> Self10517     fn default() -> Self {
10518         unsafe { ::std::mem::zeroed() }
10519     }
10520 }
10521 impl ::std::fmt::Debug for MI_Interval {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10522     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10523         fmt.debug_struct("MI_Interval")
10524             .field("days", &self.days)
10525             .field("hours", &self.hours)
10526             .field("minutes", &self.minutes)
10527             .field("seconds", &self.seconds)
10528             .field("microseconds", &self.microseconds)
10529             .field("__padding1", &self.__padding1)
10530             .field("__padding2", &self.__padding2)
10531             .field("__padding3", &self.__padding3)
10532             .finish()
10533     }
10534 }
10535 impl ::std::cmp::PartialEq for MI_Interval {
eq(&self, other: &Self) -> bool10536     fn eq(&self, other: &Self) -> bool {
10537         self.days == other.days && self.hours == other.hours && self.minutes == other.minutes && self.seconds == other.seconds && self.microseconds == other.microseconds && self.__padding1 == other.__padding1 && self.__padding2 == other.__padding2 && self.__padding3 == other.__padding3
10538     }
10539 }
10540 impl ::std::cmp::Eq for MI_Interval {}
10541 unsafe impl ::windows::runtime::Abi for MI_Interval {
10542     type Abi = Self;
10543     type DefaultType = Self;
10544 }
10545 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10546 #[repr(transparent)]
10547 pub struct MI_LocaleType(pub i32);
10548 pub const MI_LOCALE_TYPE_REQUESTED_UI: MI_LocaleType = MI_LocaleType(0i32);
10549 pub const MI_LOCALE_TYPE_REQUESTED_DATA: MI_LocaleType = MI_LocaleType(1i32);
10550 pub const MI_LOCALE_TYPE_CLOSEST_UI: MI_LocaleType = MI_LocaleType(2i32);
10551 pub const MI_LOCALE_TYPE_CLOSEST_DATA: MI_LocaleType = MI_LocaleType(3i32);
10552 impl ::std::convert::From<i32> for MI_LocaleType {
from(value: i32) -> Self10553     fn from(value: i32) -> Self {
10554         Self(value)
10555     }
10556 }
10557 unsafe impl ::windows::runtime::Abi for MI_LocaleType {
10558     type Abi = Self;
10559     type DefaultType = Self;
10560 }
10561 pub const MI_MAX_LOCALE_SIZE: u32 = 128u32;
10562 pub const MI_MODULE_FLAG_BOOLEANS: u32 = 16u32;
10563 pub const MI_MODULE_FLAG_CPLUSPLUS: u32 = 32u32;
10564 pub const MI_MODULE_FLAG_DESCRIPTIONS: u32 = 2u32;
10565 pub const MI_MODULE_FLAG_FILTER_SUPPORT: u32 = 128u32;
10566 pub const MI_MODULE_FLAG_LOCALIZED: u32 = 64u32;
10567 pub const MI_MODULE_FLAG_MAPPING_STRINGS: u32 = 8u32;
10568 pub const MI_MODULE_FLAG_STANDARD_QUALIFIERS: u32 = 1u32;
10569 pub const MI_MODULE_FLAG_VALUES: u32 = 4u32;
10570 pub type MI_MainFunction = unsafe extern "system" fn(server: *mut MI_Server) -> *mut MI_Module;
10571 #[derive(:: std :: clone :: Clone)]
10572 #[repr(C)]
10573 pub struct MI_MethodDecl {
10574     pub flags: u32,
10575     pub code: u32,
10576     pub name: *mut u16,
10577     pub qualifiers: *mut *mut MI_Qualifier,
10578     pub numQualifiers: u32,
10579     pub parameters: *mut *mut MI_ParameterDecl,
10580     pub numParameters: u32,
10581     pub size: u32,
10582     pub returnType: u32,
10583     pub origin: *mut u16,
10584     pub propagator: *mut u16,
10585     pub schema: *mut MI_SchemaDecl,
10586     pub function: ::std::option::Option<MI_MethodDecl_Invoke>,
10587 }
10588 impl MI_MethodDecl {}
10589 impl ::std::default::Default for MI_MethodDecl {
default() -> Self10590     fn default() -> Self {
10591         unsafe { ::std::mem::zeroed() }
10592     }
10593 }
10594 impl ::std::fmt::Debug for MI_MethodDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10595     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10596         fmt.debug_struct("MI_MethodDecl")
10597             .field("flags", &self.flags)
10598             .field("code", &self.code)
10599             .field("name", &self.name)
10600             .field("qualifiers", &self.qualifiers)
10601             .field("numQualifiers", &self.numQualifiers)
10602             .field("parameters", &self.parameters)
10603             .field("numParameters", &self.numParameters)
10604             .field("size", &self.size)
10605             .field("returnType", &self.returnType)
10606             .field("origin", &self.origin)
10607             .field("propagator", &self.propagator)
10608             .field("schema", &self.schema)
10609             .finish()
10610     }
10611 }
10612 impl ::std::cmp::PartialEq for MI_MethodDecl {
eq(&self, other: &Self) -> bool10613     fn eq(&self, other: &Self) -> bool {
10614         self.flags == other.flags && self.code == other.code && self.name == other.name && self.qualifiers == other.qualifiers && self.numQualifiers == other.numQualifiers && self.parameters == other.parameters && self.numParameters == other.numParameters && self.size == other.size && self.returnType == other.returnType && self.origin == other.origin && self.propagator == other.propagator && self.schema == other.schema && self.function.map(|f| f as usize) == other.function.map(|f| f as usize)
10615     }
10616 }
10617 impl ::std::cmp::Eq for MI_MethodDecl {}
10618 unsafe impl ::windows::runtime::Abi for MI_MethodDecl {
10619     type Abi = ::std::mem::ManuallyDrop<Self>;
10620     type DefaultType = Self;
10621 }
10622 pub type MI_MethodDecl_Invoke = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, methodname: *const u16, instancename: *const MI_Instance, parameters: *const MI_Instance);
10623 #[derive(:: std :: clone :: Clone)]
10624 #[repr(C)]
10625 pub struct MI_Module {
10626     pub version: u32,
10627     pub generatorVersion: u32,
10628     pub flags: u32,
10629     pub charSize: u32,
10630     pub schemaDecl: *mut MI_SchemaDecl,
10631     pub Load: ::std::option::Option<MI_Module_Load>,
10632     pub Unload: ::std::option::Option<MI_Module_Unload>,
10633     pub dynamicProviderFT: *mut MI_ProviderFT,
10634 }
10635 impl MI_Module {}
10636 impl ::std::default::Default for MI_Module {
default() -> Self10637     fn default() -> Self {
10638         unsafe { ::std::mem::zeroed() }
10639     }
10640 }
10641 impl ::std::fmt::Debug for MI_Module {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10642     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10643         fmt.debug_struct("MI_Module").field("version", &self.version).field("generatorVersion", &self.generatorVersion).field("flags", &self.flags).field("charSize", &self.charSize).field("schemaDecl", &self.schemaDecl).field("dynamicProviderFT", &self.dynamicProviderFT).finish()
10644     }
10645 }
10646 impl ::std::cmp::PartialEq for MI_Module {
eq(&self, other: &Self) -> bool10647     fn eq(&self, other: &Self) -> bool {
10648         self.version == other.version && self.generatorVersion == other.generatorVersion && self.flags == other.flags && self.charSize == other.charSize && self.schemaDecl == other.schemaDecl && self.Load.map(|f| f as usize) == other.Load.map(|f| f as usize) && self.Unload.map(|f| f as usize) == other.Unload.map(|f| f as usize) && self.dynamicProviderFT == other.dynamicProviderFT
10649     }
10650 }
10651 impl ::std::cmp::Eq for MI_Module {}
10652 unsafe impl ::windows::runtime::Abi for MI_Module {
10653     type Abi = ::std::mem::ManuallyDrop<Self>;
10654     type DefaultType = Self;
10655 }
10656 pub type MI_Module_Load = unsafe extern "system" fn(self_: *mut *mut MI_Module_Self, context: *const MI_Context);
10657 #[repr(C)]
10658 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
10659 pub struct MI_Module_Self(pub u8);
10660 pub type MI_Module_Unload = unsafe extern "system" fn(self_: *const MI_Module_Self, context: *const MI_Context);
10661 pub const MI_OPERATIONFLAGS_BASIC_RTTI: u32 = 2u32;
10662 pub const MI_OPERATIONFLAGS_DEFAULT_RTTI: u32 = 0u32;
10663 pub const MI_OPERATIONFLAGS_EXPENSIVE_PROPERTIES: u32 = 64u32;
10664 pub const MI_OPERATIONFLAGS_FULL_RTTI: u32 = 4u32;
10665 pub const MI_OPERATIONFLAGS_LOCALIZED_QUALIFIERS: u32 = 8u32;
10666 pub const MI_OPERATIONFLAGS_MANUAL_ACK_RESULTS: u32 = 1u32;
10667 pub const MI_OPERATIONFLAGS_NO_RTTI: u32 = 1024u32;
10668 pub const MI_OPERATIONFLAGS_POLYMORPHISM_DEEP_BASE_PROPS_ONLY: u32 = 384u32;
10669 pub const MI_OPERATIONFLAGS_POLYMORPHISM_SHALLOW: u32 = 128u32;
10670 pub const MI_OPERATIONFLAGS_REPORT_OPERATION_STARTED: u32 = 512u32;
10671 pub const MI_OPERATIONFLAGS_STANDARD_RTTI: u32 = 2048u32;
10672 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10673 #[repr(C)]
10674 pub struct MI_ObjectDecl {
10675     pub flags: u32,
10676     pub code: u32,
10677     pub name: *mut u16,
10678     pub qualifiers: *mut *mut MI_Qualifier,
10679     pub numQualifiers: u32,
10680     pub properties: *mut *mut MI_PropertyDecl,
10681     pub numProperties: u32,
10682     pub size: u32,
10683 }
10684 impl MI_ObjectDecl {}
10685 impl ::std::default::Default for MI_ObjectDecl {
default() -> Self10686     fn default() -> Self {
10687         unsafe { ::std::mem::zeroed() }
10688     }
10689 }
10690 impl ::std::fmt::Debug for MI_ObjectDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10691     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10692         fmt.debug_struct("MI_ObjectDecl")
10693             .field("flags", &self.flags)
10694             .field("code", &self.code)
10695             .field("name", &self.name)
10696             .field("qualifiers", &self.qualifiers)
10697             .field("numQualifiers", &self.numQualifiers)
10698             .field("properties", &self.properties)
10699             .field("numProperties", &self.numProperties)
10700             .field("size", &self.size)
10701             .finish()
10702     }
10703 }
10704 impl ::std::cmp::PartialEq for MI_ObjectDecl {
eq(&self, other: &Self) -> bool10705     fn eq(&self, other: &Self) -> bool {
10706         self.flags == other.flags && self.code == other.code && self.name == other.name && self.qualifiers == other.qualifiers && self.numQualifiers == other.numQualifiers && self.properties == other.properties && self.numProperties == other.numProperties && self.size == other.size
10707     }
10708 }
10709 impl ::std::cmp::Eq for MI_ObjectDecl {}
10710 unsafe impl ::windows::runtime::Abi for MI_ObjectDecl {
10711     type Abi = Self;
10712     type DefaultType = Self;
10713 }
10714 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10715 #[repr(C)]
10716 pub struct MI_Operation {
10717     pub reserved1: u64,
10718     pub reserved2: isize,
10719     pub ft: *mut MI_OperationFT,
10720 }
10721 impl MI_Operation {}
10722 impl ::std::default::Default for MI_Operation {
default() -> Self10723     fn default() -> Self {
10724         unsafe { ::std::mem::zeroed() }
10725     }
10726 }
10727 impl ::std::fmt::Debug for MI_Operation {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10728     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10729         fmt.debug_struct("MI_Operation").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
10730     }
10731 }
10732 impl ::std::cmp::PartialEq for MI_Operation {
eq(&self, other: &Self) -> bool10733     fn eq(&self, other: &Self) -> bool {
10734         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
10735     }
10736 }
10737 impl ::std::cmp::Eq for MI_Operation {}
10738 unsafe impl ::windows::runtime::Abi for MI_Operation {
10739     type Abi = Self;
10740     type DefaultType = Self;
10741 }
10742 pub type MI_OperationCallback_Class = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, classresult: *const MI_Class, moreresults: u8, resultcode: MI_Result, errorstring: *const u16, errordetails: *const MI_Instance, resultacknowledgement: isize);
10743 pub type MI_OperationCallback_Indication = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, instance: *const MI_Instance, bookmark: *const u16, machineid: *const u16, moreresults: u8, resultcode: MI_Result, errorstring: *const u16, errordetails: *const MI_Instance, resultacknowledgement: isize);
10744 pub type MI_OperationCallback_Instance = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, instance: *const MI_Instance, moreresults: u8, resultcode: MI_Result, errorstring: *const u16, errordetails: *const MI_Instance, resultacknowledgement: isize);
10745 pub type MI_OperationCallback_PromptUser = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, message: *const u16, prompttype: MI_PromptType, promptuserresult: isize);
10746 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10747 #[repr(transparent)]
10748 pub struct MI_OperationCallback_ResponseType(pub i32);
10749 pub const MI_OperationCallback_ResponseType_No: MI_OperationCallback_ResponseType = MI_OperationCallback_ResponseType(0i32);
10750 pub const MI_OperationCallback_ResponseType_Yes: MI_OperationCallback_ResponseType = MI_OperationCallback_ResponseType(1i32);
10751 pub const MI_OperationCallback_ResponseType_NoToAll: MI_OperationCallback_ResponseType = MI_OperationCallback_ResponseType(2i32);
10752 pub const MI_OperationCallback_ResponseType_YesToAll: MI_OperationCallback_ResponseType = MI_OperationCallback_ResponseType(3i32);
10753 impl ::std::convert::From<i32> for MI_OperationCallback_ResponseType {
from(value: i32) -> Self10754     fn from(value: i32) -> Self {
10755         Self(value)
10756     }
10757 }
10758 unsafe impl ::windows::runtime::Abi for MI_OperationCallback_ResponseType {
10759     type Abi = Self;
10760     type DefaultType = Self;
10761 }
10762 pub type MI_OperationCallback_StreamedParameter = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, parametername: *const u16, resulttype: MI_Type, result: *const MI_Value, resultacknowledgement: isize);
10763 pub type MI_OperationCallback_WriteError = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, instance: *const MI_Instance, writeerrorresult: isize);
10764 pub type MI_OperationCallback_WriteMessage = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, channel: u32, message: *const u16);
10765 pub type MI_OperationCallback_WriteProgress = unsafe extern "system" fn(operation: *const MI_Operation, callbackcontext: *const ::std::ffi::c_void, activity: *const u16, currentoperation: *const u16, statusdescription: *const u16, percentagecomplete: u32, secondsremaining: u32);
10766 #[derive(:: std :: clone :: Clone)]
10767 #[repr(C)]
10768 pub struct MI_OperationCallbacks {
10769     pub callbackContext: *mut ::std::ffi::c_void,
10770     pub promptUser: ::std::option::Option<MI_OperationCallback_PromptUser>,
10771     pub writeError: ::std::option::Option<MI_OperationCallback_WriteError>,
10772     pub writeMessage: ::std::option::Option<MI_OperationCallback_WriteMessage>,
10773     pub writeProgress: ::std::option::Option<MI_OperationCallback_WriteProgress>,
10774     pub instanceResult: ::std::option::Option<MI_OperationCallback_Instance>,
10775     pub indicationResult: ::std::option::Option<MI_OperationCallback_Indication>,
10776     pub classResult: ::std::option::Option<MI_OperationCallback_Class>,
10777     pub streamedParameterResult: ::std::option::Option<MI_OperationCallback_StreamedParameter>,
10778 }
10779 impl MI_OperationCallbacks {}
10780 impl ::std::default::Default for MI_OperationCallbacks {
default() -> Self10781     fn default() -> Self {
10782         unsafe { ::std::mem::zeroed() }
10783     }
10784 }
10785 impl ::std::fmt::Debug for MI_OperationCallbacks {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10786     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10787         fmt.debug_struct("MI_OperationCallbacks").field("callbackContext", &self.callbackContext).finish()
10788     }
10789 }
10790 impl ::std::cmp::PartialEq for MI_OperationCallbacks {
eq(&self, other: &Self) -> bool10791     fn eq(&self, other: &Self) -> bool {
10792         self.callbackContext == other.callbackContext
10793             && self.promptUser.map(|f| f as usize) == other.promptUser.map(|f| f as usize)
10794             && self.writeError.map(|f| f as usize) == other.writeError.map(|f| f as usize)
10795             && self.writeMessage.map(|f| f as usize) == other.writeMessage.map(|f| f as usize)
10796             && self.writeProgress.map(|f| f as usize) == other.writeProgress.map(|f| f as usize)
10797             && self.instanceResult.map(|f| f as usize) == other.instanceResult.map(|f| f as usize)
10798             && self.indicationResult.map(|f| f as usize) == other.indicationResult.map(|f| f as usize)
10799             && self.classResult.map(|f| f as usize) == other.classResult.map(|f| f as usize)
10800             && self.streamedParameterResult.map(|f| f as usize) == other.streamedParameterResult.map(|f| f as usize)
10801     }
10802 }
10803 impl ::std::cmp::Eq for MI_OperationCallbacks {}
10804 unsafe impl ::windows::runtime::Abi for MI_OperationCallbacks {
10805     type Abi = ::std::mem::ManuallyDrop<Self>;
10806     type DefaultType = Self;
10807 }
10808 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10809 #[repr(C)]
10810 pub struct MI_OperationFT {
10811     pub Close: isize,
10812     pub Cancel: isize,
10813     pub GetSession: isize,
10814     pub GetInstance: isize,
10815     pub GetIndication: isize,
10816     pub GetClass: isize,
10817 }
10818 impl MI_OperationFT {}
10819 impl ::std::default::Default for MI_OperationFT {
default() -> Self10820     fn default() -> Self {
10821         unsafe { ::std::mem::zeroed() }
10822     }
10823 }
10824 impl ::std::fmt::Debug for MI_OperationFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10825     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10826         fmt.debug_struct("MI_OperationFT").field("Close", &self.Close).field("Cancel", &self.Cancel).field("GetSession", &self.GetSession).field("GetInstance", &self.GetInstance).field("GetIndication", &self.GetIndication).field("GetClass", &self.GetClass).finish()
10827     }
10828 }
10829 impl ::std::cmp::PartialEq for MI_OperationFT {
eq(&self, other: &Self) -> bool10830     fn eq(&self, other: &Self) -> bool {
10831         self.Close == other.Close && self.Cancel == other.Cancel && self.GetSession == other.GetSession && self.GetInstance == other.GetInstance && self.GetIndication == other.GetIndication && self.GetClass == other.GetClass
10832     }
10833 }
10834 impl ::std::cmp::Eq for MI_OperationFT {}
10835 unsafe impl ::windows::runtime::Abi for MI_OperationFT {
10836     type Abi = Self;
10837     type DefaultType = Self;
10838 }
10839 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10840 #[repr(C)]
10841 pub struct MI_OperationOptions {
10842     pub reserved1: u64,
10843     pub reserved2: isize,
10844     pub ft: *mut MI_OperationOptionsFT,
10845 }
10846 impl MI_OperationOptions {}
10847 impl ::std::default::Default for MI_OperationOptions {
default() -> Self10848     fn default() -> Self {
10849         unsafe { ::std::mem::zeroed() }
10850     }
10851 }
10852 impl ::std::fmt::Debug for MI_OperationOptions {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10853     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10854         fmt.debug_struct("MI_OperationOptions").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
10855     }
10856 }
10857 impl ::std::cmp::PartialEq for MI_OperationOptions {
eq(&self, other: &Self) -> bool10858     fn eq(&self, other: &Self) -> bool {
10859         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
10860     }
10861 }
10862 impl ::std::cmp::Eq for MI_OperationOptions {}
10863 unsafe impl ::windows::runtime::Abi for MI_OperationOptions {
10864     type Abi = Self;
10865     type DefaultType = Self;
10866 }
10867 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10868 #[repr(C)]
10869 pub struct MI_OperationOptionsFT {
10870     pub Delete: isize,
10871     pub SetString: isize,
10872     pub SetNumber: isize,
10873     pub SetCustomOption: isize,
10874     pub GetString: isize,
10875     pub GetNumber: isize,
10876     pub GetOptionCount: isize,
10877     pub GetOptionAt: isize,
10878     pub GetOption: isize,
10879     pub GetEnabledChannels: isize,
10880     pub Clone: isize,
10881     pub SetInterval: isize,
10882     pub GetInterval: isize,
10883 }
10884 impl MI_OperationOptionsFT {}
10885 impl ::std::default::Default for MI_OperationOptionsFT {
default() -> Self10886     fn default() -> Self {
10887         unsafe { ::std::mem::zeroed() }
10888     }
10889 }
10890 impl ::std::fmt::Debug for MI_OperationOptionsFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10891     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10892         fmt.debug_struct("MI_OperationOptionsFT")
10893             .field("Delete", &self.Delete)
10894             .field("SetString", &self.SetString)
10895             .field("SetNumber", &self.SetNumber)
10896             .field("SetCustomOption", &self.SetCustomOption)
10897             .field("GetString", &self.GetString)
10898             .field("GetNumber", &self.GetNumber)
10899             .field("GetOptionCount", &self.GetOptionCount)
10900             .field("GetOptionAt", &self.GetOptionAt)
10901             .field("GetOption", &self.GetOption)
10902             .field("GetEnabledChannels", &self.GetEnabledChannels)
10903             .field("Clone", &self.Clone)
10904             .field("SetInterval", &self.SetInterval)
10905             .field("GetInterval", &self.GetInterval)
10906             .finish()
10907     }
10908 }
10909 impl ::std::cmp::PartialEq for MI_OperationOptionsFT {
eq(&self, other: &Self) -> bool10910     fn eq(&self, other: &Self) -> bool {
10911         self.Delete == other.Delete
10912             && self.SetString == other.SetString
10913             && self.SetNumber == other.SetNumber
10914             && self.SetCustomOption == other.SetCustomOption
10915             && self.GetString == other.GetString
10916             && self.GetNumber == other.GetNumber
10917             && self.GetOptionCount == other.GetOptionCount
10918             && self.GetOptionAt == other.GetOptionAt
10919             && self.GetOption == other.GetOption
10920             && self.GetEnabledChannels == other.GetEnabledChannels
10921             && self.Clone == other.Clone
10922             && self.SetInterval == other.SetInterval
10923             && self.GetInterval == other.GetInterval
10924     }
10925 }
10926 impl ::std::cmp::Eq for MI_OperationOptionsFT {}
10927 unsafe impl ::windows::runtime::Abi for MI_OperationOptionsFT {
10928     type Abi = Self;
10929     type DefaultType = Self;
10930 }
10931 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10932 #[repr(C)]
10933 pub struct MI_ParameterDecl {
10934     pub flags: u32,
10935     pub code: u32,
10936     pub name: *mut u16,
10937     pub qualifiers: *mut *mut MI_Qualifier,
10938     pub numQualifiers: u32,
10939     pub r#type: u32,
10940     pub className: *mut u16,
10941     pub subscript: u32,
10942     pub offset: u32,
10943 }
10944 impl MI_ParameterDecl {}
10945 impl ::std::default::Default for MI_ParameterDecl {
default() -> Self10946     fn default() -> Self {
10947         unsafe { ::std::mem::zeroed() }
10948     }
10949 }
10950 impl ::std::fmt::Debug for MI_ParameterDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10951     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10952         fmt.debug_struct("MI_ParameterDecl")
10953             .field("flags", &self.flags)
10954             .field("code", &self.code)
10955             .field("name", &self.name)
10956             .field("qualifiers", &self.qualifiers)
10957             .field("numQualifiers", &self.numQualifiers)
10958             .field("r#type", &self.r#type)
10959             .field("className", &self.className)
10960             .field("subscript", &self.subscript)
10961             .field("offset", &self.offset)
10962             .finish()
10963     }
10964 }
10965 impl ::std::cmp::PartialEq for MI_ParameterDecl {
eq(&self, other: &Self) -> bool10966     fn eq(&self, other: &Self) -> bool {
10967         self.flags == other.flags && self.code == other.code && self.name == other.name && self.qualifiers == other.qualifiers && self.numQualifiers == other.numQualifiers && self.r#type == other.r#type && self.className == other.className && self.subscript == other.subscript && self.offset == other.offset
10968     }
10969 }
10970 impl ::std::cmp::Eq for MI_ParameterDecl {}
10971 unsafe impl ::windows::runtime::Abi for MI_ParameterDecl {
10972     type Abi = Self;
10973     type DefaultType = Self;
10974 }
10975 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10976 #[repr(C)]
10977 pub struct MI_ParameterSet {
10978     pub reserved1: u64,
10979     pub reserved2: isize,
10980     pub ft: *mut MI_ParameterSetFT,
10981 }
10982 impl MI_ParameterSet {}
10983 impl ::std::default::Default for MI_ParameterSet {
default() -> Self10984     fn default() -> Self {
10985         unsafe { ::std::mem::zeroed() }
10986     }
10987 }
10988 impl ::std::fmt::Debug for MI_ParameterSet {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10989     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10990         fmt.debug_struct("MI_ParameterSet").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
10991     }
10992 }
10993 impl ::std::cmp::PartialEq for MI_ParameterSet {
eq(&self, other: &Self) -> bool10994     fn eq(&self, other: &Self) -> bool {
10995         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
10996     }
10997 }
10998 impl ::std::cmp::Eq for MI_ParameterSet {}
10999 unsafe impl ::windows::runtime::Abi for MI_ParameterSet {
11000     type Abi = Self;
11001     type DefaultType = Self;
11002 }
11003 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11004 #[repr(C)]
11005 pub struct MI_ParameterSetFT {
11006     pub GetMethodReturnType: isize,
11007     pub GetParameterCount: isize,
11008     pub GetParameterAt: isize,
11009     pub GetParameter: isize,
11010 }
11011 impl MI_ParameterSetFT {}
11012 impl ::std::default::Default for MI_ParameterSetFT {
default() -> Self11013     fn default() -> Self {
11014         unsafe { ::std::mem::zeroed() }
11015     }
11016 }
11017 impl ::std::fmt::Debug for MI_ParameterSetFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11018     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11019         fmt.debug_struct("MI_ParameterSetFT").field("GetMethodReturnType", &self.GetMethodReturnType).field("GetParameterCount", &self.GetParameterCount).field("GetParameterAt", &self.GetParameterAt).field("GetParameter", &self.GetParameter).finish()
11020     }
11021 }
11022 impl ::std::cmp::PartialEq for MI_ParameterSetFT {
eq(&self, other: &Self) -> bool11023     fn eq(&self, other: &Self) -> bool {
11024         self.GetMethodReturnType == other.GetMethodReturnType && self.GetParameterCount == other.GetParameterCount && self.GetParameterAt == other.GetParameterAt && self.GetParameter == other.GetParameter
11025     }
11026 }
11027 impl ::std::cmp::Eq for MI_ParameterSetFT {}
11028 unsafe impl ::windows::runtime::Abi for MI_ParameterSetFT {
11029     type Abi = Self;
11030     type DefaultType = Self;
11031 }
11032 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11033 #[repr(transparent)]
11034 pub struct MI_PromptType(pub i32);
11035 pub const MI_PROMPTTYPE_NORMAL: MI_PromptType = MI_PromptType(0i32);
11036 pub const MI_PROMPTTYPE_CRITICAL: MI_PromptType = MI_PromptType(1i32);
11037 impl ::std::convert::From<i32> for MI_PromptType {
from(value: i32) -> Self11038     fn from(value: i32) -> Self {
11039         Self(value)
11040     }
11041 }
11042 unsafe impl ::windows::runtime::Abi for MI_PromptType {
11043     type Abi = Self;
11044     type DefaultType = Self;
11045 }
11046 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11047 #[repr(C)]
11048 pub struct MI_PropertyDecl {
11049     pub flags: u32,
11050     pub code: u32,
11051     pub name: *mut u16,
11052     pub qualifiers: *mut *mut MI_Qualifier,
11053     pub numQualifiers: u32,
11054     pub r#type: u32,
11055     pub className: *mut u16,
11056     pub subscript: u32,
11057     pub offset: u32,
11058     pub origin: *mut u16,
11059     pub propagator: *mut u16,
11060     pub value: *mut ::std::ffi::c_void,
11061 }
11062 impl MI_PropertyDecl {}
11063 impl ::std::default::Default for MI_PropertyDecl {
default() -> Self11064     fn default() -> Self {
11065         unsafe { ::std::mem::zeroed() }
11066     }
11067 }
11068 impl ::std::fmt::Debug for MI_PropertyDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11069     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11070         fmt.debug_struct("MI_PropertyDecl")
11071             .field("flags", &self.flags)
11072             .field("code", &self.code)
11073             .field("name", &self.name)
11074             .field("qualifiers", &self.qualifiers)
11075             .field("numQualifiers", &self.numQualifiers)
11076             .field("r#type", &self.r#type)
11077             .field("className", &self.className)
11078             .field("subscript", &self.subscript)
11079             .field("offset", &self.offset)
11080             .field("origin", &self.origin)
11081             .field("propagator", &self.propagator)
11082             .field("value", &self.value)
11083             .finish()
11084     }
11085 }
11086 impl ::std::cmp::PartialEq for MI_PropertyDecl {
eq(&self, other: &Self) -> bool11087     fn eq(&self, other: &Self) -> bool {
11088         self.flags == other.flags && self.code == other.code && self.name == other.name && self.qualifiers == other.qualifiers && self.numQualifiers == other.numQualifiers && self.r#type == other.r#type && self.className == other.className && self.subscript == other.subscript && self.offset == other.offset && self.origin == other.origin && self.propagator == other.propagator && self.value == other.value
11089     }
11090 }
11091 impl ::std::cmp::Eq for MI_PropertyDecl {}
11092 unsafe impl ::windows::runtime::Abi for MI_PropertyDecl {
11093     type Abi = Self;
11094     type DefaultType = Self;
11095 }
11096 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11097 #[repr(C)]
11098 pub struct MI_PropertySet {
11099     pub ft: *mut MI_PropertySetFT,
11100     pub reserved: [isize; 3],
11101 }
11102 impl MI_PropertySet {}
11103 impl ::std::default::Default for MI_PropertySet {
default() -> Self11104     fn default() -> Self {
11105         unsafe { ::std::mem::zeroed() }
11106     }
11107 }
11108 impl ::std::fmt::Debug for MI_PropertySet {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11109     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11110         fmt.debug_struct("MI_PropertySet").field("ft", &self.ft).field("reserved", &self.reserved).finish()
11111     }
11112 }
11113 impl ::std::cmp::PartialEq for MI_PropertySet {
eq(&self, other: &Self) -> bool11114     fn eq(&self, other: &Self) -> bool {
11115         self.ft == other.ft && self.reserved == other.reserved
11116     }
11117 }
11118 impl ::std::cmp::Eq for MI_PropertySet {}
11119 unsafe impl ::windows::runtime::Abi for MI_PropertySet {
11120     type Abi = Self;
11121     type DefaultType = Self;
11122 }
11123 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11124 #[repr(C)]
11125 pub struct MI_PropertySetFT {
11126     pub GetElementCount: isize,
11127     pub ContainsElement: isize,
11128     pub AddElement: isize,
11129     pub GetElementAt: isize,
11130     pub Clear: isize,
11131     pub Destruct: isize,
11132     pub Delete: isize,
11133     pub Clone: isize,
11134 }
11135 impl MI_PropertySetFT {}
11136 impl ::std::default::Default for MI_PropertySetFT {
default() -> Self11137     fn default() -> Self {
11138         unsafe { ::std::mem::zeroed() }
11139     }
11140 }
11141 impl ::std::fmt::Debug for MI_PropertySetFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11142     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11143         fmt.debug_struct("MI_PropertySetFT")
11144             .field("GetElementCount", &self.GetElementCount)
11145             .field("ContainsElement", &self.ContainsElement)
11146             .field("AddElement", &self.AddElement)
11147             .field("GetElementAt", &self.GetElementAt)
11148             .field("Clear", &self.Clear)
11149             .field("Destruct", &self.Destruct)
11150             .field("Delete", &self.Delete)
11151             .field("Clone", &self.Clone)
11152             .finish()
11153     }
11154 }
11155 impl ::std::cmp::PartialEq for MI_PropertySetFT {
eq(&self, other: &Self) -> bool11156     fn eq(&self, other: &Self) -> bool {
11157         self.GetElementCount == other.GetElementCount && self.ContainsElement == other.ContainsElement && self.AddElement == other.AddElement && self.GetElementAt == other.GetElementAt && self.Clear == other.Clear && self.Destruct == other.Destruct && self.Delete == other.Delete && self.Clone == other.Clone
11158     }
11159 }
11160 impl ::std::cmp::Eq for MI_PropertySetFT {}
11161 unsafe impl ::windows::runtime::Abi for MI_PropertySetFT {
11162     type Abi = Self;
11163     type DefaultType = Self;
11164 }
11165 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11166 #[repr(transparent)]
11167 pub struct MI_ProviderArchitecture(pub i32);
11168 pub const MI_PROVIDER_ARCHITECTURE_32BIT: MI_ProviderArchitecture = MI_ProviderArchitecture(0i32);
11169 pub const MI_PROVIDER_ARCHITECTURE_64BIT: MI_ProviderArchitecture = MI_ProviderArchitecture(1i32);
11170 impl ::std::convert::From<i32> for MI_ProviderArchitecture {
from(value: i32) -> Self11171     fn from(value: i32) -> Self {
11172         Self(value)
11173     }
11174 }
11175 unsafe impl ::windows::runtime::Abi for MI_ProviderArchitecture {
11176     type Abi = Self;
11177     type DefaultType = Self;
11178 }
11179 #[derive(:: std :: clone :: Clone)]
11180 #[repr(C)]
11181 pub struct MI_ProviderFT {
11182     pub Load: ::std::option::Option<MI_ProviderFT_Load>,
11183     pub Unload: ::std::option::Option<MI_ProviderFT_Unload>,
11184     pub GetInstance: ::std::option::Option<MI_ProviderFT_GetInstance>,
11185     pub EnumerateInstances: ::std::option::Option<MI_ProviderFT_EnumerateInstances>,
11186     pub CreateInstance: ::std::option::Option<MI_ProviderFT_CreateInstance>,
11187     pub ModifyInstance: ::std::option::Option<MI_ProviderFT_ModifyInstance>,
11188     pub DeleteInstance: ::std::option::Option<MI_ProviderFT_DeleteInstance>,
11189     pub AssociatorInstances: ::std::option::Option<MI_ProviderFT_AssociatorInstances>,
11190     pub ReferenceInstances: ::std::option::Option<MI_ProviderFT_ReferenceInstances>,
11191     pub EnableIndications: ::std::option::Option<MI_ProviderFT_EnableIndications>,
11192     pub DisableIndications: ::std::option::Option<MI_ProviderFT_DisableIndications>,
11193     pub Subscribe: ::std::option::Option<MI_ProviderFT_Subscribe>,
11194     pub Unsubscribe: ::std::option::Option<MI_ProviderFT_Unsubscribe>,
11195     pub Invoke: ::std::option::Option<MI_ProviderFT_Invoke>,
11196 }
11197 impl MI_ProviderFT {}
11198 impl ::std::default::Default for MI_ProviderFT {
default() -> Self11199     fn default() -> Self {
11200         unsafe { ::std::mem::zeroed() }
11201     }
11202 }
11203 impl ::std::fmt::Debug for MI_ProviderFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11204     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11205         fmt.debug_struct("MI_ProviderFT").finish()
11206     }
11207 }
11208 impl ::std::cmp::PartialEq for MI_ProviderFT {
eq(&self, other: &Self) -> bool11209     fn eq(&self, other: &Self) -> bool {
11210         self.Load.map(|f| f as usize) == other.Load.map(|f| f as usize)
11211             && self.Unload.map(|f| f as usize) == other.Unload.map(|f| f as usize)
11212             && self.GetInstance.map(|f| f as usize) == other.GetInstance.map(|f| f as usize)
11213             && self.EnumerateInstances.map(|f| f as usize) == other.EnumerateInstances.map(|f| f as usize)
11214             && self.CreateInstance.map(|f| f as usize) == other.CreateInstance.map(|f| f as usize)
11215             && self.ModifyInstance.map(|f| f as usize) == other.ModifyInstance.map(|f| f as usize)
11216             && self.DeleteInstance.map(|f| f as usize) == other.DeleteInstance.map(|f| f as usize)
11217             && self.AssociatorInstances.map(|f| f as usize) == other.AssociatorInstances.map(|f| f as usize)
11218             && self.ReferenceInstances.map(|f| f as usize) == other.ReferenceInstances.map(|f| f as usize)
11219             && self.EnableIndications.map(|f| f as usize) == other.EnableIndications.map(|f| f as usize)
11220             && self.DisableIndications.map(|f| f as usize) == other.DisableIndications.map(|f| f as usize)
11221             && self.Subscribe.map(|f| f as usize) == other.Subscribe.map(|f| f as usize)
11222             && self.Unsubscribe.map(|f| f as usize) == other.Unsubscribe.map(|f| f as usize)
11223             && self.Invoke.map(|f| f as usize) == other.Invoke.map(|f| f as usize)
11224     }
11225 }
11226 impl ::std::cmp::Eq for MI_ProviderFT {}
11227 unsafe impl ::windows::runtime::Abi for MI_ProviderFT {
11228     type Abi = ::std::mem::ManuallyDrop<Self>;
11229     type DefaultType = Self;
11230 }
11231 pub type MI_ProviderFT_AssociatorInstances = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, instancename: *const MI_Instance, resultclass: *const u16, role: *const u16, resultrole: *const u16, propertyset: *const MI_PropertySet, keysonly: u8, filter: *const MI_Filter);
11232 pub type MI_ProviderFT_CreateInstance = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, newinstance: *const MI_Instance);
11233 pub type MI_ProviderFT_DeleteInstance = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, instancename: *const MI_Instance);
11234 pub type MI_ProviderFT_DisableIndications = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, indicationscontext: *const MI_Context, namespace: *const u16, classname: *const u16);
11235 pub type MI_ProviderFT_EnableIndications = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, indicationscontext: *const MI_Context, namespace: *const u16, classname: *const u16);
11236 pub type MI_ProviderFT_EnumerateInstances = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, propertyset: *const MI_PropertySet, keysonly: u8, filter: *const MI_Filter);
11237 pub type MI_ProviderFT_GetInstance = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, instancename: *const MI_Instance, propertyset: *const MI_PropertySet);
11238 pub type MI_ProviderFT_Invoke = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, methodname: *const u16, instancename: *const MI_Instance, inputparameters: *const MI_Instance);
11239 pub type MI_ProviderFT_Load = unsafe extern "system" fn(self_: *mut *mut ::std::ffi::c_void, selfmodule: *const MI_Module_Self, context: *const MI_Context);
11240 pub type MI_ProviderFT_ModifyInstance = unsafe extern "system" fn(self_: *mut ::std::ffi::c_void, context: *mut MI_Context, namespace: *const u16, classname: *const u16, modifiedinstance: *const MI_Instance, propertyset: *const MI_PropertySet);
11241 pub type MI_ProviderFT_ReferenceInstances = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, instancename: *const MI_Instance, role: *const u16, propertyset: *const MI_PropertySet, keysonly: u8, filter: *const MI_Filter);
11242 pub type MI_ProviderFT_Subscribe = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, filter: *const MI_Filter, bookmark: *const u16, subscriptionid: u64, subscriptionself: *mut *mut ::std::ffi::c_void);
11243 pub type MI_ProviderFT_Unload = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context);
11244 pub type MI_ProviderFT_Unsubscribe = unsafe extern "system" fn(self_: *const ::std::ffi::c_void, context: *const MI_Context, namespace: *const u16, classname: *const u16, subscriptionid: u64, subscriptionself: *const ::std::ffi::c_void);
11245 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11246 #[repr(C)]
11247 pub struct MI_Qualifier {
11248     pub name: *mut u16,
11249     pub r#type: u32,
11250     pub flavor: u32,
11251     pub value: *mut ::std::ffi::c_void,
11252 }
11253 impl MI_Qualifier {}
11254 impl ::std::default::Default for MI_Qualifier {
default() -> Self11255     fn default() -> Self {
11256         unsafe { ::std::mem::zeroed() }
11257     }
11258 }
11259 impl ::std::fmt::Debug for MI_Qualifier {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11260     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11261         fmt.debug_struct("MI_Qualifier").field("name", &self.name).field("r#type", &self.r#type).field("flavor", &self.flavor).field("value", &self.value).finish()
11262     }
11263 }
11264 impl ::std::cmp::PartialEq for MI_Qualifier {
eq(&self, other: &Self) -> bool11265     fn eq(&self, other: &Self) -> bool {
11266         self.name == other.name && self.r#type == other.r#type && self.flavor == other.flavor && self.value == other.value
11267     }
11268 }
11269 impl ::std::cmp::Eq for MI_Qualifier {}
11270 unsafe impl ::windows::runtime::Abi for MI_Qualifier {
11271     type Abi = Self;
11272     type DefaultType = Self;
11273 }
11274 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11275 #[repr(C)]
11276 pub struct MI_QualifierDecl {
11277     pub name: *mut u16,
11278     pub r#type: u32,
11279     pub scope: u32,
11280     pub flavor: u32,
11281     pub subscript: u32,
11282     pub value: *mut ::std::ffi::c_void,
11283 }
11284 impl MI_QualifierDecl {}
11285 impl ::std::default::Default for MI_QualifierDecl {
default() -> Self11286     fn default() -> Self {
11287         unsafe { ::std::mem::zeroed() }
11288     }
11289 }
11290 impl ::std::fmt::Debug for MI_QualifierDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11291     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11292         fmt.debug_struct("MI_QualifierDecl").field("name", &self.name).field("r#type", &self.r#type).field("scope", &self.scope).field("flavor", &self.flavor).field("subscript", &self.subscript).field("value", &self.value).finish()
11293     }
11294 }
11295 impl ::std::cmp::PartialEq for MI_QualifierDecl {
eq(&self, other: &Self) -> bool11296     fn eq(&self, other: &Self) -> bool {
11297         self.name == other.name && self.r#type == other.r#type && self.scope == other.scope && self.flavor == other.flavor && self.subscript == other.subscript && self.value == other.value
11298     }
11299 }
11300 impl ::std::cmp::Eq for MI_QualifierDecl {}
11301 unsafe impl ::windows::runtime::Abi for MI_QualifierDecl {
11302     type Abi = Self;
11303     type DefaultType = Self;
11304 }
11305 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11306 #[repr(C)]
11307 pub struct MI_QualifierSet {
11308     pub reserved1: u64,
11309     pub reserved2: isize,
11310     pub ft: *mut MI_QualifierSetFT,
11311 }
11312 impl MI_QualifierSet {}
11313 impl ::std::default::Default for MI_QualifierSet {
default() -> Self11314     fn default() -> Self {
11315         unsafe { ::std::mem::zeroed() }
11316     }
11317 }
11318 impl ::std::fmt::Debug for MI_QualifierSet {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11319     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11320         fmt.debug_struct("MI_QualifierSet").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
11321     }
11322 }
11323 impl ::std::cmp::PartialEq for MI_QualifierSet {
eq(&self, other: &Self) -> bool11324     fn eq(&self, other: &Self) -> bool {
11325         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
11326     }
11327 }
11328 impl ::std::cmp::Eq for MI_QualifierSet {}
11329 unsafe impl ::windows::runtime::Abi for MI_QualifierSet {
11330     type Abi = Self;
11331     type DefaultType = Self;
11332 }
11333 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11334 #[repr(C)]
11335 pub struct MI_QualifierSetFT {
11336     pub GetQualifierCount: isize,
11337     pub GetQualifierAt: isize,
11338     pub GetQualifier: isize,
11339 }
11340 impl MI_QualifierSetFT {}
11341 impl ::std::default::Default for MI_QualifierSetFT {
default() -> Self11342     fn default() -> Self {
11343         unsafe { ::std::mem::zeroed() }
11344     }
11345 }
11346 impl ::std::fmt::Debug for MI_QualifierSetFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11347     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11348         fmt.debug_struct("MI_QualifierSetFT").field("GetQualifierCount", &self.GetQualifierCount).field("GetQualifierAt", &self.GetQualifierAt).field("GetQualifier", &self.GetQualifier).finish()
11349     }
11350 }
11351 impl ::std::cmp::PartialEq for MI_QualifierSetFT {
eq(&self, other: &Self) -> bool11352     fn eq(&self, other: &Self) -> bool {
11353         self.GetQualifierCount == other.GetQualifierCount && self.GetQualifierAt == other.GetQualifierAt && self.GetQualifier == other.GetQualifier
11354     }
11355 }
11356 impl ::std::cmp::Eq for MI_QualifierSetFT {}
11357 unsafe impl ::windows::runtime::Abi for MI_QualifierSetFT {
11358     type Abi = Self;
11359     type DefaultType = Self;
11360 }
11361 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11362 #[repr(C)]
11363 pub struct MI_Real32A {
11364     pub data: *mut f32,
11365     pub size: u32,
11366 }
11367 impl MI_Real32A {}
11368 impl ::std::default::Default for MI_Real32A {
default() -> Self11369     fn default() -> Self {
11370         unsafe { ::std::mem::zeroed() }
11371     }
11372 }
11373 impl ::std::fmt::Debug for MI_Real32A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11374     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11375         fmt.debug_struct("MI_Real32A").field("data", &self.data).field("size", &self.size).finish()
11376     }
11377 }
11378 impl ::std::cmp::PartialEq for MI_Real32A {
eq(&self, other: &Self) -> bool11379     fn eq(&self, other: &Self) -> bool {
11380         self.data == other.data && self.size == other.size
11381     }
11382 }
11383 impl ::std::cmp::Eq for MI_Real32A {}
11384 unsafe impl ::windows::runtime::Abi for MI_Real32A {
11385     type Abi = Self;
11386     type DefaultType = Self;
11387 }
11388 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11389 #[repr(C)]
11390 pub struct MI_Real32AField {
11391     pub value: MI_Real32A,
11392     pub exists: u8,
11393     pub flags: u8,
11394 }
11395 impl MI_Real32AField {}
11396 impl ::std::default::Default for MI_Real32AField {
default() -> Self11397     fn default() -> Self {
11398         unsafe { ::std::mem::zeroed() }
11399     }
11400 }
11401 impl ::std::fmt::Debug for MI_Real32AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11402     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11403         fmt.debug_struct("MI_Real32AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11404     }
11405 }
11406 impl ::std::cmp::PartialEq for MI_Real32AField {
eq(&self, other: &Self) -> bool11407     fn eq(&self, other: &Self) -> bool {
11408         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11409     }
11410 }
11411 impl ::std::cmp::Eq for MI_Real32AField {}
11412 unsafe impl ::windows::runtime::Abi for MI_Real32AField {
11413     type Abi = Self;
11414     type DefaultType = Self;
11415 }
11416 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11417 #[repr(C)]
11418 pub struct MI_Real32Field {
11419     pub value: f32,
11420     pub exists: u8,
11421     pub flags: u8,
11422 }
11423 impl MI_Real32Field {}
11424 impl ::std::default::Default for MI_Real32Field {
default() -> Self11425     fn default() -> Self {
11426         unsafe { ::std::mem::zeroed() }
11427     }
11428 }
11429 impl ::std::fmt::Debug for MI_Real32Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11430     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11431         fmt.debug_struct("MI_Real32Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11432     }
11433 }
11434 impl ::std::cmp::PartialEq for MI_Real32Field {
eq(&self, other: &Self) -> bool11435     fn eq(&self, other: &Self) -> bool {
11436         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11437     }
11438 }
11439 impl ::std::cmp::Eq for MI_Real32Field {}
11440 unsafe impl ::windows::runtime::Abi for MI_Real32Field {
11441     type Abi = Self;
11442     type DefaultType = Self;
11443 }
11444 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11445 #[repr(C)]
11446 pub struct MI_Real64A {
11447     pub data: *mut f64,
11448     pub size: u32,
11449 }
11450 impl MI_Real64A {}
11451 impl ::std::default::Default for MI_Real64A {
default() -> Self11452     fn default() -> Self {
11453         unsafe { ::std::mem::zeroed() }
11454     }
11455 }
11456 impl ::std::fmt::Debug for MI_Real64A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11457     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11458         fmt.debug_struct("MI_Real64A").field("data", &self.data).field("size", &self.size).finish()
11459     }
11460 }
11461 impl ::std::cmp::PartialEq for MI_Real64A {
eq(&self, other: &Self) -> bool11462     fn eq(&self, other: &Self) -> bool {
11463         self.data == other.data && self.size == other.size
11464     }
11465 }
11466 impl ::std::cmp::Eq for MI_Real64A {}
11467 unsafe impl ::windows::runtime::Abi for MI_Real64A {
11468     type Abi = Self;
11469     type DefaultType = Self;
11470 }
11471 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11472 #[repr(C)]
11473 pub struct MI_Real64AField {
11474     pub value: MI_Real64A,
11475     pub exists: u8,
11476     pub flags: u8,
11477 }
11478 impl MI_Real64AField {}
11479 impl ::std::default::Default for MI_Real64AField {
default() -> Self11480     fn default() -> Self {
11481         unsafe { ::std::mem::zeroed() }
11482     }
11483 }
11484 impl ::std::fmt::Debug for MI_Real64AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11485     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11486         fmt.debug_struct("MI_Real64AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11487     }
11488 }
11489 impl ::std::cmp::PartialEq for MI_Real64AField {
eq(&self, other: &Self) -> bool11490     fn eq(&self, other: &Self) -> bool {
11491         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11492     }
11493 }
11494 impl ::std::cmp::Eq for MI_Real64AField {}
11495 unsafe impl ::windows::runtime::Abi for MI_Real64AField {
11496     type Abi = Self;
11497     type DefaultType = Self;
11498 }
11499 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11500 #[repr(C)]
11501 pub struct MI_Real64Field {
11502     pub value: f64,
11503     pub exists: u8,
11504     pub flags: u8,
11505 }
11506 impl MI_Real64Field {}
11507 impl ::std::default::Default for MI_Real64Field {
default() -> Self11508     fn default() -> Self {
11509         unsafe { ::std::mem::zeroed() }
11510     }
11511 }
11512 impl ::std::fmt::Debug for MI_Real64Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11513     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11514         fmt.debug_struct("MI_Real64Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11515     }
11516 }
11517 impl ::std::cmp::PartialEq for MI_Real64Field {
eq(&self, other: &Self) -> bool11518     fn eq(&self, other: &Self) -> bool {
11519         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11520     }
11521 }
11522 impl ::std::cmp::Eq for MI_Real64Field {}
11523 unsafe impl ::windows::runtime::Abi for MI_Real64Field {
11524     type Abi = Self;
11525     type DefaultType = Self;
11526 }
11527 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11528 #[repr(C)]
11529 pub struct MI_ReferenceA {
11530     pub data: *mut *mut MI_Instance,
11531     pub size: u32,
11532 }
11533 impl MI_ReferenceA {}
11534 impl ::std::default::Default for MI_ReferenceA {
default() -> Self11535     fn default() -> Self {
11536         unsafe { ::std::mem::zeroed() }
11537     }
11538 }
11539 impl ::std::fmt::Debug for MI_ReferenceA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11540     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11541         fmt.debug_struct("MI_ReferenceA").field("data", &self.data).field("size", &self.size).finish()
11542     }
11543 }
11544 impl ::std::cmp::PartialEq for MI_ReferenceA {
eq(&self, other: &Self) -> bool11545     fn eq(&self, other: &Self) -> bool {
11546         self.data == other.data && self.size == other.size
11547     }
11548 }
11549 impl ::std::cmp::Eq for MI_ReferenceA {}
11550 unsafe impl ::windows::runtime::Abi for MI_ReferenceA {
11551     type Abi = Self;
11552     type DefaultType = Self;
11553 }
11554 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11555 #[repr(C)]
11556 pub struct MI_ReferenceAField {
11557     pub value: MI_ReferenceA,
11558     pub exists: u8,
11559     pub flags: u8,
11560 }
11561 impl MI_ReferenceAField {}
11562 impl ::std::default::Default for MI_ReferenceAField {
default() -> Self11563     fn default() -> Self {
11564         unsafe { ::std::mem::zeroed() }
11565     }
11566 }
11567 impl ::std::fmt::Debug for MI_ReferenceAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11568     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11569         fmt.debug_struct("MI_ReferenceAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11570     }
11571 }
11572 impl ::std::cmp::PartialEq for MI_ReferenceAField {
eq(&self, other: &Self) -> bool11573     fn eq(&self, other: &Self) -> bool {
11574         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11575     }
11576 }
11577 impl ::std::cmp::Eq for MI_ReferenceAField {}
11578 unsafe impl ::windows::runtime::Abi for MI_ReferenceAField {
11579     type Abi = Self;
11580     type DefaultType = Self;
11581 }
11582 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11583 #[repr(C)]
11584 pub struct MI_ReferenceField {
11585     pub value: *mut MI_Instance,
11586     pub exists: u8,
11587     pub flags: u8,
11588 }
11589 impl MI_ReferenceField {}
11590 impl ::std::default::Default for MI_ReferenceField {
default() -> Self11591     fn default() -> Self {
11592         unsafe { ::std::mem::zeroed() }
11593     }
11594 }
11595 impl ::std::fmt::Debug for MI_ReferenceField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11596     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11597         fmt.debug_struct("MI_ReferenceField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11598     }
11599 }
11600 impl ::std::cmp::PartialEq for MI_ReferenceField {
eq(&self, other: &Self) -> bool11601     fn eq(&self, other: &Self) -> bool {
11602         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11603     }
11604 }
11605 impl ::std::cmp::Eq for MI_ReferenceField {}
11606 unsafe impl ::windows::runtime::Abi for MI_ReferenceField {
11607     type Abi = Self;
11608     type DefaultType = Self;
11609 }
11610 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11611 #[repr(transparent)]
11612 pub struct MI_Result(pub i32);
11613 pub const MI_RESULT_OK: MI_Result = MI_Result(0i32);
11614 pub const MI_RESULT_FAILED: MI_Result = MI_Result(1i32);
11615 pub const MI_RESULT_ACCESS_DENIED: MI_Result = MI_Result(2i32);
11616 pub const MI_RESULT_INVALID_NAMESPACE: MI_Result = MI_Result(3i32);
11617 pub const MI_RESULT_INVALID_PARAMETER: MI_Result = MI_Result(4i32);
11618 pub const MI_RESULT_INVALID_CLASS: MI_Result = MI_Result(5i32);
11619 pub const MI_RESULT_NOT_FOUND: MI_Result = MI_Result(6i32);
11620 pub const MI_RESULT_NOT_SUPPORTED: MI_Result = MI_Result(7i32);
11621 pub const MI_RESULT_CLASS_HAS_CHILDREN: MI_Result = MI_Result(8i32);
11622 pub const MI_RESULT_CLASS_HAS_INSTANCES: MI_Result = MI_Result(9i32);
11623 pub const MI_RESULT_INVALID_SUPERCLASS: MI_Result = MI_Result(10i32);
11624 pub const MI_RESULT_ALREADY_EXISTS: MI_Result = MI_Result(11i32);
11625 pub const MI_RESULT_NO_SUCH_PROPERTY: MI_Result = MI_Result(12i32);
11626 pub const MI_RESULT_TYPE_MISMATCH: MI_Result = MI_Result(13i32);
11627 pub const MI_RESULT_QUERY_LANGUAGE_NOT_SUPPORTED: MI_Result = MI_Result(14i32);
11628 pub const MI_RESULT_INVALID_QUERY: MI_Result = MI_Result(15i32);
11629 pub const MI_RESULT_METHOD_NOT_AVAILABLE: MI_Result = MI_Result(16i32);
11630 pub const MI_RESULT_METHOD_NOT_FOUND: MI_Result = MI_Result(17i32);
11631 pub const MI_RESULT_NAMESPACE_NOT_EMPTY: MI_Result = MI_Result(20i32);
11632 pub const MI_RESULT_INVALID_ENUMERATION_CONTEXT: MI_Result = MI_Result(21i32);
11633 pub const MI_RESULT_INVALID_OPERATION_TIMEOUT: MI_Result = MI_Result(22i32);
11634 pub const MI_RESULT_PULL_HAS_BEEN_ABANDONED: MI_Result = MI_Result(23i32);
11635 pub const MI_RESULT_PULL_CANNOT_BE_ABANDONED: MI_Result = MI_Result(24i32);
11636 pub const MI_RESULT_FILTERED_ENUMERATION_NOT_SUPPORTED: MI_Result = MI_Result(25i32);
11637 pub const MI_RESULT_CONTINUATION_ON_ERROR_NOT_SUPPORTED: MI_Result = MI_Result(26i32);
11638 pub const MI_RESULT_SERVER_LIMITS_EXCEEDED: MI_Result = MI_Result(27i32);
11639 pub const MI_RESULT_SERVER_IS_SHUTTING_DOWN: MI_Result = MI_Result(28i32);
11640 impl ::std::convert::From<i32> for MI_Result {
from(value: i32) -> Self11641     fn from(value: i32) -> Self {
11642         Self(value)
11643     }
11644 }
11645 unsafe impl ::windows::runtime::Abi for MI_Result {
11646     type Abi = Self;
11647     type DefaultType = Self;
11648 }
11649 pub const MI_SERIALIZER_FLAGS_CLASS_DEEP: u32 = 1u32;
11650 pub const MI_SERIALIZER_FLAGS_INSTANCE_WITH_CLASS: u32 = 1u32;
11651 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11652 #[repr(C)]
11653 pub struct MI_SchemaDecl {
11654     pub qualifierDecls: *mut *mut MI_QualifierDecl,
11655     pub numQualifierDecls: u32,
11656     pub classDecls: *mut *mut MI_ClassDecl,
11657     pub numClassDecls: u32,
11658 }
11659 impl MI_SchemaDecl {}
11660 impl ::std::default::Default for MI_SchemaDecl {
default() -> Self11661     fn default() -> Self {
11662         unsafe { ::std::mem::zeroed() }
11663     }
11664 }
11665 impl ::std::fmt::Debug for MI_SchemaDecl {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11666     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11667         fmt.debug_struct("MI_SchemaDecl").field("qualifierDecls", &self.qualifierDecls).field("numQualifierDecls", &self.numQualifierDecls).field("classDecls", &self.classDecls).field("numClassDecls", &self.numClassDecls).finish()
11668     }
11669 }
11670 impl ::std::cmp::PartialEq for MI_SchemaDecl {
eq(&self, other: &Self) -> bool11671     fn eq(&self, other: &Self) -> bool {
11672         self.qualifierDecls == other.qualifierDecls && self.numQualifierDecls == other.numQualifierDecls && self.classDecls == other.classDecls && self.numClassDecls == other.numClassDecls
11673     }
11674 }
11675 impl ::std::cmp::Eq for MI_SchemaDecl {}
11676 unsafe impl ::windows::runtime::Abi for MI_SchemaDecl {
11677     type Abi = Self;
11678     type DefaultType = Self;
11679 }
11680 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11681 #[repr(C)]
11682 pub struct MI_Serializer {
11683     pub reserved1: u64,
11684     pub reserved2: isize,
11685 }
11686 impl MI_Serializer {}
11687 impl ::std::default::Default for MI_Serializer {
default() -> Self11688     fn default() -> Self {
11689         unsafe { ::std::mem::zeroed() }
11690     }
11691 }
11692 impl ::std::fmt::Debug for MI_Serializer {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11693     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11694         fmt.debug_struct("MI_Serializer").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).finish()
11695     }
11696 }
11697 impl ::std::cmp::PartialEq for MI_Serializer {
eq(&self, other: &Self) -> bool11698     fn eq(&self, other: &Self) -> bool {
11699         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2
11700     }
11701 }
11702 impl ::std::cmp::Eq for MI_Serializer {}
11703 unsafe impl ::windows::runtime::Abi for MI_Serializer {
11704     type Abi = Self;
11705     type DefaultType = Self;
11706 }
11707 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11708 #[repr(C)]
11709 pub struct MI_SerializerFT {
11710     pub Close: isize,
11711     pub SerializeClass: isize,
11712     pub SerializeInstance: isize,
11713 }
11714 impl MI_SerializerFT {}
11715 impl ::std::default::Default for MI_SerializerFT {
default() -> Self11716     fn default() -> Self {
11717         unsafe { ::std::mem::zeroed() }
11718     }
11719 }
11720 impl ::std::fmt::Debug for MI_SerializerFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11721     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11722         fmt.debug_struct("MI_SerializerFT").field("Close", &self.Close).field("SerializeClass", &self.SerializeClass).field("SerializeInstance", &self.SerializeInstance).finish()
11723     }
11724 }
11725 impl ::std::cmp::PartialEq for MI_SerializerFT {
eq(&self, other: &Self) -> bool11726     fn eq(&self, other: &Self) -> bool {
11727         self.Close == other.Close && self.SerializeClass == other.SerializeClass && self.SerializeInstance == other.SerializeInstance
11728     }
11729 }
11730 impl ::std::cmp::Eq for MI_SerializerFT {}
11731 unsafe impl ::windows::runtime::Abi for MI_SerializerFT {
11732     type Abi = Self;
11733     type DefaultType = Self;
11734 }
11735 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11736 #[repr(C)]
11737 pub struct MI_Server {
11738     pub serverFT: *mut MI_ServerFT,
11739     pub contextFT: *mut MI_ContextFT,
11740     pub instanceFT: *mut MI_InstanceFT,
11741     pub propertySetFT: *mut MI_PropertySetFT,
11742     pub filterFT: *mut MI_FilterFT,
11743 }
11744 impl MI_Server {}
11745 impl ::std::default::Default for MI_Server {
default() -> Self11746     fn default() -> Self {
11747         unsafe { ::std::mem::zeroed() }
11748     }
11749 }
11750 impl ::std::fmt::Debug for MI_Server {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11751     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11752         fmt.debug_struct("MI_Server").field("serverFT", &self.serverFT).field("contextFT", &self.contextFT).field("instanceFT", &self.instanceFT).field("propertySetFT", &self.propertySetFT).field("filterFT", &self.filterFT).finish()
11753     }
11754 }
11755 impl ::std::cmp::PartialEq for MI_Server {
eq(&self, other: &Self) -> bool11756     fn eq(&self, other: &Self) -> bool {
11757         self.serverFT == other.serverFT && self.contextFT == other.contextFT && self.instanceFT == other.instanceFT && self.propertySetFT == other.propertySetFT && self.filterFT == other.filterFT
11758     }
11759 }
11760 impl ::std::cmp::Eq for MI_Server {}
11761 unsafe impl ::windows::runtime::Abi for MI_Server {
11762     type Abi = Self;
11763     type DefaultType = Self;
11764 }
11765 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11766 #[repr(C)]
11767 pub struct MI_ServerFT {
11768     pub GetVersion: isize,
11769     pub GetSystemName: isize,
11770 }
11771 impl MI_ServerFT {}
11772 impl ::std::default::Default for MI_ServerFT {
default() -> Self11773     fn default() -> Self {
11774         unsafe { ::std::mem::zeroed() }
11775     }
11776 }
11777 impl ::std::fmt::Debug for MI_ServerFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11778     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11779         fmt.debug_struct("MI_ServerFT").field("GetVersion", &self.GetVersion).field("GetSystemName", &self.GetSystemName).finish()
11780     }
11781 }
11782 impl ::std::cmp::PartialEq for MI_ServerFT {
eq(&self, other: &Self) -> bool11783     fn eq(&self, other: &Self) -> bool {
11784         self.GetVersion == other.GetVersion && self.GetSystemName == other.GetSystemName
11785     }
11786 }
11787 impl ::std::cmp::Eq for MI_ServerFT {}
11788 unsafe impl ::windows::runtime::Abi for MI_ServerFT {
11789     type Abi = Self;
11790     type DefaultType = Self;
11791 }
11792 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11793 #[repr(C)]
11794 pub struct MI_Session {
11795     pub reserved1: u64,
11796     pub reserved2: isize,
11797     pub ft: *mut MI_SessionFT,
11798 }
11799 impl MI_Session {}
11800 impl ::std::default::Default for MI_Session {
default() -> Self11801     fn default() -> Self {
11802         unsafe { ::std::mem::zeroed() }
11803     }
11804 }
11805 impl ::std::fmt::Debug for MI_Session {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11806     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11807         fmt.debug_struct("MI_Session").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
11808     }
11809 }
11810 impl ::std::cmp::PartialEq for MI_Session {
eq(&self, other: &Self) -> bool11811     fn eq(&self, other: &Self) -> bool {
11812         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
11813     }
11814 }
11815 impl ::std::cmp::Eq for MI_Session {}
11816 unsafe impl ::windows::runtime::Abi for MI_Session {
11817     type Abi = Self;
11818     type DefaultType = Self;
11819 }
11820 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11821 #[repr(C)]
11822 pub struct MI_SessionCallbacks {
11823     pub callbackContext: *mut ::std::ffi::c_void,
11824     pub writeMessage: isize,
11825     pub writeError: isize,
11826 }
11827 impl MI_SessionCallbacks {}
11828 impl ::std::default::Default for MI_SessionCallbacks {
default() -> Self11829     fn default() -> Self {
11830         unsafe { ::std::mem::zeroed() }
11831     }
11832 }
11833 impl ::std::fmt::Debug for MI_SessionCallbacks {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11834     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11835         fmt.debug_struct("MI_SessionCallbacks").field("callbackContext", &self.callbackContext).field("writeMessage", &self.writeMessage).field("writeError", &self.writeError).finish()
11836     }
11837 }
11838 impl ::std::cmp::PartialEq for MI_SessionCallbacks {
eq(&self, other: &Self) -> bool11839     fn eq(&self, other: &Self) -> bool {
11840         self.callbackContext == other.callbackContext && self.writeMessage == other.writeMessage && self.writeError == other.writeError
11841     }
11842 }
11843 impl ::std::cmp::Eq for MI_SessionCallbacks {}
11844 unsafe impl ::windows::runtime::Abi for MI_SessionCallbacks {
11845     type Abi = Self;
11846     type DefaultType = Self;
11847 }
11848 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11849 #[repr(C)]
11850 pub struct MI_SessionFT {
11851     pub Close: isize,
11852     pub GetApplication: isize,
11853     pub GetInstance: isize,
11854     pub ModifyInstance: isize,
11855     pub CreateInstance: isize,
11856     pub DeleteInstance: isize,
11857     pub Invoke: isize,
11858     pub EnumerateInstances: isize,
11859     pub QueryInstances: isize,
11860     pub AssociatorInstances: isize,
11861     pub ReferenceInstances: isize,
11862     pub Subscribe: isize,
11863     pub GetClass: isize,
11864     pub EnumerateClasses: isize,
11865     pub TestConnection: isize,
11866 }
11867 impl MI_SessionFT {}
11868 impl ::std::default::Default for MI_SessionFT {
default() -> Self11869     fn default() -> Self {
11870         unsafe { ::std::mem::zeroed() }
11871     }
11872 }
11873 impl ::std::fmt::Debug for MI_SessionFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11874     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11875         fmt.debug_struct("MI_SessionFT")
11876             .field("Close", &self.Close)
11877             .field("GetApplication", &self.GetApplication)
11878             .field("GetInstance", &self.GetInstance)
11879             .field("ModifyInstance", &self.ModifyInstance)
11880             .field("CreateInstance", &self.CreateInstance)
11881             .field("DeleteInstance", &self.DeleteInstance)
11882             .field("Invoke", &self.Invoke)
11883             .field("EnumerateInstances", &self.EnumerateInstances)
11884             .field("QueryInstances", &self.QueryInstances)
11885             .field("AssociatorInstances", &self.AssociatorInstances)
11886             .field("ReferenceInstances", &self.ReferenceInstances)
11887             .field("Subscribe", &self.Subscribe)
11888             .field("GetClass", &self.GetClass)
11889             .field("EnumerateClasses", &self.EnumerateClasses)
11890             .field("TestConnection", &self.TestConnection)
11891             .finish()
11892     }
11893 }
11894 impl ::std::cmp::PartialEq for MI_SessionFT {
eq(&self, other: &Self) -> bool11895     fn eq(&self, other: &Self) -> bool {
11896         self.Close == other.Close
11897             && self.GetApplication == other.GetApplication
11898             && self.GetInstance == other.GetInstance
11899             && self.ModifyInstance == other.ModifyInstance
11900             && self.CreateInstance == other.CreateInstance
11901             && self.DeleteInstance == other.DeleteInstance
11902             && self.Invoke == other.Invoke
11903             && self.EnumerateInstances == other.EnumerateInstances
11904             && self.QueryInstances == other.QueryInstances
11905             && self.AssociatorInstances == other.AssociatorInstances
11906             && self.ReferenceInstances == other.ReferenceInstances
11907             && self.Subscribe == other.Subscribe
11908             && self.GetClass == other.GetClass
11909             && self.EnumerateClasses == other.EnumerateClasses
11910             && self.TestConnection == other.TestConnection
11911     }
11912 }
11913 impl ::std::cmp::Eq for MI_SessionFT {}
11914 unsafe impl ::windows::runtime::Abi for MI_SessionFT {
11915     type Abi = Self;
11916     type DefaultType = Self;
11917 }
11918 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11919 #[repr(C)]
11920 pub struct MI_Sint16A {
11921     pub data: *mut i16,
11922     pub size: u32,
11923 }
11924 impl MI_Sint16A {}
11925 impl ::std::default::Default for MI_Sint16A {
default() -> Self11926     fn default() -> Self {
11927         unsafe { ::std::mem::zeroed() }
11928     }
11929 }
11930 impl ::std::fmt::Debug for MI_Sint16A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11931     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11932         fmt.debug_struct("MI_Sint16A").field("data", &self.data).field("size", &self.size).finish()
11933     }
11934 }
11935 impl ::std::cmp::PartialEq for MI_Sint16A {
eq(&self, other: &Self) -> bool11936     fn eq(&self, other: &Self) -> bool {
11937         self.data == other.data && self.size == other.size
11938     }
11939 }
11940 impl ::std::cmp::Eq for MI_Sint16A {}
11941 unsafe impl ::windows::runtime::Abi for MI_Sint16A {
11942     type Abi = Self;
11943     type DefaultType = Self;
11944 }
11945 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11946 #[repr(C)]
11947 pub struct MI_Sint16AField {
11948     pub value: MI_Sint16A,
11949     pub exists: u8,
11950     pub flags: u8,
11951 }
11952 impl MI_Sint16AField {}
11953 impl ::std::default::Default for MI_Sint16AField {
default() -> Self11954     fn default() -> Self {
11955         unsafe { ::std::mem::zeroed() }
11956     }
11957 }
11958 impl ::std::fmt::Debug for MI_Sint16AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11959     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11960         fmt.debug_struct("MI_Sint16AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11961     }
11962 }
11963 impl ::std::cmp::PartialEq for MI_Sint16AField {
eq(&self, other: &Self) -> bool11964     fn eq(&self, other: &Self) -> bool {
11965         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11966     }
11967 }
11968 impl ::std::cmp::Eq for MI_Sint16AField {}
11969 unsafe impl ::windows::runtime::Abi for MI_Sint16AField {
11970     type Abi = Self;
11971     type DefaultType = Self;
11972 }
11973 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11974 #[repr(C)]
11975 pub struct MI_Sint16Field {
11976     pub value: i16,
11977     pub exists: u8,
11978     pub flags: u8,
11979 }
11980 impl MI_Sint16Field {}
11981 impl ::std::default::Default for MI_Sint16Field {
default() -> Self11982     fn default() -> Self {
11983         unsafe { ::std::mem::zeroed() }
11984     }
11985 }
11986 impl ::std::fmt::Debug for MI_Sint16Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11987     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11988         fmt.debug_struct("MI_Sint16Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
11989     }
11990 }
11991 impl ::std::cmp::PartialEq for MI_Sint16Field {
eq(&self, other: &Self) -> bool11992     fn eq(&self, other: &Self) -> bool {
11993         self.value == other.value && self.exists == other.exists && self.flags == other.flags
11994     }
11995 }
11996 impl ::std::cmp::Eq for MI_Sint16Field {}
11997 unsafe impl ::windows::runtime::Abi for MI_Sint16Field {
11998     type Abi = Self;
11999     type DefaultType = Self;
12000 }
12001 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12002 #[repr(C)]
12003 pub struct MI_Sint32A {
12004     pub data: *mut i32,
12005     pub size: u32,
12006 }
12007 impl MI_Sint32A {}
12008 impl ::std::default::Default for MI_Sint32A {
default() -> Self12009     fn default() -> Self {
12010         unsafe { ::std::mem::zeroed() }
12011     }
12012 }
12013 impl ::std::fmt::Debug for MI_Sint32A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12014     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12015         fmt.debug_struct("MI_Sint32A").field("data", &self.data).field("size", &self.size).finish()
12016     }
12017 }
12018 impl ::std::cmp::PartialEq for MI_Sint32A {
eq(&self, other: &Self) -> bool12019     fn eq(&self, other: &Self) -> bool {
12020         self.data == other.data && self.size == other.size
12021     }
12022 }
12023 impl ::std::cmp::Eq for MI_Sint32A {}
12024 unsafe impl ::windows::runtime::Abi for MI_Sint32A {
12025     type Abi = Self;
12026     type DefaultType = Self;
12027 }
12028 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12029 #[repr(C)]
12030 pub struct MI_Sint32AField {
12031     pub value: MI_Sint32A,
12032     pub exists: u8,
12033     pub flags: u8,
12034 }
12035 impl MI_Sint32AField {}
12036 impl ::std::default::Default for MI_Sint32AField {
default() -> Self12037     fn default() -> Self {
12038         unsafe { ::std::mem::zeroed() }
12039     }
12040 }
12041 impl ::std::fmt::Debug for MI_Sint32AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12042     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12043         fmt.debug_struct("MI_Sint32AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12044     }
12045 }
12046 impl ::std::cmp::PartialEq for MI_Sint32AField {
eq(&self, other: &Self) -> bool12047     fn eq(&self, other: &Self) -> bool {
12048         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12049     }
12050 }
12051 impl ::std::cmp::Eq for MI_Sint32AField {}
12052 unsafe impl ::windows::runtime::Abi for MI_Sint32AField {
12053     type Abi = Self;
12054     type DefaultType = Self;
12055 }
12056 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12057 #[repr(C)]
12058 pub struct MI_Sint32Field {
12059     pub value: i32,
12060     pub exists: u8,
12061     pub flags: u8,
12062 }
12063 impl MI_Sint32Field {}
12064 impl ::std::default::Default for MI_Sint32Field {
default() -> Self12065     fn default() -> Self {
12066         unsafe { ::std::mem::zeroed() }
12067     }
12068 }
12069 impl ::std::fmt::Debug for MI_Sint32Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12070     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12071         fmt.debug_struct("MI_Sint32Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12072     }
12073 }
12074 impl ::std::cmp::PartialEq for MI_Sint32Field {
eq(&self, other: &Self) -> bool12075     fn eq(&self, other: &Self) -> bool {
12076         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12077     }
12078 }
12079 impl ::std::cmp::Eq for MI_Sint32Field {}
12080 unsafe impl ::windows::runtime::Abi for MI_Sint32Field {
12081     type Abi = Self;
12082     type DefaultType = Self;
12083 }
12084 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12085 #[repr(C)]
12086 pub struct MI_Sint64A {
12087     pub data: *mut i64,
12088     pub size: u32,
12089 }
12090 impl MI_Sint64A {}
12091 impl ::std::default::Default for MI_Sint64A {
default() -> Self12092     fn default() -> Self {
12093         unsafe { ::std::mem::zeroed() }
12094     }
12095 }
12096 impl ::std::fmt::Debug for MI_Sint64A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12097     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12098         fmt.debug_struct("MI_Sint64A").field("data", &self.data).field("size", &self.size).finish()
12099     }
12100 }
12101 impl ::std::cmp::PartialEq for MI_Sint64A {
eq(&self, other: &Self) -> bool12102     fn eq(&self, other: &Self) -> bool {
12103         self.data == other.data && self.size == other.size
12104     }
12105 }
12106 impl ::std::cmp::Eq for MI_Sint64A {}
12107 unsafe impl ::windows::runtime::Abi for MI_Sint64A {
12108     type Abi = Self;
12109     type DefaultType = Self;
12110 }
12111 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12112 #[repr(C)]
12113 pub struct MI_Sint64AField {
12114     pub value: MI_Sint64A,
12115     pub exists: u8,
12116     pub flags: u8,
12117 }
12118 impl MI_Sint64AField {}
12119 impl ::std::default::Default for MI_Sint64AField {
default() -> Self12120     fn default() -> Self {
12121         unsafe { ::std::mem::zeroed() }
12122     }
12123 }
12124 impl ::std::fmt::Debug for MI_Sint64AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12125     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12126         fmt.debug_struct("MI_Sint64AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12127     }
12128 }
12129 impl ::std::cmp::PartialEq for MI_Sint64AField {
eq(&self, other: &Self) -> bool12130     fn eq(&self, other: &Self) -> bool {
12131         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12132     }
12133 }
12134 impl ::std::cmp::Eq for MI_Sint64AField {}
12135 unsafe impl ::windows::runtime::Abi for MI_Sint64AField {
12136     type Abi = Self;
12137     type DefaultType = Self;
12138 }
12139 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12140 #[repr(C)]
12141 pub struct MI_Sint64Field {
12142     pub value: i64,
12143     pub exists: u8,
12144     pub flags: u8,
12145 }
12146 impl MI_Sint64Field {}
12147 impl ::std::default::Default for MI_Sint64Field {
default() -> Self12148     fn default() -> Self {
12149         unsafe { ::std::mem::zeroed() }
12150     }
12151 }
12152 impl ::std::fmt::Debug for MI_Sint64Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12153     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12154         fmt.debug_struct("MI_Sint64Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12155     }
12156 }
12157 impl ::std::cmp::PartialEq for MI_Sint64Field {
eq(&self, other: &Self) -> bool12158     fn eq(&self, other: &Self) -> bool {
12159         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12160     }
12161 }
12162 impl ::std::cmp::Eq for MI_Sint64Field {}
12163 unsafe impl ::windows::runtime::Abi for MI_Sint64Field {
12164     type Abi = Self;
12165     type DefaultType = Self;
12166 }
12167 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12168 #[repr(C)]
12169 pub struct MI_Sint8A {
12170     pub data: *mut i8,
12171     pub size: u32,
12172 }
12173 impl MI_Sint8A {}
12174 impl ::std::default::Default for MI_Sint8A {
default() -> Self12175     fn default() -> Self {
12176         unsafe { ::std::mem::zeroed() }
12177     }
12178 }
12179 impl ::std::fmt::Debug for MI_Sint8A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12180     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12181         fmt.debug_struct("MI_Sint8A").field("data", &self.data).field("size", &self.size).finish()
12182     }
12183 }
12184 impl ::std::cmp::PartialEq for MI_Sint8A {
eq(&self, other: &Self) -> bool12185     fn eq(&self, other: &Self) -> bool {
12186         self.data == other.data && self.size == other.size
12187     }
12188 }
12189 impl ::std::cmp::Eq for MI_Sint8A {}
12190 unsafe impl ::windows::runtime::Abi for MI_Sint8A {
12191     type Abi = Self;
12192     type DefaultType = Self;
12193 }
12194 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12195 #[repr(C)]
12196 pub struct MI_Sint8AField {
12197     pub value: MI_Sint8A,
12198     pub exists: u8,
12199     pub flags: u8,
12200 }
12201 impl MI_Sint8AField {}
12202 impl ::std::default::Default for MI_Sint8AField {
default() -> Self12203     fn default() -> Self {
12204         unsafe { ::std::mem::zeroed() }
12205     }
12206 }
12207 impl ::std::fmt::Debug for MI_Sint8AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12208     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12209         fmt.debug_struct("MI_Sint8AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12210     }
12211 }
12212 impl ::std::cmp::PartialEq for MI_Sint8AField {
eq(&self, other: &Self) -> bool12213     fn eq(&self, other: &Self) -> bool {
12214         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12215     }
12216 }
12217 impl ::std::cmp::Eq for MI_Sint8AField {}
12218 unsafe impl ::windows::runtime::Abi for MI_Sint8AField {
12219     type Abi = Self;
12220     type DefaultType = Self;
12221 }
12222 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12223 #[repr(C)]
12224 pub struct MI_Sint8Field {
12225     pub value: i8,
12226     pub exists: u8,
12227     pub flags: u8,
12228 }
12229 impl MI_Sint8Field {}
12230 impl ::std::default::Default for MI_Sint8Field {
default() -> Self12231     fn default() -> Self {
12232         unsafe { ::std::mem::zeroed() }
12233     }
12234 }
12235 impl ::std::fmt::Debug for MI_Sint8Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12236     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12237         fmt.debug_struct("MI_Sint8Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12238     }
12239 }
12240 impl ::std::cmp::PartialEq for MI_Sint8Field {
eq(&self, other: &Self) -> bool12241     fn eq(&self, other: &Self) -> bool {
12242         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12243     }
12244 }
12245 impl ::std::cmp::Eq for MI_Sint8Field {}
12246 unsafe impl ::windows::runtime::Abi for MI_Sint8Field {
12247     type Abi = Self;
12248     type DefaultType = Self;
12249 }
12250 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12251 #[repr(C)]
12252 pub struct MI_StringA {
12253     pub data: *mut *mut u16,
12254     pub size: u32,
12255 }
12256 impl MI_StringA {}
12257 impl ::std::default::Default for MI_StringA {
default() -> Self12258     fn default() -> Self {
12259         unsafe { ::std::mem::zeroed() }
12260     }
12261 }
12262 impl ::std::fmt::Debug for MI_StringA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12263     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12264         fmt.debug_struct("MI_StringA").field("data", &self.data).field("size", &self.size).finish()
12265     }
12266 }
12267 impl ::std::cmp::PartialEq for MI_StringA {
eq(&self, other: &Self) -> bool12268     fn eq(&self, other: &Self) -> bool {
12269         self.data == other.data && self.size == other.size
12270     }
12271 }
12272 impl ::std::cmp::Eq for MI_StringA {}
12273 unsafe impl ::windows::runtime::Abi for MI_StringA {
12274     type Abi = Self;
12275     type DefaultType = Self;
12276 }
12277 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12278 #[repr(C)]
12279 pub struct MI_StringAField {
12280     pub value: MI_StringA,
12281     pub exists: u8,
12282     pub flags: u8,
12283 }
12284 impl MI_StringAField {}
12285 impl ::std::default::Default for MI_StringAField {
default() -> Self12286     fn default() -> Self {
12287         unsafe { ::std::mem::zeroed() }
12288     }
12289 }
12290 impl ::std::fmt::Debug for MI_StringAField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12291     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12292         fmt.debug_struct("MI_StringAField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12293     }
12294 }
12295 impl ::std::cmp::PartialEq for MI_StringAField {
eq(&self, other: &Self) -> bool12296     fn eq(&self, other: &Self) -> bool {
12297         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12298     }
12299 }
12300 impl ::std::cmp::Eq for MI_StringAField {}
12301 unsafe impl ::windows::runtime::Abi for MI_StringAField {
12302     type Abi = Self;
12303     type DefaultType = Self;
12304 }
12305 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12306 #[repr(C)]
12307 pub struct MI_StringField {
12308     pub value: *mut u16,
12309     pub exists: u8,
12310     pub flags: u8,
12311 }
12312 impl MI_StringField {}
12313 impl ::std::default::Default for MI_StringField {
default() -> Self12314     fn default() -> Self {
12315         unsafe { ::std::mem::zeroed() }
12316     }
12317 }
12318 impl ::std::fmt::Debug for MI_StringField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12319     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12320         fmt.debug_struct("MI_StringField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12321     }
12322 }
12323 impl ::std::cmp::PartialEq for MI_StringField {
eq(&self, other: &Self) -> bool12324     fn eq(&self, other: &Self) -> bool {
12325         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12326     }
12327 }
12328 impl ::std::cmp::Eq for MI_StringField {}
12329 unsafe impl ::windows::runtime::Abi for MI_StringField {
12330     type Abi = Self;
12331     type DefaultType = Self;
12332 }
12333 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12334 #[repr(C)]
12335 pub struct MI_SubscriptionDeliveryOptions {
12336     pub reserved1: u64,
12337     pub reserved2: isize,
12338     pub ft: *mut MI_SubscriptionDeliveryOptionsFT,
12339 }
12340 impl MI_SubscriptionDeliveryOptions {}
12341 impl ::std::default::Default for MI_SubscriptionDeliveryOptions {
default() -> Self12342     fn default() -> Self {
12343         unsafe { ::std::mem::zeroed() }
12344     }
12345 }
12346 impl ::std::fmt::Debug for MI_SubscriptionDeliveryOptions {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12347     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12348         fmt.debug_struct("MI_SubscriptionDeliveryOptions").field("reserved1", &self.reserved1).field("reserved2", &self.reserved2).field("ft", &self.ft).finish()
12349     }
12350 }
12351 impl ::std::cmp::PartialEq for MI_SubscriptionDeliveryOptions {
eq(&self, other: &Self) -> bool12352     fn eq(&self, other: &Self) -> bool {
12353         self.reserved1 == other.reserved1 && self.reserved2 == other.reserved2 && self.ft == other.ft
12354     }
12355 }
12356 impl ::std::cmp::Eq for MI_SubscriptionDeliveryOptions {}
12357 unsafe impl ::windows::runtime::Abi for MI_SubscriptionDeliveryOptions {
12358     type Abi = Self;
12359     type DefaultType = Self;
12360 }
12361 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12362 #[repr(C)]
12363 pub struct MI_SubscriptionDeliveryOptionsFT {
12364     pub SetString: isize,
12365     pub SetNumber: isize,
12366     pub SetDateTime: isize,
12367     pub SetInterval: isize,
12368     pub AddCredentials: isize,
12369     pub Delete: isize,
12370     pub GetString: isize,
12371     pub GetNumber: isize,
12372     pub GetDateTime: isize,
12373     pub GetInterval: isize,
12374     pub GetOptionCount: isize,
12375     pub GetOptionAt: isize,
12376     pub GetOption: isize,
12377     pub GetCredentialsCount: isize,
12378     pub GetCredentialsAt: isize,
12379     pub GetCredentialsPasswordAt: isize,
12380     pub Clone: isize,
12381 }
12382 impl MI_SubscriptionDeliveryOptionsFT {}
12383 impl ::std::default::Default for MI_SubscriptionDeliveryOptionsFT {
default() -> Self12384     fn default() -> Self {
12385         unsafe { ::std::mem::zeroed() }
12386     }
12387 }
12388 impl ::std::fmt::Debug for MI_SubscriptionDeliveryOptionsFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12389     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12390         fmt.debug_struct("MI_SubscriptionDeliveryOptionsFT")
12391             .field("SetString", &self.SetString)
12392             .field("SetNumber", &self.SetNumber)
12393             .field("SetDateTime", &self.SetDateTime)
12394             .field("SetInterval", &self.SetInterval)
12395             .field("AddCredentials", &self.AddCredentials)
12396             .field("Delete", &self.Delete)
12397             .field("GetString", &self.GetString)
12398             .field("GetNumber", &self.GetNumber)
12399             .field("GetDateTime", &self.GetDateTime)
12400             .field("GetInterval", &self.GetInterval)
12401             .field("GetOptionCount", &self.GetOptionCount)
12402             .field("GetOptionAt", &self.GetOptionAt)
12403             .field("GetOption", &self.GetOption)
12404             .field("GetCredentialsCount", &self.GetCredentialsCount)
12405             .field("GetCredentialsAt", &self.GetCredentialsAt)
12406             .field("GetCredentialsPasswordAt", &self.GetCredentialsPasswordAt)
12407             .field("Clone", &self.Clone)
12408             .finish()
12409     }
12410 }
12411 impl ::std::cmp::PartialEq for MI_SubscriptionDeliveryOptionsFT {
eq(&self, other: &Self) -> bool12412     fn eq(&self, other: &Self) -> bool {
12413         self.SetString == other.SetString
12414             && self.SetNumber == other.SetNumber
12415             && self.SetDateTime == other.SetDateTime
12416             && self.SetInterval == other.SetInterval
12417             && self.AddCredentials == other.AddCredentials
12418             && self.Delete == other.Delete
12419             && self.GetString == other.GetString
12420             && self.GetNumber == other.GetNumber
12421             && self.GetDateTime == other.GetDateTime
12422             && self.GetInterval == other.GetInterval
12423             && self.GetOptionCount == other.GetOptionCount
12424             && self.GetOptionAt == other.GetOptionAt
12425             && self.GetOption == other.GetOption
12426             && self.GetCredentialsCount == other.GetCredentialsCount
12427             && self.GetCredentialsAt == other.GetCredentialsAt
12428             && self.GetCredentialsPasswordAt == other.GetCredentialsPasswordAt
12429             && self.Clone == other.Clone
12430     }
12431 }
12432 impl ::std::cmp::Eq for MI_SubscriptionDeliveryOptionsFT {}
12433 unsafe impl ::windows::runtime::Abi for MI_SubscriptionDeliveryOptionsFT {
12434     type Abi = Self;
12435     type DefaultType = Self;
12436 }
12437 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12438 #[repr(transparent)]
12439 pub struct MI_SubscriptionDeliveryType(pub i32);
12440 pub const MI_SubscriptionDeliveryType_Pull: MI_SubscriptionDeliveryType = MI_SubscriptionDeliveryType(1i32);
12441 pub const MI_SubscriptionDeliveryType_Push: MI_SubscriptionDeliveryType = MI_SubscriptionDeliveryType(2i32);
12442 impl ::std::convert::From<i32> for MI_SubscriptionDeliveryType {
from(value: i32) -> Self12443     fn from(value: i32) -> Self {
12444         Self(value)
12445     }
12446 }
12447 unsafe impl ::windows::runtime::Abi for MI_SubscriptionDeliveryType {
12448     type Abi = Self;
12449     type DefaultType = Self;
12450 }
12451 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12452 #[repr(C)]
12453 pub struct MI_Timestamp {
12454     pub year: u32,
12455     pub month: u32,
12456     pub day: u32,
12457     pub hour: u32,
12458     pub minute: u32,
12459     pub second: u32,
12460     pub microseconds: u32,
12461     pub utc: i32,
12462 }
12463 impl MI_Timestamp {}
12464 impl ::std::default::Default for MI_Timestamp {
default() -> Self12465     fn default() -> Self {
12466         unsafe { ::std::mem::zeroed() }
12467     }
12468 }
12469 impl ::std::fmt::Debug for MI_Timestamp {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12470     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12471         fmt.debug_struct("MI_Timestamp").field("year", &self.year).field("month", &self.month).field("day", &self.day).field("hour", &self.hour).field("minute", &self.minute).field("second", &self.second).field("microseconds", &self.microseconds).field("utc", &self.utc).finish()
12472     }
12473 }
12474 impl ::std::cmp::PartialEq for MI_Timestamp {
eq(&self, other: &Self) -> bool12475     fn eq(&self, other: &Self) -> bool {
12476         self.year == other.year && self.month == other.month && self.day == other.day && self.hour == other.hour && self.minute == other.minute && self.second == other.second && self.microseconds == other.microseconds && self.utc == other.utc
12477     }
12478 }
12479 impl ::std::cmp::Eq for MI_Timestamp {}
12480 unsafe impl ::windows::runtime::Abi for MI_Timestamp {
12481     type Abi = Self;
12482     type DefaultType = Self;
12483 }
12484 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12485 #[repr(transparent)]
12486 pub struct MI_Type(pub i32);
12487 pub const MI_BOOLEAN: MI_Type = MI_Type(0i32);
12488 pub const MI_UINT8: MI_Type = MI_Type(1i32);
12489 pub const MI_SINT8: MI_Type = MI_Type(2i32);
12490 pub const MI_UINT16: MI_Type = MI_Type(3i32);
12491 pub const MI_SINT16: MI_Type = MI_Type(4i32);
12492 pub const MI_UINT32: MI_Type = MI_Type(5i32);
12493 pub const MI_SINT32: MI_Type = MI_Type(6i32);
12494 pub const MI_UINT64: MI_Type = MI_Type(7i32);
12495 pub const MI_SINT64: MI_Type = MI_Type(8i32);
12496 pub const MI_REAL32: MI_Type = MI_Type(9i32);
12497 pub const MI_REAL64: MI_Type = MI_Type(10i32);
12498 pub const MI_CHAR16: MI_Type = MI_Type(11i32);
12499 pub const MI_DATETIME: MI_Type = MI_Type(12i32);
12500 pub const MI_STRING: MI_Type = MI_Type(13i32);
12501 pub const MI_REFERENCE: MI_Type = MI_Type(14i32);
12502 pub const MI_INSTANCE: MI_Type = MI_Type(15i32);
12503 pub const MI_BOOLEANA: MI_Type = MI_Type(16i32);
12504 pub const MI_UINT8A: MI_Type = MI_Type(17i32);
12505 pub const MI_SINT8A: MI_Type = MI_Type(18i32);
12506 pub const MI_UINT16A: MI_Type = MI_Type(19i32);
12507 pub const MI_SINT16A: MI_Type = MI_Type(20i32);
12508 pub const MI_UINT32A: MI_Type = MI_Type(21i32);
12509 pub const MI_SINT32A: MI_Type = MI_Type(22i32);
12510 pub const MI_UINT64A: MI_Type = MI_Type(23i32);
12511 pub const MI_SINT64A: MI_Type = MI_Type(24i32);
12512 pub const MI_REAL32A: MI_Type = MI_Type(25i32);
12513 pub const MI_REAL64A: MI_Type = MI_Type(26i32);
12514 pub const MI_CHAR16A: MI_Type = MI_Type(27i32);
12515 pub const MI_DATETIMEA: MI_Type = MI_Type(28i32);
12516 pub const MI_STRINGA: MI_Type = MI_Type(29i32);
12517 pub const MI_REFERENCEA: MI_Type = MI_Type(30i32);
12518 pub const MI_INSTANCEA: MI_Type = MI_Type(31i32);
12519 pub const MI_ARRAY: MI_Type = MI_Type(16i32);
12520 impl ::std::convert::From<i32> for MI_Type {
from(value: i32) -> Self12521     fn from(value: i32) -> Self {
12522         Self(value)
12523     }
12524 }
12525 unsafe impl ::windows::runtime::Abi for MI_Type {
12526     type Abi = Self;
12527     type DefaultType = Self;
12528 }
12529 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12530 #[repr(C)]
12531 pub struct MI_Uint16A {
12532     pub data: *mut u16,
12533     pub size: u32,
12534 }
12535 impl MI_Uint16A {}
12536 impl ::std::default::Default for MI_Uint16A {
default() -> Self12537     fn default() -> Self {
12538         unsafe { ::std::mem::zeroed() }
12539     }
12540 }
12541 impl ::std::fmt::Debug for MI_Uint16A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12542     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12543         fmt.debug_struct("MI_Uint16A").field("data", &self.data).field("size", &self.size).finish()
12544     }
12545 }
12546 impl ::std::cmp::PartialEq for MI_Uint16A {
eq(&self, other: &Self) -> bool12547     fn eq(&self, other: &Self) -> bool {
12548         self.data == other.data && self.size == other.size
12549     }
12550 }
12551 impl ::std::cmp::Eq for MI_Uint16A {}
12552 unsafe impl ::windows::runtime::Abi for MI_Uint16A {
12553     type Abi = Self;
12554     type DefaultType = Self;
12555 }
12556 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12557 #[repr(C)]
12558 pub struct MI_Uint16AField {
12559     pub value: MI_Uint16A,
12560     pub exists: u8,
12561     pub flags: u8,
12562 }
12563 impl MI_Uint16AField {}
12564 impl ::std::default::Default for MI_Uint16AField {
default() -> Self12565     fn default() -> Self {
12566         unsafe { ::std::mem::zeroed() }
12567     }
12568 }
12569 impl ::std::fmt::Debug for MI_Uint16AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12570     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12571         fmt.debug_struct("MI_Uint16AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12572     }
12573 }
12574 impl ::std::cmp::PartialEq for MI_Uint16AField {
eq(&self, other: &Self) -> bool12575     fn eq(&self, other: &Self) -> bool {
12576         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12577     }
12578 }
12579 impl ::std::cmp::Eq for MI_Uint16AField {}
12580 unsafe impl ::windows::runtime::Abi for MI_Uint16AField {
12581     type Abi = Self;
12582     type DefaultType = Self;
12583 }
12584 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12585 #[repr(C)]
12586 pub struct MI_Uint16Field {
12587     pub value: u16,
12588     pub exists: u8,
12589     pub flags: u8,
12590 }
12591 impl MI_Uint16Field {}
12592 impl ::std::default::Default for MI_Uint16Field {
default() -> Self12593     fn default() -> Self {
12594         unsafe { ::std::mem::zeroed() }
12595     }
12596 }
12597 impl ::std::fmt::Debug for MI_Uint16Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12598     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12599         fmt.debug_struct("MI_Uint16Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12600     }
12601 }
12602 impl ::std::cmp::PartialEq for MI_Uint16Field {
eq(&self, other: &Self) -> bool12603     fn eq(&self, other: &Self) -> bool {
12604         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12605     }
12606 }
12607 impl ::std::cmp::Eq for MI_Uint16Field {}
12608 unsafe impl ::windows::runtime::Abi for MI_Uint16Field {
12609     type Abi = Self;
12610     type DefaultType = Self;
12611 }
12612 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12613 #[repr(C)]
12614 pub struct MI_Uint32A {
12615     pub data: *mut u32,
12616     pub size: u32,
12617 }
12618 impl MI_Uint32A {}
12619 impl ::std::default::Default for MI_Uint32A {
default() -> Self12620     fn default() -> Self {
12621         unsafe { ::std::mem::zeroed() }
12622     }
12623 }
12624 impl ::std::fmt::Debug for MI_Uint32A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12625     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12626         fmt.debug_struct("MI_Uint32A").field("data", &self.data).field("size", &self.size).finish()
12627     }
12628 }
12629 impl ::std::cmp::PartialEq for MI_Uint32A {
eq(&self, other: &Self) -> bool12630     fn eq(&self, other: &Self) -> bool {
12631         self.data == other.data && self.size == other.size
12632     }
12633 }
12634 impl ::std::cmp::Eq for MI_Uint32A {}
12635 unsafe impl ::windows::runtime::Abi for MI_Uint32A {
12636     type Abi = Self;
12637     type DefaultType = Self;
12638 }
12639 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12640 #[repr(C)]
12641 pub struct MI_Uint32AField {
12642     pub value: MI_Uint32A,
12643     pub exists: u8,
12644     pub flags: u8,
12645 }
12646 impl MI_Uint32AField {}
12647 impl ::std::default::Default for MI_Uint32AField {
default() -> Self12648     fn default() -> Self {
12649         unsafe { ::std::mem::zeroed() }
12650     }
12651 }
12652 impl ::std::fmt::Debug for MI_Uint32AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12653     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12654         fmt.debug_struct("MI_Uint32AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12655     }
12656 }
12657 impl ::std::cmp::PartialEq for MI_Uint32AField {
eq(&self, other: &Self) -> bool12658     fn eq(&self, other: &Self) -> bool {
12659         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12660     }
12661 }
12662 impl ::std::cmp::Eq for MI_Uint32AField {}
12663 unsafe impl ::windows::runtime::Abi for MI_Uint32AField {
12664     type Abi = Self;
12665     type DefaultType = Self;
12666 }
12667 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12668 #[repr(C)]
12669 pub struct MI_Uint32Field {
12670     pub value: u32,
12671     pub exists: u8,
12672     pub flags: u8,
12673 }
12674 impl MI_Uint32Field {}
12675 impl ::std::default::Default for MI_Uint32Field {
default() -> Self12676     fn default() -> Self {
12677         unsafe { ::std::mem::zeroed() }
12678     }
12679 }
12680 impl ::std::fmt::Debug for MI_Uint32Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12681     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12682         fmt.debug_struct("MI_Uint32Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12683     }
12684 }
12685 impl ::std::cmp::PartialEq for MI_Uint32Field {
eq(&self, other: &Self) -> bool12686     fn eq(&self, other: &Self) -> bool {
12687         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12688     }
12689 }
12690 impl ::std::cmp::Eq for MI_Uint32Field {}
12691 unsafe impl ::windows::runtime::Abi for MI_Uint32Field {
12692     type Abi = Self;
12693     type DefaultType = Self;
12694 }
12695 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12696 #[repr(C)]
12697 pub struct MI_Uint64A {
12698     pub data: *mut u64,
12699     pub size: u32,
12700 }
12701 impl MI_Uint64A {}
12702 impl ::std::default::Default for MI_Uint64A {
default() -> Self12703     fn default() -> Self {
12704         unsafe { ::std::mem::zeroed() }
12705     }
12706 }
12707 impl ::std::fmt::Debug for MI_Uint64A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12708     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12709         fmt.debug_struct("MI_Uint64A").field("data", &self.data).field("size", &self.size).finish()
12710     }
12711 }
12712 impl ::std::cmp::PartialEq for MI_Uint64A {
eq(&self, other: &Self) -> bool12713     fn eq(&self, other: &Self) -> bool {
12714         self.data == other.data && self.size == other.size
12715     }
12716 }
12717 impl ::std::cmp::Eq for MI_Uint64A {}
12718 unsafe impl ::windows::runtime::Abi for MI_Uint64A {
12719     type Abi = Self;
12720     type DefaultType = Self;
12721 }
12722 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12723 #[repr(C)]
12724 pub struct MI_Uint64AField {
12725     pub value: MI_Uint64A,
12726     pub exists: u8,
12727     pub flags: u8,
12728 }
12729 impl MI_Uint64AField {}
12730 impl ::std::default::Default for MI_Uint64AField {
default() -> Self12731     fn default() -> Self {
12732         unsafe { ::std::mem::zeroed() }
12733     }
12734 }
12735 impl ::std::fmt::Debug for MI_Uint64AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12736     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12737         fmt.debug_struct("MI_Uint64AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12738     }
12739 }
12740 impl ::std::cmp::PartialEq for MI_Uint64AField {
eq(&self, other: &Self) -> bool12741     fn eq(&self, other: &Self) -> bool {
12742         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12743     }
12744 }
12745 impl ::std::cmp::Eq for MI_Uint64AField {}
12746 unsafe impl ::windows::runtime::Abi for MI_Uint64AField {
12747     type Abi = Self;
12748     type DefaultType = Self;
12749 }
12750 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12751 #[repr(C)]
12752 pub struct MI_Uint64Field {
12753     pub value: u64,
12754     pub exists: u8,
12755     pub flags: u8,
12756 }
12757 impl MI_Uint64Field {}
12758 impl ::std::default::Default for MI_Uint64Field {
default() -> Self12759     fn default() -> Self {
12760         unsafe { ::std::mem::zeroed() }
12761     }
12762 }
12763 impl ::std::fmt::Debug for MI_Uint64Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12764     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12765         fmt.debug_struct("MI_Uint64Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12766     }
12767 }
12768 impl ::std::cmp::PartialEq for MI_Uint64Field {
eq(&self, other: &Self) -> bool12769     fn eq(&self, other: &Self) -> bool {
12770         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12771     }
12772 }
12773 impl ::std::cmp::Eq for MI_Uint64Field {}
12774 unsafe impl ::windows::runtime::Abi for MI_Uint64Field {
12775     type Abi = Self;
12776     type DefaultType = Self;
12777 }
12778 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12779 #[repr(C)]
12780 pub struct MI_Uint8A {
12781     pub data: *mut u8,
12782     pub size: u32,
12783 }
12784 impl MI_Uint8A {}
12785 impl ::std::default::Default for MI_Uint8A {
default() -> Self12786     fn default() -> Self {
12787         unsafe { ::std::mem::zeroed() }
12788     }
12789 }
12790 impl ::std::fmt::Debug for MI_Uint8A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12791     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12792         fmt.debug_struct("MI_Uint8A").field("data", &self.data).field("size", &self.size).finish()
12793     }
12794 }
12795 impl ::std::cmp::PartialEq for MI_Uint8A {
eq(&self, other: &Self) -> bool12796     fn eq(&self, other: &Self) -> bool {
12797         self.data == other.data && self.size == other.size
12798     }
12799 }
12800 impl ::std::cmp::Eq for MI_Uint8A {}
12801 unsafe impl ::windows::runtime::Abi for MI_Uint8A {
12802     type Abi = Self;
12803     type DefaultType = Self;
12804 }
12805 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12806 #[repr(C)]
12807 pub struct MI_Uint8AField {
12808     pub value: MI_Uint8A,
12809     pub exists: u8,
12810     pub flags: u8,
12811 }
12812 impl MI_Uint8AField {}
12813 impl ::std::default::Default for MI_Uint8AField {
default() -> Self12814     fn default() -> Self {
12815         unsafe { ::std::mem::zeroed() }
12816     }
12817 }
12818 impl ::std::fmt::Debug for MI_Uint8AField {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12819     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12820         fmt.debug_struct("MI_Uint8AField").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12821     }
12822 }
12823 impl ::std::cmp::PartialEq for MI_Uint8AField {
eq(&self, other: &Self) -> bool12824     fn eq(&self, other: &Self) -> bool {
12825         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12826     }
12827 }
12828 impl ::std::cmp::Eq for MI_Uint8AField {}
12829 unsafe impl ::windows::runtime::Abi for MI_Uint8AField {
12830     type Abi = Self;
12831     type DefaultType = Self;
12832 }
12833 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12834 #[repr(C)]
12835 pub struct MI_Uint8Field {
12836     pub value: u8,
12837     pub exists: u8,
12838     pub flags: u8,
12839 }
12840 impl MI_Uint8Field {}
12841 impl ::std::default::Default for MI_Uint8Field {
default() -> Self12842     fn default() -> Self {
12843         unsafe { ::std::mem::zeroed() }
12844     }
12845 }
12846 impl ::std::fmt::Debug for MI_Uint8Field {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12847     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12848         fmt.debug_struct("MI_Uint8Field").field("value", &self.value).field("exists", &self.exists).field("flags", &self.flags).finish()
12849     }
12850 }
12851 impl ::std::cmp::PartialEq for MI_Uint8Field {
eq(&self, other: &Self) -> bool12852     fn eq(&self, other: &Self) -> bool {
12853         self.value == other.value && self.exists == other.exists && self.flags == other.flags
12854     }
12855 }
12856 impl ::std::cmp::Eq for MI_Uint8Field {}
12857 unsafe impl ::windows::runtime::Abi for MI_Uint8Field {
12858     type Abi = Self;
12859     type DefaultType = Self;
12860 }
12861 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12862 #[repr(C)]
12863 pub struct MI_UserCredentials {
12864     pub authenticationType: *mut u16,
12865     pub credentials: MI_UserCredentials_0,
12866 }
12867 impl MI_UserCredentials {}
12868 impl ::std::default::Default for MI_UserCredentials {
default() -> Self12869     fn default() -> Self {
12870         unsafe { ::std::mem::zeroed() }
12871     }
12872 }
12873 impl ::std::cmp::PartialEq for MI_UserCredentials {
eq(&self, _other: &Self) -> bool12874     fn eq(&self, _other: &Self) -> bool {
12875         unimplemented!()
12876     }
12877 }
12878 impl ::std::cmp::Eq for MI_UserCredentials {}
12879 unsafe impl ::windows::runtime::Abi for MI_UserCredentials {
12880     type Abi = Self;
12881     type DefaultType = Self;
12882 }
12883 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12884 #[repr(C)]
12885 pub union MI_UserCredentials_0 {
12886     pub usernamePassword: MI_UsernamePasswordCreds,
12887     pub certificateThumbprint: *mut u16,
12888 }
12889 impl MI_UserCredentials_0 {}
12890 impl ::std::default::Default for MI_UserCredentials_0 {
default() -> Self12891     fn default() -> Self {
12892         unsafe { ::std::mem::zeroed() }
12893     }
12894 }
12895 impl ::std::cmp::PartialEq for MI_UserCredentials_0 {
eq(&self, _other: &Self) -> bool12896     fn eq(&self, _other: &Self) -> bool {
12897         unimplemented!()
12898     }
12899 }
12900 impl ::std::cmp::Eq for MI_UserCredentials_0 {}
12901 unsafe impl ::windows::runtime::Abi for MI_UserCredentials_0 {
12902     type Abi = Self;
12903     type DefaultType = Self;
12904 }
12905 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12906 #[repr(C)]
12907 pub struct MI_UsernamePasswordCreds {
12908     pub domain: *mut u16,
12909     pub username: *mut u16,
12910     pub password: *mut u16,
12911 }
12912 impl MI_UsernamePasswordCreds {}
12913 impl ::std::default::Default for MI_UsernamePasswordCreds {
default() -> Self12914     fn default() -> Self {
12915         unsafe { ::std::mem::zeroed() }
12916     }
12917 }
12918 impl ::std::fmt::Debug for MI_UsernamePasswordCreds {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12919     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12920         fmt.debug_struct("MI_UsernamePasswordCreds").field("domain", &self.domain).field("username", &self.username).field("password", &self.password).finish()
12921     }
12922 }
12923 impl ::std::cmp::PartialEq for MI_UsernamePasswordCreds {
eq(&self, other: &Self) -> bool12924     fn eq(&self, other: &Self) -> bool {
12925         self.domain == other.domain && self.username == other.username && self.password == other.password
12926     }
12927 }
12928 impl ::std::cmp::Eq for MI_UsernamePasswordCreds {}
12929 unsafe impl ::windows::runtime::Abi for MI_UsernamePasswordCreds {
12930     type Abi = Self;
12931     type DefaultType = Self;
12932 }
12933 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12934 #[repr(C)]
12935 pub struct MI_UtilitiesFT {
12936     pub MapErrorToMiErrorCategory: isize,
12937     pub CimErrorFromErrorCode: isize,
12938 }
12939 impl MI_UtilitiesFT {}
12940 impl ::std::default::Default for MI_UtilitiesFT {
default() -> Self12941     fn default() -> Self {
12942         unsafe { ::std::mem::zeroed() }
12943     }
12944 }
12945 impl ::std::fmt::Debug for MI_UtilitiesFT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12946     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12947         fmt.debug_struct("MI_UtilitiesFT").field("MapErrorToMiErrorCategory", &self.MapErrorToMiErrorCategory).field("CimErrorFromErrorCode", &self.CimErrorFromErrorCode).finish()
12948     }
12949 }
12950 impl ::std::cmp::PartialEq for MI_UtilitiesFT {
eq(&self, other: &Self) -> bool12951     fn eq(&self, other: &Self) -> bool {
12952         self.MapErrorToMiErrorCategory == other.MapErrorToMiErrorCategory && self.CimErrorFromErrorCode == other.CimErrorFromErrorCode
12953     }
12954 }
12955 impl ::std::cmp::Eq for MI_UtilitiesFT {}
12956 unsafe impl ::windows::runtime::Abi for MI_UtilitiesFT {
12957     type Abi = Self;
12958     type DefaultType = Self;
12959 }
12960 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12961 #[repr(C)]
12962 pub union MI_Value {
12963     pub boolean: u8,
12964     pub uint8: u8,
12965     pub sint8: i8,
12966     pub uint16: u16,
12967     pub sint16: i16,
12968     pub uint32: u32,
12969     pub sint32: i32,
12970     pub uint64: u64,
12971     pub sint64: i64,
12972     pub real32: f32,
12973     pub real64: f64,
12974     pub char16: u16,
12975     pub datetime: MI_Datetime,
12976     pub string: *mut u16,
12977     pub instance: *mut MI_Instance,
12978     pub reference: *mut MI_Instance,
12979     pub booleana: MI_BooleanA,
12980     pub uint8a: MI_Uint8A,
12981     pub sint8a: MI_Sint8A,
12982     pub uint16a: MI_Uint16A,
12983     pub sint16a: MI_Sint16A,
12984     pub uint32a: MI_Uint32A,
12985     pub sint32a: MI_Sint32A,
12986     pub uint64a: MI_Uint64A,
12987     pub sint64a: MI_Sint64A,
12988     pub real32a: MI_Real32A,
12989     pub real64a: MI_Real64A,
12990     pub char16a: MI_Char16A,
12991     pub datetimea: MI_DatetimeA,
12992     pub stringa: MI_StringA,
12993     pub referencea: MI_ReferenceA,
12994     pub instancea: MI_InstanceA,
12995     pub array: MI_Array,
12996 }
12997 impl MI_Value {}
12998 impl ::std::default::Default for MI_Value {
default() -> Self12999     fn default() -> Self {
13000         unsafe { ::std::mem::zeroed() }
13001     }
13002 }
13003 impl ::std::cmp::PartialEq for MI_Value {
eq(&self, _other: &Self) -> bool13004     fn eq(&self, _other: &Self) -> bool {
13005         unimplemented!()
13006     }
13007 }
13008 impl ::std::cmp::Eq for MI_Value {}
13009 unsafe impl ::windows::runtime::Abi for MI_Value {
13010     type Abi = Self;
13011     type DefaultType = Self;
13012 }
13013 pub const MI_WRITEMESSAGE_CHANNEL_DEBUG: u32 = 2u32;
13014 pub const MI_WRITEMESSAGE_CHANNEL_VERBOSE: u32 = 1u32;
13015 pub const MI_WRITEMESSAGE_CHANNEL_WARNING: u32 = 0u32;
13016 pub const MofCompiler: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1840224087, 11831, 4562, [174, 201, 0, 192, 79, 182, 136, 32]);
13017 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13018 #[repr(C)]
13019 #[cfg(feature = "Win32_Foundation")]
13020 pub struct SWbemAnalysisMatrix {
13021     pub m_uVersion: u32,
13022     pub m_uMatrixType: u32,
13023     pub m_pszProperty: super::super::Foundation::PWSTR,
13024     pub m_uPropertyType: u32,
13025     pub m_uEntries: u32,
13026     pub m_pValues: *mut *mut ::std::ffi::c_void,
13027     pub m_pbTruthTable: *mut super::super::Foundation::BOOL,
13028 }
13029 #[cfg(feature = "Win32_Foundation")]
13030 impl SWbemAnalysisMatrix {}
13031 #[cfg(feature = "Win32_Foundation")]
13032 impl ::std::default::Default for SWbemAnalysisMatrix {
default() -> Self13033     fn default() -> Self {
13034         unsafe { ::std::mem::zeroed() }
13035     }
13036 }
13037 #[cfg(feature = "Win32_Foundation")]
13038 impl ::std::fmt::Debug for SWbemAnalysisMatrix {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13039     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13040         fmt.debug_struct("SWbemAnalysisMatrix")
13041             .field("m_uVersion", &self.m_uVersion)
13042             .field("m_uMatrixType", &self.m_uMatrixType)
13043             .field("m_pszProperty", &self.m_pszProperty)
13044             .field("m_uPropertyType", &self.m_uPropertyType)
13045             .field("m_uEntries", &self.m_uEntries)
13046             .field("m_pValues", &self.m_pValues)
13047             .field("m_pbTruthTable", &self.m_pbTruthTable)
13048             .finish()
13049     }
13050 }
13051 #[cfg(feature = "Win32_Foundation")]
13052 impl ::std::cmp::PartialEq for SWbemAnalysisMatrix {
eq(&self, other: &Self) -> bool13053     fn eq(&self, other: &Self) -> bool {
13054         self.m_uVersion == other.m_uVersion && self.m_uMatrixType == other.m_uMatrixType && self.m_pszProperty == other.m_pszProperty && self.m_uPropertyType == other.m_uPropertyType && self.m_uEntries == other.m_uEntries && self.m_pValues == other.m_pValues && self.m_pbTruthTable == other.m_pbTruthTable
13055     }
13056 }
13057 #[cfg(feature = "Win32_Foundation")]
13058 impl ::std::cmp::Eq for SWbemAnalysisMatrix {}
13059 #[cfg(feature = "Win32_Foundation")]
13060 unsafe impl ::windows::runtime::Abi for SWbemAnalysisMatrix {
13061     type Abi = Self;
13062     type DefaultType = Self;
13063 }
13064 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13065 #[repr(C)]
13066 #[cfg(feature = "Win32_Foundation")]
13067 pub struct SWbemAnalysisMatrixList {
13068     pub m_uVersion: u32,
13069     pub m_uMatrixType: u32,
13070     pub m_uNumMatrices: u32,
13071     pub m_pMatrices: *mut SWbemAnalysisMatrix,
13072 }
13073 #[cfg(feature = "Win32_Foundation")]
13074 impl SWbemAnalysisMatrixList {}
13075 #[cfg(feature = "Win32_Foundation")]
13076 impl ::std::default::Default for SWbemAnalysisMatrixList {
default() -> Self13077     fn default() -> Self {
13078         unsafe { ::std::mem::zeroed() }
13079     }
13080 }
13081 #[cfg(feature = "Win32_Foundation")]
13082 impl ::std::fmt::Debug for SWbemAnalysisMatrixList {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13083     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13084         fmt.debug_struct("SWbemAnalysisMatrixList").field("m_uVersion", &self.m_uVersion).field("m_uMatrixType", &self.m_uMatrixType).field("m_uNumMatrices", &self.m_uNumMatrices).field("m_pMatrices", &self.m_pMatrices).finish()
13085     }
13086 }
13087 #[cfg(feature = "Win32_Foundation")]
13088 impl ::std::cmp::PartialEq for SWbemAnalysisMatrixList {
eq(&self, other: &Self) -> bool13089     fn eq(&self, other: &Self) -> bool {
13090         self.m_uVersion == other.m_uVersion && self.m_uMatrixType == other.m_uMatrixType && self.m_uNumMatrices == other.m_uNumMatrices && self.m_pMatrices == other.m_pMatrices
13091     }
13092 }
13093 #[cfg(feature = "Win32_Foundation")]
13094 impl ::std::cmp::Eq for SWbemAnalysisMatrixList {}
13095 #[cfg(feature = "Win32_Foundation")]
13096 unsafe impl ::windows::runtime::Abi for SWbemAnalysisMatrixList {
13097     type Abi = Self;
13098     type DefaultType = Self;
13099 }
13100 #[derive(:: std :: clone :: Clone)]
13101 #[repr(C)]
13102 #[cfg(feature = "Win32_Foundation")]
13103 pub struct SWbemAssocQueryInf {
13104     pub m_uVersion: u32,
13105     pub m_uAnalysisType: u32,
13106     pub m_uFeatureMask: u32,
13107     pub m_pPath: ::std::option::Option<IWbemPath>,
13108     pub m_pszPath: super::super::Foundation::PWSTR,
13109     pub m_pszQueryText: super::super::Foundation::PWSTR,
13110     pub m_pszResultClass: super::super::Foundation::PWSTR,
13111     pub m_pszAssocClass: super::super::Foundation::PWSTR,
13112     pub m_pszRole: super::super::Foundation::PWSTR,
13113     pub m_pszResultRole: super::super::Foundation::PWSTR,
13114     pub m_pszRequiredQualifier: super::super::Foundation::PWSTR,
13115     pub m_pszRequiredAssocQualifier: super::super::Foundation::PWSTR,
13116 }
13117 #[cfg(feature = "Win32_Foundation")]
13118 impl SWbemAssocQueryInf {}
13119 #[cfg(feature = "Win32_Foundation")]
13120 impl ::std::default::Default for SWbemAssocQueryInf {
default() -> Self13121     fn default() -> Self {
13122         unsafe { ::std::mem::zeroed() }
13123     }
13124 }
13125 #[cfg(feature = "Win32_Foundation")]
13126 impl ::std::fmt::Debug for SWbemAssocQueryInf {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13127     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13128         fmt.debug_struct("SWbemAssocQueryInf")
13129             .field("m_uVersion", &self.m_uVersion)
13130             .field("m_uAnalysisType", &self.m_uAnalysisType)
13131             .field("m_uFeatureMask", &self.m_uFeatureMask)
13132             .field("m_pPath", &self.m_pPath)
13133             .field("m_pszPath", &self.m_pszPath)
13134             .field("m_pszQueryText", &self.m_pszQueryText)
13135             .field("m_pszResultClass", &self.m_pszResultClass)
13136             .field("m_pszAssocClass", &self.m_pszAssocClass)
13137             .field("m_pszRole", &self.m_pszRole)
13138             .field("m_pszResultRole", &self.m_pszResultRole)
13139             .field("m_pszRequiredQualifier", &self.m_pszRequiredQualifier)
13140             .field("m_pszRequiredAssocQualifier", &self.m_pszRequiredAssocQualifier)
13141             .finish()
13142     }
13143 }
13144 #[cfg(feature = "Win32_Foundation")]
13145 impl ::std::cmp::PartialEq for SWbemAssocQueryInf {
eq(&self, other: &Self) -> bool13146     fn eq(&self, other: &Self) -> bool {
13147         self.m_uVersion == other.m_uVersion
13148             && self.m_uAnalysisType == other.m_uAnalysisType
13149             && self.m_uFeatureMask == other.m_uFeatureMask
13150             && self.m_pPath == other.m_pPath
13151             && self.m_pszPath == other.m_pszPath
13152             && self.m_pszQueryText == other.m_pszQueryText
13153             && self.m_pszResultClass == other.m_pszResultClass
13154             && self.m_pszAssocClass == other.m_pszAssocClass
13155             && self.m_pszRole == other.m_pszRole
13156             && self.m_pszResultRole == other.m_pszResultRole
13157             && self.m_pszRequiredQualifier == other.m_pszRequiredQualifier
13158             && self.m_pszRequiredAssocQualifier == other.m_pszRequiredAssocQualifier
13159     }
13160 }
13161 #[cfg(feature = "Win32_Foundation")]
13162 impl ::std::cmp::Eq for SWbemAssocQueryInf {}
13163 #[cfg(feature = "Win32_Foundation")]
13164 unsafe impl ::windows::runtime::Abi for SWbemAssocQueryInf {
13165     type Abi = ::std::mem::ManuallyDrop<Self>;
13166     type DefaultType = Self;
13167 }
13168 pub const SWbemDateTime: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1205845588, 53110, 4563, [179, 143, 0, 16, 90, 31, 71, 58]);
13169 pub const SWbemEventSource: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183192, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13170 pub const SWbemLastError: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3271487148, 53197, 4561, [139, 5, 0, 96, 8, 6, 217, 182]);
13171 pub const SWbemLocator: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1990607192, 52033, 4561, [139, 2, 0, 96, 8, 6, 217, 182]);
13172 pub const SWbemMethod: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183195, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13173 pub const SWbemMethodSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183194, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13174 pub const SWbemNamedValue: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183200, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13175 pub const SWbemNamedValueSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2599237710, 52875, 4561, [139, 5, 0, 96, 8, 6, 217, 182]);
13176 pub const SWbemObject: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183202, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13177 pub const SWbemObjectEx: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3602755506, 37941, 18719, [187, 135, 106, 160, 240, 188, 49, 162]);
13178 pub const SWbemObjectPath: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1469168678, 52892, 4561, [151, 191, 0, 0, 248, 30, 132, 156]);
13179 pub const SWbemObjectSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183201, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13180 pub const SWbemPrivilege: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(653158332, 22532, 4562, [139, 74, 0, 96, 8, 6, 217, 182]);
13181 pub const SWbemPrivilegeSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(653158334, 22532, 4562, [139, 74, 0, 96, 8, 6, 217, 182]);
13182 pub const SWbemProperty: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183197, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13183 pub const SWbemPropertySet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183196, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13184 pub const SWbemQualifier: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183199, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13185 pub const SWbemQualifierSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183198, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13186 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13187 #[repr(C)]
13188 #[cfg(feature = "Win32_Foundation")]
13189 pub struct SWbemQueryQualifiedName {
13190     pub m_uVersion: u32,
13191     pub m_uTokenType: u32,
13192     pub m_uNameListSize: u32,
13193     pub m_ppszNameList: *mut super::super::Foundation::PWSTR,
13194     pub m_bArraysUsed: super::super::Foundation::BOOL,
13195     pub m_pbArrayElUsed: *mut super::super::Foundation::BOOL,
13196     pub m_puArrayIndex: *mut u32,
13197 }
13198 #[cfg(feature = "Win32_Foundation")]
13199 impl SWbemQueryQualifiedName {}
13200 #[cfg(feature = "Win32_Foundation")]
13201 impl ::std::default::Default for SWbemQueryQualifiedName {
default() -> Self13202     fn default() -> Self {
13203         unsafe { ::std::mem::zeroed() }
13204     }
13205 }
13206 #[cfg(feature = "Win32_Foundation")]
13207 impl ::std::fmt::Debug for SWbemQueryQualifiedName {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13208     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13209         fmt.debug_struct("SWbemQueryQualifiedName")
13210             .field("m_uVersion", &self.m_uVersion)
13211             .field("m_uTokenType", &self.m_uTokenType)
13212             .field("m_uNameListSize", &self.m_uNameListSize)
13213             .field("m_ppszNameList", &self.m_ppszNameList)
13214             .field("m_bArraysUsed", &self.m_bArraysUsed)
13215             .field("m_pbArrayElUsed", &self.m_pbArrayElUsed)
13216             .field("m_puArrayIndex", &self.m_puArrayIndex)
13217             .finish()
13218     }
13219 }
13220 #[cfg(feature = "Win32_Foundation")]
13221 impl ::std::cmp::PartialEq for SWbemQueryQualifiedName {
eq(&self, other: &Self) -> bool13222     fn eq(&self, other: &Self) -> bool {
13223         self.m_uVersion == other.m_uVersion && self.m_uTokenType == other.m_uTokenType && self.m_uNameListSize == other.m_uNameListSize && self.m_ppszNameList == other.m_ppszNameList && self.m_bArraysUsed == other.m_bArraysUsed && self.m_pbArrayElUsed == other.m_pbArrayElUsed && self.m_puArrayIndex == other.m_puArrayIndex
13224     }
13225 }
13226 #[cfg(feature = "Win32_Foundation")]
13227 impl ::std::cmp::Eq for SWbemQueryQualifiedName {}
13228 #[cfg(feature = "Win32_Foundation")]
13229 unsafe impl ::windows::runtime::Abi for SWbemQueryQualifiedName {
13230     type Abi = Self;
13231     type DefaultType = Self;
13232 }
13233 pub const SWbemRefreshableItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2355647676, 56907, 4563, [179, 144, 0, 16, 90, 31, 71, 58]);
13234 pub const SWbemRefresher: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3530145628, 55745, 4563, [179, 143, 0, 16, 90, 31, 71, 58]);
13235 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13236 #[repr(C)]
13237 #[cfg(feature = "Win32_Foundation")]
13238 pub union SWbemRpnConst {
13239     pub m_pszStrVal: super::super::Foundation::PWSTR,
13240     pub m_bBoolVal: super::super::Foundation::BOOL,
13241     pub m_lLongVal: i32,
13242     pub m_uLongVal: u32,
13243     pub m_dblVal: f64,
13244     pub m_lVal64: i64,
13245     pub m_uVal64: i64,
13246 }
13247 #[cfg(feature = "Win32_Foundation")]
13248 impl SWbemRpnConst {}
13249 #[cfg(feature = "Win32_Foundation")]
13250 impl ::std::default::Default for SWbemRpnConst {
default() -> Self13251     fn default() -> Self {
13252         unsafe { ::std::mem::zeroed() }
13253     }
13254 }
13255 #[cfg(feature = "Win32_Foundation")]
13256 impl ::std::cmp::PartialEq for SWbemRpnConst {
eq(&self, _other: &Self) -> bool13257     fn eq(&self, _other: &Self) -> bool {
13258         unimplemented!()
13259     }
13260 }
13261 #[cfg(feature = "Win32_Foundation")]
13262 impl ::std::cmp::Eq for SWbemRpnConst {}
13263 #[cfg(feature = "Win32_Foundation")]
13264 unsafe impl ::windows::runtime::Abi for SWbemRpnConst {
13265     type Abi = Self;
13266     type DefaultType = Self;
13267 }
13268 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13269 #[repr(C)]
13270 #[cfg(feature = "Win32_Foundation")]
13271 pub struct SWbemRpnEncodedQuery {
13272     pub m_uVersion: u32,
13273     pub m_uTokenType: u32,
13274     pub m_uParsedFeatureMask: u64,
13275     pub m_uDetectedArraySize: u32,
13276     pub m_puDetectedFeatures: *mut u32,
13277     pub m_uSelectListSize: u32,
13278     pub m_ppSelectList: *mut *mut SWbemQueryQualifiedName,
13279     pub m_uFromTargetType: u32,
13280     pub m_pszOptionalFromPath: super::super::Foundation::PWSTR,
13281     pub m_uFromListSize: u32,
13282     pub m_ppszFromList: *mut super::super::Foundation::PWSTR,
13283     pub m_uWhereClauseSize: u32,
13284     pub m_ppRpnWhereClause: *mut *mut SWbemRpnQueryToken,
13285     pub m_dblWithinPolling: f64,
13286     pub m_dblWithinWindow: f64,
13287     pub m_uOrderByListSize: u32,
13288     pub m_ppszOrderByList: *mut super::super::Foundation::PWSTR,
13289     pub m_uOrderDirectionEl: *mut u32,
13290 }
13291 #[cfg(feature = "Win32_Foundation")]
13292 impl SWbemRpnEncodedQuery {}
13293 #[cfg(feature = "Win32_Foundation")]
13294 impl ::std::default::Default for SWbemRpnEncodedQuery {
default() -> Self13295     fn default() -> Self {
13296         unsafe { ::std::mem::zeroed() }
13297     }
13298 }
13299 #[cfg(feature = "Win32_Foundation")]
13300 impl ::std::fmt::Debug for SWbemRpnEncodedQuery {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13301     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13302         fmt.debug_struct("SWbemRpnEncodedQuery")
13303             .field("m_uVersion", &self.m_uVersion)
13304             .field("m_uTokenType", &self.m_uTokenType)
13305             .field("m_uParsedFeatureMask", &self.m_uParsedFeatureMask)
13306             .field("m_uDetectedArraySize", &self.m_uDetectedArraySize)
13307             .field("m_puDetectedFeatures", &self.m_puDetectedFeatures)
13308             .field("m_uSelectListSize", &self.m_uSelectListSize)
13309             .field("m_ppSelectList", &self.m_ppSelectList)
13310             .field("m_uFromTargetType", &self.m_uFromTargetType)
13311             .field("m_pszOptionalFromPath", &self.m_pszOptionalFromPath)
13312             .field("m_uFromListSize", &self.m_uFromListSize)
13313             .field("m_ppszFromList", &self.m_ppszFromList)
13314             .field("m_uWhereClauseSize", &self.m_uWhereClauseSize)
13315             .field("m_ppRpnWhereClause", &self.m_ppRpnWhereClause)
13316             .field("m_dblWithinPolling", &self.m_dblWithinPolling)
13317             .field("m_dblWithinWindow", &self.m_dblWithinWindow)
13318             .field("m_uOrderByListSize", &self.m_uOrderByListSize)
13319             .field("m_ppszOrderByList", &self.m_ppszOrderByList)
13320             .field("m_uOrderDirectionEl", &self.m_uOrderDirectionEl)
13321             .finish()
13322     }
13323 }
13324 #[cfg(feature = "Win32_Foundation")]
13325 impl ::std::cmp::PartialEq for SWbemRpnEncodedQuery {
eq(&self, other: &Self) -> bool13326     fn eq(&self, other: &Self) -> bool {
13327         self.m_uVersion == other.m_uVersion
13328             && self.m_uTokenType == other.m_uTokenType
13329             && self.m_uParsedFeatureMask == other.m_uParsedFeatureMask
13330             && self.m_uDetectedArraySize == other.m_uDetectedArraySize
13331             && self.m_puDetectedFeatures == other.m_puDetectedFeatures
13332             && self.m_uSelectListSize == other.m_uSelectListSize
13333             && self.m_ppSelectList == other.m_ppSelectList
13334             && self.m_uFromTargetType == other.m_uFromTargetType
13335             && self.m_pszOptionalFromPath == other.m_pszOptionalFromPath
13336             && self.m_uFromListSize == other.m_uFromListSize
13337             && self.m_ppszFromList == other.m_ppszFromList
13338             && self.m_uWhereClauseSize == other.m_uWhereClauseSize
13339             && self.m_ppRpnWhereClause == other.m_ppRpnWhereClause
13340             && self.m_dblWithinPolling == other.m_dblWithinPolling
13341             && self.m_dblWithinWindow == other.m_dblWithinWindow
13342             && self.m_uOrderByListSize == other.m_uOrderByListSize
13343             && self.m_ppszOrderByList == other.m_ppszOrderByList
13344             && self.m_uOrderDirectionEl == other.m_uOrderDirectionEl
13345     }
13346 }
13347 #[cfg(feature = "Win32_Foundation")]
13348 impl ::std::cmp::Eq for SWbemRpnEncodedQuery {}
13349 #[cfg(feature = "Win32_Foundation")]
13350 unsafe impl ::windows::runtime::Abi for SWbemRpnEncodedQuery {
13351     type Abi = Self;
13352     type DefaultType = Self;
13353 }
13354 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13355 #[repr(C)]
13356 #[cfg(feature = "Win32_Foundation")]
13357 pub struct SWbemRpnQueryToken {
13358     pub m_uVersion: u32,
13359     pub m_uTokenType: u32,
13360     pub m_uSubexpressionShape: u32,
13361     pub m_uOperator: u32,
13362     pub m_pRightIdent: *mut SWbemQueryQualifiedName,
13363     pub m_pLeftIdent: *mut SWbemQueryQualifiedName,
13364     pub m_uConstApparentType: u32,
13365     pub m_Const: SWbemRpnConst,
13366     pub m_uConst2ApparentType: u32,
13367     pub m_Const2: SWbemRpnConst,
13368     pub m_pszRightFunc: super::super::Foundation::PWSTR,
13369     pub m_pszLeftFunc: super::super::Foundation::PWSTR,
13370 }
13371 #[cfg(feature = "Win32_Foundation")]
13372 impl SWbemRpnQueryToken {}
13373 #[cfg(feature = "Win32_Foundation")]
13374 impl ::std::default::Default for SWbemRpnQueryToken {
default() -> Self13375     fn default() -> Self {
13376         unsafe { ::std::mem::zeroed() }
13377     }
13378 }
13379 #[cfg(feature = "Win32_Foundation")]
13380 impl ::std::cmp::PartialEq for SWbemRpnQueryToken {
eq(&self, _other: &Self) -> bool13381     fn eq(&self, _other: &Self) -> bool {
13382         unimplemented!()
13383     }
13384 }
13385 #[cfg(feature = "Win32_Foundation")]
13386 impl ::std::cmp::Eq for SWbemRpnQueryToken {}
13387 #[cfg(feature = "Win32_Foundation")]
13388 unsafe impl ::windows::runtime::Abi for SWbemRpnQueryToken {
13389     type Abi = Self;
13390     type DefaultType = Self;
13391 }
13392 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13393 #[repr(C)]
13394 pub struct SWbemRpnTokenList {
13395     pub m_uVersion: u32,
13396     pub m_uTokenType: u32,
13397     pub m_uNumTokens: u32,
13398 }
13399 impl SWbemRpnTokenList {}
13400 impl ::std::default::Default for SWbemRpnTokenList {
default() -> Self13401     fn default() -> Self {
13402         unsafe { ::std::mem::zeroed() }
13403     }
13404 }
13405 impl ::std::fmt::Debug for SWbemRpnTokenList {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13406     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13407         fmt.debug_struct("SWbemRpnTokenList").field("m_uVersion", &self.m_uVersion).field("m_uTokenType", &self.m_uTokenType).field("m_uNumTokens", &self.m_uNumTokens).finish()
13408     }
13409 }
13410 impl ::std::cmp::PartialEq for SWbemRpnTokenList {
eq(&self, other: &Self) -> bool13411     fn eq(&self, other: &Self) -> bool {
13412         self.m_uVersion == other.m_uVersion && self.m_uTokenType == other.m_uTokenType && self.m_uNumTokens == other.m_uNumTokens
13413     }
13414 }
13415 impl ::std::cmp::Eq for SWbemRpnTokenList {}
13416 unsafe impl ::windows::runtime::Abi for SWbemRpnTokenList {
13417     type Abi = Self;
13418     type DefaultType = Self;
13419 }
13420 pub const SWbemSecurity: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3041748713, 8839, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13421 pub const SWbemServices: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79183203, 8622, 4562, [139, 51, 0, 96, 8, 6, 217, 182]);
13422 pub const SWbemServicesEx: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1659183836, 36083, 16552, [139, 46, 55, 213, 149, 101, 30, 64]);
13423 pub const SWbemSink: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1970375834, 61481, 4561, [161, 172, 0, 192, 79, 182, 194, 35]);
13424 pub const UnsecuredApartment: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1237131304, 5411, 4561, [173, 121, 0, 192, 79, 216, 253, 255]);
13425 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13426 #[repr(transparent)]
13427 pub struct WBEMSTATUS(pub i32);
13428 pub const WBEM_NO_ERROR: WBEMSTATUS = WBEMSTATUS(0i32);
13429 pub const WBEM_S_NO_ERROR: WBEMSTATUS = WBEMSTATUS(0i32);
13430 pub const WBEM_S_SAME: WBEMSTATUS = WBEMSTATUS(0i32);
13431 pub const WBEM_S_FALSE: WBEMSTATUS = WBEMSTATUS(1i32);
13432 pub const WBEM_S_ALREADY_EXISTS: WBEMSTATUS = WBEMSTATUS(262145i32);
13433 pub const WBEM_S_RESET_TO_DEFAULT: WBEMSTATUS = WBEMSTATUS(262146i32);
13434 pub const WBEM_S_DIFFERENT: WBEMSTATUS = WBEMSTATUS(262147i32);
13435 pub const WBEM_S_TIMEDOUT: WBEMSTATUS = WBEMSTATUS(262148i32);
13436 pub const WBEM_S_NO_MORE_DATA: WBEMSTATUS = WBEMSTATUS(262149i32);
13437 pub const WBEM_S_OPERATION_CANCELLED: WBEMSTATUS = WBEMSTATUS(262150i32);
13438 pub const WBEM_S_PENDING: WBEMSTATUS = WBEMSTATUS(262151i32);
13439 pub const WBEM_S_DUPLICATE_OBJECTS: WBEMSTATUS = WBEMSTATUS(262152i32);
13440 pub const WBEM_S_ACCESS_DENIED: WBEMSTATUS = WBEMSTATUS(262153i32);
13441 pub const WBEM_S_PARTIAL_RESULTS: WBEMSTATUS = WBEMSTATUS(262160i32);
13442 pub const WBEM_S_SOURCE_NOT_AVAILABLE: WBEMSTATUS = WBEMSTATUS(262167i32);
13443 pub const WBEM_E_FAILED: WBEMSTATUS = WBEMSTATUS(-2147217407i32);
13444 pub const WBEM_E_NOT_FOUND: WBEMSTATUS = WBEMSTATUS(-2147217406i32);
13445 pub const WBEM_E_ACCESS_DENIED: WBEMSTATUS = WBEMSTATUS(-2147217405i32);
13446 pub const WBEM_E_PROVIDER_FAILURE: WBEMSTATUS = WBEMSTATUS(-2147217404i32);
13447 pub const WBEM_E_TYPE_MISMATCH: WBEMSTATUS = WBEMSTATUS(-2147217403i32);
13448 pub const WBEM_E_OUT_OF_MEMORY: WBEMSTATUS = WBEMSTATUS(-2147217402i32);
13449 pub const WBEM_E_INVALID_CONTEXT: WBEMSTATUS = WBEMSTATUS(-2147217401i32);
13450 pub const WBEM_E_INVALID_PARAMETER: WBEMSTATUS = WBEMSTATUS(-2147217400i32);
13451 pub const WBEM_E_NOT_AVAILABLE: WBEMSTATUS = WBEMSTATUS(-2147217399i32);
13452 pub const WBEM_E_CRITICAL_ERROR: WBEMSTATUS = WBEMSTATUS(-2147217398i32);
13453 pub const WBEM_E_INVALID_STREAM: WBEMSTATUS = WBEMSTATUS(-2147217397i32);
13454 pub const WBEM_E_NOT_SUPPORTED: WBEMSTATUS = WBEMSTATUS(-2147217396i32);
13455 pub const WBEM_E_INVALID_SUPERCLASS: WBEMSTATUS = WBEMSTATUS(-2147217395i32);
13456 pub const WBEM_E_INVALID_NAMESPACE: WBEMSTATUS = WBEMSTATUS(-2147217394i32);
13457 pub const WBEM_E_INVALID_OBJECT: WBEMSTATUS = WBEMSTATUS(-2147217393i32);
13458 pub const WBEM_E_INVALID_CLASS: WBEMSTATUS = WBEMSTATUS(-2147217392i32);
13459 pub const WBEM_E_PROVIDER_NOT_FOUND: WBEMSTATUS = WBEMSTATUS(-2147217391i32);
13460 pub const WBEM_E_INVALID_PROVIDER_REGISTRATION: WBEMSTATUS = WBEMSTATUS(-2147217390i32);
13461 pub const WBEM_E_PROVIDER_LOAD_FAILURE: WBEMSTATUS = WBEMSTATUS(-2147217389i32);
13462 pub const WBEM_E_INITIALIZATION_FAILURE: WBEMSTATUS = WBEMSTATUS(-2147217388i32);
13463 pub const WBEM_E_TRANSPORT_FAILURE: WBEMSTATUS = WBEMSTATUS(-2147217387i32);
13464 pub const WBEM_E_INVALID_OPERATION: WBEMSTATUS = WBEMSTATUS(-2147217386i32);
13465 pub const WBEM_E_INVALID_QUERY: WBEMSTATUS = WBEMSTATUS(-2147217385i32);
13466 pub const WBEM_E_INVALID_QUERY_TYPE: WBEMSTATUS = WBEMSTATUS(-2147217384i32);
13467 pub const WBEM_E_ALREADY_EXISTS: WBEMSTATUS = WBEMSTATUS(-2147217383i32);
13468 pub const WBEM_E_OVERRIDE_NOT_ALLOWED: WBEMSTATUS = WBEMSTATUS(-2147217382i32);
13469 pub const WBEM_E_PROPAGATED_QUALIFIER: WBEMSTATUS = WBEMSTATUS(-2147217381i32);
13470 pub const WBEM_E_PROPAGATED_PROPERTY: WBEMSTATUS = WBEMSTATUS(-2147217380i32);
13471 pub const WBEM_E_UNEXPECTED: WBEMSTATUS = WBEMSTATUS(-2147217379i32);
13472 pub const WBEM_E_ILLEGAL_OPERATION: WBEMSTATUS = WBEMSTATUS(-2147217378i32);
13473 pub const WBEM_E_CANNOT_BE_KEY: WBEMSTATUS = WBEMSTATUS(-2147217377i32);
13474 pub const WBEM_E_INCOMPLETE_CLASS: WBEMSTATUS = WBEMSTATUS(-2147217376i32);
13475 pub const WBEM_E_INVALID_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147217375i32);
13476 pub const WBEM_E_NONDECORATED_OBJECT: WBEMSTATUS = WBEMSTATUS(-2147217374i32);
13477 pub const WBEM_E_READ_ONLY: WBEMSTATUS = WBEMSTATUS(-2147217373i32);
13478 pub const WBEM_E_PROVIDER_NOT_CAPABLE: WBEMSTATUS = WBEMSTATUS(-2147217372i32);
13479 pub const WBEM_E_CLASS_HAS_CHILDREN: WBEMSTATUS = WBEMSTATUS(-2147217371i32);
13480 pub const WBEM_E_CLASS_HAS_INSTANCES: WBEMSTATUS = WBEMSTATUS(-2147217370i32);
13481 pub const WBEM_E_QUERY_NOT_IMPLEMENTED: WBEMSTATUS = WBEMSTATUS(-2147217369i32);
13482 pub const WBEM_E_ILLEGAL_NULL: WBEMSTATUS = WBEMSTATUS(-2147217368i32);
13483 pub const WBEM_E_INVALID_QUALIFIER_TYPE: WBEMSTATUS = WBEMSTATUS(-2147217367i32);
13484 pub const WBEM_E_INVALID_PROPERTY_TYPE: WBEMSTATUS = WBEMSTATUS(-2147217366i32);
13485 pub const WBEM_E_VALUE_OUT_OF_RANGE: WBEMSTATUS = WBEMSTATUS(-2147217365i32);
13486 pub const WBEM_E_CANNOT_BE_SINGLETON: WBEMSTATUS = WBEMSTATUS(-2147217364i32);
13487 pub const WBEM_E_INVALID_CIM_TYPE: WBEMSTATUS = WBEMSTATUS(-2147217363i32);
13488 pub const WBEM_E_INVALID_METHOD: WBEMSTATUS = WBEMSTATUS(-2147217362i32);
13489 pub const WBEM_E_INVALID_METHOD_PARAMETERS: WBEMSTATUS = WBEMSTATUS(-2147217361i32);
13490 pub const WBEM_E_SYSTEM_PROPERTY: WBEMSTATUS = WBEMSTATUS(-2147217360i32);
13491 pub const WBEM_E_INVALID_PROPERTY: WBEMSTATUS = WBEMSTATUS(-2147217359i32);
13492 pub const WBEM_E_CALL_CANCELLED: WBEMSTATUS = WBEMSTATUS(-2147217358i32);
13493 pub const WBEM_E_SHUTTING_DOWN: WBEMSTATUS = WBEMSTATUS(-2147217357i32);
13494 pub const WBEM_E_PROPAGATED_METHOD: WBEMSTATUS = WBEMSTATUS(-2147217356i32);
13495 pub const WBEM_E_UNSUPPORTED_PARAMETER: WBEMSTATUS = WBEMSTATUS(-2147217355i32);
13496 pub const WBEM_E_MISSING_PARAMETER_ID: WBEMSTATUS = WBEMSTATUS(-2147217354i32);
13497 pub const WBEM_E_INVALID_PARAMETER_ID: WBEMSTATUS = WBEMSTATUS(-2147217353i32);
13498 pub const WBEM_E_NONCONSECUTIVE_PARAMETER_IDS: WBEMSTATUS = WBEMSTATUS(-2147217352i32);
13499 pub const WBEM_E_PARAMETER_ID_ON_RETVAL: WBEMSTATUS = WBEMSTATUS(-2147217351i32);
13500 pub const WBEM_E_INVALID_OBJECT_PATH: WBEMSTATUS = WBEMSTATUS(-2147217350i32);
13501 pub const WBEM_E_OUT_OF_DISK_SPACE: WBEMSTATUS = WBEMSTATUS(-2147217349i32);
13502 pub const WBEM_E_BUFFER_TOO_SMALL: WBEMSTATUS = WBEMSTATUS(-2147217348i32);
13503 pub const WBEM_E_UNSUPPORTED_PUT_EXTENSION: WBEMSTATUS = WBEMSTATUS(-2147217347i32);
13504 pub const WBEM_E_UNKNOWN_OBJECT_TYPE: WBEMSTATUS = WBEMSTATUS(-2147217346i32);
13505 pub const WBEM_E_UNKNOWN_PACKET_TYPE: WBEMSTATUS = WBEMSTATUS(-2147217345i32);
13506 pub const WBEM_E_MARSHAL_VERSION_MISMATCH: WBEMSTATUS = WBEMSTATUS(-2147217344i32);
13507 pub const WBEM_E_MARSHAL_INVALID_SIGNATURE: WBEMSTATUS = WBEMSTATUS(-2147217343i32);
13508 pub const WBEM_E_INVALID_QUALIFIER: WBEMSTATUS = WBEMSTATUS(-2147217342i32);
13509 pub const WBEM_E_INVALID_DUPLICATE_PARAMETER: WBEMSTATUS = WBEMSTATUS(-2147217341i32);
13510 pub const WBEM_E_TOO_MUCH_DATA: WBEMSTATUS = WBEMSTATUS(-2147217340i32);
13511 pub const WBEM_E_SERVER_TOO_BUSY: WBEMSTATUS = WBEMSTATUS(-2147217339i32);
13512 pub const WBEM_E_INVALID_FLAVOR: WBEMSTATUS = WBEMSTATUS(-2147217338i32);
13513 pub const WBEM_E_CIRCULAR_REFERENCE: WBEMSTATUS = WBEMSTATUS(-2147217337i32);
13514 pub const WBEM_E_UNSUPPORTED_CLASS_UPDATE: WBEMSTATUS = WBEMSTATUS(-2147217336i32);
13515 pub const WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE: WBEMSTATUS = WBEMSTATUS(-2147217335i32);
13516 pub const WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE: WBEMSTATUS = WBEMSTATUS(-2147217328i32);
13517 pub const WBEM_E_TOO_MANY_PROPERTIES: WBEMSTATUS = WBEMSTATUS(-2147217327i32);
13518 pub const WBEM_E_UPDATE_TYPE_MISMATCH: WBEMSTATUS = WBEMSTATUS(-2147217326i32);
13519 pub const WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED: WBEMSTATUS = WBEMSTATUS(-2147217325i32);
13520 pub const WBEM_E_UPDATE_PROPAGATED_METHOD: WBEMSTATUS = WBEMSTATUS(-2147217324i32);
13521 pub const WBEM_E_METHOD_NOT_IMPLEMENTED: WBEMSTATUS = WBEMSTATUS(-2147217323i32);
13522 pub const WBEM_E_METHOD_DISABLED: WBEMSTATUS = WBEMSTATUS(-2147217322i32);
13523 pub const WBEM_E_REFRESHER_BUSY: WBEMSTATUS = WBEMSTATUS(-2147217321i32);
13524 pub const WBEM_E_UNPARSABLE_QUERY: WBEMSTATUS = WBEMSTATUS(-2147217320i32);
13525 pub const WBEM_E_NOT_EVENT_CLASS: WBEMSTATUS = WBEMSTATUS(-2147217319i32);
13526 pub const WBEM_E_MISSING_GROUP_WITHIN: WBEMSTATUS = WBEMSTATUS(-2147217318i32);
13527 pub const WBEM_E_MISSING_AGGREGATION_LIST: WBEMSTATUS = WBEMSTATUS(-2147217317i32);
13528 pub const WBEM_E_PROPERTY_NOT_AN_OBJECT: WBEMSTATUS = WBEMSTATUS(-2147217316i32);
13529 pub const WBEM_E_AGGREGATING_BY_OBJECT: WBEMSTATUS = WBEMSTATUS(-2147217315i32);
13530 pub const WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY: WBEMSTATUS = WBEMSTATUS(-2147217313i32);
13531 pub const WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING: WBEMSTATUS = WBEMSTATUS(-2147217312i32);
13532 pub const WBEM_E_QUEUE_OVERFLOW: WBEMSTATUS = WBEMSTATUS(-2147217311i32);
13533 pub const WBEM_E_PRIVILEGE_NOT_HELD: WBEMSTATUS = WBEMSTATUS(-2147217310i32);
13534 pub const WBEM_E_INVALID_OPERATOR: WBEMSTATUS = WBEMSTATUS(-2147217309i32);
13535 pub const WBEM_E_LOCAL_CREDENTIALS: WBEMSTATUS = WBEMSTATUS(-2147217308i32);
13536 pub const WBEM_E_CANNOT_BE_ABSTRACT: WBEMSTATUS = WBEMSTATUS(-2147217307i32);
13537 pub const WBEM_E_AMENDED_OBJECT: WBEMSTATUS = WBEMSTATUS(-2147217306i32);
13538 pub const WBEM_E_CLIENT_TOO_SLOW: WBEMSTATUS = WBEMSTATUS(-2147217305i32);
13539 pub const WBEM_E_NULL_SECURITY_DESCRIPTOR: WBEMSTATUS = WBEMSTATUS(-2147217304i32);
13540 pub const WBEM_E_TIMED_OUT: WBEMSTATUS = WBEMSTATUS(-2147217303i32);
13541 pub const WBEM_E_INVALID_ASSOCIATION: WBEMSTATUS = WBEMSTATUS(-2147217302i32);
13542 pub const WBEM_E_AMBIGUOUS_OPERATION: WBEMSTATUS = WBEMSTATUS(-2147217301i32);
13543 pub const WBEM_E_QUOTA_VIOLATION: WBEMSTATUS = WBEMSTATUS(-2147217300i32);
13544 pub const WBEM_E_RESERVED_001: WBEMSTATUS = WBEMSTATUS(-2147217299i32);
13545 pub const WBEM_E_RESERVED_002: WBEMSTATUS = WBEMSTATUS(-2147217298i32);
13546 pub const WBEM_E_UNSUPPORTED_LOCALE: WBEMSTATUS = WBEMSTATUS(-2147217297i32);
13547 pub const WBEM_E_HANDLE_OUT_OF_DATE: WBEMSTATUS = WBEMSTATUS(-2147217296i32);
13548 pub const WBEM_E_CONNECTION_FAILED: WBEMSTATUS = WBEMSTATUS(-2147217295i32);
13549 pub const WBEM_E_INVALID_HANDLE_REQUEST: WBEMSTATUS = WBEMSTATUS(-2147217294i32);
13550 pub const WBEM_E_PROPERTY_NAME_TOO_WIDE: WBEMSTATUS = WBEMSTATUS(-2147217293i32);
13551 pub const WBEM_E_CLASS_NAME_TOO_WIDE: WBEMSTATUS = WBEMSTATUS(-2147217292i32);
13552 pub const WBEM_E_METHOD_NAME_TOO_WIDE: WBEMSTATUS = WBEMSTATUS(-2147217291i32);
13553 pub const WBEM_E_QUALIFIER_NAME_TOO_WIDE: WBEMSTATUS = WBEMSTATUS(-2147217290i32);
13554 pub const WBEM_E_RERUN_COMMAND: WBEMSTATUS = WBEMSTATUS(-2147217289i32);
13555 pub const WBEM_E_DATABASE_VER_MISMATCH: WBEMSTATUS = WBEMSTATUS(-2147217288i32);
13556 pub const WBEM_E_VETO_DELETE: WBEMSTATUS = WBEMSTATUS(-2147217287i32);
13557 pub const WBEM_E_VETO_PUT: WBEMSTATUS = WBEMSTATUS(-2147217286i32);
13558 pub const WBEM_E_INVALID_LOCALE: WBEMSTATUS = WBEMSTATUS(-2147217280i32);
13559 pub const WBEM_E_PROVIDER_SUSPENDED: WBEMSTATUS = WBEMSTATUS(-2147217279i32);
13560 pub const WBEM_E_SYNCHRONIZATION_REQUIRED: WBEMSTATUS = WBEMSTATUS(-2147217278i32);
13561 pub const WBEM_E_NO_SCHEMA: WBEMSTATUS = WBEMSTATUS(-2147217277i32);
13562 pub const WBEM_E_PROVIDER_ALREADY_REGISTERED: WBEMSTATUS = WBEMSTATUS(-2147217276i32);
13563 pub const WBEM_E_PROVIDER_NOT_REGISTERED: WBEMSTATUS = WBEMSTATUS(-2147217275i32);
13564 pub const WBEM_E_FATAL_TRANSPORT_ERROR: WBEMSTATUS = WBEMSTATUS(-2147217274i32);
13565 pub const WBEM_E_ENCRYPTED_CONNECTION_REQUIRED: WBEMSTATUS = WBEMSTATUS(-2147217273i32);
13566 pub const WBEM_E_PROVIDER_TIMED_OUT: WBEMSTATUS = WBEMSTATUS(-2147217272i32);
13567 pub const WBEM_E_NO_KEY: WBEMSTATUS = WBEMSTATUS(-2147217271i32);
13568 pub const WBEM_E_PROVIDER_DISABLED: WBEMSTATUS = WBEMSTATUS(-2147217270i32);
13569 pub const WBEMESS_E_REGISTRATION_TOO_BROAD: WBEMSTATUS = WBEMSTATUS(-2147213311i32);
13570 pub const WBEMESS_E_REGISTRATION_TOO_PRECISE: WBEMSTATUS = WBEMSTATUS(-2147213310i32);
13571 pub const WBEMESS_E_AUTHZ_NOT_PRIVILEGED: WBEMSTATUS = WBEMSTATUS(-2147213309i32);
13572 pub const WBEMMOF_E_EXPECTED_QUALIFIER_NAME: WBEMSTATUS = WBEMSTATUS(-2147205119i32);
13573 pub const WBEMMOF_E_EXPECTED_SEMI: WBEMSTATUS = WBEMSTATUS(-2147205118i32);
13574 pub const WBEMMOF_E_EXPECTED_OPEN_BRACE: WBEMSTATUS = WBEMSTATUS(-2147205117i32);
13575 pub const WBEMMOF_E_EXPECTED_CLOSE_BRACE: WBEMSTATUS = WBEMSTATUS(-2147205116i32);
13576 pub const WBEMMOF_E_EXPECTED_CLOSE_BRACKET: WBEMSTATUS = WBEMSTATUS(-2147205115i32);
13577 pub const WBEMMOF_E_EXPECTED_CLOSE_PAREN: WBEMSTATUS = WBEMSTATUS(-2147205114i32);
13578 pub const WBEMMOF_E_ILLEGAL_CONSTANT_VALUE: WBEMSTATUS = WBEMSTATUS(-2147205113i32);
13579 pub const WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER: WBEMSTATUS = WBEMSTATUS(-2147205112i32);
13580 pub const WBEMMOF_E_EXPECTED_OPEN_PAREN: WBEMSTATUS = WBEMSTATUS(-2147205111i32);
13581 pub const WBEMMOF_E_UNRECOGNIZED_TOKEN: WBEMSTATUS = WBEMSTATUS(-2147205110i32);
13582 pub const WBEMMOF_E_UNRECOGNIZED_TYPE: WBEMSTATUS = WBEMSTATUS(-2147205109i32);
13583 pub const WBEMMOF_E_EXPECTED_PROPERTY_NAME: WBEMSTATUS = WBEMSTATUS(-2147205108i32);
13584 pub const WBEMMOF_E_TYPEDEF_NOT_SUPPORTED: WBEMSTATUS = WBEMSTATUS(-2147205107i32);
13585 pub const WBEMMOF_E_UNEXPECTED_ALIAS: WBEMSTATUS = WBEMSTATUS(-2147205106i32);
13586 pub const WBEMMOF_E_UNEXPECTED_ARRAY_INIT: WBEMSTATUS = WBEMSTATUS(-2147205105i32);
13587 pub const WBEMMOF_E_INVALID_AMENDMENT_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147205104i32);
13588 pub const WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT: WBEMSTATUS = WBEMSTATUS(-2147205103i32);
13589 pub const WBEMMOF_E_INVALID_PRAGMA: WBEMSTATUS = WBEMSTATUS(-2147205102i32);
13590 pub const WBEMMOF_E_INVALID_NAMESPACE_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147205101i32);
13591 pub const WBEMMOF_E_EXPECTED_CLASS_NAME: WBEMSTATUS = WBEMSTATUS(-2147205100i32);
13592 pub const WBEMMOF_E_TYPE_MISMATCH: WBEMSTATUS = WBEMSTATUS(-2147205099i32);
13593 pub const WBEMMOF_E_EXPECTED_ALIAS_NAME: WBEMSTATUS = WBEMSTATUS(-2147205098i32);
13594 pub const WBEMMOF_E_INVALID_CLASS_DECLARATION: WBEMSTATUS = WBEMSTATUS(-2147205097i32);
13595 pub const WBEMMOF_E_INVALID_INSTANCE_DECLARATION: WBEMSTATUS = WBEMSTATUS(-2147205096i32);
13596 pub const WBEMMOF_E_EXPECTED_DOLLAR: WBEMSTATUS = WBEMSTATUS(-2147205095i32);
13597 pub const WBEMMOF_E_CIMTYPE_QUALIFIER: WBEMSTATUS = WBEMSTATUS(-2147205094i32);
13598 pub const WBEMMOF_E_DUPLICATE_PROPERTY: WBEMSTATUS = WBEMSTATUS(-2147205093i32);
13599 pub const WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION: WBEMSTATUS = WBEMSTATUS(-2147205092i32);
13600 pub const WBEMMOF_E_OUT_OF_RANGE: WBEMSTATUS = WBEMSTATUS(-2147205091i32);
13601 pub const WBEMMOF_E_INVALID_FILE: WBEMSTATUS = WBEMSTATUS(-2147205090i32);
13602 pub const WBEMMOF_E_ALIASES_IN_EMBEDDED: WBEMSTATUS = WBEMSTATUS(-2147205089i32);
13603 pub const WBEMMOF_E_NULL_ARRAY_ELEM: WBEMSTATUS = WBEMSTATUS(-2147205088i32);
13604 pub const WBEMMOF_E_DUPLICATE_QUALIFIER: WBEMSTATUS = WBEMSTATUS(-2147205087i32);
13605 pub const WBEMMOF_E_EXPECTED_FLAVOR_TYPE: WBEMSTATUS = WBEMSTATUS(-2147205086i32);
13606 pub const WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES: WBEMSTATUS = WBEMSTATUS(-2147205085i32);
13607 pub const WBEMMOF_E_MULTIPLE_ALIASES: WBEMSTATUS = WBEMSTATUS(-2147205084i32);
13608 pub const WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2: WBEMSTATUS = WBEMSTATUS(-2147205083i32);
13609 pub const WBEMMOF_E_NO_ARRAYS_RETURNED: WBEMSTATUS = WBEMSTATUS(-2147205082i32);
13610 pub const WBEMMOF_E_MUST_BE_IN_OR_OUT: WBEMSTATUS = WBEMSTATUS(-2147205081i32);
13611 pub const WBEMMOF_E_INVALID_FLAGS_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147205080i32);
13612 pub const WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE: WBEMSTATUS = WBEMSTATUS(-2147205079i32);
13613 pub const WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE: WBEMSTATUS = WBEMSTATUS(-2147205078i32);
13614 pub const WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE: WBEMSTATUS = WBEMSTATUS(-2147205077i32);
13615 pub const WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147205076i32);
13616 pub const WBEMMOF_E_INVALID_QUALIFIER_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147205075i32);
13617 pub const WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE: WBEMSTATUS = WBEMSTATUS(-2147205074i32);
13618 pub const WBEMMOF_E_ERROR_CREATING_TEMP_FILE: WBEMSTATUS = WBEMSTATUS(-2147205073i32);
13619 pub const WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE: WBEMSTATUS = WBEMSTATUS(-2147205072i32);
13620 pub const WBEMMOF_E_INVALID_DELETECLASS_SYNTAX: WBEMSTATUS = WBEMSTATUS(-2147205071i32);
13621 impl ::std::convert::From<i32> for WBEMSTATUS {
from(value: i32) -> Self13622     fn from(value: i32) -> Self {
13623         Self(value)
13624     }
13625 }
13626 unsafe impl ::windows::runtime::Abi for WBEMSTATUS {
13627     type Abi = Self;
13628     type DefaultType = Self;
13629 }
13630 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13631 #[repr(transparent)]
13632 pub struct WBEMSTATUS_FORMAT(pub i32);
13633 pub const WBEMSTATUS_FORMAT_NEWLINE: WBEMSTATUS_FORMAT = WBEMSTATUS_FORMAT(0i32);
13634 pub const WBEMSTATUS_FORMAT_NO_NEWLINE: WBEMSTATUS_FORMAT = WBEMSTATUS_FORMAT(1i32);
13635 impl ::std::convert::From<i32> for WBEMSTATUS_FORMAT {
from(value: i32) -> Self13636     fn from(value: i32) -> Self {
13637         Self(value)
13638     }
13639 }
13640 unsafe impl ::windows::runtime::Abi for WBEMSTATUS_FORMAT {
13641     type Abi = Self;
13642     type DefaultType = Self;
13643 }
13644 pub const WBEMS_DISPID_COMPLETED: u32 = 2u32;
13645 pub const WBEMS_DISPID_CONNECTION_READY: u32 = 5u32;
13646 pub const WBEMS_DISPID_DERIVATION: u32 = 23u32;
13647 pub const WBEMS_DISPID_OBJECT_PUT: u32 = 4u32;
13648 pub const WBEMS_DISPID_OBJECT_READY: u32 = 1u32;
13649 pub const WBEMS_DISPID_PROGRESS: u32 = 3u32;
13650 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13651 #[repr(transparent)]
13652 pub struct WBEM_BACKUP_RESTORE_FLAGS(pub i32);
13653 pub const WBEM_FLAG_BACKUP_RESTORE_DEFAULT: WBEM_BACKUP_RESTORE_FLAGS = WBEM_BACKUP_RESTORE_FLAGS(0i32);
13654 pub const WBEM_FLAG_BACKUP_RESTORE_FORCE_SHUTDOWN: WBEM_BACKUP_RESTORE_FLAGS = WBEM_BACKUP_RESTORE_FLAGS(1i32);
13655 impl ::std::convert::From<i32> for WBEM_BACKUP_RESTORE_FLAGS {
from(value: i32) -> Self13656     fn from(value: i32) -> Self {
13657         Self(value)
13658     }
13659 }
13660 unsafe impl ::windows::runtime::Abi for WBEM_BACKUP_RESTORE_FLAGS {
13661     type Abi = Self;
13662     type DefaultType = Self;
13663 }
13664 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13665 #[repr(transparent)]
13666 pub struct WBEM_BATCH_TYPE(pub i32);
13667 pub const WBEM_FLAG_BATCH_IF_NEEDED: WBEM_BATCH_TYPE = WBEM_BATCH_TYPE(0i32);
13668 pub const WBEM_FLAG_MUST_BATCH: WBEM_BATCH_TYPE = WBEM_BATCH_TYPE(1i32);
13669 pub const WBEM_FLAG_MUST_NOT_BATCH: WBEM_BATCH_TYPE = WBEM_BATCH_TYPE(2i32);
13670 impl ::std::convert::From<i32> for WBEM_BATCH_TYPE {
from(value: i32) -> Self13671     fn from(value: i32) -> Self {
13672         Self(value)
13673     }
13674 }
13675 unsafe impl ::windows::runtime::Abi for WBEM_BATCH_TYPE {
13676     type Abi = Self;
13677     type DefaultType = Self;
13678 }
13679 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13680 #[repr(transparent)]
13681 pub struct WBEM_CHANGE_FLAG_TYPE(pub i32);
13682 pub const WBEM_FLAG_CREATE_OR_UPDATE: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(0i32);
13683 pub const WBEM_FLAG_UPDATE_ONLY: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(1i32);
13684 pub const WBEM_FLAG_CREATE_ONLY: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(2i32);
13685 pub const WBEM_FLAG_UPDATE_COMPATIBLE: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(0i32);
13686 pub const WBEM_FLAG_UPDATE_SAFE_MODE: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(32i32);
13687 pub const WBEM_FLAG_UPDATE_FORCE_MODE: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(64i32);
13688 pub const WBEM_MASK_UPDATE_MODE: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(96i32);
13689 pub const WBEM_FLAG_ADVISORY: WBEM_CHANGE_FLAG_TYPE = WBEM_CHANGE_FLAG_TYPE(65536i32);
13690 impl ::std::convert::From<i32> for WBEM_CHANGE_FLAG_TYPE {
from(value: i32) -> Self13691     fn from(value: i32) -> Self {
13692         Self(value)
13693     }
13694 }
13695 unsafe impl ::windows::runtime::Abi for WBEM_CHANGE_FLAG_TYPE {
13696     type Abi = Self;
13697     type DefaultType = Self;
13698 }
13699 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13700 #[repr(transparent)]
13701 pub struct WBEM_COMPARISON_FLAG(pub i32);
13702 pub const WBEM_COMPARISON_INCLUDE_ALL: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(0i32);
13703 pub const WBEM_FLAG_IGNORE_QUALIFIERS: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(1i32);
13704 pub const WBEM_FLAG_IGNORE_OBJECT_SOURCE: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(2i32);
13705 pub const WBEM_FLAG_IGNORE_DEFAULT_VALUES: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(4i32);
13706 pub const WBEM_FLAG_IGNORE_CLASS: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(8i32);
13707 pub const WBEM_FLAG_IGNORE_CASE: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(16i32);
13708 pub const WBEM_FLAG_IGNORE_FLAVOR: WBEM_COMPARISON_FLAG = WBEM_COMPARISON_FLAG(32i32);
13709 impl ::std::convert::From<i32> for WBEM_COMPARISON_FLAG {
from(value: i32) -> Self13710     fn from(value: i32) -> Self {
13711         Self(value)
13712     }
13713 }
13714 unsafe impl ::windows::runtime::Abi for WBEM_COMPARISON_FLAG {
13715     type Abi = Self;
13716     type DefaultType = Self;
13717 }
13718 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13719 #[repr(transparent)]
13720 pub struct WBEM_COMPILER_OPTIONS(pub i32);
13721 pub const WBEM_FLAG_CHECK_ONLY: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(1i32);
13722 pub const WBEM_FLAG_AUTORECOVER: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(2i32);
13723 pub const WBEM_FLAG_WMI_CHECK: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(4i32);
13724 pub const WBEM_FLAG_CONSOLE_PRINT: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(8i32);
13725 pub const WBEM_FLAG_DONT_ADD_TO_LIST: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(16i32);
13726 pub const WBEM_FLAG_SPLIT_FILES: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(32i32);
13727 pub const WBEM_FLAG_STORE_FILE: WBEM_COMPILER_OPTIONS = WBEM_COMPILER_OPTIONS(256i32);
13728 impl ::std::convert::From<i32> for WBEM_COMPILER_OPTIONS {
from(value: i32) -> Self13729     fn from(value: i32) -> Self {
13730         Self(value)
13731     }
13732 }
13733 unsafe impl ::windows::runtime::Abi for WBEM_COMPILER_OPTIONS {
13734     type Abi = Self;
13735     type DefaultType = Self;
13736 }
13737 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13738 #[repr(C)]
13739 pub struct WBEM_COMPILE_STATUS_INFO {
13740     pub lPhaseError: i32,
13741     pub hRes: ::windows::runtime::HRESULT,
13742     pub ObjectNum: i32,
13743     pub FirstLine: i32,
13744     pub LastLine: i32,
13745     pub dwOutFlags: u32,
13746 }
13747 impl WBEM_COMPILE_STATUS_INFO {}
13748 impl ::std::default::Default for WBEM_COMPILE_STATUS_INFO {
default() -> Self13749     fn default() -> Self {
13750         unsafe { ::std::mem::zeroed() }
13751     }
13752 }
13753 impl ::std::fmt::Debug for WBEM_COMPILE_STATUS_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result13754     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
13755         fmt.debug_struct("WBEM_COMPILE_STATUS_INFO").field("lPhaseError", &self.lPhaseError).field("hRes", &self.hRes).field("ObjectNum", &self.ObjectNum).field("FirstLine", &self.FirstLine).field("LastLine", &self.LastLine).field("dwOutFlags", &self.dwOutFlags).finish()
13756     }
13757 }
13758 impl ::std::cmp::PartialEq for WBEM_COMPILE_STATUS_INFO {
eq(&self, other: &Self) -> bool13759     fn eq(&self, other: &Self) -> bool {
13760         self.lPhaseError == other.lPhaseError && self.hRes == other.hRes && self.ObjectNum == other.ObjectNum && self.FirstLine == other.FirstLine && self.LastLine == other.LastLine && self.dwOutFlags == other.dwOutFlags
13761     }
13762 }
13763 impl ::std::cmp::Eq for WBEM_COMPILE_STATUS_INFO {}
13764 unsafe impl ::windows::runtime::Abi for WBEM_COMPILE_STATUS_INFO {
13765     type Abi = Self;
13766     type DefaultType = Self;
13767 }
13768 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13769 #[repr(transparent)]
13770 pub struct WBEM_CONDITION_FLAG_TYPE(pub i32);
13771 pub const WBEM_FLAG_ALWAYS: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(0i32);
13772 pub const WBEM_FLAG_ONLY_IF_TRUE: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(1i32);
13773 pub const WBEM_FLAG_ONLY_IF_FALSE: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(2i32);
13774 pub const WBEM_FLAG_ONLY_IF_IDENTICAL: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(3i32);
13775 pub const WBEM_MASK_PRIMARY_CONDITION: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(3i32);
13776 pub const WBEM_FLAG_KEYS_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(4i32);
13777 pub const WBEM_FLAG_REFS_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(8i32);
13778 pub const WBEM_FLAG_LOCAL_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(16i32);
13779 pub const WBEM_FLAG_PROPAGATED_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(32i32);
13780 pub const WBEM_FLAG_SYSTEM_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(48i32);
13781 pub const WBEM_FLAG_NONSYSTEM_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(64i32);
13782 pub const WBEM_MASK_CONDITION_ORIGIN: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(112i32);
13783 pub const WBEM_FLAG_CLASS_OVERRIDES_ONLY: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(256i32);
13784 pub const WBEM_FLAG_CLASS_LOCAL_AND_OVERRIDES: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(512i32);
13785 pub const WBEM_MASK_CLASS_CONDITION: WBEM_CONDITION_FLAG_TYPE = WBEM_CONDITION_FLAG_TYPE(768i32);
13786 impl ::std::convert::From<i32> for WBEM_CONDITION_FLAG_TYPE {
from(value: i32) -> Self13787     fn from(value: i32) -> Self {
13788         Self(value)
13789     }
13790 }
13791 unsafe impl ::windows::runtime::Abi for WBEM_CONDITION_FLAG_TYPE {
13792     type Abi = Self;
13793     type DefaultType = Self;
13794 }
13795 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13796 #[repr(transparent)]
13797 pub struct WBEM_CONNECT_OPTIONS(pub i32);
13798 pub const WBEM_FLAG_CONNECT_REPOSITORY_ONLY: WBEM_CONNECT_OPTIONS = WBEM_CONNECT_OPTIONS(64i32);
13799 pub const WBEM_FLAG_CONNECT_USE_MAX_WAIT: WBEM_CONNECT_OPTIONS = WBEM_CONNECT_OPTIONS(128i32);
13800 pub const WBEM_FLAG_CONNECT_PROVIDERS: WBEM_CONNECT_OPTIONS = WBEM_CONNECT_OPTIONS(256i32);
13801 impl ::std::convert::From<i32> for WBEM_CONNECT_OPTIONS {
from(value: i32) -> Self13802     fn from(value: i32) -> Self {
13803         Self(value)
13804     }
13805 }
13806 unsafe impl ::windows::runtime::Abi for WBEM_CONNECT_OPTIONS {
13807     type Abi = Self;
13808     type DefaultType = Self;
13809 }
13810 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13811 #[repr(transparent)]
13812 pub struct WBEM_EXTRA_RETURN_CODES(pub i32);
13813 pub const WBEM_S_INITIALIZED: WBEM_EXTRA_RETURN_CODES = WBEM_EXTRA_RETURN_CODES(0i32);
13814 pub const WBEM_S_LIMITED_SERVICE: WBEM_EXTRA_RETURN_CODES = WBEM_EXTRA_RETURN_CODES(274433i32);
13815 pub const WBEM_S_INDIRECTLY_UPDATED: WBEM_EXTRA_RETURN_CODES = WBEM_EXTRA_RETURN_CODES(274434i32);
13816 pub const WBEM_S_SUBJECT_TO_SDS: WBEM_EXTRA_RETURN_CODES = WBEM_EXTRA_RETURN_CODES(274435i32);
13817 pub const WBEM_E_RETRY_LATER: WBEM_EXTRA_RETURN_CODES = WBEM_EXTRA_RETURN_CODES(-2147209215i32);
13818 pub const WBEM_E_RESOURCE_CONTENTION: WBEM_EXTRA_RETURN_CODES = WBEM_EXTRA_RETURN_CODES(-2147209214i32);
13819 impl ::std::convert::From<i32> for WBEM_EXTRA_RETURN_CODES {
from(value: i32) -> Self13820     fn from(value: i32) -> Self {
13821         Self(value)
13822     }
13823 }
13824 unsafe impl ::windows::runtime::Abi for WBEM_EXTRA_RETURN_CODES {
13825     type Abi = Self;
13826     type DefaultType = Self;
13827 }
13828 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13829 #[repr(transparent)]
13830 pub struct WBEM_FLAVOR_TYPE(pub i32);
13831 pub const WBEM_FLAVOR_DONT_PROPAGATE: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(0i32);
13832 pub const WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(1i32);
13833 pub const WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(2i32);
13834 pub const WBEM_FLAVOR_MASK_PROPAGATION: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(15i32);
13835 pub const WBEM_FLAVOR_OVERRIDABLE: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(0i32);
13836 pub const WBEM_FLAVOR_NOT_OVERRIDABLE: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(16i32);
13837 pub const WBEM_FLAVOR_MASK_PERMISSIONS: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(16i32);
13838 pub const WBEM_FLAVOR_ORIGIN_LOCAL: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(0i32);
13839 pub const WBEM_FLAVOR_ORIGIN_PROPAGATED: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(32i32);
13840 pub const WBEM_FLAVOR_ORIGIN_SYSTEM: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(64i32);
13841 pub const WBEM_FLAVOR_MASK_ORIGIN: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(96i32);
13842 pub const WBEM_FLAVOR_NOT_AMENDED: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(0i32);
13843 pub const WBEM_FLAVOR_AMENDED: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(128i32);
13844 pub const WBEM_FLAVOR_MASK_AMENDED: WBEM_FLAVOR_TYPE = WBEM_FLAVOR_TYPE(128i32);
13845 impl ::std::convert::From<i32> for WBEM_FLAVOR_TYPE {
from(value: i32) -> Self13846     fn from(value: i32) -> Self {
13847         Self(value)
13848     }
13849 }
13850 unsafe impl ::windows::runtime::Abi for WBEM_FLAVOR_TYPE {
13851     type Abi = Self;
13852     type DefaultType = Self;
13853 }
13854 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13855 #[repr(transparent)]
13856 pub struct WBEM_GENERIC_FLAG_TYPE(pub i32);
13857 pub const WBEM_FLAG_RETURN_IMMEDIATELY: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(16i32);
13858 pub const WBEM_FLAG_RETURN_WBEM_COMPLETE: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(0i32);
13859 pub const WBEM_FLAG_BIDIRECTIONAL: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(0i32);
13860 pub const WBEM_FLAG_FORWARD_ONLY: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(32i32);
13861 pub const WBEM_FLAG_NO_ERROR_OBJECT: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(64i32);
13862 pub const WBEM_FLAG_RETURN_ERROR_OBJECT: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(0i32);
13863 pub const WBEM_FLAG_SEND_STATUS: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(128i32);
13864 pub const WBEM_FLAG_DONT_SEND_STATUS: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(0i32);
13865 pub const WBEM_FLAG_ENSURE_LOCATABLE: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(256i32);
13866 pub const WBEM_FLAG_DIRECT_READ: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(512i32);
13867 pub const WBEM_FLAG_SEND_ONLY_SELECTED: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(0i32);
13868 pub const WBEM_RETURN_WHEN_COMPLETE: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(0i32);
13869 pub const WBEM_RETURN_IMMEDIATELY: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(16i32);
13870 pub const WBEM_MASK_RESERVED_FLAGS: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(126976i32);
13871 pub const WBEM_FLAG_USE_AMENDED_QUALIFIERS: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(131072i32);
13872 pub const WBEM_FLAG_STRONG_VALIDATION: WBEM_GENERIC_FLAG_TYPE = WBEM_GENERIC_FLAG_TYPE(1048576i32);
13873 impl ::std::convert::From<i32> for WBEM_GENERIC_FLAG_TYPE {
from(value: i32) -> Self13874     fn from(value: i32) -> Self {
13875         Self(value)
13876     }
13877 }
13878 unsafe impl ::windows::runtime::Abi for WBEM_GENERIC_FLAG_TYPE {
13879     type Abi = Self;
13880     type DefaultType = Self;
13881 }
13882 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13883 #[repr(transparent)]
13884 pub struct WBEM_GENUS_TYPE(pub i32);
13885 pub const WBEM_GENUS_CLASS: WBEM_GENUS_TYPE = WBEM_GENUS_TYPE(1i32);
13886 pub const WBEM_GENUS_INSTANCE: WBEM_GENUS_TYPE = WBEM_GENUS_TYPE(2i32);
13887 impl ::std::convert::From<i32> for WBEM_GENUS_TYPE {
from(value: i32) -> Self13888     fn from(value: i32) -> Self {
13889         Self(value)
13890     }
13891 }
13892 unsafe impl ::windows::runtime::Abi for WBEM_GENUS_TYPE {
13893     type Abi = Self;
13894     type DefaultType = Self;
13895 }
13896 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13897 #[repr(transparent)]
13898 pub struct WBEM_GET_KEY_FLAGS(pub i32);
13899 pub const WBEMPATH_TEXT: WBEM_GET_KEY_FLAGS = WBEM_GET_KEY_FLAGS(1i32);
13900 pub const WBEMPATH_QUOTEDTEXT: WBEM_GET_KEY_FLAGS = WBEM_GET_KEY_FLAGS(2i32);
13901 impl ::std::convert::From<i32> for WBEM_GET_KEY_FLAGS {
from(value: i32) -> Self13902     fn from(value: i32) -> Self {
13903         Self(value)
13904     }
13905 }
13906 unsafe impl ::windows::runtime::Abi for WBEM_GET_KEY_FLAGS {
13907     type Abi = Self;
13908     type DefaultType = Self;
13909 }
13910 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13911 #[repr(transparent)]
13912 pub struct WBEM_GET_TEXT_FLAGS(pub i32);
13913 pub const WBEMPATH_COMPRESSED: WBEM_GET_TEXT_FLAGS = WBEM_GET_TEXT_FLAGS(1i32);
13914 pub const WBEMPATH_GET_RELATIVE_ONLY: WBEM_GET_TEXT_FLAGS = WBEM_GET_TEXT_FLAGS(2i32);
13915 pub const WBEMPATH_GET_SERVER_TOO: WBEM_GET_TEXT_FLAGS = WBEM_GET_TEXT_FLAGS(4i32);
13916 pub const WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY: WBEM_GET_TEXT_FLAGS = WBEM_GET_TEXT_FLAGS(8i32);
13917 pub const WBEMPATH_GET_NAMESPACE_ONLY: WBEM_GET_TEXT_FLAGS = WBEM_GET_TEXT_FLAGS(16i32);
13918 pub const WBEMPATH_GET_ORIGINAL: WBEM_GET_TEXT_FLAGS = WBEM_GET_TEXT_FLAGS(32i32);
13919 impl ::std::convert::From<i32> for WBEM_GET_TEXT_FLAGS {
from(value: i32) -> Self13920     fn from(value: i32) -> Self {
13921         Self(value)
13922     }
13923 }
13924 unsafe impl ::windows::runtime::Abi for WBEM_GET_TEXT_FLAGS {
13925     type Abi = Self;
13926     type DefaultType = Self;
13927 }
13928 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13929 #[repr(transparent)]
13930 pub struct WBEM_INFORMATION_FLAG_TYPE(pub i32);
13931 pub const WBEM_FLAG_SHORT_NAME: WBEM_INFORMATION_FLAG_TYPE = WBEM_INFORMATION_FLAG_TYPE(1i32);
13932 pub const WBEM_FLAG_LONG_NAME: WBEM_INFORMATION_FLAG_TYPE = WBEM_INFORMATION_FLAG_TYPE(2i32);
13933 impl ::std::convert::From<i32> for WBEM_INFORMATION_FLAG_TYPE {
from(value: i32) -> Self13934     fn from(value: i32) -> Self {
13935         Self(value)
13936     }
13937 }
13938 unsafe impl ::windows::runtime::Abi for WBEM_INFORMATION_FLAG_TYPE {
13939     type Abi = Self;
13940     type DefaultType = Self;
13941 }
13942 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13943 #[repr(transparent)]
13944 pub struct WBEM_LIMITATION_FLAG_TYPE(pub i32);
13945 pub const WBEM_FLAG_EXCLUDE_OBJECT_QUALIFIERS: WBEM_LIMITATION_FLAG_TYPE = WBEM_LIMITATION_FLAG_TYPE(16i32);
13946 pub const WBEM_FLAG_EXCLUDE_PROPERTY_QUALIFIERS: WBEM_LIMITATION_FLAG_TYPE = WBEM_LIMITATION_FLAG_TYPE(32i32);
13947 impl ::std::convert::From<i32> for WBEM_LIMITATION_FLAG_TYPE {
from(value: i32) -> Self13948     fn from(value: i32) -> Self {
13949         Self(value)
13950     }
13951 }
13952 unsafe impl ::windows::runtime::Abi for WBEM_LIMITATION_FLAG_TYPE {
13953     type Abi = Self;
13954     type DefaultType = Self;
13955 }
13956 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13957 #[repr(transparent)]
13958 pub struct WBEM_LIMITS(pub i32);
13959 pub const WBEM_MAX_IDENTIFIER: WBEM_LIMITS = WBEM_LIMITS(4096i32);
13960 pub const WBEM_MAX_QUERY: WBEM_LIMITS = WBEM_LIMITS(16384i32);
13961 pub const WBEM_MAX_PATH: WBEM_LIMITS = WBEM_LIMITS(8192i32);
13962 pub const WBEM_MAX_OBJECT_NESTING: WBEM_LIMITS = WBEM_LIMITS(64i32);
13963 pub const WBEM_MAX_USER_PROPERTIES: WBEM_LIMITS = WBEM_LIMITS(1024i32);
13964 impl ::std::convert::From<i32> for WBEM_LIMITS {
from(value: i32) -> Self13965     fn from(value: i32) -> Self {
13966         Self(value)
13967     }
13968 }
13969 unsafe impl ::windows::runtime::Abi for WBEM_LIMITS {
13970     type Abi = Self;
13971     type DefaultType = Self;
13972 }
13973 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13974 #[repr(transparent)]
13975 pub struct WBEM_LOCKING(pub i32);
13976 pub const WBEM_FLAG_ALLOW_READ: WBEM_LOCKING = WBEM_LOCKING(1i32);
13977 impl ::std::convert::From<i32> for WBEM_LOCKING {
from(value: i32) -> Self13978     fn from(value: i32) -> Self {
13979         Self(value)
13980     }
13981 }
13982 unsafe impl ::windows::runtime::Abi for WBEM_LOCKING {
13983     type Abi = Self;
13984     type DefaultType = Self;
13985 }
13986 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
13987 #[repr(transparent)]
13988 pub struct WBEM_PATH_CREATE_FLAG(pub i32);
13989 pub const WBEMPATH_CREATE_ACCEPT_RELATIVE: WBEM_PATH_CREATE_FLAG = WBEM_PATH_CREATE_FLAG(1i32);
13990 pub const WBEMPATH_CREATE_ACCEPT_ABSOLUTE: WBEM_PATH_CREATE_FLAG = WBEM_PATH_CREATE_FLAG(2i32);
13991 pub const WBEMPATH_CREATE_ACCEPT_ALL: WBEM_PATH_CREATE_FLAG = WBEM_PATH_CREATE_FLAG(4i32);
13992 pub const WBEMPATH_TREAT_SINGLE_IDENT_AS_NS: WBEM_PATH_CREATE_FLAG = WBEM_PATH_CREATE_FLAG(8i32);
13993 impl ::std::convert::From<i32> for WBEM_PATH_CREATE_FLAG {
from(value: i32) -> Self13994     fn from(value: i32) -> Self {
13995         Self(value)
13996     }
13997 }
13998 unsafe impl ::windows::runtime::Abi for WBEM_PATH_CREATE_FLAG {
13999     type Abi = Self;
14000     type DefaultType = Self;
14001 }
14002 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14003 #[repr(transparent)]
14004 pub struct WBEM_PATH_STATUS_FLAG(pub i32);
14005 pub const WBEMPATH_INFO_ANON_LOCAL_MACHINE: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(1i32);
14006 pub const WBEMPATH_INFO_HAS_MACHINE_NAME: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(2i32);
14007 pub const WBEMPATH_INFO_IS_CLASS_REF: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(4i32);
14008 pub const WBEMPATH_INFO_IS_INST_REF: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(8i32);
14009 pub const WBEMPATH_INFO_HAS_SUBSCOPES: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(16i32);
14010 pub const WBEMPATH_INFO_IS_COMPOUND: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(32i32);
14011 pub const WBEMPATH_INFO_HAS_V2_REF_PATHS: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(64i32);
14012 pub const WBEMPATH_INFO_HAS_IMPLIED_KEY: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(128i32);
14013 pub const WBEMPATH_INFO_CONTAINS_SINGLETON: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(256i32);
14014 pub const WBEMPATH_INFO_V1_COMPLIANT: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(512i32);
14015 pub const WBEMPATH_INFO_V2_COMPLIANT: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(1024i32);
14016 pub const WBEMPATH_INFO_CIM_COMPLIANT: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(2048i32);
14017 pub const WBEMPATH_INFO_IS_SINGLETON: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(4096i32);
14018 pub const WBEMPATH_INFO_IS_PARENT: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(8192i32);
14019 pub const WBEMPATH_INFO_SERVER_NAMESPACE_ONLY: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(16384i32);
14020 pub const WBEMPATH_INFO_NATIVE_PATH: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(32768i32);
14021 pub const WBEMPATH_INFO_WMI_PATH: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(65536i32);
14022 pub const WBEMPATH_INFO_PATH_HAD_SERVER: WBEM_PATH_STATUS_FLAG = WBEM_PATH_STATUS_FLAG(131072i32);
14023 impl ::std::convert::From<i32> for WBEM_PATH_STATUS_FLAG {
from(value: i32) -> Self14024     fn from(value: i32) -> Self {
14025         Self(value)
14026     }
14027 }
14028 unsafe impl ::windows::runtime::Abi for WBEM_PATH_STATUS_FLAG {
14029     type Abi = Self;
14030     type DefaultType = Self;
14031 }
14032 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14033 #[repr(transparent)]
14034 pub struct WBEM_PROVIDER_FLAGS(pub i32);
14035 pub const WBEM_FLAG_OWNER_UPDATE: WBEM_PROVIDER_FLAGS = WBEM_PROVIDER_FLAGS(65536i32);
14036 impl ::std::convert::From<i32> for WBEM_PROVIDER_FLAGS {
from(value: i32) -> Self14037     fn from(value: i32) -> Self {
14038         Self(value)
14039     }
14040 }
14041 unsafe impl ::windows::runtime::Abi for WBEM_PROVIDER_FLAGS {
14042     type Abi = Self;
14043     type DefaultType = Self;
14044 }
14045 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14046 #[repr(transparent)]
14047 pub struct WBEM_PROVIDER_REQUIREMENTS_TYPE(pub i32);
14048 pub const WBEM_REQUIREMENTS_START_POSTFILTER: WBEM_PROVIDER_REQUIREMENTS_TYPE = WBEM_PROVIDER_REQUIREMENTS_TYPE(0i32);
14049 pub const WBEM_REQUIREMENTS_STOP_POSTFILTER: WBEM_PROVIDER_REQUIREMENTS_TYPE = WBEM_PROVIDER_REQUIREMENTS_TYPE(1i32);
14050 pub const WBEM_REQUIREMENTS_RECHECK_SUBSCRIPTIONS: WBEM_PROVIDER_REQUIREMENTS_TYPE = WBEM_PROVIDER_REQUIREMENTS_TYPE(2i32);
14051 impl ::std::convert::From<i32> for WBEM_PROVIDER_REQUIREMENTS_TYPE {
from(value: i32) -> Self14052     fn from(value: i32) -> Self {
14053         Self(value)
14054     }
14055 }
14056 unsafe impl ::windows::runtime::Abi for WBEM_PROVIDER_REQUIREMENTS_TYPE {
14057     type Abi = Self;
14058     type DefaultType = Self;
14059 }
14060 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14061 #[repr(transparent)]
14062 pub struct WBEM_QUERY_FLAG_TYPE(pub i32);
14063 pub const WBEM_FLAG_DEEP: WBEM_QUERY_FLAG_TYPE = WBEM_QUERY_FLAG_TYPE(0i32);
14064 pub const WBEM_FLAG_SHALLOW: WBEM_QUERY_FLAG_TYPE = WBEM_QUERY_FLAG_TYPE(1i32);
14065 pub const WBEM_FLAG_PROTOTYPE: WBEM_QUERY_FLAG_TYPE = WBEM_QUERY_FLAG_TYPE(2i32);
14066 impl ::std::convert::From<i32> for WBEM_QUERY_FLAG_TYPE {
from(value: i32) -> Self14067     fn from(value: i32) -> Self {
14068         Self(value)
14069     }
14070 }
14071 unsafe impl ::windows::runtime::Abi for WBEM_QUERY_FLAG_TYPE {
14072     type Abi = Self;
14073     type DefaultType = Self;
14074 }
14075 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14076 #[repr(transparent)]
14077 pub struct WBEM_REFRESHER_FLAGS(pub i32);
14078 pub const WBEM_FLAG_REFRESH_AUTO_RECONNECT: WBEM_REFRESHER_FLAGS = WBEM_REFRESHER_FLAGS(0i32);
14079 pub const WBEM_FLAG_REFRESH_NO_AUTO_RECONNECT: WBEM_REFRESHER_FLAGS = WBEM_REFRESHER_FLAGS(1i32);
14080 impl ::std::convert::From<i32> for WBEM_REFRESHER_FLAGS {
from(value: i32) -> Self14081     fn from(value: i32) -> Self {
14082         Self(value)
14083     }
14084 }
14085 unsafe impl ::windows::runtime::Abi for WBEM_REFRESHER_FLAGS {
14086     type Abi = Self;
14087     type DefaultType = Self;
14088 }
14089 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14090 #[repr(transparent)]
14091 pub struct WBEM_SECURITY_FLAGS(pub i32);
14092 pub const WBEM_ENABLE: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(1i32);
14093 pub const WBEM_METHOD_EXECUTE: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(2i32);
14094 pub const WBEM_FULL_WRITE_REP: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(4i32);
14095 pub const WBEM_PARTIAL_WRITE_REP: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(8i32);
14096 pub const WBEM_WRITE_PROVIDER: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(16i32);
14097 pub const WBEM_REMOTE_ACCESS: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(32i32);
14098 pub const WBEM_RIGHT_SUBSCRIBE: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(64i32);
14099 pub const WBEM_RIGHT_PUBLISH: WBEM_SECURITY_FLAGS = WBEM_SECURITY_FLAGS(128i32);
14100 impl ::std::convert::From<i32> for WBEM_SECURITY_FLAGS {
from(value: i32) -> Self14101     fn from(value: i32) -> Self {
14102         Self(value)
14103     }
14104 }
14105 unsafe impl ::windows::runtime::Abi for WBEM_SECURITY_FLAGS {
14106     type Abi = Self;
14107     type DefaultType = Self;
14108 }
14109 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14110 #[repr(transparent)]
14111 pub struct WBEM_SHUTDOWN_FLAGS(pub i32);
14112 pub const WBEM_SHUTDOWN_UNLOAD_COMPONENT: WBEM_SHUTDOWN_FLAGS = WBEM_SHUTDOWN_FLAGS(1i32);
14113 pub const WBEM_SHUTDOWN_WMI: WBEM_SHUTDOWN_FLAGS = WBEM_SHUTDOWN_FLAGS(2i32);
14114 pub const WBEM_SHUTDOWN_OS: WBEM_SHUTDOWN_FLAGS = WBEM_SHUTDOWN_FLAGS(3i32);
14115 impl ::std::convert::From<i32> for WBEM_SHUTDOWN_FLAGS {
from(value: i32) -> Self14116     fn from(value: i32) -> Self {
14117         Self(value)
14118     }
14119 }
14120 unsafe impl ::windows::runtime::Abi for WBEM_SHUTDOWN_FLAGS {
14121     type Abi = Self;
14122     type DefaultType = Self;
14123 }
14124 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14125 #[repr(transparent)]
14126 pub struct WBEM_STATUS_TYPE(pub i32);
14127 pub const WBEM_STATUS_COMPLETE: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(0i32);
14128 pub const WBEM_STATUS_REQUIREMENTS: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(1i32);
14129 pub const WBEM_STATUS_PROGRESS: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(2i32);
14130 pub const WBEM_STATUS_LOGGING_INFORMATION: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(256i32);
14131 pub const WBEM_STATUS_LOGGING_INFORMATION_PROVIDER: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(512i32);
14132 pub const WBEM_STATUS_LOGGING_INFORMATION_HOST: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(1024i32);
14133 pub const WBEM_STATUS_LOGGING_INFORMATION_REPOSITORY: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(2048i32);
14134 pub const WBEM_STATUS_LOGGING_INFORMATION_ESS: WBEM_STATUS_TYPE = WBEM_STATUS_TYPE(4096i32);
14135 impl ::std::convert::From<i32> for WBEM_STATUS_TYPE {
from(value: i32) -> Self14136     fn from(value: i32) -> Self {
14137         Self(value)
14138     }
14139 }
14140 unsafe impl ::windows::runtime::Abi for WBEM_STATUS_TYPE {
14141     type Abi = Self;
14142     type DefaultType = Self;
14143 }
14144 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14145 #[repr(transparent)]
14146 pub struct WBEM_TEXT_FLAG_TYPE(pub i32);
14147 pub const WBEM_FLAG_NO_FLAVORS: WBEM_TEXT_FLAG_TYPE = WBEM_TEXT_FLAG_TYPE(1i32);
14148 impl ::std::convert::From<i32> for WBEM_TEXT_FLAG_TYPE {
from(value: i32) -> Self14149     fn from(value: i32) -> Self {
14150         Self(value)
14151     }
14152 }
14153 unsafe impl ::windows::runtime::Abi for WBEM_TEXT_FLAG_TYPE {
14154     type Abi = Self;
14155     type DefaultType = Self;
14156 }
14157 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14158 #[repr(transparent)]
14159 pub struct WBEM_TIMEOUT_TYPE(pub i32);
14160 pub const WBEM_NO_WAIT: WBEM_TIMEOUT_TYPE = WBEM_TIMEOUT_TYPE(0i32);
14161 pub const WBEM_INFINITE: WBEM_TIMEOUT_TYPE = WBEM_TIMEOUT_TYPE(-1i32);
14162 impl ::std::convert::From<i32> for WBEM_TIMEOUT_TYPE {
from(value: i32) -> Self14163     fn from(value: i32) -> Self {
14164         Self(value)
14165     }
14166 }
14167 unsafe impl ::windows::runtime::Abi for WBEM_TIMEOUT_TYPE {
14168     type Abi = Self;
14169     type DefaultType = Self;
14170 }
14171 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14172 #[repr(transparent)]
14173 pub struct WBEM_UNSECAPP_FLAG_TYPE(pub i32);
14174 pub const WBEM_FLAG_UNSECAPP_DEFAULT_CHECK_ACCESS: WBEM_UNSECAPP_FLAG_TYPE = WBEM_UNSECAPP_FLAG_TYPE(0i32);
14175 pub const WBEM_FLAG_UNSECAPP_CHECK_ACCESS: WBEM_UNSECAPP_FLAG_TYPE = WBEM_UNSECAPP_FLAG_TYPE(1i32);
14176 pub const WBEM_FLAG_UNSECAPP_DONT_CHECK_ACCESS: WBEM_UNSECAPP_FLAG_TYPE = WBEM_UNSECAPP_FLAG_TYPE(2i32);
14177 impl ::std::convert::From<i32> for WBEM_UNSECAPP_FLAG_TYPE {
from(value: i32) -> Self14178     fn from(value: i32) -> Self {
14179         Self(value)
14180     }
14181 }
14182 unsafe impl ::windows::runtime::Abi for WBEM_UNSECAPP_FLAG_TYPE {
14183     type Abi = Self;
14184     type DefaultType = Self;
14185 }
14186 pub const WMIExtension: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4036451070, 23679, 4562, [139, 116, 0, 16, 75, 42, 251, 65]);
14187 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14188 #[repr(transparent)]
14189 pub struct WMIQ_ANALYSIS_TYPE(pub i32);
14190 pub const WMIQ_ANALYSIS_RPN_SEQUENCE: WMIQ_ANALYSIS_TYPE = WMIQ_ANALYSIS_TYPE(1i32);
14191 pub const WMIQ_ANALYSIS_ASSOC_QUERY: WMIQ_ANALYSIS_TYPE = WMIQ_ANALYSIS_TYPE(2i32);
14192 pub const WMIQ_ANALYSIS_PROP_ANALYSIS_MATRIX: WMIQ_ANALYSIS_TYPE = WMIQ_ANALYSIS_TYPE(3i32);
14193 pub const WMIQ_ANALYSIS_QUERY_TEXT: WMIQ_ANALYSIS_TYPE = WMIQ_ANALYSIS_TYPE(4i32);
14194 pub const WMIQ_ANALYSIS_RESERVED: WMIQ_ANALYSIS_TYPE = WMIQ_ANALYSIS_TYPE(134217728i32);
14195 impl ::std::convert::From<i32> for WMIQ_ANALYSIS_TYPE {
from(value: i32) -> Self14196     fn from(value: i32) -> Self {
14197         Self(value)
14198     }
14199 }
14200 unsafe impl ::windows::runtime::Abi for WMIQ_ANALYSIS_TYPE {
14201     type Abi = Self;
14202     type DefaultType = Self;
14203 }
14204 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14205 #[repr(transparent)]
14206 pub struct WMIQ_ASSOCQ_FLAGS(pub i32);
14207 pub const WMIQ_ASSOCQ_ASSOCIATORS: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(1i32);
14208 pub const WMIQ_ASSOCQ_REFERENCES: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(2i32);
14209 pub const WMIQ_ASSOCQ_RESULTCLASS: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(4i32);
14210 pub const WMIQ_ASSOCQ_ASSOCCLASS: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(8i32);
14211 pub const WMIQ_ASSOCQ_ROLE: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(16i32);
14212 pub const WMIQ_ASSOCQ_RESULTROLE: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(32i32);
14213 pub const WMIQ_ASSOCQ_REQUIREDQUALIFIER: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(64i32);
14214 pub const WMIQ_ASSOCQ_REQUIREDASSOCQUALIFIER: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(128i32);
14215 pub const WMIQ_ASSOCQ_CLASSDEFSONLY: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(256i32);
14216 pub const WMIQ_ASSOCQ_KEYSONLY: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(512i32);
14217 pub const WMIQ_ASSOCQ_SCHEMAONLY: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(1024i32);
14218 pub const WMIQ_ASSOCQ_CLASSREFSONLY: WMIQ_ASSOCQ_FLAGS = WMIQ_ASSOCQ_FLAGS(2048i32);
14219 impl ::std::convert::From<i32> for WMIQ_ASSOCQ_FLAGS {
from(value: i32) -> Self14220     fn from(value: i32) -> Self {
14221         Self(value)
14222     }
14223 }
14224 unsafe impl ::windows::runtime::Abi for WMIQ_ASSOCQ_FLAGS {
14225     type Abi = Self;
14226     type DefaultType = Self;
14227 }
14228 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14229 #[repr(transparent)]
14230 pub struct WMIQ_LANGUAGE_FEATURES(pub i32);
14231 pub const WMIQ_LF1_BASIC_SELECT: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(1i32);
14232 pub const WMIQ_LF2_CLASS_NAME_IN_QUERY: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(2i32);
14233 pub const WMIQ_LF3_STRING_CASE_FUNCTIONS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(3i32);
14234 pub const WMIQ_LF4_PROP_TO_PROP_TESTS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(4i32);
14235 pub const WMIQ_LF5_COUNT_STAR: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(5i32);
14236 pub const WMIQ_LF6_ORDER_BY: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(6i32);
14237 pub const WMIQ_LF7_DISTINCT: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(7i32);
14238 pub const WMIQ_LF8_ISA: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(8i32);
14239 pub const WMIQ_LF9_THIS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(9i32);
14240 pub const WMIQ_LF10_COMPEX_SUBEXPRESSIONS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(10i32);
14241 pub const WMIQ_LF11_ALIASING: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(11i32);
14242 pub const WMIQ_LF12_GROUP_BY_HAVING: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(12i32);
14243 pub const WMIQ_LF13_WMI_WITHIN: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(13i32);
14244 pub const WMIQ_LF14_SQL_WRITE_OPERATIONS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(14i32);
14245 pub const WMIQ_LF15_GO: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(15i32);
14246 pub const WMIQ_LF16_SINGLE_LEVEL_TRANSACTIONS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(16i32);
14247 pub const WMIQ_LF17_QUALIFIED_NAMES: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(17i32);
14248 pub const WMIQ_LF18_ASSOCIATONS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(18i32);
14249 pub const WMIQ_LF19_SYSTEM_PROPERTIES: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(19i32);
14250 pub const WMIQ_LF20_EXTENDED_SYSTEM_PROPERTIES: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(20i32);
14251 pub const WMIQ_LF21_SQL89_JOINS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(21i32);
14252 pub const WMIQ_LF22_SQL92_JOINS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(22i32);
14253 pub const WMIQ_LF23_SUBSELECTS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(23i32);
14254 pub const WMIQ_LF24_UMI_EXTENSIONS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(24i32);
14255 pub const WMIQ_LF25_DATEPART: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(25i32);
14256 pub const WMIQ_LF26_LIKE: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(26i32);
14257 pub const WMIQ_LF27_CIM_TEMPORAL_CONSTRUCTS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(27i32);
14258 pub const WMIQ_LF28_STANDARD_AGGREGATES: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(28i32);
14259 pub const WMIQ_LF29_MULTI_LEVEL_ORDER_BY: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(29i32);
14260 pub const WMIQ_LF30_WMI_PRAGMAS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(30i32);
14261 pub const WMIQ_LF31_QUALIFIER_TESTS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(31i32);
14262 pub const WMIQ_LF32_SP_EXECUTE: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(32i32);
14263 pub const WMIQ_LF33_ARRAY_ACCESS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(33i32);
14264 pub const WMIQ_LF34_UNION: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(34i32);
14265 pub const WMIQ_LF35_COMPLEX_SELECT_TARGET: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(35i32);
14266 pub const WMIQ_LF36_REFERENCE_TESTS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(36i32);
14267 pub const WMIQ_LF37_SELECT_INTO: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(37i32);
14268 pub const WMIQ_LF38_BASIC_DATETIME_TESTS: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(38i32);
14269 pub const WMIQ_LF39_COUNT_COLUMN: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(39i32);
14270 pub const WMIQ_LF40_BETWEEN: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(40i32);
14271 pub const WMIQ_LF_LAST: WMIQ_LANGUAGE_FEATURES = WMIQ_LANGUAGE_FEATURES(40i32);
14272 impl ::std::convert::From<i32> for WMIQ_LANGUAGE_FEATURES {
from(value: i32) -> Self14273     fn from(value: i32) -> Self {
14274         Self(value)
14275     }
14276 }
14277 unsafe impl ::windows::runtime::Abi for WMIQ_LANGUAGE_FEATURES {
14278     type Abi = Self;
14279     type DefaultType = Self;
14280 }
14281 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14282 #[repr(transparent)]
14283 pub struct WMIQ_RPNQ_FEATURE(pub i32);
14284 pub const WMIQ_RPNF_WHERE_CLAUSE_PRESENT: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(1i32);
14285 pub const WMIQ_RPNF_QUERY_IS_CONJUNCTIVE: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(2i32);
14286 pub const WMIQ_RPNF_QUERY_IS_DISJUNCTIVE: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(4i32);
14287 pub const WMIQ_RPNF_PROJECTION: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(8i32);
14288 pub const WMIQ_RPNF_FEATURE_SELECT_STAR: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(16i32);
14289 pub const WMIQ_RPNF_EQUALITY_TESTS_ONLY: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(32i32);
14290 pub const WMIQ_RPNF_COUNT_STAR: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(64i32);
14291 pub const WMIQ_RPNF_QUALIFIED_NAMES_USED: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(128i32);
14292 pub const WMIQ_RPNF_SYSPROP_CLASS_USED: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(256i32);
14293 pub const WMIQ_RPNF_PROP_TO_PROP_TESTS: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(512i32);
14294 pub const WMIQ_RPNF_ORDER_BY: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(1024i32);
14295 pub const WMIQ_RPNF_ISA_USED: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(2048i32);
14296 pub const WMIQ_RPNF_GROUP_BY_HAVING: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(4096i32);
14297 pub const WMIQ_RPNF_ARRAY_ACCESS_USED: WMIQ_RPNQ_FEATURE = WMIQ_RPNQ_FEATURE(8192i32);
14298 impl ::std::convert::From<i32> for WMIQ_RPNQ_FEATURE {
from(value: i32) -> Self14299     fn from(value: i32) -> Self {
14300         Self(value)
14301     }
14302 }
14303 unsafe impl ::windows::runtime::Abi for WMIQ_RPNQ_FEATURE {
14304     type Abi = Self;
14305     type DefaultType = Self;
14306 }
14307 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14308 #[repr(transparent)]
14309 pub struct WMIQ_RPN_TOKEN_FLAGS(pub i32);
14310 pub const WMIQ_RPN_TOKEN_EXPRESSION: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(1i32);
14311 pub const WMIQ_RPN_TOKEN_AND: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(2i32);
14312 pub const WMIQ_RPN_TOKEN_OR: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(3i32);
14313 pub const WMIQ_RPN_TOKEN_NOT: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(4i32);
14314 pub const WMIQ_RPN_OP_UNDEFINED: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(0i32);
14315 pub const WMIQ_RPN_OP_EQ: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(1i32);
14316 pub const WMIQ_RPN_OP_NE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(2i32);
14317 pub const WMIQ_RPN_OP_GE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(3i32);
14318 pub const WMIQ_RPN_OP_LE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(4i32);
14319 pub const WMIQ_RPN_OP_LT: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(5i32);
14320 pub const WMIQ_RPN_OP_GT: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(6i32);
14321 pub const WMIQ_RPN_OP_LIKE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(7i32);
14322 pub const WMIQ_RPN_OP_ISA: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(8i32);
14323 pub const WMIQ_RPN_OP_ISNOTA: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(9i32);
14324 pub const WMIQ_RPN_OP_ISNULL: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(10i32);
14325 pub const WMIQ_RPN_OP_ISNOTNULL: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(11i32);
14326 pub const WMIQ_RPN_LEFT_PROPERTY_NAME: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(1i32);
14327 pub const WMIQ_RPN_RIGHT_PROPERTY_NAME: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(2i32);
14328 pub const WMIQ_RPN_CONST2: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(4i32);
14329 pub const WMIQ_RPN_CONST: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(8i32);
14330 pub const WMIQ_RPN_RELOP: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(16i32);
14331 pub const WMIQ_RPN_LEFT_FUNCTION: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(32i32);
14332 pub const WMIQ_RPN_RIGHT_FUNCTION: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(64i32);
14333 pub const WMIQ_RPN_GET_TOKEN_TYPE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(1i32);
14334 pub const WMIQ_RPN_GET_EXPR_SHAPE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(2i32);
14335 pub const WMIQ_RPN_GET_LEFT_FUNCTION: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(3i32);
14336 pub const WMIQ_RPN_GET_RIGHT_FUNCTION: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(4i32);
14337 pub const WMIQ_RPN_GET_RELOP: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(5i32);
14338 pub const WMIQ_RPN_NEXT_TOKEN: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(1i32);
14339 pub const WMIQ_RPN_FROM_UNARY: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(1i32);
14340 pub const WMIQ_RPN_FROM_PATH: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(2i32);
14341 pub const WMIQ_RPN_FROM_CLASS_LIST: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(4i32);
14342 pub const WMIQ_RPN_FROM_MULTIPLE: WMIQ_RPN_TOKEN_FLAGS = WMIQ_RPN_TOKEN_FLAGS(8i32);
14343 impl ::std::convert::From<i32> for WMIQ_RPN_TOKEN_FLAGS {
from(value: i32) -> Self14344     fn from(value: i32) -> Self {
14345         Self(value)
14346     }
14347 }
14348 unsafe impl ::windows::runtime::Abi for WMIQ_RPN_TOKEN_FLAGS {
14349     type Abi = Self;
14350     type DefaultType = Self;
14351 }
14352 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14353 #[repr(transparent)]
14354 pub struct WMI_OBJ_TEXT(pub i32);
14355 pub const WMI_OBJ_TEXT_CIM_DTD_2_0: WMI_OBJ_TEXT = WMI_OBJ_TEXT(1i32);
14356 pub const WMI_OBJ_TEXT_WMI_DTD_2_0: WMI_OBJ_TEXT = WMI_OBJ_TEXT(2i32);
14357 pub const WMI_OBJ_TEXT_WMI_EXT1: WMI_OBJ_TEXT = WMI_OBJ_TEXT(3i32);
14358 pub const WMI_OBJ_TEXT_WMI_EXT2: WMI_OBJ_TEXT = WMI_OBJ_TEXT(4i32);
14359 pub const WMI_OBJ_TEXT_WMI_EXT3: WMI_OBJ_TEXT = WMI_OBJ_TEXT(5i32);
14360 pub const WMI_OBJ_TEXT_WMI_EXT4: WMI_OBJ_TEXT = WMI_OBJ_TEXT(6i32);
14361 pub const WMI_OBJ_TEXT_WMI_EXT5: WMI_OBJ_TEXT = WMI_OBJ_TEXT(7i32);
14362 pub const WMI_OBJ_TEXT_WMI_EXT6: WMI_OBJ_TEXT = WMI_OBJ_TEXT(8i32);
14363 pub const WMI_OBJ_TEXT_WMI_EXT7: WMI_OBJ_TEXT = WMI_OBJ_TEXT(9i32);
14364 pub const WMI_OBJ_TEXT_WMI_EXT8: WMI_OBJ_TEXT = WMI_OBJ_TEXT(10i32);
14365 pub const WMI_OBJ_TEXT_WMI_EXT9: WMI_OBJ_TEXT = WMI_OBJ_TEXT(11i32);
14366 pub const WMI_OBJ_TEXT_WMI_EXT10: WMI_OBJ_TEXT = WMI_OBJ_TEXT(12i32);
14367 pub const WMI_OBJ_TEXT_LAST: WMI_OBJ_TEXT = WMI_OBJ_TEXT(13i32);
14368 impl ::std::convert::From<i32> for WMI_OBJ_TEXT {
from(value: i32) -> Self14369     fn from(value: i32) -> Self {
14370         Self(value)
14371     }
14372 }
14373 unsafe impl ::windows::runtime::Abi for WMI_OBJ_TEXT {
14374     type Abi = Self;
14375     type DefaultType = Self;
14376 }
14377 pub const WbemAdministrativeLocator: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3414513100, 37160, 4561, [173, 155, 0, 192, 79, 216, 253, 255]);
14378 pub const WbemAuthenticatedLocator: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3440919350, 37160, 4561, [173, 155, 0, 192, 79, 216, 253, 255]);
14379 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14380 #[repr(transparent)]
14381 pub struct WbemAuthenticationLevelEnum(pub i32);
14382 pub const wbemAuthenticationLevelDefault: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(0i32);
14383 pub const wbemAuthenticationLevelNone: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(1i32);
14384 pub const wbemAuthenticationLevelConnect: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(2i32);
14385 pub const wbemAuthenticationLevelCall: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(3i32);
14386 pub const wbemAuthenticationLevelPkt: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(4i32);
14387 pub const wbemAuthenticationLevelPktIntegrity: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(5i32);
14388 pub const wbemAuthenticationLevelPktPrivacy: WbemAuthenticationLevelEnum = WbemAuthenticationLevelEnum(6i32);
14389 impl ::std::convert::From<i32> for WbemAuthenticationLevelEnum {
from(value: i32) -> Self14390     fn from(value: i32) -> Self {
14391         Self(value)
14392     }
14393 }
14394 unsafe impl ::windows::runtime::Abi for WbemAuthenticationLevelEnum {
14395     type Abi = Self;
14396     type DefaultType = Self;
14397 }
14398 pub const WbemBackupRestore: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3298702022, 48267, 4562, [133, 212, 0, 16, 90, 31, 131, 4]);
14399 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14400 #[repr(transparent)]
14401 pub struct WbemChangeFlagEnum(pub i32);
14402 pub const wbemChangeFlagCreateOrUpdate: WbemChangeFlagEnum = WbemChangeFlagEnum(0i32);
14403 pub const wbemChangeFlagUpdateOnly: WbemChangeFlagEnum = WbemChangeFlagEnum(1i32);
14404 pub const wbemChangeFlagCreateOnly: WbemChangeFlagEnum = WbemChangeFlagEnum(2i32);
14405 pub const wbemChangeFlagUpdateCompatible: WbemChangeFlagEnum = WbemChangeFlagEnum(0i32);
14406 pub const wbemChangeFlagUpdateSafeMode: WbemChangeFlagEnum = WbemChangeFlagEnum(32i32);
14407 pub const wbemChangeFlagUpdateForceMode: WbemChangeFlagEnum = WbemChangeFlagEnum(64i32);
14408 pub const wbemChangeFlagStrongValidation: WbemChangeFlagEnum = WbemChangeFlagEnum(128i32);
14409 pub const wbemChangeFlagAdvisory: WbemChangeFlagEnum = WbemChangeFlagEnum(65536i32);
14410 impl ::std::convert::From<i32> for WbemChangeFlagEnum {
from(value: i32) -> Self14411     fn from(value: i32) -> Self {
14412         Self(value)
14413     }
14414 }
14415 unsafe impl ::windows::runtime::Abi for WbemChangeFlagEnum {
14416     type Abi = Self;
14417     type DefaultType = Self;
14418 }
14419 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14420 #[repr(transparent)]
14421 pub struct WbemCimtypeEnum(pub i32);
14422 pub const wbemCimtypeSint8: WbemCimtypeEnum = WbemCimtypeEnum(16i32);
14423 pub const wbemCimtypeUint8: WbemCimtypeEnum = WbemCimtypeEnum(17i32);
14424 pub const wbemCimtypeSint16: WbemCimtypeEnum = WbemCimtypeEnum(2i32);
14425 pub const wbemCimtypeUint16: WbemCimtypeEnum = WbemCimtypeEnum(18i32);
14426 pub const wbemCimtypeSint32: WbemCimtypeEnum = WbemCimtypeEnum(3i32);
14427 pub const wbemCimtypeUint32: WbemCimtypeEnum = WbemCimtypeEnum(19i32);
14428 pub const wbemCimtypeSint64: WbemCimtypeEnum = WbemCimtypeEnum(20i32);
14429 pub const wbemCimtypeUint64: WbemCimtypeEnum = WbemCimtypeEnum(21i32);
14430 pub const wbemCimtypeReal32: WbemCimtypeEnum = WbemCimtypeEnum(4i32);
14431 pub const wbemCimtypeReal64: WbemCimtypeEnum = WbemCimtypeEnum(5i32);
14432 pub const wbemCimtypeBoolean: WbemCimtypeEnum = WbemCimtypeEnum(11i32);
14433 pub const wbemCimtypeString: WbemCimtypeEnum = WbemCimtypeEnum(8i32);
14434 pub const wbemCimtypeDatetime: WbemCimtypeEnum = WbemCimtypeEnum(101i32);
14435 pub const wbemCimtypeReference: WbemCimtypeEnum = WbemCimtypeEnum(102i32);
14436 pub const wbemCimtypeChar16: WbemCimtypeEnum = WbemCimtypeEnum(103i32);
14437 pub const wbemCimtypeObject: WbemCimtypeEnum = WbemCimtypeEnum(13i32);
14438 impl ::std::convert::From<i32> for WbemCimtypeEnum {
from(value: i32) -> Self14439     fn from(value: i32) -> Self {
14440         Self(value)
14441     }
14442 }
14443 unsafe impl ::windows::runtime::Abi for WbemCimtypeEnum {
14444     type Abi = Self;
14445     type DefaultType = Self;
14446 }
14447 pub const WbemClassObject: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2590322822, 5967, 4562, [181, 249, 0, 16, 75, 112, 62, 253]);
14448 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14449 #[repr(transparent)]
14450 pub struct WbemComparisonFlagEnum(pub i32);
14451 pub const wbemComparisonFlagIncludeAll: WbemComparisonFlagEnum = WbemComparisonFlagEnum(0i32);
14452 pub const wbemComparisonFlagIgnoreQualifiers: WbemComparisonFlagEnum = WbemComparisonFlagEnum(1i32);
14453 pub const wbemComparisonFlagIgnoreObjectSource: WbemComparisonFlagEnum = WbemComparisonFlagEnum(2i32);
14454 pub const wbemComparisonFlagIgnoreDefaultValues: WbemComparisonFlagEnum = WbemComparisonFlagEnum(4i32);
14455 pub const wbemComparisonFlagIgnoreClass: WbemComparisonFlagEnum = WbemComparisonFlagEnum(8i32);
14456 pub const wbemComparisonFlagIgnoreCase: WbemComparisonFlagEnum = WbemComparisonFlagEnum(16i32);
14457 pub const wbemComparisonFlagIgnoreFlavor: WbemComparisonFlagEnum = WbemComparisonFlagEnum(32i32);
14458 impl ::std::convert::From<i32> for WbemComparisonFlagEnum {
from(value: i32) -> Self14459     fn from(value: i32) -> Self {
14460         Self(value)
14461     }
14462 }
14463 unsafe impl ::windows::runtime::Abi for WbemComparisonFlagEnum {
14464     type Abi = Self;
14465     type DefaultType = Self;
14466 }
14467 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14468 #[repr(transparent)]
14469 pub struct WbemConnectOptionsEnum(pub i32);
14470 pub const wbemConnectFlagUseMaxWait: WbemConnectOptionsEnum = WbemConnectOptionsEnum(128i32);
14471 impl ::std::convert::From<i32> for WbemConnectOptionsEnum {
from(value: i32) -> Self14472     fn from(value: i32) -> Self {
14473         Self(value)
14474     }
14475 }
14476 unsafe impl ::windows::runtime::Abi for WbemConnectOptionsEnum {
14477     type Abi = Self;
14478     type DefaultType = Self;
14479 }
14480 pub const WbemContext: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1732994712, 61074, 4560, [173, 113, 0, 192, 79, 216, 253, 255]);
14481 pub const WbemDCOMTransport: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4157484563, 35984, 4561, [158, 123, 0, 192, 79, 195, 36, 168]);
14482 pub const WbemDecoupledBasicEventProvider: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4126627639, 10307, 20258, [147, 61, 199, 106, 151, 205, 166, 47]);
14483 pub const WbemDecoupledRegistrar: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1291614514, 3997, 19439, [156, 50, 142, 162, 166, 181, 111, 203]);
14484 pub const WbemDefPath: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3477914629, 58053, 19933, [179, 206, 94, 117, 130, 216, 201, 250]);
14485 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14486 #[repr(transparent)]
14487 pub struct WbemErrorEnum(pub i32);
14488 pub const wbemNoErr: WbemErrorEnum = WbemErrorEnum(0i32);
14489 pub const wbemErrFailed: WbemErrorEnum = WbemErrorEnum(-2147217407i32);
14490 pub const wbemErrNotFound: WbemErrorEnum = WbemErrorEnum(-2147217406i32);
14491 pub const wbemErrAccessDenied: WbemErrorEnum = WbemErrorEnum(-2147217405i32);
14492 pub const wbemErrProviderFailure: WbemErrorEnum = WbemErrorEnum(-2147217404i32);
14493 pub const wbemErrTypeMismatch: WbemErrorEnum = WbemErrorEnum(-2147217403i32);
14494 pub const wbemErrOutOfMemory: WbemErrorEnum = WbemErrorEnum(-2147217402i32);
14495 pub const wbemErrInvalidContext: WbemErrorEnum = WbemErrorEnum(-2147217401i32);
14496 pub const wbemErrInvalidParameter: WbemErrorEnum = WbemErrorEnum(-2147217400i32);
14497 pub const wbemErrNotAvailable: WbemErrorEnum = WbemErrorEnum(-2147217399i32);
14498 pub const wbemErrCriticalError: WbemErrorEnum = WbemErrorEnum(-2147217398i32);
14499 pub const wbemErrInvalidStream: WbemErrorEnum = WbemErrorEnum(-2147217397i32);
14500 pub const wbemErrNotSupported: WbemErrorEnum = WbemErrorEnum(-2147217396i32);
14501 pub const wbemErrInvalidSuperclass: WbemErrorEnum = WbemErrorEnum(-2147217395i32);
14502 pub const wbemErrInvalidNamespace: WbemErrorEnum = WbemErrorEnum(-2147217394i32);
14503 pub const wbemErrInvalidObject: WbemErrorEnum = WbemErrorEnum(-2147217393i32);
14504 pub const wbemErrInvalidClass: WbemErrorEnum = WbemErrorEnum(-2147217392i32);
14505 pub const wbemErrProviderNotFound: WbemErrorEnum = WbemErrorEnum(-2147217391i32);
14506 pub const wbemErrInvalidProviderRegistration: WbemErrorEnum = WbemErrorEnum(-2147217390i32);
14507 pub const wbemErrProviderLoadFailure: WbemErrorEnum = WbemErrorEnum(-2147217389i32);
14508 pub const wbemErrInitializationFailure: WbemErrorEnum = WbemErrorEnum(-2147217388i32);
14509 pub const wbemErrTransportFailure: WbemErrorEnum = WbemErrorEnum(-2147217387i32);
14510 pub const wbemErrInvalidOperation: WbemErrorEnum = WbemErrorEnum(-2147217386i32);
14511 pub const wbemErrInvalidQuery: WbemErrorEnum = WbemErrorEnum(-2147217385i32);
14512 pub const wbemErrInvalidQueryType: WbemErrorEnum = WbemErrorEnum(-2147217384i32);
14513 pub const wbemErrAlreadyExists: WbemErrorEnum = WbemErrorEnum(-2147217383i32);
14514 pub const wbemErrOverrideNotAllowed: WbemErrorEnum = WbemErrorEnum(-2147217382i32);
14515 pub const wbemErrPropagatedQualifier: WbemErrorEnum = WbemErrorEnum(-2147217381i32);
14516 pub const wbemErrPropagatedProperty: WbemErrorEnum = WbemErrorEnum(-2147217380i32);
14517 pub const wbemErrUnexpected: WbemErrorEnum = WbemErrorEnum(-2147217379i32);
14518 pub const wbemErrIllegalOperation: WbemErrorEnum = WbemErrorEnum(-2147217378i32);
14519 pub const wbemErrCannotBeKey: WbemErrorEnum = WbemErrorEnum(-2147217377i32);
14520 pub const wbemErrIncompleteClass: WbemErrorEnum = WbemErrorEnum(-2147217376i32);
14521 pub const wbemErrInvalidSyntax: WbemErrorEnum = WbemErrorEnum(-2147217375i32);
14522 pub const wbemErrNondecoratedObject: WbemErrorEnum = WbemErrorEnum(-2147217374i32);
14523 pub const wbemErrReadOnly: WbemErrorEnum = WbemErrorEnum(-2147217373i32);
14524 pub const wbemErrProviderNotCapable: WbemErrorEnum = WbemErrorEnum(-2147217372i32);
14525 pub const wbemErrClassHasChildren: WbemErrorEnum = WbemErrorEnum(-2147217371i32);
14526 pub const wbemErrClassHasInstances: WbemErrorEnum = WbemErrorEnum(-2147217370i32);
14527 pub const wbemErrQueryNotImplemented: WbemErrorEnum = WbemErrorEnum(-2147217369i32);
14528 pub const wbemErrIllegalNull: WbemErrorEnum = WbemErrorEnum(-2147217368i32);
14529 pub const wbemErrInvalidQualifierType: WbemErrorEnum = WbemErrorEnum(-2147217367i32);
14530 pub const wbemErrInvalidPropertyType: WbemErrorEnum = WbemErrorEnum(-2147217366i32);
14531 pub const wbemErrValueOutOfRange: WbemErrorEnum = WbemErrorEnum(-2147217365i32);
14532 pub const wbemErrCannotBeSingleton: WbemErrorEnum = WbemErrorEnum(-2147217364i32);
14533 pub const wbemErrInvalidCimType: WbemErrorEnum = WbemErrorEnum(-2147217363i32);
14534 pub const wbemErrInvalidMethod: WbemErrorEnum = WbemErrorEnum(-2147217362i32);
14535 pub const wbemErrInvalidMethodParameters: WbemErrorEnum = WbemErrorEnum(-2147217361i32);
14536 pub const wbemErrSystemProperty: WbemErrorEnum = WbemErrorEnum(-2147217360i32);
14537 pub const wbemErrInvalidProperty: WbemErrorEnum = WbemErrorEnum(-2147217359i32);
14538 pub const wbemErrCallCancelled: WbemErrorEnum = WbemErrorEnum(-2147217358i32);
14539 pub const wbemErrShuttingDown: WbemErrorEnum = WbemErrorEnum(-2147217357i32);
14540 pub const wbemErrPropagatedMethod: WbemErrorEnum = WbemErrorEnum(-2147217356i32);
14541 pub const wbemErrUnsupportedParameter: WbemErrorEnum = WbemErrorEnum(-2147217355i32);
14542 pub const wbemErrMissingParameter: WbemErrorEnum = WbemErrorEnum(-2147217354i32);
14543 pub const wbemErrInvalidParameterId: WbemErrorEnum = WbemErrorEnum(-2147217353i32);
14544 pub const wbemErrNonConsecutiveParameterIds: WbemErrorEnum = WbemErrorEnum(-2147217352i32);
14545 pub const wbemErrParameterIdOnRetval: WbemErrorEnum = WbemErrorEnum(-2147217351i32);
14546 pub const wbemErrInvalidObjectPath: WbemErrorEnum = WbemErrorEnum(-2147217350i32);
14547 pub const wbemErrOutOfDiskSpace: WbemErrorEnum = WbemErrorEnum(-2147217349i32);
14548 pub const wbemErrBufferTooSmall: WbemErrorEnum = WbemErrorEnum(-2147217348i32);
14549 pub const wbemErrUnsupportedPutExtension: WbemErrorEnum = WbemErrorEnum(-2147217347i32);
14550 pub const wbemErrUnknownObjectType: WbemErrorEnum = WbemErrorEnum(-2147217346i32);
14551 pub const wbemErrUnknownPacketType: WbemErrorEnum = WbemErrorEnum(-2147217345i32);
14552 pub const wbemErrMarshalVersionMismatch: WbemErrorEnum = WbemErrorEnum(-2147217344i32);
14553 pub const wbemErrMarshalInvalidSignature: WbemErrorEnum = WbemErrorEnum(-2147217343i32);
14554 pub const wbemErrInvalidQualifier: WbemErrorEnum = WbemErrorEnum(-2147217342i32);
14555 pub const wbemErrInvalidDuplicateParameter: WbemErrorEnum = WbemErrorEnum(-2147217341i32);
14556 pub const wbemErrTooMuchData: WbemErrorEnum = WbemErrorEnum(-2147217340i32);
14557 pub const wbemErrServerTooBusy: WbemErrorEnum = WbemErrorEnum(-2147217339i32);
14558 pub const wbemErrInvalidFlavor: WbemErrorEnum = WbemErrorEnum(-2147217338i32);
14559 pub const wbemErrCircularReference: WbemErrorEnum = WbemErrorEnum(-2147217337i32);
14560 pub const wbemErrUnsupportedClassUpdate: WbemErrorEnum = WbemErrorEnum(-2147217336i32);
14561 pub const wbemErrCannotChangeKeyInheritance: WbemErrorEnum = WbemErrorEnum(-2147217335i32);
14562 pub const wbemErrCannotChangeIndexInheritance: WbemErrorEnum = WbemErrorEnum(-2147217328i32);
14563 pub const wbemErrTooManyProperties: WbemErrorEnum = WbemErrorEnum(-2147217327i32);
14564 pub const wbemErrUpdateTypeMismatch: WbemErrorEnum = WbemErrorEnum(-2147217326i32);
14565 pub const wbemErrUpdateOverrideNotAllowed: WbemErrorEnum = WbemErrorEnum(-2147217325i32);
14566 pub const wbemErrUpdatePropagatedMethod: WbemErrorEnum = WbemErrorEnum(-2147217324i32);
14567 pub const wbemErrMethodNotImplemented: WbemErrorEnum = WbemErrorEnum(-2147217323i32);
14568 pub const wbemErrMethodDisabled: WbemErrorEnum = WbemErrorEnum(-2147217322i32);
14569 pub const wbemErrRefresherBusy: WbemErrorEnum = WbemErrorEnum(-2147217321i32);
14570 pub const wbemErrUnparsableQuery: WbemErrorEnum = WbemErrorEnum(-2147217320i32);
14571 pub const wbemErrNotEventClass: WbemErrorEnum = WbemErrorEnum(-2147217319i32);
14572 pub const wbemErrMissingGroupWithin: WbemErrorEnum = WbemErrorEnum(-2147217318i32);
14573 pub const wbemErrMissingAggregationList: WbemErrorEnum = WbemErrorEnum(-2147217317i32);
14574 pub const wbemErrPropertyNotAnObject: WbemErrorEnum = WbemErrorEnum(-2147217316i32);
14575 pub const wbemErrAggregatingByObject: WbemErrorEnum = WbemErrorEnum(-2147217315i32);
14576 pub const wbemErrUninterpretableProviderQuery: WbemErrorEnum = WbemErrorEnum(-2147217313i32);
14577 pub const wbemErrBackupRestoreWinmgmtRunning: WbemErrorEnum = WbemErrorEnum(-2147217312i32);
14578 pub const wbemErrQueueOverflow: WbemErrorEnum = WbemErrorEnum(-2147217311i32);
14579 pub const wbemErrPrivilegeNotHeld: WbemErrorEnum = WbemErrorEnum(-2147217310i32);
14580 pub const wbemErrInvalidOperator: WbemErrorEnum = WbemErrorEnum(-2147217309i32);
14581 pub const wbemErrLocalCredentials: WbemErrorEnum = WbemErrorEnum(-2147217308i32);
14582 pub const wbemErrCannotBeAbstract: WbemErrorEnum = WbemErrorEnum(-2147217307i32);
14583 pub const wbemErrAmendedObject: WbemErrorEnum = WbemErrorEnum(-2147217306i32);
14584 pub const wbemErrClientTooSlow: WbemErrorEnum = WbemErrorEnum(-2147217305i32);
14585 pub const wbemErrNullSecurityDescriptor: WbemErrorEnum = WbemErrorEnum(-2147217304i32);
14586 pub const wbemErrTimeout: WbemErrorEnum = WbemErrorEnum(-2147217303i32);
14587 pub const wbemErrInvalidAssociation: WbemErrorEnum = WbemErrorEnum(-2147217302i32);
14588 pub const wbemErrAmbiguousOperation: WbemErrorEnum = WbemErrorEnum(-2147217301i32);
14589 pub const wbemErrQuotaViolation: WbemErrorEnum = WbemErrorEnum(-2147217300i32);
14590 pub const wbemErrTransactionConflict: WbemErrorEnum = WbemErrorEnum(-2147217299i32);
14591 pub const wbemErrForcedRollback: WbemErrorEnum = WbemErrorEnum(-2147217298i32);
14592 pub const wbemErrUnsupportedLocale: WbemErrorEnum = WbemErrorEnum(-2147217297i32);
14593 pub const wbemErrHandleOutOfDate: WbemErrorEnum = WbemErrorEnum(-2147217296i32);
14594 pub const wbemErrConnectionFailed: WbemErrorEnum = WbemErrorEnum(-2147217295i32);
14595 pub const wbemErrInvalidHandleRequest: WbemErrorEnum = WbemErrorEnum(-2147217294i32);
14596 pub const wbemErrPropertyNameTooWide: WbemErrorEnum = WbemErrorEnum(-2147217293i32);
14597 pub const wbemErrClassNameTooWide: WbemErrorEnum = WbemErrorEnum(-2147217292i32);
14598 pub const wbemErrMethodNameTooWide: WbemErrorEnum = WbemErrorEnum(-2147217291i32);
14599 pub const wbemErrQualifierNameTooWide: WbemErrorEnum = WbemErrorEnum(-2147217290i32);
14600 pub const wbemErrRerunCommand: WbemErrorEnum = WbemErrorEnum(-2147217289i32);
14601 pub const wbemErrDatabaseVerMismatch: WbemErrorEnum = WbemErrorEnum(-2147217288i32);
14602 pub const wbemErrVetoPut: WbemErrorEnum = WbemErrorEnum(-2147217287i32);
14603 pub const wbemErrVetoDelete: WbemErrorEnum = WbemErrorEnum(-2147217286i32);
14604 pub const wbemErrInvalidLocale: WbemErrorEnum = WbemErrorEnum(-2147217280i32);
14605 pub const wbemErrProviderSuspended: WbemErrorEnum = WbemErrorEnum(-2147217279i32);
14606 pub const wbemErrSynchronizationRequired: WbemErrorEnum = WbemErrorEnum(-2147217278i32);
14607 pub const wbemErrNoSchema: WbemErrorEnum = WbemErrorEnum(-2147217277i32);
14608 pub const wbemErrProviderAlreadyRegistered: WbemErrorEnum = WbemErrorEnum(-2147217276i32);
14609 pub const wbemErrProviderNotRegistered: WbemErrorEnum = WbemErrorEnum(-2147217275i32);
14610 pub const wbemErrFatalTransportError: WbemErrorEnum = WbemErrorEnum(-2147217274i32);
14611 pub const wbemErrEncryptedConnectionRequired: WbemErrorEnum = WbemErrorEnum(-2147217273i32);
14612 pub const wbemErrRegistrationTooBroad: WbemErrorEnum = WbemErrorEnum(-2147213311i32);
14613 pub const wbemErrRegistrationTooPrecise: WbemErrorEnum = WbemErrorEnum(-2147213310i32);
14614 pub const wbemErrTimedout: WbemErrorEnum = WbemErrorEnum(-2147209215i32);
14615 pub const wbemErrResetToDefault: WbemErrorEnum = WbemErrorEnum(-2147209214i32);
14616 impl ::std::convert::From<i32> for WbemErrorEnum {
from(value: i32) -> Self14617     fn from(value: i32) -> Self {
14618         Self(value)
14619     }
14620 }
14621 unsafe impl ::windows::runtime::Abi for WbemErrorEnum {
14622     type Abi = Self;
14623     type DefaultType = Self;
14624 }
14625 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14626 #[repr(transparent)]
14627 pub struct WbemFlagEnum(pub i32);
14628 pub const wbemFlagReturnImmediately: WbemFlagEnum = WbemFlagEnum(16i32);
14629 pub const wbemFlagReturnWhenComplete: WbemFlagEnum = WbemFlagEnum(0i32);
14630 pub const wbemFlagBidirectional: WbemFlagEnum = WbemFlagEnum(0i32);
14631 pub const wbemFlagForwardOnly: WbemFlagEnum = WbemFlagEnum(32i32);
14632 pub const wbemFlagNoErrorObject: WbemFlagEnum = WbemFlagEnum(64i32);
14633 pub const wbemFlagReturnErrorObject: WbemFlagEnum = WbemFlagEnum(0i32);
14634 pub const wbemFlagSendStatus: WbemFlagEnum = WbemFlagEnum(128i32);
14635 pub const wbemFlagDontSendStatus: WbemFlagEnum = WbemFlagEnum(0i32);
14636 pub const wbemFlagEnsureLocatable: WbemFlagEnum = WbemFlagEnum(256i32);
14637 pub const wbemFlagDirectRead: WbemFlagEnum = WbemFlagEnum(512i32);
14638 pub const wbemFlagSendOnlySelected: WbemFlagEnum = WbemFlagEnum(0i32);
14639 pub const wbemFlagUseAmendedQualifiers: WbemFlagEnum = WbemFlagEnum(131072i32);
14640 pub const wbemFlagGetDefault: WbemFlagEnum = WbemFlagEnum(0i32);
14641 pub const wbemFlagSpawnInstance: WbemFlagEnum = WbemFlagEnum(1i32);
14642 pub const wbemFlagUseCurrentTime: WbemFlagEnum = WbemFlagEnum(1i32);
14643 impl ::std::convert::From<i32> for WbemFlagEnum {
from(value: i32) -> Self14644     fn from(value: i32) -> Self {
14645         Self(value)
14646     }
14647 }
14648 unsafe impl ::windows::runtime::Abi for WbemFlagEnum {
14649     type Abi = Self;
14650     type DefaultType = Self;
14651 }
14652 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14653 #[repr(transparent)]
14654 pub struct WbemImpersonationLevelEnum(pub i32);
14655 pub const wbemImpersonationLevelAnonymous: WbemImpersonationLevelEnum = WbemImpersonationLevelEnum(1i32);
14656 pub const wbemImpersonationLevelIdentify: WbemImpersonationLevelEnum = WbemImpersonationLevelEnum(2i32);
14657 pub const wbemImpersonationLevelImpersonate: WbemImpersonationLevelEnum = WbemImpersonationLevelEnum(3i32);
14658 pub const wbemImpersonationLevelDelegate: WbemImpersonationLevelEnum = WbemImpersonationLevelEnum(4i32);
14659 impl ::std::convert::From<i32> for WbemImpersonationLevelEnum {
from(value: i32) -> Self14660     fn from(value: i32) -> Self {
14661         Self(value)
14662     }
14663 }
14664 unsafe impl ::windows::runtime::Abi for WbemImpersonationLevelEnum {
14665     type Abi = Self;
14666     type DefaultType = Self;
14667 }
14668 pub const WbemLevel1Login: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2344874078, 55403, 4560, [160, 117, 0, 192, 79, 182, 136, 32]);
14669 pub const WbemLocalAddrRes: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2701412353, 36734, 4561, [158, 124, 0, 192, 79, 195, 36, 168]);
14670 pub const WbemLocator: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1167128593, 7482, 4560, [137, 31, 0, 170, 0, 75, 46, 36]);
14671 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14672 #[repr(transparent)]
14673 pub struct WbemObjectTextFormatEnum(pub i32);
14674 pub const wbemObjectTextFormatCIMDTD20: WbemObjectTextFormatEnum = WbemObjectTextFormatEnum(1i32);
14675 pub const wbemObjectTextFormatWMIDTD20: WbemObjectTextFormatEnum = WbemObjectTextFormatEnum(2i32);
14676 impl ::std::convert::From<i32> for WbemObjectTextFormatEnum {
from(value: i32) -> Self14677     fn from(value: i32) -> Self {
14678         Self(value)
14679     }
14680 }
14681 unsafe impl ::windows::runtime::Abi for WbemObjectTextFormatEnum {
14682     type Abi = Self;
14683     type DefaultType = Self;
14684 }
14685 pub const WbemObjectTextSrc: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2367444381, 34032, 19379, [167, 213, 86, 167, 67, 90, 155, 166]);
14686 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14687 #[repr(transparent)]
14688 pub struct WbemPrivilegeEnum(pub i32);
14689 pub const wbemPrivilegeCreateToken: WbemPrivilegeEnum = WbemPrivilegeEnum(1i32);
14690 pub const wbemPrivilegePrimaryToken: WbemPrivilegeEnum = WbemPrivilegeEnum(2i32);
14691 pub const wbemPrivilegeLockMemory: WbemPrivilegeEnum = WbemPrivilegeEnum(3i32);
14692 pub const wbemPrivilegeIncreaseQuota: WbemPrivilegeEnum = WbemPrivilegeEnum(4i32);
14693 pub const wbemPrivilegeMachineAccount: WbemPrivilegeEnum = WbemPrivilegeEnum(5i32);
14694 pub const wbemPrivilegeTcb: WbemPrivilegeEnum = WbemPrivilegeEnum(6i32);
14695 pub const wbemPrivilegeSecurity: WbemPrivilegeEnum = WbemPrivilegeEnum(7i32);
14696 pub const wbemPrivilegeTakeOwnership: WbemPrivilegeEnum = WbemPrivilegeEnum(8i32);
14697 pub const wbemPrivilegeLoadDriver: WbemPrivilegeEnum = WbemPrivilegeEnum(9i32);
14698 pub const wbemPrivilegeSystemProfile: WbemPrivilegeEnum = WbemPrivilegeEnum(10i32);
14699 pub const wbemPrivilegeSystemtime: WbemPrivilegeEnum = WbemPrivilegeEnum(11i32);
14700 pub const wbemPrivilegeProfileSingleProcess: WbemPrivilegeEnum = WbemPrivilegeEnum(12i32);
14701 pub const wbemPrivilegeIncreaseBasePriority: WbemPrivilegeEnum = WbemPrivilegeEnum(13i32);
14702 pub const wbemPrivilegeCreatePagefile: WbemPrivilegeEnum = WbemPrivilegeEnum(14i32);
14703 pub const wbemPrivilegeCreatePermanent: WbemPrivilegeEnum = WbemPrivilegeEnum(15i32);
14704 pub const wbemPrivilegeBackup: WbemPrivilegeEnum = WbemPrivilegeEnum(16i32);
14705 pub const wbemPrivilegeRestore: WbemPrivilegeEnum = WbemPrivilegeEnum(17i32);
14706 pub const wbemPrivilegeShutdown: WbemPrivilegeEnum = WbemPrivilegeEnum(18i32);
14707 pub const wbemPrivilegeDebug: WbemPrivilegeEnum = WbemPrivilegeEnum(19i32);
14708 pub const wbemPrivilegeAudit: WbemPrivilegeEnum = WbemPrivilegeEnum(20i32);
14709 pub const wbemPrivilegeSystemEnvironment: WbemPrivilegeEnum = WbemPrivilegeEnum(21i32);
14710 pub const wbemPrivilegeChangeNotify: WbemPrivilegeEnum = WbemPrivilegeEnum(22i32);
14711 pub const wbemPrivilegeRemoteShutdown: WbemPrivilegeEnum = WbemPrivilegeEnum(23i32);
14712 pub const wbemPrivilegeUndock: WbemPrivilegeEnum = WbemPrivilegeEnum(24i32);
14713 pub const wbemPrivilegeSyncAgent: WbemPrivilegeEnum = WbemPrivilegeEnum(25i32);
14714 pub const wbemPrivilegeEnableDelegation: WbemPrivilegeEnum = WbemPrivilegeEnum(26i32);
14715 pub const wbemPrivilegeManageVolume: WbemPrivilegeEnum = WbemPrivilegeEnum(27i32);
14716 impl ::std::convert::From<i32> for WbemPrivilegeEnum {
from(value: i32) -> Self14717     fn from(value: i32) -> Self {
14718         Self(value)
14719     }
14720 }
14721 unsafe impl ::windows::runtime::Abi for WbemPrivilegeEnum {
14722     type Abi = Self;
14723     type DefaultType = Self;
14724 }
14725 pub const WbemQuery: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3939016740, 8674, 17699, [173, 115, 167, 26, 10, 162, 245, 106]);
14726 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14727 #[repr(transparent)]
14728 pub struct WbemQueryFlagEnum(pub i32);
14729 pub const wbemQueryFlagDeep: WbemQueryFlagEnum = WbemQueryFlagEnum(0i32);
14730 pub const wbemQueryFlagShallow: WbemQueryFlagEnum = WbemQueryFlagEnum(1i32);
14731 pub const wbemQueryFlagPrototype: WbemQueryFlagEnum = WbemQueryFlagEnum(2i32);
14732 impl ::std::convert::From<i32> for WbemQueryFlagEnum {
from(value: i32) -> Self14733     fn from(value: i32) -> Self {
14734         Self(value)
14735     }
14736 }
14737 unsafe impl ::windows::runtime::Abi for WbemQueryFlagEnum {
14738     type Abi = Self;
14739     type DefaultType = Self;
14740 }
14741 pub const WbemRefresher: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3340068594, 22046, 4561, [173, 135, 0, 192, 79, 216, 253, 255]);
14742 pub const WbemStatusCodeText: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3951550909, 12851, 4562, [174, 201, 0, 192, 79, 182, 136, 32]);
14743 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14744 #[repr(transparent)]
14745 pub struct WbemTextFlagEnum(pub i32);
14746 pub const wbemTextFlagNoFlavors: WbemTextFlagEnum = WbemTextFlagEnum(1i32);
14747 impl ::std::convert::From<i32> for WbemTextFlagEnum {
from(value: i32) -> Self14748     fn from(value: i32) -> Self {
14749         Self(value)
14750     }
14751 }
14752 unsafe impl ::windows::runtime::Abi for WbemTextFlagEnum {
14753     type Abi = Self;
14754     type DefaultType = Self;
14755 }
14756 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14757 #[repr(transparent)]
14758 pub struct WbemTimeout(pub i32);
14759 pub const wbemTimeoutInfinite: WbemTimeout = WbemTimeout(-1i32);
14760 impl ::std::convert::From<i32> for WbemTimeout {
from(value: i32) -> Self14761     fn from(value: i32) -> Self {
14762         Self(value)
14763     }
14764 }
14765 unsafe impl ::windows::runtime::Abi for WbemTimeout {
14766     type Abi = Self;
14767     type DefaultType = Self;
14768 }
14769 pub const WbemUnauthenticatedLocator: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1144945529, 56881, 4562, [179, 64, 0, 16, 75, 204, 75, 74]);
14770 pub const WbemUninitializedClassObject: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2046961654, 28936, 4561, [173, 144, 0, 192, 79, 216, 253, 255]);
14771 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
14772 #[repr(transparent)]
14773 pub struct tag_WBEM_LOGIN_TYPE(pub i32);
14774 pub const WBEM_FLAG_INPROC_LOGIN: tag_WBEM_LOGIN_TYPE = tag_WBEM_LOGIN_TYPE(0i32);
14775 pub const WBEM_FLAG_LOCAL_LOGIN: tag_WBEM_LOGIN_TYPE = tag_WBEM_LOGIN_TYPE(1i32);
14776 pub const WBEM_FLAG_REMOTE_LOGIN: tag_WBEM_LOGIN_TYPE = tag_WBEM_LOGIN_TYPE(2i32);
14777 pub const WBEM_AUTHENTICATION_METHOD_MASK: tag_WBEM_LOGIN_TYPE = tag_WBEM_LOGIN_TYPE(15i32);
14778 pub const WBEM_FLAG_USE_MULTIPLE_CHALLENGES: tag_WBEM_LOGIN_TYPE = tag_WBEM_LOGIN_TYPE(16i32);
14779 impl ::std::convert::From<i32> for tag_WBEM_LOGIN_TYPE {
from(value: i32) -> Self14780     fn from(value: i32) -> Self {
14781         Self(value)
14782     }
14783 }
14784 unsafe impl ::windows::runtime::Abi for tag_WBEM_LOGIN_TYPE {
14785     type Abi = Self;
14786     type DefaultType = Self;
14787 }
14788