1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[cfg(feature = "Win32_System_Performance_HardwareCounterProfiling")]
3 pub mod HardwareCounterProfiling;
4 pub const AppearPropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3835118057, 37800, 19121, [142, 150, 191, 68, 130, 40, 46, 156]);
5 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
6 #[repr(transparent)]
7 pub struct AutoPathFormat(pub i32);
8 pub const plaNone: AutoPathFormat = AutoPathFormat(0i32);
9 pub const plaPattern: AutoPathFormat = AutoPathFormat(1i32);
10 pub const plaComputer: AutoPathFormat = AutoPathFormat(2i32);
11 pub const plaMonthDayHour: AutoPathFormat = AutoPathFormat(256i32);
12 pub const plaSerialNumber: AutoPathFormat = AutoPathFormat(512i32);
13 pub const plaYearDayOfYear: AutoPathFormat = AutoPathFormat(1024i32);
14 pub const plaYearMonth: AutoPathFormat = AutoPathFormat(2048i32);
15 pub const plaYearMonthDay: AutoPathFormat = AutoPathFormat(4096i32);
16 pub const plaYearMonthDayHour: AutoPathFormat = AutoPathFormat(8192i32);
17 pub const plaMonthDayHourMinute: AutoPathFormat = AutoPathFormat(16384i32);
18 impl ::std::convert::From<i32> for AutoPathFormat {
from(value: i32) -> Self19     fn from(value: i32) -> Self {
20         Self(value)
21     }
22 }
23 unsafe impl ::windows::runtime::Abi for AutoPathFormat {
24     type Abi = Self;
25     type DefaultType = Self;
26 }
27 #[cfg(feature = "Win32_Foundation")]
28 #[inline]
BackupPerfRegistryToFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfilename: Param0, szcommentstring: Param1) -> u3229 pub unsafe fn BackupPerfRegistryToFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfilename: Param0, szcommentstring: Param1) -> u32 {
30     #[cfg(windows)]
31     {
32         #[link(name = "windows")]
33         extern "system" {
34             fn BackupPerfRegistryToFileW(szfilename: super::super::Foundation::PWSTR, szcommentstring: super::super::Foundation::PWSTR) -> u32;
35         }
36         ::std::mem::transmute(BackupPerfRegistryToFileW(szfilename.into_param().abi(), szcommentstring.into_param().abi()))
37     }
38     #[cfg(not(windows))]
39     unimplemented!("Unsupported target OS");
40 }
41 pub const BootTraceSession: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946872, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
42 pub const BootTraceSessionCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946873, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
43 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
44 #[repr(transparent)]
45 pub struct ClockType(pub i32);
46 pub const plaTimeStamp: ClockType = ClockType(0i32);
47 pub const plaPerformance: ClockType = ClockType(1i32);
48 pub const plaSystem: ClockType = ClockType(2i32);
49 pub const plaCycle: ClockType = ClockType(3i32);
50 impl ::std::convert::From<i32> for ClockType {
from(value: i32) -> Self51     fn from(value: i32) -> Self {
52         Self(value)
53     }
54 }
55 unsafe impl ::windows::runtime::Abi for ClockType {
56     type Abi = Self;
57     type DefaultType = Self;
58 }
59 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
60 #[repr(transparent)]
61 pub struct CommitMode(pub i32);
62 pub const plaCreateNew: CommitMode = CommitMode(1i32);
63 pub const plaModify: CommitMode = CommitMode(2i32);
64 pub const plaCreateOrModify: CommitMode = CommitMode(3i32);
65 pub const plaUpdateRunningInstance: CommitMode = CommitMode(16i32);
66 pub const plaFlushTrace: CommitMode = CommitMode(32i32);
67 pub const plaValidateOnly: CommitMode = CommitMode(4096i32);
68 impl ::std::convert::From<i32> for CommitMode {
from(value: i32) -> Self69     fn from(value: i32) -> Self {
70         Self(value)
71     }
72 }
73 unsafe impl ::windows::runtime::Abi for CommitMode {
74     type Abi = Self;
75     type DefaultType = Self;
76 }
77 pub const CounterItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3302152416, 53725, 4558, [148, 15, 0, 128, 41, 0, 67, 72]);
78 pub const CounterItem2: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1125739618, 49951, 19683, [160, 46, 121, 239, 224, 246, 165, 37]);
79 pub type CounterPathCallBack = unsafe extern "system" fn(param0: usize) -> i32;
80 pub const CounterPropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3482617185, 60904, 4558, [148, 30, 0, 128, 41, 0, 67, 71]);
81 pub const Counters: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2997905106, 10924, 4559, [148, 47, 0, 128, 41, 0, 67, 71]);
82 #[repr(transparent)]
83 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
84 pub struct DICounterItem(::windows::runtime::IUnknown);
85 impl DICounterItem {}
86 unsafe impl ::windows::runtime::Interface for DICounterItem {
87     type Vtable = DICounterItem_abi;
88     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3230420978, 3630, 4559, [148, 44, 0, 128, 41, 0, 67, 71]);
89 }
90 impl ::std::convert::From<DICounterItem> for ::windows::runtime::IUnknown {
from(value: DICounterItem) -> Self91     fn from(value: DICounterItem) -> Self {
92         unsafe { ::std::mem::transmute(value) }
93     }
94 }
95 impl ::std::convert::From<&DICounterItem> for ::windows::runtime::IUnknown {
from(value: &DICounterItem) -> Self96     fn from(value: &DICounterItem) -> Self {
97         ::std::convert::From::from(::std::clone::Clone::clone(value))
98     }
99 }
100 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DICounterItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>101     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
102         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
103     }
104 }
105 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DICounterItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>106     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
107         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
108     }
109 }
110 #[cfg(feature = "Win32_System_Ole_Automation")]
111 impl ::std::convert::From<DICounterItem> for super::Ole::Automation::IDispatch {
from(value: DICounterItem) -> Self112     fn from(value: DICounterItem) -> Self {
113         unsafe { ::std::mem::transmute(value) }
114     }
115 }
116 #[cfg(feature = "Win32_System_Ole_Automation")]
117 impl ::std::convert::From<&DICounterItem> for super::Ole::Automation::IDispatch {
from(value: &DICounterItem) -> Self118     fn from(value: &DICounterItem) -> Self {
119         ::std::convert::From::from(::std::clone::Clone::clone(value))
120     }
121 }
122 #[cfg(feature = "Win32_System_Ole_Automation")]
123 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DICounterItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>124     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
125         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
126     }
127 }
128 #[cfg(feature = "Win32_System_Ole_Automation")]
129 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DICounterItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>130     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
131         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
132     }
133 }
134 #[repr(C)]
135 #[doc(hidden)]
136 pub struct DICounterItem_abi(
137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
141     #[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,
142     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
143     #[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,
144     #[cfg(not(feature = "Win32_Foundation"))] usize,
145     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
146     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,
147     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
148 );
149 pub const DIID_DICounterItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3230420978, 3630, 4559, [148, 44, 0, 128, 41, 0, 67, 71]);
150 pub const DIID_DILogFileItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2366193660, 63351, 18711, [130, 209, 131, 63, 188, 84, 197, 143]);
151 pub const DIID_DISystemMonitor: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(332873089, 49966, 4559, [147, 152, 0, 170, 0, 163, 221, 234]);
152 pub const DIID_DISystemMonitorEvents: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2224527664, 19123, 4559, [148, 58, 0, 128, 41, 0, 67, 71]);
153 pub const DIID_DISystemMonitorInternal: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(424587842, 49964, 4559, [147, 152, 0, 170, 0, 163, 221, 234]);
154 #[repr(transparent)]
155 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
156 pub struct DILogFileItem(::windows::runtime::IUnknown);
157 impl DILogFileItem {}
158 unsafe impl ::windows::runtime::Interface for DILogFileItem {
159     type Vtable = DILogFileItem_abi;
160     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2366193660, 63351, 18711, [130, 209, 131, 63, 188, 84, 197, 143]);
161 }
162 impl ::std::convert::From<DILogFileItem> for ::windows::runtime::IUnknown {
from(value: DILogFileItem) -> Self163     fn from(value: DILogFileItem) -> Self {
164         unsafe { ::std::mem::transmute(value) }
165     }
166 }
167 impl ::std::convert::From<&DILogFileItem> for ::windows::runtime::IUnknown {
from(value: &DILogFileItem) -> Self168     fn from(value: &DILogFileItem) -> Self {
169         ::std::convert::From::from(::std::clone::Clone::clone(value))
170     }
171 }
172 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DILogFileItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>173     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
174         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
175     }
176 }
177 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DILogFileItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>178     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
179         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
180     }
181 }
182 #[cfg(feature = "Win32_System_Ole_Automation")]
183 impl ::std::convert::From<DILogFileItem> for super::Ole::Automation::IDispatch {
from(value: DILogFileItem) -> Self184     fn from(value: DILogFileItem) -> Self {
185         unsafe { ::std::mem::transmute(value) }
186     }
187 }
188 #[cfg(feature = "Win32_System_Ole_Automation")]
189 impl ::std::convert::From<&DILogFileItem> for super::Ole::Automation::IDispatch {
from(value: &DILogFileItem) -> Self190     fn from(value: &DILogFileItem) -> Self {
191         ::std::convert::From::from(::std::clone::Clone::clone(value))
192     }
193 }
194 #[cfg(feature = "Win32_System_Ole_Automation")]
195 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DILogFileItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>196     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
197         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
198     }
199 }
200 #[cfg(feature = "Win32_System_Ole_Automation")]
201 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DILogFileItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>202     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
203         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
204     }
205 }
206 #[repr(C)]
207 #[doc(hidden)]
208 pub struct DILogFileItem_abi(
209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
211     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
213     #[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,
214     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
215     #[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,
216     #[cfg(not(feature = "Win32_Foundation"))] usize,
217     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
218     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,
219     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
220 );
221 #[repr(transparent)]
222 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
223 pub struct DISystemMonitor(::windows::runtime::IUnknown);
224 impl DISystemMonitor {}
225 unsafe impl ::windows::runtime::Interface for DISystemMonitor {
226     type Vtable = DISystemMonitor_abi;
227     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(332873089, 49966, 4559, [147, 152, 0, 170, 0, 163, 221, 234]);
228 }
229 impl ::std::convert::From<DISystemMonitor> for ::windows::runtime::IUnknown {
from(value: DISystemMonitor) -> Self230     fn from(value: DISystemMonitor) -> Self {
231         unsafe { ::std::mem::transmute(value) }
232     }
233 }
234 impl ::std::convert::From<&DISystemMonitor> for ::windows::runtime::IUnknown {
from(value: &DISystemMonitor) -> Self235     fn from(value: &DISystemMonitor) -> Self {
236         ::std::convert::From::from(::std::clone::Clone::clone(value))
237     }
238 }
239 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DISystemMonitor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>240     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
241         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
242     }
243 }
244 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DISystemMonitor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>245     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
246         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
247     }
248 }
249 #[cfg(feature = "Win32_System_Ole_Automation")]
250 impl ::std::convert::From<DISystemMonitor> for super::Ole::Automation::IDispatch {
from(value: DISystemMonitor) -> Self251     fn from(value: DISystemMonitor) -> Self {
252         unsafe { ::std::mem::transmute(value) }
253     }
254 }
255 #[cfg(feature = "Win32_System_Ole_Automation")]
256 impl ::std::convert::From<&DISystemMonitor> for super::Ole::Automation::IDispatch {
from(value: &DISystemMonitor) -> Self257     fn from(value: &DISystemMonitor) -> Self {
258         ::std::convert::From::from(::std::clone::Clone::clone(value))
259     }
260 }
261 #[cfg(feature = "Win32_System_Ole_Automation")]
262 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DISystemMonitor {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>263     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
264         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
265     }
266 }
267 #[cfg(feature = "Win32_System_Ole_Automation")]
268 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DISystemMonitor {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>269     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
270         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
271     }
272 }
273 #[repr(C)]
274 #[doc(hidden)]
275 pub struct DISystemMonitor_abi(
276     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
277     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
278     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
279     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
280     #[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,
281     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
282     #[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,
283     #[cfg(not(feature = "Win32_Foundation"))] usize,
284     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
285     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,
286     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
287 );
288 #[repr(transparent)]
289 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
290 pub struct DISystemMonitorEvents(::windows::runtime::IUnknown);
291 impl DISystemMonitorEvents {}
292 unsafe impl ::windows::runtime::Interface for DISystemMonitorEvents {
293     type Vtable = DISystemMonitorEvents_abi;
294     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2224527664, 19123, 4559, [148, 58, 0, 128, 41, 0, 67, 71]);
295 }
296 impl ::std::convert::From<DISystemMonitorEvents> for ::windows::runtime::IUnknown {
from(value: DISystemMonitorEvents) -> Self297     fn from(value: DISystemMonitorEvents) -> Self {
298         unsafe { ::std::mem::transmute(value) }
299     }
300 }
301 impl ::std::convert::From<&DISystemMonitorEvents> for ::windows::runtime::IUnknown {
from(value: &DISystemMonitorEvents) -> Self302     fn from(value: &DISystemMonitorEvents) -> Self {
303         ::std::convert::From::from(::std::clone::Clone::clone(value))
304     }
305 }
306 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DISystemMonitorEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>307     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
308         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
309     }
310 }
311 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DISystemMonitorEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>312     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
313         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
314     }
315 }
316 #[cfg(feature = "Win32_System_Ole_Automation")]
317 impl ::std::convert::From<DISystemMonitorEvents> for super::Ole::Automation::IDispatch {
from(value: DISystemMonitorEvents) -> Self318     fn from(value: DISystemMonitorEvents) -> Self {
319         unsafe { ::std::mem::transmute(value) }
320     }
321 }
322 #[cfg(feature = "Win32_System_Ole_Automation")]
323 impl ::std::convert::From<&DISystemMonitorEvents> for super::Ole::Automation::IDispatch {
from(value: &DISystemMonitorEvents) -> Self324     fn from(value: &DISystemMonitorEvents) -> Self {
325         ::std::convert::From::from(::std::clone::Clone::clone(value))
326     }
327 }
328 #[cfg(feature = "Win32_System_Ole_Automation")]
329 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DISystemMonitorEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>330     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
331         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
332     }
333 }
334 #[cfg(feature = "Win32_System_Ole_Automation")]
335 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DISystemMonitorEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>336     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
337         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
338     }
339 }
340 #[repr(C)]
341 #[doc(hidden)]
342 pub struct DISystemMonitorEvents_abi(
343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
347     #[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,
348     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
349     #[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,
350     #[cfg(not(feature = "Win32_Foundation"))] usize,
351     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
352     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,
353     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
354 );
355 #[repr(transparent)]
356 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
357 pub struct DISystemMonitorInternal(::windows::runtime::IUnknown);
358 impl DISystemMonitorInternal {}
359 unsafe impl ::windows::runtime::Interface for DISystemMonitorInternal {
360     type Vtable = DISystemMonitorInternal_abi;
361     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(424587842, 49964, 4559, [147, 152, 0, 170, 0, 163, 221, 234]);
362 }
363 impl ::std::convert::From<DISystemMonitorInternal> for ::windows::runtime::IUnknown {
from(value: DISystemMonitorInternal) -> Self364     fn from(value: DISystemMonitorInternal) -> Self {
365         unsafe { ::std::mem::transmute(value) }
366     }
367 }
368 impl ::std::convert::From<&DISystemMonitorInternal> for ::windows::runtime::IUnknown {
from(value: &DISystemMonitorInternal) -> Self369     fn from(value: &DISystemMonitorInternal) -> Self {
370         ::std::convert::From::from(::std::clone::Clone::clone(value))
371     }
372 }
373 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DISystemMonitorInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>374     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
375         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
376     }
377 }
378 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DISystemMonitorInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>379     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
380         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
381     }
382 }
383 #[cfg(feature = "Win32_System_Ole_Automation")]
384 impl ::std::convert::From<DISystemMonitorInternal> for super::Ole::Automation::IDispatch {
from(value: DISystemMonitorInternal) -> Self385     fn from(value: DISystemMonitorInternal) -> Self {
386         unsafe { ::std::mem::transmute(value) }
387     }
388 }
389 #[cfg(feature = "Win32_System_Ole_Automation")]
390 impl ::std::convert::From<&DISystemMonitorInternal> for super::Ole::Automation::IDispatch {
from(value: &DISystemMonitorInternal) -> Self391     fn from(value: &DISystemMonitorInternal) -> Self {
392         ::std::convert::From::from(::std::clone::Clone::clone(value))
393     }
394 }
395 #[cfg(feature = "Win32_System_Ole_Automation")]
396 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DISystemMonitorInternal {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>397     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
398         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
399     }
400 }
401 #[cfg(feature = "Win32_System_Ole_Automation")]
402 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DISystemMonitorInternal {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>403     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
404         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
405     }
406 }
407 #[repr(C)]
408 #[doc(hidden)]
409 pub struct DISystemMonitorInternal_abi(
410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
413     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
414     #[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,
415     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
416     #[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,
417     #[cfg(not(feature = "Win32_Foundation"))] usize,
418     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
419     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,
420     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
421 );
422 pub const DataCollectorSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946849, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
423 pub const DataCollectorSetCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946853, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
424 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
425 #[repr(transparent)]
426 pub struct DataCollectorSetStatus(pub i32);
427 pub const plaStopped: DataCollectorSetStatus = DataCollectorSetStatus(0i32);
428 pub const plaRunning: DataCollectorSetStatus = DataCollectorSetStatus(1i32);
429 pub const plaCompiling: DataCollectorSetStatus = DataCollectorSetStatus(2i32);
430 pub const plaPending: DataCollectorSetStatus = DataCollectorSetStatus(3i32);
431 pub const plaUndefined: DataCollectorSetStatus = DataCollectorSetStatus(4i32);
432 impl ::std::convert::From<i32> for DataCollectorSetStatus {
from(value: i32) -> Self433     fn from(value: i32) -> Self {
434         Self(value)
435     }
436 }
437 unsafe impl ::windows::runtime::Abi for DataCollectorSetStatus {
438     type Abi = Self;
439     type DefaultType = Self;
440 }
441 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
442 #[repr(transparent)]
443 pub struct DataCollectorType(pub i32);
444 pub const plaPerformanceCounter: DataCollectorType = DataCollectorType(0i32);
445 pub const plaTrace: DataCollectorType = DataCollectorType(1i32);
446 pub const plaConfiguration: DataCollectorType = DataCollectorType(2i32);
447 pub const plaAlert: DataCollectorType = DataCollectorType(3i32);
448 pub const plaApiTrace: DataCollectorType = DataCollectorType(4i32);
449 impl ::std::convert::From<i32> for DataCollectorType {
from(value: i32) -> Self450     fn from(value: i32) -> Self {
451         Self(value)
452     }
453 }
454 unsafe impl ::windows::runtime::Abi for DataCollectorType {
455     type Abi = Self;
456     type DefaultType = Self;
457 }
458 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
459 #[repr(transparent)]
460 pub struct DataManagerSteps(pub i32);
461 pub const plaCreateReport: DataManagerSteps = DataManagerSteps(1i32);
462 pub const plaRunRules: DataManagerSteps = DataManagerSteps(2i32);
463 pub const plaCreateHtml: DataManagerSteps = DataManagerSteps(4i32);
464 pub const plaFolderActions: DataManagerSteps = DataManagerSteps(8i32);
465 pub const plaResourceFreeing: DataManagerSteps = DataManagerSteps(16i32);
466 impl ::std::convert::From<i32> for DataManagerSteps {
from(value: i32) -> Self467     fn from(value: i32) -> Self {
468         Self(value)
469     }
470 }
471 unsafe impl ::windows::runtime::Abi for DataManagerSteps {
472     type Abi = Self;
473     type DefaultType = Self;
474 }
475 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
476 #[repr(transparent)]
477 pub struct DataSourceTypeConstants(pub i32);
478 pub const sysmonNullDataSource: DataSourceTypeConstants = DataSourceTypeConstants(-1i32);
479 pub const sysmonCurrentActivity: DataSourceTypeConstants = DataSourceTypeConstants(1i32);
480 pub const sysmonLogFiles: DataSourceTypeConstants = DataSourceTypeConstants(2i32);
481 pub const sysmonSqlLog: DataSourceTypeConstants = DataSourceTypeConstants(3i32);
482 impl ::std::convert::From<i32> for DataSourceTypeConstants {
from(value: i32) -> Self483     fn from(value: i32) -> Self {
484         Self(value)
485     }
486 }
487 unsafe impl ::windows::runtime::Abi for DataSourceTypeConstants {
488     type Abi = Self;
489     type DefaultType = Self;
490 }
491 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
492 #[repr(transparent)]
493 pub struct DisplayTypeConstants(pub i32);
494 pub const sysmonLineGraph: DisplayTypeConstants = DisplayTypeConstants(1i32);
495 pub const sysmonHistogram: DisplayTypeConstants = DisplayTypeConstants(2i32);
496 pub const sysmonReport: DisplayTypeConstants = DisplayTypeConstants(3i32);
497 pub const sysmonChartArea: DisplayTypeConstants = DisplayTypeConstants(4i32);
498 pub const sysmonChartStackedArea: DisplayTypeConstants = DisplayTypeConstants(5i32);
499 impl ::std::convert::From<i32> for DisplayTypeConstants {
from(value: i32) -> Self500     fn from(value: i32) -> Self {
501         Self(value)
502     }
503 }
504 unsafe impl ::windows::runtime::Abi for DisplayTypeConstants {
505     type Abi = Self;
506     type DefaultType = Self;
507 }
508 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
509 #[repr(transparent)]
510 pub struct FileFormat(pub i32);
511 pub const plaCommaSeparated: FileFormat = FileFormat(0i32);
512 pub const plaTabSeparated: FileFormat = FileFormat(1i32);
513 pub const plaSql: FileFormat = FileFormat(2i32);
514 pub const plaBinary: FileFormat = FileFormat(3i32);
515 impl ::std::convert::From<i32> for FileFormat {
from(value: i32) -> Self516     fn from(value: i32) -> Self {
517         Self(value)
518     }
519 }
520 unsafe impl ::windows::runtime::Abi for FileFormat {
521     type Abi = Self;
522     type DefaultType = Self;
523 }
524 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
525 #[repr(transparent)]
526 pub struct FolderActionSteps(pub i32);
527 pub const plaCreateCab: FolderActionSteps = FolderActionSteps(1i32);
528 pub const plaDeleteData: FolderActionSteps = FolderActionSteps(2i32);
529 pub const plaSendCab: FolderActionSteps = FolderActionSteps(4i32);
530 pub const plaDeleteCab: FolderActionSteps = FolderActionSteps(8i32);
531 pub const plaDeleteReport: FolderActionSteps = FolderActionSteps(16i32);
532 impl ::std::convert::From<i32> for FolderActionSteps {
from(value: i32) -> Self533     fn from(value: i32) -> Self {
534         Self(value)
535     }
536 }
537 unsafe impl ::windows::runtime::Abi for FolderActionSteps {
538     type Abi = Self;
539     type DefaultType = Self;
540 }
541 pub const GeneralPropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3286619090, 6659, 4559, [148, 45, 0, 128, 41, 0, 67, 71]);
542 pub const GraphPropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3286619091, 6659, 4559, [148, 45, 0, 128, 41, 0, 67, 71]);
543 pub const H_WBEM_DATASOURCE: i32 = -1i32;
544 #[repr(transparent)]
545 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
546 pub struct IAlertDataCollector(::windows::runtime::IUnknown);
547 impl IAlertDataCollector {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>548     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
549         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
550         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
551     }
552     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>553     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
554         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
555         (::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__)
556     }
557     #[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<()>558     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<()> {
559         (::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()
560     }
561     #[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<()>562     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<()> {
563         (::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()
564     }
DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet>565     pub unsafe fn DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet> {
566         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
567         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorSet>(result__)
568     }
SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()>569     pub unsafe fn SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()> {
570         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), group.into_param().abi()).ok()
571     }
DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType>572     pub unsafe fn DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType> {
573         let mut result__: <DataCollectorType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
574         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorType>(result__)
575     }
576     #[cfg(feature = "Win32_Foundation")]
FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>577     pub unsafe fn FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
578         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
579         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
580     }
581     #[cfg(feature = "Win32_Foundation")]
SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>582     pub unsafe fn SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
583         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
584     }
FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>585     pub unsafe fn FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
586         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
587         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
588     }
SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>589     pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
590         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
591     }
592     #[cfg(feature = "Win32_Foundation")]
FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>593     pub unsafe fn FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
594         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
595         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
596     }
597     #[cfg(feature = "Win32_Foundation")]
SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>598     pub unsafe fn SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
599         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
600     }
601     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>602     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
603         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
604         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
605     }
606     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>607     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
608         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
609     }
LogAppend(&self) -> ::windows::runtime::Result<i16>610     pub unsafe fn LogAppend(&self) -> ::windows::runtime::Result<i16> {
611         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
612         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
613     }
SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()>614     pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()> {
615         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(append)).ok()
616     }
LogCircular(&self) -> ::windows::runtime::Result<i16>617     pub unsafe fn LogCircular(&self) -> ::windows::runtime::Result<i16> {
618         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
619         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
620     }
SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()>621     pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()> {
622         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(circular)).ok()
623     }
LogOverwrite(&self) -> ::windows::runtime::Result<i16>624     pub unsafe fn LogOverwrite(&self) -> ::windows::runtime::Result<i16> {
625         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
626         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
627     }
SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()>628     pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()> {
629         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(overwrite)).ok()
630     }
631     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>632     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
633         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
634         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
635     }
636     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>637     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
638         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
639     }
640     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>641     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
642         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
643         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
644     }
Index(&self) -> ::windows::runtime::Result<i32>645     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
646         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
647         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
648     }
SetIndex(&self, index: i32) -> ::windows::runtime::Result<()>649     pub unsafe fn SetIndex(&self, index: i32) -> ::windows::runtime::Result<()> {
650         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
651     }
652     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>653     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
654         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
655         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
656     }
657     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>658     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
659         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
660         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
661     }
662     #[cfg(feature = "Win32_Foundation")]
CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>663     pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
664         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
665         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(latest), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
666     }
667     #[cfg(feature = "Win32_System_Com")]
AlertThresholds(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>668     pub unsafe fn AlertThresholds(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
669         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
670         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
671     }
672     #[cfg(feature = "Win32_System_Com")]
SetAlertThresholds(&self, alerts: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>673     pub unsafe fn SetAlertThresholds(&self, alerts: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
674         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(alerts)).ok()
675     }
EventLog(&self) -> ::windows::runtime::Result<i16>676     pub unsafe fn EventLog(&self) -> ::windows::runtime::Result<i16> {
677         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
678         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
679     }
SetEventLog(&self, log: i16) -> ::windows::runtime::Result<()>680     pub unsafe fn SetEventLog(&self, log: i16) -> ::windows::runtime::Result<()> {
681         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(log)).ok()
682     }
SampleInterval(&self) -> ::windows::runtime::Result<u32>683     pub unsafe fn SampleInterval(&self) -> ::windows::runtime::Result<u32> {
684         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
685         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
686     }
SetSampleInterval(&self, interval: u32) -> ::windows::runtime::Result<()>687     pub unsafe fn SetSampleInterval(&self, interval: u32) -> ::windows::runtime::Result<()> {
688         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(interval)).ok()
689     }
690     #[cfg(feature = "Win32_Foundation")]
Task(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>691     pub unsafe fn Task(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
692         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
693         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
694     }
695     #[cfg(feature = "Win32_Foundation")]
SetTask<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()>696     pub unsafe fn SetTask<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()> {
697         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), task.into_param().abi()).ok()
698     }
TaskRunAsSelf(&self) -> ::windows::runtime::Result<i16>699     pub unsafe fn TaskRunAsSelf(&self) -> ::windows::runtime::Result<i16> {
700         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
701         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
702     }
SetTaskRunAsSelf(&self, runasself: i16) -> ::windows::runtime::Result<()>703     pub unsafe fn SetTaskRunAsSelf(&self, runasself: i16) -> ::windows::runtime::Result<()> {
704         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(runasself)).ok()
705     }
706     #[cfg(feature = "Win32_Foundation")]
TaskArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>707     pub unsafe fn TaskArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
708         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
709         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
710     }
711     #[cfg(feature = "Win32_Foundation")]
SetTaskArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()>712     pub unsafe fn SetTaskArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()> {
713         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), task.into_param().abi()).ok()
714     }
715     #[cfg(feature = "Win32_Foundation")]
TaskUserTextArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>716     pub unsafe fn TaskUserTextArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
717         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
718         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
719     }
720     #[cfg(feature = "Win32_Foundation")]
SetTaskUserTextArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()>721     pub unsafe fn SetTaskUserTextArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()> {
722         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), task.into_param().abi()).ok()
723     }
724     #[cfg(feature = "Win32_Foundation")]
TriggerDataCollectorSet(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>725     pub unsafe fn TriggerDataCollectorSet(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
726         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
727         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
728     }
729     #[cfg(feature = "Win32_Foundation")]
SetTriggerDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>730     pub unsafe fn SetTriggerDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
731         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
732     }
733 }
734 unsafe impl ::windows::runtime::Interface for IAlertDataCollector {
735     type Vtable = IAlertDataCollector_abi;
736     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946838, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
737 }
738 impl ::std::convert::From<IAlertDataCollector> for ::windows::runtime::IUnknown {
from(value: IAlertDataCollector) -> Self739     fn from(value: IAlertDataCollector) -> Self {
740         unsafe { ::std::mem::transmute(value) }
741     }
742 }
743 impl ::std::convert::From<&IAlertDataCollector> for ::windows::runtime::IUnknown {
from(value: &IAlertDataCollector) -> Self744     fn from(value: &IAlertDataCollector) -> Self {
745         ::std::convert::From::from(::std::clone::Clone::clone(value))
746     }
747 }
748 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAlertDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>749     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
750         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
751     }
752 }
753 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAlertDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>754     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
755         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
756     }
757 }
758 impl ::std::convert::From<IAlertDataCollector> for IDataCollector {
from(value: IAlertDataCollector) -> Self759     fn from(value: IAlertDataCollector) -> Self {
760         unsafe { ::std::mem::transmute(value) }
761     }
762 }
763 impl ::std::convert::From<&IAlertDataCollector> for IDataCollector {
from(value: &IAlertDataCollector) -> Self764     fn from(value: &IAlertDataCollector) -> Self {
765         ::std::convert::From::from(::std::clone::Clone::clone(value))
766     }
767 }
768 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for IAlertDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>769     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
770         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(self))
771     }
772 }
773 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for &IAlertDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>774     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
775         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(::std::clone::Clone::clone(self)))
776     }
777 }
778 #[cfg(feature = "Win32_System_Ole_Automation")]
779 impl ::std::convert::From<IAlertDataCollector> for super::Ole::Automation::IDispatch {
from(value: IAlertDataCollector) -> Self780     fn from(value: IAlertDataCollector) -> Self {
781         unsafe { ::std::mem::transmute(value) }
782     }
783 }
784 #[cfg(feature = "Win32_System_Ole_Automation")]
785 impl ::std::convert::From<&IAlertDataCollector> for super::Ole::Automation::IDispatch {
from(value: &IAlertDataCollector) -> Self786     fn from(value: &IAlertDataCollector) -> Self {
787         ::std::convert::From::from(::std::clone::Clone::clone(value))
788     }
789 }
790 #[cfg(feature = "Win32_System_Ole_Automation")]
791 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IAlertDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>792     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
793         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
794     }
795 }
796 #[cfg(feature = "Win32_System_Ole_Automation")]
797 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IAlertDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>798     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
799         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
800     }
801 }
802 #[repr(C)]
803 #[doc(hidden)]
804 pub struct IAlertDataCollector_abi(
805     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
806     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
807     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
808     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
809     #[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,
810     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
811     #[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,
812     #[cfg(not(feature = "Win32_Foundation"))] usize,
813     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
814     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,
815     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
817     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
818     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut DataCollectorType) -> ::windows::runtime::HRESULT,
819     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
820     #[cfg(not(feature = "Win32_Foundation"))] usize,
821     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
822     #[cfg(not(feature = "Win32_Foundation"))] usize,
823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
824     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
825     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
826     #[cfg(not(feature = "Win32_Foundation"))] usize,
827     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
828     #[cfg(not(feature = "Win32_Foundation"))] usize,
829     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
830     #[cfg(not(feature = "Win32_Foundation"))] usize,
831     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
832     #[cfg(not(feature = "Win32_Foundation"))] usize,
833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: *mut i16) -> ::windows::runtime::HRESULT,
834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: i16) -> ::windows::runtime::HRESULT,
835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: *mut i16) -> ::windows::runtime::HRESULT,
836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: i16) -> ::windows::runtime::HRESULT,
837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: *mut i16) -> ::windows::runtime::HRESULT,
838     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: i16) -> ::windows::runtime::HRESULT,
839     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
840     #[cfg(not(feature = "Win32_Foundation"))] usize,
841     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
842     #[cfg(not(feature = "Win32_Foundation"))] usize,
843     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
844     #[cfg(not(feature = "Win32_Foundation"))] usize,
845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut i32) -> ::windows::runtime::HRESULT,
846     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32) -> ::windows::runtime::HRESULT,
847     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
848     #[cfg(not(feature = "Win32_Foundation"))] usize,
849     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
850     #[cfg(not(feature = "Win32_Foundation"))] usize,
851     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, latest: i16, location: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
852     #[cfg(not(feature = "Win32_Foundation"))] usize,
853     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, alerts: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
854     #[cfg(not(feature = "Win32_System_Com"))] usize,
855     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, alerts: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
856     #[cfg(not(feature = "Win32_System_Com"))] usize,
857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, log: *mut i16) -> ::windows::runtime::HRESULT,
858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, log: i16) -> ::windows::runtime::HRESULT,
859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, interval: *mut u32) -> ::windows::runtime::HRESULT,
860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, interval: u32) -> ::windows::runtime::HRESULT,
861     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
862     #[cfg(not(feature = "Win32_Foundation"))] usize,
863     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
864     #[cfg(not(feature = "Win32_Foundation"))] usize,
865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, runasself: *mut i16) -> ::windows::runtime::HRESULT,
866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, runasself: i16) -> ::windows::runtime::HRESULT,
867     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
868     #[cfg(not(feature = "Win32_Foundation"))] usize,
869     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
870     #[cfg(not(feature = "Win32_Foundation"))] usize,
871     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
872     #[cfg(not(feature = "Win32_Foundation"))] usize,
873     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
874     #[cfg(not(feature = "Win32_Foundation"))] usize,
875     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
876     #[cfg(not(feature = "Win32_Foundation"))] usize,
877     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
878     #[cfg(not(feature = "Win32_Foundation"))] usize,
879 );
880 #[repr(transparent)]
881 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
882 pub struct IApiTracingDataCollector(::windows::runtime::IUnknown);
883 impl IApiTracingDataCollector {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>884     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
885         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
886         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
887     }
888     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>889     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
890         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
891         (::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__)
892     }
893     #[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<()>894     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<()> {
895         (::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()
896     }
897     #[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<()>898     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<()> {
899         (::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()
900     }
DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet>901     pub unsafe fn DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet> {
902         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
903         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorSet>(result__)
904     }
SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()>905     pub unsafe fn SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()> {
906         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), group.into_param().abi()).ok()
907     }
DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType>908     pub unsafe fn DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType> {
909         let mut result__: <DataCollectorType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
910         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorType>(result__)
911     }
912     #[cfg(feature = "Win32_Foundation")]
FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>913     pub unsafe fn FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
914         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
915         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
916     }
917     #[cfg(feature = "Win32_Foundation")]
SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>918     pub unsafe fn SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
919         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
920     }
FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>921     pub unsafe fn FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
922         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
923         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
924     }
SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>925     pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
926         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
927     }
928     #[cfg(feature = "Win32_Foundation")]
FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>929     pub unsafe fn FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
930         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
931         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
932     }
933     #[cfg(feature = "Win32_Foundation")]
SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>934     pub unsafe fn SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
935         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
936     }
937     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>938     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
939         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
940         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
941     }
942     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>943     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
944         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
945     }
LogAppend(&self) -> ::windows::runtime::Result<i16>946     pub unsafe fn LogAppend(&self) -> ::windows::runtime::Result<i16> {
947         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
948         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
949     }
SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()>950     pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()> {
951         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(append)).ok()
952     }
LogCircular(&self) -> ::windows::runtime::Result<i16>953     pub unsafe fn LogCircular(&self) -> ::windows::runtime::Result<i16> {
954         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
955         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
956     }
SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()>957     pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()> {
958         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(circular)).ok()
959     }
LogOverwrite(&self) -> ::windows::runtime::Result<i16>960     pub unsafe fn LogOverwrite(&self) -> ::windows::runtime::Result<i16> {
961         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
962         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
963     }
SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()>964     pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()> {
965         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(overwrite)).ok()
966     }
967     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>968     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
969         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
970         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
971     }
972     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>973     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
974         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
975     }
976     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>977     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
978         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
979         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
980     }
Index(&self) -> ::windows::runtime::Result<i32>981     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
982         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
983         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
984     }
SetIndex(&self, index: i32) -> ::windows::runtime::Result<()>985     pub unsafe fn SetIndex(&self, index: i32) -> ::windows::runtime::Result<()> {
986         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
987     }
988     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>989     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
990         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
991         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
992     }
993     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>994     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
995         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
996         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
997     }
998     #[cfg(feature = "Win32_Foundation")]
CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>999     pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1000         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1001         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(latest), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1002     }
LogApiNamesOnly(&self) -> ::windows::runtime::Result<i16>1003     pub unsafe fn LogApiNamesOnly(&self) -> ::windows::runtime::Result<i16> {
1004         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1005         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1006     }
SetLogApiNamesOnly(&self, logapinames: i16) -> ::windows::runtime::Result<()>1007     pub unsafe fn SetLogApiNamesOnly(&self, logapinames: i16) -> ::windows::runtime::Result<()> {
1008         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(logapinames)).ok()
1009     }
LogApisRecursively(&self) -> ::windows::runtime::Result<i16>1010     pub unsafe fn LogApisRecursively(&self) -> ::windows::runtime::Result<i16> {
1011         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1012         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1013     }
SetLogApisRecursively(&self, logrecursively: i16) -> ::windows::runtime::Result<()>1014     pub unsafe fn SetLogApisRecursively(&self, logrecursively: i16) -> ::windows::runtime::Result<()> {
1015         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(logrecursively)).ok()
1016     }
1017     #[cfg(feature = "Win32_Foundation")]
ExePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1018     pub unsafe fn ExePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1019         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1020         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1021     }
1022     #[cfg(feature = "Win32_Foundation")]
SetExePath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, exepath: Param0) -> ::windows::runtime::Result<()>1023     pub unsafe fn SetExePath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, exepath: Param0) -> ::windows::runtime::Result<()> {
1024         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), exepath.into_param().abi()).ok()
1025     }
1026     #[cfg(feature = "Win32_Foundation")]
LogFilePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1027     pub unsafe fn LogFilePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1028         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1029         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1030     }
1031     #[cfg(feature = "Win32_Foundation")]
SetLogFilePath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, logfilepath: Param0) -> ::windows::runtime::Result<()>1032     pub unsafe fn SetLogFilePath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, logfilepath: Param0) -> ::windows::runtime::Result<()> {
1033         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), logfilepath.into_param().abi()).ok()
1034     }
1035     #[cfg(feature = "Win32_System_Com")]
IncludeModules(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>1036     pub unsafe fn IncludeModules(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
1037         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1038         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
1039     }
1040     #[cfg(feature = "Win32_System_Com")]
SetIncludeModules(&self, includemodules: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>1041     pub unsafe fn SetIncludeModules(&self, includemodules: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
1042         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(includemodules)).ok()
1043     }
1044     #[cfg(feature = "Win32_System_Com")]
IncludeApis(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>1045     pub unsafe fn IncludeApis(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
1046         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1047         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
1048     }
1049     #[cfg(feature = "Win32_System_Com")]
SetIncludeApis(&self, includeapis: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>1050     pub unsafe fn SetIncludeApis(&self, includeapis: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
1051         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(includeapis)).ok()
1052     }
1053     #[cfg(feature = "Win32_System_Com")]
ExcludeApis(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>1054     pub unsafe fn ExcludeApis(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
1055         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1056         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
1057     }
1058     #[cfg(feature = "Win32_System_Com")]
SetExcludeApis(&self, excludeapis: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>1059     pub unsafe fn SetExcludeApis(&self, excludeapis: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
1060         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(excludeapis)).ok()
1061     }
1062 }
1063 unsafe impl ::windows::runtime::Interface for IApiTracingDataCollector {
1064     type Vtable = IApiTracingDataCollector_abi;
1065     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946842, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
1066 }
1067 impl ::std::convert::From<IApiTracingDataCollector> for ::windows::runtime::IUnknown {
from(value: IApiTracingDataCollector) -> Self1068     fn from(value: IApiTracingDataCollector) -> Self {
1069         unsafe { ::std::mem::transmute(value) }
1070     }
1071 }
1072 impl ::std::convert::From<&IApiTracingDataCollector> for ::windows::runtime::IUnknown {
from(value: &IApiTracingDataCollector) -> Self1073     fn from(value: &IApiTracingDataCollector) -> Self {
1074         ::std::convert::From::from(::std::clone::Clone::clone(value))
1075     }
1076 }
1077 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IApiTracingDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1078     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1079         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1080     }
1081 }
1082 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IApiTracingDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1083     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1084         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1085     }
1086 }
1087 impl ::std::convert::From<IApiTracingDataCollector> for IDataCollector {
from(value: IApiTracingDataCollector) -> Self1088     fn from(value: IApiTracingDataCollector) -> Self {
1089         unsafe { ::std::mem::transmute(value) }
1090     }
1091 }
1092 impl ::std::convert::From<&IApiTracingDataCollector> for IDataCollector {
from(value: &IApiTracingDataCollector) -> Self1093     fn from(value: &IApiTracingDataCollector) -> Self {
1094         ::std::convert::From::from(::std::clone::Clone::clone(value))
1095     }
1096 }
1097 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for IApiTracingDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>1098     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
1099         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(self))
1100     }
1101 }
1102 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for &IApiTracingDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>1103     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
1104         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(::std::clone::Clone::clone(self)))
1105     }
1106 }
1107 #[cfg(feature = "Win32_System_Ole_Automation")]
1108 impl ::std::convert::From<IApiTracingDataCollector> for super::Ole::Automation::IDispatch {
from(value: IApiTracingDataCollector) -> Self1109     fn from(value: IApiTracingDataCollector) -> Self {
1110         unsafe { ::std::mem::transmute(value) }
1111     }
1112 }
1113 #[cfg(feature = "Win32_System_Ole_Automation")]
1114 impl ::std::convert::From<&IApiTracingDataCollector> for super::Ole::Automation::IDispatch {
from(value: &IApiTracingDataCollector) -> Self1115     fn from(value: &IApiTracingDataCollector) -> Self {
1116         ::std::convert::From::from(::std::clone::Clone::clone(value))
1117     }
1118 }
1119 #[cfg(feature = "Win32_System_Ole_Automation")]
1120 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IApiTracingDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1121     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1122         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1123     }
1124 }
1125 #[cfg(feature = "Win32_System_Ole_Automation")]
1126 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IApiTracingDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1127     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1128         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1129     }
1130 }
1131 #[repr(C)]
1132 #[doc(hidden)]
1133 pub struct IApiTracingDataCollector_abi(
1134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1138     #[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,
1139     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1140     #[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,
1141     #[cfg(not(feature = "Win32_Foundation"))] usize,
1142     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1143     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,
1144     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1145     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut DataCollectorType) -> ::windows::runtime::HRESULT,
1148     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1149     #[cfg(not(feature = "Win32_Foundation"))] usize,
1150     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1151     #[cfg(not(feature = "Win32_Foundation"))] usize,
1152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
1153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
1154     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1155     #[cfg(not(feature = "Win32_Foundation"))] usize,
1156     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1157     #[cfg(not(feature = "Win32_Foundation"))] usize,
1158     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1159     #[cfg(not(feature = "Win32_Foundation"))] usize,
1160     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1161     #[cfg(not(feature = "Win32_Foundation"))] usize,
1162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: *mut i16) -> ::windows::runtime::HRESULT,
1163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: i16) -> ::windows::runtime::HRESULT,
1164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: *mut i16) -> ::windows::runtime::HRESULT,
1165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: i16) -> ::windows::runtime::HRESULT,
1166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: *mut i16) -> ::windows::runtime::HRESULT,
1167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: i16) -> ::windows::runtime::HRESULT,
1168     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1169     #[cfg(not(feature = "Win32_Foundation"))] usize,
1170     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1171     #[cfg(not(feature = "Win32_Foundation"))] usize,
1172     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1173     #[cfg(not(feature = "Win32_Foundation"))] usize,
1174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut i32) -> ::windows::runtime::HRESULT,
1175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32) -> ::windows::runtime::HRESULT,
1176     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1177     #[cfg(not(feature = "Win32_Foundation"))] usize,
1178     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1179     #[cfg(not(feature = "Win32_Foundation"))] usize,
1180     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, latest: i16, location: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1181     #[cfg(not(feature = "Win32_Foundation"))] usize,
1182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, logapinames: *mut i16) -> ::windows::runtime::HRESULT,
1183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, logapinames: i16) -> ::windows::runtime::HRESULT,
1184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, logrecursively: *mut i16) -> ::windows::runtime::HRESULT,
1185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, logrecursively: i16) -> ::windows::runtime::HRESULT,
1186     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, exepath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1187     #[cfg(not(feature = "Win32_Foundation"))] usize,
1188     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, exepath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1189     #[cfg(not(feature = "Win32_Foundation"))] usize,
1190     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, logfilepath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1191     #[cfg(not(feature = "Win32_Foundation"))] usize,
1192     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, logfilepath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1193     #[cfg(not(feature = "Win32_Foundation"))] usize,
1194     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, includemodules: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1195     #[cfg(not(feature = "Win32_System_Com"))] usize,
1196     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, includemodules: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1197     #[cfg(not(feature = "Win32_System_Com"))] usize,
1198     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, includeapis: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1199     #[cfg(not(feature = "Win32_System_Com"))] usize,
1200     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, includeapis: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1201     #[cfg(not(feature = "Win32_System_Com"))] usize,
1202     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, excludeapis: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1203     #[cfg(not(feature = "Win32_System_Com"))] usize,
1204     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, excludeapis: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1205     #[cfg(not(feature = "Win32_System_Com"))] usize,
1206 );
1207 #[repr(transparent)]
1208 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1209 pub struct IConfigurationDataCollector(::windows::runtime::IUnknown);
1210 impl IConfigurationDataCollector {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1211     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1212         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1213         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1214     }
1215     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1216     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
1217         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1218         (::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__)
1219     }
1220     #[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<()>1221     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<()> {
1222         (::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()
1223     }
1224     #[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<()>1225     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<()> {
1226         (::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()
1227     }
DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet>1228     pub unsafe fn DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet> {
1229         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1230         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorSet>(result__)
1231     }
SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()>1232     pub unsafe fn SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()> {
1233         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), group.into_param().abi()).ok()
1234     }
DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType>1235     pub unsafe fn DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType> {
1236         let mut result__: <DataCollectorType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1237         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorType>(result__)
1238     }
1239     #[cfg(feature = "Win32_Foundation")]
FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1240     pub unsafe fn FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1241         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1242         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1243     }
1244     #[cfg(feature = "Win32_Foundation")]
SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>1245     pub unsafe fn SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
1246         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
1247     }
FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>1248     pub unsafe fn FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
1249         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1250         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
1251     }
SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>1252     pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
1253         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
1254     }
1255     #[cfg(feature = "Win32_Foundation")]
FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1256     pub unsafe fn FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1257         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1258         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1259     }
1260     #[cfg(feature = "Win32_Foundation")]
SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>1261     pub unsafe fn SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
1262         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
1263     }
1264     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1265     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1266         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1267         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1268     }
1269     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1270     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
1271         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
1272     }
LogAppend(&self) -> ::windows::runtime::Result<i16>1273     pub unsafe fn LogAppend(&self) -> ::windows::runtime::Result<i16> {
1274         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1275         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1276     }
SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()>1277     pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()> {
1278         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(append)).ok()
1279     }
LogCircular(&self) -> ::windows::runtime::Result<i16>1280     pub unsafe fn LogCircular(&self) -> ::windows::runtime::Result<i16> {
1281         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1282         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1283     }
SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()>1284     pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()> {
1285         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(circular)).ok()
1286     }
LogOverwrite(&self) -> ::windows::runtime::Result<i16>1287     pub unsafe fn LogOverwrite(&self) -> ::windows::runtime::Result<i16> {
1288         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1289         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1290     }
SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()>1291     pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()> {
1292         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(overwrite)).ok()
1293     }
1294     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1295     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1296         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1297         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1298     }
1299     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>1300     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
1301         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
1302     }
1303     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1304     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1305         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1306         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1307     }
Index(&self) -> ::windows::runtime::Result<i32>1308     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
1309         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1310         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1311     }
SetIndex(&self, index: i32) -> ::windows::runtime::Result<()>1312     pub unsafe fn SetIndex(&self, index: i32) -> ::windows::runtime::Result<()> {
1313         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
1314     }
1315     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1316     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1317         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1318         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1319     }
1320     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>1321     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
1322         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1323         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
1324     }
1325     #[cfg(feature = "Win32_Foundation")]
CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1326     pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1327         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1328         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(latest), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1329     }
FileMaxCount(&self) -> ::windows::runtime::Result<u32>1330     pub unsafe fn FileMaxCount(&self) -> ::windows::runtime::Result<u32> {
1331         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1332         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1333     }
SetFileMaxCount(&self, count: u32) -> ::windows::runtime::Result<()>1334     pub unsafe fn SetFileMaxCount(&self, count: u32) -> ::windows::runtime::Result<()> {
1335         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(count)).ok()
1336     }
FileMaxRecursiveDepth(&self) -> ::windows::runtime::Result<u32>1337     pub unsafe fn FileMaxRecursiveDepth(&self) -> ::windows::runtime::Result<u32> {
1338         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1339         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1340     }
SetFileMaxRecursiveDepth(&self, depth: u32) -> ::windows::runtime::Result<()>1341     pub unsafe fn SetFileMaxRecursiveDepth(&self, depth: u32) -> ::windows::runtime::Result<()> {
1342         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(depth)).ok()
1343     }
FileMaxTotalSize(&self) -> ::windows::runtime::Result<u32>1344     pub unsafe fn FileMaxTotalSize(&self) -> ::windows::runtime::Result<u32> {
1345         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1346         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1347     }
SetFileMaxTotalSize(&self, size: u32) -> ::windows::runtime::Result<()>1348     pub unsafe fn SetFileMaxTotalSize(&self, size: u32) -> ::windows::runtime::Result<()> {
1349         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(size)).ok()
1350     }
1351     #[cfg(feature = "Win32_System_Com")]
Files(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>1352     pub unsafe fn Files(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
1353         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1354         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
1355     }
1356     #[cfg(feature = "Win32_System_Com")]
SetFiles(&self, files: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>1357     pub unsafe fn SetFiles(&self, files: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
1358         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(files)).ok()
1359     }
1360     #[cfg(feature = "Win32_System_Com")]
ManagementQueries(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>1361     pub unsafe fn ManagementQueries(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
1362         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1363         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
1364     }
1365     #[cfg(feature = "Win32_System_Com")]
SetManagementQueries(&self, queries: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>1366     pub unsafe fn SetManagementQueries(&self, queries: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
1367         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(queries)).ok()
1368     }
QueryNetworkAdapters(&self) -> ::windows::runtime::Result<i16>1369     pub unsafe fn QueryNetworkAdapters(&self) -> ::windows::runtime::Result<i16> {
1370         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1371         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1372     }
SetQueryNetworkAdapters(&self, network: i16) -> ::windows::runtime::Result<()>1373     pub unsafe fn SetQueryNetworkAdapters(&self, network: i16) -> ::windows::runtime::Result<()> {
1374         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(network)).ok()
1375     }
1376     #[cfg(feature = "Win32_System_Com")]
RegistryKeys(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>1377     pub unsafe fn RegistryKeys(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
1378         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1379         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
1380     }
1381     #[cfg(feature = "Win32_System_Com")]
SetRegistryKeys(&self, query: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>1382     pub unsafe fn SetRegistryKeys(&self, query: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
1383         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(query)).ok()
1384     }
RegistryMaxRecursiveDepth(&self) -> ::windows::runtime::Result<u32>1385     pub unsafe fn RegistryMaxRecursiveDepth(&self) -> ::windows::runtime::Result<u32> {
1386         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1387         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1388     }
SetRegistryMaxRecursiveDepth(&self, depth: u32) -> ::windows::runtime::Result<()>1389     pub unsafe fn SetRegistryMaxRecursiveDepth(&self, depth: u32) -> ::windows::runtime::Result<()> {
1390         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(depth)).ok()
1391     }
1392     #[cfg(feature = "Win32_Foundation")]
SystemStateFile(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1393     pub unsafe fn SystemStateFile(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1394         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1395         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1396     }
1397     #[cfg(feature = "Win32_Foundation")]
SetSystemStateFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<()>1398     pub unsafe fn SetSystemStateFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<()> {
1399         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), filename.into_param().abi()).ok()
1400     }
1401 }
1402 unsafe impl ::windows::runtime::Interface for IConfigurationDataCollector {
1403     type Vtable = IConfigurationDataCollector_abi;
1404     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946836, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
1405 }
1406 impl ::std::convert::From<IConfigurationDataCollector> for ::windows::runtime::IUnknown {
from(value: IConfigurationDataCollector) -> Self1407     fn from(value: IConfigurationDataCollector) -> Self {
1408         unsafe { ::std::mem::transmute(value) }
1409     }
1410 }
1411 impl ::std::convert::From<&IConfigurationDataCollector> for ::windows::runtime::IUnknown {
from(value: &IConfigurationDataCollector) -> Self1412     fn from(value: &IConfigurationDataCollector) -> Self {
1413         ::std::convert::From::from(::std::clone::Clone::clone(value))
1414     }
1415 }
1416 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IConfigurationDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1417     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1418         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1419     }
1420 }
1421 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IConfigurationDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1422     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1423         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1424     }
1425 }
1426 impl ::std::convert::From<IConfigurationDataCollector> for IDataCollector {
from(value: IConfigurationDataCollector) -> Self1427     fn from(value: IConfigurationDataCollector) -> Self {
1428         unsafe { ::std::mem::transmute(value) }
1429     }
1430 }
1431 impl ::std::convert::From<&IConfigurationDataCollector> for IDataCollector {
from(value: &IConfigurationDataCollector) -> Self1432     fn from(value: &IConfigurationDataCollector) -> Self {
1433         ::std::convert::From::from(::std::clone::Clone::clone(value))
1434     }
1435 }
1436 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for IConfigurationDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>1437     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
1438         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(self))
1439     }
1440 }
1441 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for &IConfigurationDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>1442     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
1443         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(::std::clone::Clone::clone(self)))
1444     }
1445 }
1446 #[cfg(feature = "Win32_System_Ole_Automation")]
1447 impl ::std::convert::From<IConfigurationDataCollector> for super::Ole::Automation::IDispatch {
from(value: IConfigurationDataCollector) -> Self1448     fn from(value: IConfigurationDataCollector) -> Self {
1449         unsafe { ::std::mem::transmute(value) }
1450     }
1451 }
1452 #[cfg(feature = "Win32_System_Ole_Automation")]
1453 impl ::std::convert::From<&IConfigurationDataCollector> for super::Ole::Automation::IDispatch {
from(value: &IConfigurationDataCollector) -> Self1454     fn from(value: &IConfigurationDataCollector) -> Self {
1455         ::std::convert::From::from(::std::clone::Clone::clone(value))
1456     }
1457 }
1458 #[cfg(feature = "Win32_System_Ole_Automation")]
1459 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IConfigurationDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1460     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1461         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1462     }
1463 }
1464 #[cfg(feature = "Win32_System_Ole_Automation")]
1465 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IConfigurationDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1466     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1467         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1468     }
1469 }
1470 #[repr(C)]
1471 #[doc(hidden)]
1472 pub struct IConfigurationDataCollector_abi(
1473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1476     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1477     #[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,
1478     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1479     #[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,
1480     #[cfg(not(feature = "Win32_Foundation"))] usize,
1481     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1482     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,
1483     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1484     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1485     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1486     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut DataCollectorType) -> ::windows::runtime::HRESULT,
1487     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1488     #[cfg(not(feature = "Win32_Foundation"))] usize,
1489     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1490     #[cfg(not(feature = "Win32_Foundation"))] usize,
1491     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
1492     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
1493     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1494     #[cfg(not(feature = "Win32_Foundation"))] usize,
1495     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1496     #[cfg(not(feature = "Win32_Foundation"))] usize,
1497     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1498     #[cfg(not(feature = "Win32_Foundation"))] usize,
1499     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1500     #[cfg(not(feature = "Win32_Foundation"))] usize,
1501     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: *mut i16) -> ::windows::runtime::HRESULT,
1502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: i16) -> ::windows::runtime::HRESULT,
1503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: *mut i16) -> ::windows::runtime::HRESULT,
1504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: i16) -> ::windows::runtime::HRESULT,
1505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: *mut i16) -> ::windows::runtime::HRESULT,
1506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: i16) -> ::windows::runtime::HRESULT,
1507     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1508     #[cfg(not(feature = "Win32_Foundation"))] usize,
1509     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1510     #[cfg(not(feature = "Win32_Foundation"))] usize,
1511     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1512     #[cfg(not(feature = "Win32_Foundation"))] usize,
1513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut i32) -> ::windows::runtime::HRESULT,
1514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32) -> ::windows::runtime::HRESULT,
1515     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1516     #[cfg(not(feature = "Win32_Foundation"))] usize,
1517     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1518     #[cfg(not(feature = "Win32_Foundation"))] usize,
1519     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, latest: i16, location: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1520     #[cfg(not(feature = "Win32_Foundation"))] usize,
1521     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
1522     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: u32) -> ::windows::runtime::HRESULT,
1523     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, depth: *mut u32) -> ::windows::runtime::HRESULT,
1524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, depth: u32) -> ::windows::runtime::HRESULT,
1525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: *mut u32) -> ::windows::runtime::HRESULT,
1526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: u32) -> ::windows::runtime::HRESULT,
1527     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, files: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1528     #[cfg(not(feature = "Win32_System_Com"))] usize,
1529     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, files: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1530     #[cfg(not(feature = "Win32_System_Com"))] usize,
1531     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, queries: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1532     #[cfg(not(feature = "Win32_System_Com"))] usize,
1533     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, queries: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1534     #[cfg(not(feature = "Win32_System_Com"))] usize,
1535     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, network: *mut i16) -> ::windows::runtime::HRESULT,
1536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, network: i16) -> ::windows::runtime::HRESULT,
1537     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, query: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1538     #[cfg(not(feature = "Win32_System_Com"))] usize,
1539     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, query: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1540     #[cfg(not(feature = "Win32_System_Com"))] usize,
1541     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, depth: *mut u32) -> ::windows::runtime::HRESULT,
1542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, depth: u32) -> ::windows::runtime::HRESULT,
1543     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1544     #[cfg(not(feature = "Win32_Foundation"))] usize,
1545     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1546     #[cfg(not(feature = "Win32_Foundation"))] usize,
1547 );
1548 #[repr(transparent)]
1549 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1550 pub struct ICounterItem(::windows::runtime::IUnknown);
1551 impl ICounterItem {
Value(&self) -> ::windows::runtime::Result<f64>1552     pub unsafe fn Value(&self) -> ::windows::runtime::Result<f64> {
1553         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1554         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
1555     }
SetColor(&self, color: u32) -> ::windows::runtime::Result<()>1556     pub unsafe fn SetColor(&self, color: u32) -> ::windows::runtime::Result<()> {
1557         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
1558     }
Color(&self) -> ::windows::runtime::Result<u32>1559     pub unsafe fn Color(&self) -> ::windows::runtime::Result<u32> {
1560         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1561         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1562     }
SetWidth(&self, iwidth: i32) -> ::windows::runtime::Result<()>1563     pub unsafe fn SetWidth(&self, iwidth: i32) -> ::windows::runtime::Result<()> {
1564         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iwidth)).ok()
1565     }
Width(&self) -> ::windows::runtime::Result<i32>1566     pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> {
1567         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1568         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1569     }
SetLineStyle(&self, ilinestyle: i32) -> ::windows::runtime::Result<()>1570     pub unsafe fn SetLineStyle(&self, ilinestyle: i32) -> ::windows::runtime::Result<()> {
1571         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ilinestyle)).ok()
1572     }
LineStyle(&self) -> ::windows::runtime::Result<i32>1573     pub unsafe fn LineStyle(&self) -> ::windows::runtime::Result<i32> {
1574         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1575         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1576     }
SetScaleFactor(&self, iscale: i32) -> ::windows::runtime::Result<()>1577     pub unsafe fn SetScaleFactor(&self, iscale: i32) -> ::windows::runtime::Result<()> {
1578         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iscale)).ok()
1579     }
ScaleFactor(&self) -> ::windows::runtime::Result<i32>1580     pub unsafe fn ScaleFactor(&self) -> ::windows::runtime::Result<i32> {
1581         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1582         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1583     }
1584     #[cfg(feature = "Win32_Foundation")]
Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1585     pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1586         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1587         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1588     }
GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()>1589     pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()> {
1590         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value), ::std::mem::transmute(status)).ok()
1591     }
GetStatistics(&self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()>1592     pub unsafe fn GetStatistics(&self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()> {
1593         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(max), ::std::mem::transmute(min), ::std::mem::transmute(avg), ::std::mem::transmute(status)).ok()
1594     }
1595 }
1596 unsafe impl ::windows::runtime::Interface for ICounterItem {
1597     type Vtable = ICounterItem_abi;
1598     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1998230816, 60968, 4558, [148, 30, 0, 128, 41, 0, 67, 71]);
1599 }
1600 impl ::std::convert::From<ICounterItem> for ::windows::runtime::IUnknown {
from(value: ICounterItem) -> Self1601     fn from(value: ICounterItem) -> Self {
1602         unsafe { ::std::mem::transmute(value) }
1603     }
1604 }
1605 impl ::std::convert::From<&ICounterItem> for ::windows::runtime::IUnknown {
from(value: &ICounterItem) -> Self1606     fn from(value: &ICounterItem) -> Self {
1607         ::std::convert::From::from(::std::clone::Clone::clone(value))
1608     }
1609 }
1610 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICounterItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1611     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1612         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1613     }
1614 }
1615 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICounterItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1616     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1617         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1618     }
1619 }
1620 #[repr(C)]
1621 #[doc(hidden)]
1622 pub struct ICounterItem_abi(
1623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1624     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1625     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1626     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdblvalue: *mut f64) -> ::windows::runtime::HRESULT,
1627     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
1628     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
1629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iwidth: i32) -> ::windows::runtime::HRESULT,
1630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
1631     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ilinestyle: i32) -> ::windows::runtime::HRESULT,
1632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
1633     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iscale: i32) -> ::windows::runtime::HRESULT,
1634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
1635     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstrvalue: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1636     #[cfg(not(feature = "Win32_Foundation"))] usize,
1637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f64, status: *mut i32) -> ::windows::runtime::HRESULT,
1638     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::HRESULT,
1639 );
1640 #[repr(transparent)]
1641 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1642 pub struct ICounterItem2(::windows::runtime::IUnknown);
1643 impl ICounterItem2 {
Value(&self) -> ::windows::runtime::Result<f64>1644     pub unsafe fn Value(&self) -> ::windows::runtime::Result<f64> {
1645         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1646         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
1647     }
SetColor(&self, color: u32) -> ::windows::runtime::Result<()>1648     pub unsafe fn SetColor(&self, color: u32) -> ::windows::runtime::Result<()> {
1649         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
1650     }
Color(&self) -> ::windows::runtime::Result<u32>1651     pub unsafe fn Color(&self) -> ::windows::runtime::Result<u32> {
1652         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1653         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1654     }
SetWidth(&self, iwidth: i32) -> ::windows::runtime::Result<()>1655     pub unsafe fn SetWidth(&self, iwidth: i32) -> ::windows::runtime::Result<()> {
1656         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iwidth)).ok()
1657     }
Width(&self) -> ::windows::runtime::Result<i32>1658     pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> {
1659         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1660         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1661     }
SetLineStyle(&self, ilinestyle: i32) -> ::windows::runtime::Result<()>1662     pub unsafe fn SetLineStyle(&self, ilinestyle: i32) -> ::windows::runtime::Result<()> {
1663         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ilinestyle)).ok()
1664     }
LineStyle(&self) -> ::windows::runtime::Result<i32>1665     pub unsafe fn LineStyle(&self) -> ::windows::runtime::Result<i32> {
1666         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1667         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1668     }
SetScaleFactor(&self, iscale: i32) -> ::windows::runtime::Result<()>1669     pub unsafe fn SetScaleFactor(&self, iscale: i32) -> ::windows::runtime::Result<()> {
1670         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iscale)).ok()
1671     }
ScaleFactor(&self) -> ::windows::runtime::Result<i32>1672     pub unsafe fn ScaleFactor(&self) -> ::windows::runtime::Result<i32> {
1673         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1674         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1675     }
1676     #[cfg(feature = "Win32_Foundation")]
Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1677     pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1678         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1679         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1680     }
GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()>1681     pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()> {
1682         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value), ::std::mem::transmute(status)).ok()
1683     }
GetStatistics(&self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()>1684     pub unsafe fn GetStatistics(&self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()> {
1685         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(max), ::std::mem::transmute(min), ::std::mem::transmute(avg), ::std::mem::transmute(status)).ok()
1686     }
SetSelected(&self, bstate: i16) -> ::windows::runtime::Result<()>1687     pub unsafe fn SetSelected(&self, bstate: i16) -> ::windows::runtime::Result<()> {
1688         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
1689     }
Selected(&self) -> ::windows::runtime::Result<i16>1690     pub unsafe fn Selected(&self) -> ::windows::runtime::Result<i16> {
1691         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1692         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1693     }
SetVisible(&self, bstate: i16) -> ::windows::runtime::Result<()>1694     pub unsafe fn SetVisible(&self, bstate: i16) -> ::windows::runtime::Result<()> {
1695         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
1696     }
Visible(&self) -> ::windows::runtime::Result<i16>1697     pub unsafe fn Visible(&self) -> ::windows::runtime::Result<i16> {
1698         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1699         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1700     }
1701     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> ::windows::runtime::Result<super::Com::VARIANT>1702     pub unsafe fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> ::windows::runtime::Result<super::Com::VARIANT> {
1703         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1704         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), ::std::mem::transmute(iwhich), &mut result__).from_abi::<super::Com::VARIANT>(result__)
1705     }
1706 }
1707 unsafe impl ::windows::runtime::Interface for ICounterItem2 {
1708     type Vtable = ICounterItem2_abi;
1709     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4009546977, 59932, 17461, [183, 244, 227, 65, 186, 3, 180, 249]);
1710 }
1711 impl ::std::convert::From<ICounterItem2> for ::windows::runtime::IUnknown {
from(value: ICounterItem2) -> Self1712     fn from(value: ICounterItem2) -> Self {
1713         unsafe { ::std::mem::transmute(value) }
1714     }
1715 }
1716 impl ::std::convert::From<&ICounterItem2> for ::windows::runtime::IUnknown {
from(value: &ICounterItem2) -> Self1717     fn from(value: &ICounterItem2) -> Self {
1718         ::std::convert::From::from(::std::clone::Clone::clone(value))
1719     }
1720 }
1721 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICounterItem2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1722     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1723         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1724     }
1725 }
1726 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICounterItem2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1727     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1728         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1729     }
1730 }
1731 impl ::std::convert::From<ICounterItem2> for ICounterItem {
from(value: ICounterItem2) -> Self1732     fn from(value: ICounterItem2) -> Self {
1733         unsafe { ::std::mem::transmute(value) }
1734     }
1735 }
1736 impl ::std::convert::From<&ICounterItem2> for ICounterItem {
from(value: &ICounterItem2) -> Self1737     fn from(value: &ICounterItem2) -> Self {
1738         ::std::convert::From::from(::std::clone::Clone::clone(value))
1739     }
1740 }
1741 impl<'a> ::windows::runtime::IntoParam<'a, ICounterItem> for ICounterItem2 {
into_param(self) -> ::windows::runtime::Param<'a, ICounterItem>1742     fn into_param(self) -> ::windows::runtime::Param<'a, ICounterItem> {
1743         ::windows::runtime::Param::Owned(::std::convert::Into::<ICounterItem>::into(self))
1744     }
1745 }
1746 impl<'a> ::windows::runtime::IntoParam<'a, ICounterItem> for &ICounterItem2 {
into_param(self) -> ::windows::runtime::Param<'a, ICounterItem>1747     fn into_param(self) -> ::windows::runtime::Param<'a, ICounterItem> {
1748         ::windows::runtime::Param::Owned(::std::convert::Into::<ICounterItem>::into(::std::clone::Clone::clone(self)))
1749     }
1750 }
1751 #[repr(C)]
1752 #[doc(hidden)]
1753 pub struct ICounterItem2_abi(
1754     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdblvalue: *mut f64) -> ::windows::runtime::HRESULT,
1758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
1759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
1760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iwidth: i32) -> ::windows::runtime::HRESULT,
1761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
1762     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ilinestyle: i32) -> ::windows::runtime::HRESULT,
1763     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
1764     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iscale: i32) -> ::windows::runtime::HRESULT,
1765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
1766     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstrvalue: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1767     #[cfg(not(feature = "Win32_Foundation"))] usize,
1768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f64, status: *mut i32) -> ::windows::runtime::HRESULT,
1769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::HRESULT,
1770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
1771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
1772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
1773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
1774     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, iwhich: SysmonDataType, pvariant: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
1775     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1776 );
1777 #[repr(transparent)]
1778 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1779 pub struct ICounters(::windows::runtime::IUnknown);
1780 impl ICounters {
Count(&self) -> ::windows::runtime::Result<i32>1781     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
1782         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1783         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1784     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1785     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1786         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1787         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1788     }
1789     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<DICounterItem>1790     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<DICounterItem> {
1791         let mut result__: <DICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1792         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<DICounterItem>(result__)
1793     }
1794     #[cfg(feature = "Win32_Foundation")]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pathname: Param0) -> ::windows::runtime::Result<DICounterItem>1795     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pathname: Param0) -> ::windows::runtime::Result<DICounterItem> {
1796         let mut result__: <DICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1797         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pathname.into_param().abi(), &mut result__).from_abi::<DICounterItem>(result__)
1798     }
1799     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<()>1800     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<()> {
1801         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), index.into_param().abi()).ok()
1802     }
1803 }
1804 unsafe impl ::windows::runtime::Interface for ICounters {
1805     type Vtable = ICounters_abi;
1806     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2031516002, 10492, 4559, [148, 47, 0, 128, 41, 0, 67, 71]);
1807 }
1808 impl ::std::convert::From<ICounters> for ::windows::runtime::IUnknown {
from(value: ICounters) -> Self1809     fn from(value: ICounters) -> Self {
1810         unsafe { ::std::mem::transmute(value) }
1811     }
1812 }
1813 impl ::std::convert::From<&ICounters> for ::windows::runtime::IUnknown {
from(value: &ICounters) -> Self1814     fn from(value: &ICounters) -> Self {
1815         ::std::convert::From::from(::std::clone::Clone::clone(value))
1816     }
1817 }
1818 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICounters {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1819     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1820         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1821     }
1822 }
1823 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICounters {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1824     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1825         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1826     }
1827 }
1828 #[cfg(feature = "Win32_System_Ole_Automation")]
1829 impl ::std::convert::From<ICounters> for super::Ole::Automation::IDispatch {
from(value: ICounters) -> Self1830     fn from(value: ICounters) -> Self {
1831         unsafe { ::std::mem::transmute(value) }
1832     }
1833 }
1834 #[cfg(feature = "Win32_System_Ole_Automation")]
1835 impl ::std::convert::From<&ICounters> for super::Ole::Automation::IDispatch {
from(value: &ICounters) -> Self1836     fn from(value: &ICounters) -> Self {
1837         ::std::convert::From::from(::std::clone::Clone::clone(value))
1838     }
1839 }
1840 #[cfg(feature = "Win32_System_Ole_Automation")]
1841 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ICounters {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1842     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1843         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1844     }
1845 }
1846 #[cfg(feature = "Win32_System_Ole_Automation")]
1847 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ICounters {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1848     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1849         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1850     }
1851 }
1852 #[repr(C)]
1853 #[doc(hidden)]
1854 pub struct ICounters_abi(
1855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1859     #[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,
1860     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1861     #[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,
1862     #[cfg(not(feature = "Win32_Foundation"))] usize,
1863     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1864     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,
1865     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plong: *mut i32) -> ::windows::runtime::HRESULT,
1867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1868     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1869     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1870     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pathname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1871     #[cfg(not(feature = "Win32_Foundation"))] usize,
1872     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
1873     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1874 );
1875 #[repr(transparent)]
1876 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1877 pub struct IDataCollector(::windows::runtime::IUnknown);
1878 impl IDataCollector {
DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet>1879     pub unsafe fn DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet> {
1880         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1881         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorSet>(result__)
1882     }
SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()>1883     pub unsafe fn SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()> {
1884         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), group.into_param().abi()).ok()
1885     }
DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType>1886     pub unsafe fn DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType> {
1887         let mut result__: <DataCollectorType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1888         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorType>(result__)
1889     }
1890     #[cfg(feature = "Win32_Foundation")]
FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1891     pub unsafe fn FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1892         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1893         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1894     }
1895     #[cfg(feature = "Win32_Foundation")]
SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>1896     pub unsafe fn SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
1897         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
1898     }
FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>1899     pub unsafe fn FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
1900         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1901         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
1902     }
SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>1903     pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
1904         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
1905     }
1906     #[cfg(feature = "Win32_Foundation")]
FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1907     pub unsafe fn FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1908         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1909         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1910     }
1911     #[cfg(feature = "Win32_Foundation")]
SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>1912     pub unsafe fn SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
1913         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
1914     }
1915     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1916     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1917         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1918         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1919     }
1920     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1921     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
1922         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
1923     }
LogAppend(&self) -> ::windows::runtime::Result<i16>1924     pub unsafe fn LogAppend(&self) -> ::windows::runtime::Result<i16> {
1925         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1926         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1927     }
SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()>1928     pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()> {
1929         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(append)).ok()
1930     }
LogCircular(&self) -> ::windows::runtime::Result<i16>1931     pub unsafe fn LogCircular(&self) -> ::windows::runtime::Result<i16> {
1932         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1933         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1934     }
SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()>1935     pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()> {
1936         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(circular)).ok()
1937     }
LogOverwrite(&self) -> ::windows::runtime::Result<i16>1938     pub unsafe fn LogOverwrite(&self) -> ::windows::runtime::Result<i16> {
1939         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1940         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1941     }
SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()>1942     pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()> {
1943         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(overwrite)).ok()
1944     }
1945     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1946     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1947         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1948         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1949     }
1950     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>1951     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
1952         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
1953     }
1954     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1955     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1956         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1957         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1958     }
Index(&self) -> ::windows::runtime::Result<i32>1959     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
1960         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1961         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1962     }
SetIndex(&self, index: i32) -> ::windows::runtime::Result<()>1963     pub unsafe fn SetIndex(&self, index: i32) -> ::windows::runtime::Result<()> {
1964         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
1965     }
1966     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1967     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1968         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1969         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1970     }
1971     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>1972     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
1973         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1974         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
1975     }
1976     #[cfg(feature = "Win32_Foundation")]
CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1977     pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1978         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1979         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(latest), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1980     }
1981 }
1982 unsafe impl ::windows::runtime::Interface for IDataCollector {
1983     type Vtable = IDataCollector_abi;
1984     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946815, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
1985 }
1986 impl ::std::convert::From<IDataCollector> for ::windows::runtime::IUnknown {
from(value: IDataCollector) -> Self1987     fn from(value: IDataCollector) -> Self {
1988         unsafe { ::std::mem::transmute(value) }
1989     }
1990 }
1991 impl ::std::convert::From<&IDataCollector> for ::windows::runtime::IUnknown {
from(value: &IDataCollector) -> Self1992     fn from(value: &IDataCollector) -> Self {
1993         ::std::convert::From::from(::std::clone::Clone::clone(value))
1994     }
1995 }
1996 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1997     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1998         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1999     }
2000 }
2001 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2002     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2003         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2004     }
2005 }
2006 #[cfg(feature = "Win32_System_Ole_Automation")]
2007 impl ::std::convert::From<IDataCollector> for super::Ole::Automation::IDispatch {
from(value: IDataCollector) -> Self2008     fn from(value: IDataCollector) -> Self {
2009         unsafe { ::std::mem::transmute(value) }
2010     }
2011 }
2012 #[cfg(feature = "Win32_System_Ole_Automation")]
2013 impl ::std::convert::From<&IDataCollector> for super::Ole::Automation::IDispatch {
from(value: &IDataCollector) -> Self2014     fn from(value: &IDataCollector) -> Self {
2015         ::std::convert::From::from(::std::clone::Clone::clone(value))
2016     }
2017 }
2018 #[cfg(feature = "Win32_System_Ole_Automation")]
2019 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2020     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2021         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2022     }
2023 }
2024 #[cfg(feature = "Win32_System_Ole_Automation")]
2025 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2026     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2027         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2028     }
2029 }
2030 #[repr(C)]
2031 #[doc(hidden)]
2032 pub struct IDataCollector_abi(
2033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2036     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2037     #[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,
2038     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2039     #[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,
2040     #[cfg(not(feature = "Win32_Foundation"))] usize,
2041     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2042     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,
2043     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut DataCollectorType) -> ::windows::runtime::HRESULT,
2047     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2048     #[cfg(not(feature = "Win32_Foundation"))] usize,
2049     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2050     #[cfg(not(feature = "Win32_Foundation"))] usize,
2051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
2052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
2053     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2054     #[cfg(not(feature = "Win32_Foundation"))] usize,
2055     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2056     #[cfg(not(feature = "Win32_Foundation"))] usize,
2057     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2058     #[cfg(not(feature = "Win32_Foundation"))] usize,
2059     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2060     #[cfg(not(feature = "Win32_Foundation"))] usize,
2061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: *mut i16) -> ::windows::runtime::HRESULT,
2062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: i16) -> ::windows::runtime::HRESULT,
2063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: *mut i16) -> ::windows::runtime::HRESULT,
2064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: i16) -> ::windows::runtime::HRESULT,
2065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: *mut i16) -> ::windows::runtime::HRESULT,
2066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: i16) -> ::windows::runtime::HRESULT,
2067     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2068     #[cfg(not(feature = "Win32_Foundation"))] usize,
2069     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2070     #[cfg(not(feature = "Win32_Foundation"))] usize,
2071     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2072     #[cfg(not(feature = "Win32_Foundation"))] usize,
2073     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut i32) -> ::windows::runtime::HRESULT,
2074     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32) -> ::windows::runtime::HRESULT,
2075     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2076     #[cfg(not(feature = "Win32_Foundation"))] usize,
2077     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2078     #[cfg(not(feature = "Win32_Foundation"))] usize,
2079     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, latest: i16, location: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2080     #[cfg(not(feature = "Win32_Foundation"))] usize,
2081 );
2082 #[repr(transparent)]
2083 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2084 pub struct IDataCollectorCollection(::windows::runtime::IUnknown);
2085 impl IDataCollectorCollection {
Count(&self) -> ::windows::runtime::Result<i32>2086     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2087         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2088         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2089     }
2090     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IDataCollector>2091     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IDataCollector> {
2092         let mut result__: <IDataCollector as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2093         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<IDataCollector>(result__)
2094     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2095     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2096         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2097         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2098     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollector>>(&self, collector: Param0) -> ::windows::runtime::Result<()>2099     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollector>>(&self, collector: Param0) -> ::windows::runtime::Result<()> {
2100         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), collector.into_param().abi()).ok()
2101     }
2102     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, collector: Param0) -> ::windows::runtime::Result<()>2103     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, collector: Param0) -> ::windows::runtime::Result<()> {
2104         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), collector.into_param().abi()).ok()
2105     }
Clear(&self) -> ::windows::runtime::Result<()>2106     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
2107         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
2108     }
AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorCollection>>(&self, collectors: Param0) -> ::windows::runtime::Result<()>2109     pub unsafe fn AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorCollection>>(&self, collectors: Param0) -> ::windows::runtime::Result<()> {
2110         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), collectors.into_param().abi()).ok()
2111     }
2112     #[cfg(feature = "Win32_Foundation")]
CreateDataCollectorFromXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrxml: Param0, pvalidation: *mut ::std::option::Option<IValueMap>, pcollector: *mut ::std::option::Option<IDataCollector>) -> ::windows::runtime::Result<()>2113     pub unsafe fn CreateDataCollectorFromXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrxml: Param0, pvalidation: *mut ::std::option::Option<IValueMap>, pcollector: *mut ::std::option::Option<IDataCollector>) -> ::windows::runtime::Result<()> {
2114         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), bstrxml.into_param().abi(), ::std::mem::transmute(pvalidation), ::std::mem::transmute(pcollector)).ok()
2115     }
CreateDataCollector(&self, r#type: DataCollectorType) -> ::windows::runtime::Result<IDataCollector>2116     pub unsafe fn CreateDataCollector(&self, r#type: DataCollectorType) -> ::windows::runtime::Result<IDataCollector> {
2117         let mut result__: <IDataCollector as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2118         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<IDataCollector>(result__)
2119     }
2120 }
2121 unsafe impl ::windows::runtime::Interface for IDataCollectorCollection {
2122     type Vtable = IDataCollectorCollection_abi;
2123     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946818, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
2124 }
2125 impl ::std::convert::From<IDataCollectorCollection> for ::windows::runtime::IUnknown {
from(value: IDataCollectorCollection) -> Self2126     fn from(value: IDataCollectorCollection) -> Self {
2127         unsafe { ::std::mem::transmute(value) }
2128     }
2129 }
2130 impl ::std::convert::From<&IDataCollectorCollection> for ::windows::runtime::IUnknown {
from(value: &IDataCollectorCollection) -> Self2131     fn from(value: &IDataCollectorCollection) -> Self {
2132         ::std::convert::From::from(::std::clone::Clone::clone(value))
2133     }
2134 }
2135 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDataCollectorCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2136     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2137         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2138     }
2139 }
2140 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDataCollectorCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2141     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2142         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2143     }
2144 }
2145 #[cfg(feature = "Win32_System_Ole_Automation")]
2146 impl ::std::convert::From<IDataCollectorCollection> for super::Ole::Automation::IDispatch {
from(value: IDataCollectorCollection) -> Self2147     fn from(value: IDataCollectorCollection) -> Self {
2148         unsafe { ::std::mem::transmute(value) }
2149     }
2150 }
2151 #[cfg(feature = "Win32_System_Ole_Automation")]
2152 impl ::std::convert::From<&IDataCollectorCollection> for super::Ole::Automation::IDispatch {
from(value: &IDataCollectorCollection) -> Self2153     fn from(value: &IDataCollectorCollection) -> Self {
2154         ::std::convert::From::from(::std::clone::Clone::clone(value))
2155     }
2156 }
2157 #[cfg(feature = "Win32_System_Ole_Automation")]
2158 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IDataCollectorCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2159     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2160         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2161     }
2162 }
2163 #[cfg(feature = "Win32_System_Ole_Automation")]
2164 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IDataCollectorCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2165     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2166         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2167     }
2168 }
2169 #[repr(C)]
2170 #[doc(hidden)]
2171 pub struct IDataCollectorCollection_abi(
2172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2176     #[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,
2177     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2178     #[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,
2179     #[cfg(not(feature = "Win32_Foundation"))] usize,
2180     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2181     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,
2182     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut i32) -> ::windows::runtime::HRESULT,
2184     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, collector: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2185     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collector: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2188     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collector: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2189     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collectors: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2192     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvalidation: *mut ::windows::runtime::RawPtr, pcollector: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2193     #[cfg(not(feature = "Win32_Foundation"))] usize,
2194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: DataCollectorType, collector: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2195 );
2196 #[repr(transparent)]
2197 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2198 pub struct IDataCollectorSet(::windows::runtime::IUnknown);
2199 impl IDataCollectorSet {
DataCollectors(&self) -> ::windows::runtime::Result<IDataCollectorCollection>2200     pub unsafe fn DataCollectors(&self) -> ::windows::runtime::Result<IDataCollectorCollection> {
2201         let mut result__: <IDataCollectorCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2202         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorCollection>(result__)
2203     }
Duration(&self) -> ::windows::runtime::Result<u32>2204     pub unsafe fn Duration(&self) -> ::windows::runtime::Result<u32> {
2205         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2206         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2207     }
SetDuration(&self, seconds: u32) -> ::windows::runtime::Result<()>2208     pub unsafe fn SetDuration(&self, seconds: u32) -> ::windows::runtime::Result<()> {
2209         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(seconds)).ok()
2210     }
2211     #[cfg(feature = "Win32_Foundation")]
Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2212     pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2213         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2214         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2215     }
2216     #[cfg(feature = "Win32_Foundation")]
SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()>2217     pub unsafe fn SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()> {
2218         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), description.into_param().abi()).ok()
2219     }
2220     #[cfg(feature = "Win32_Foundation")]
DescriptionUnresolved(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2221     pub unsafe fn DescriptionUnresolved(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2222         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2223         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2224     }
2225     #[cfg(feature = "Win32_Foundation")]
DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2226     pub unsafe fn DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2227         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2228         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2229     }
2230     #[cfg(feature = "Win32_Foundation")]
SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, displayname: Param0) -> ::windows::runtime::Result<()>2231     pub unsafe fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, displayname: Param0) -> ::windows::runtime::Result<()> {
2232         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), displayname.into_param().abi()).ok()
2233     }
2234     #[cfg(feature = "Win32_Foundation")]
DisplayNameUnresolved(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2235     pub unsafe fn DisplayNameUnresolved(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2236         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2237         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2238     }
2239     #[cfg(feature = "Win32_System_Com")]
Keywords(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>2240     pub unsafe fn Keywords(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
2241         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2242         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
2243     }
2244     #[cfg(feature = "Win32_System_Com")]
SetKeywords(&self, keywords: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>2245     pub unsafe fn SetKeywords(&self, keywords: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
2246         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(keywords)).ok()
2247     }
2248     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2249     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2250         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2251         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2252     }
2253     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>2254     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
2255         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
2256     }
2257     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2258     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2259         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2260         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2261     }
2262     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2263     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2264         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2265         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2266     }
2267     #[cfg(feature = "Win32_Foundation")]
RootPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2268     pub unsafe fn RootPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2269         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2270         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2271     }
2272     #[cfg(feature = "Win32_Foundation")]
SetRootPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folder: Param0) -> ::windows::runtime::Result<()>2273     pub unsafe fn SetRootPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folder: Param0) -> ::windows::runtime::Result<()> {
2274         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), folder.into_param().abi()).ok()
2275     }
Segment(&self) -> ::windows::runtime::Result<i16>2276     pub unsafe fn Segment(&self) -> ::windows::runtime::Result<i16> {
2277         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2278         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2279     }
SetSegment(&self, segment: i16) -> ::windows::runtime::Result<()>2280     pub unsafe fn SetSegment(&self, segment: i16) -> ::windows::runtime::Result<()> {
2281         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(segment)).ok()
2282     }
SegmentMaxDuration(&self) -> ::windows::runtime::Result<u32>2283     pub unsafe fn SegmentMaxDuration(&self) -> ::windows::runtime::Result<u32> {
2284         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2285         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2286     }
SetSegmentMaxDuration(&self, seconds: u32) -> ::windows::runtime::Result<()>2287     pub unsafe fn SetSegmentMaxDuration(&self, seconds: u32) -> ::windows::runtime::Result<()> {
2288         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(seconds)).ok()
2289     }
SegmentMaxSize(&self) -> ::windows::runtime::Result<u32>2290     pub unsafe fn SegmentMaxSize(&self) -> ::windows::runtime::Result<u32> {
2291         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2292         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2293     }
SetSegmentMaxSize(&self, size: u32) -> ::windows::runtime::Result<()>2294     pub unsafe fn SetSegmentMaxSize(&self, size: u32) -> ::windows::runtime::Result<()> {
2295         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(size)).ok()
2296     }
SerialNumber(&self) -> ::windows::runtime::Result<u32>2297     pub unsafe fn SerialNumber(&self) -> ::windows::runtime::Result<u32> {
2298         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2299         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2300     }
SetSerialNumber(&self, index: u32) -> ::windows::runtime::Result<()>2301     pub unsafe fn SetSerialNumber(&self, index: u32) -> ::windows::runtime::Result<()> {
2302         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
2303     }
2304     #[cfg(feature = "Win32_Foundation")]
Server(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2305     pub unsafe fn Server(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2306         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2307         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2308     }
Status(&self) -> ::windows::runtime::Result<DataCollectorSetStatus>2309     pub unsafe fn Status(&self) -> ::windows::runtime::Result<DataCollectorSetStatus> {
2310         let mut result__: <DataCollectorSetStatus as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2311         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorSetStatus>(result__)
2312     }
2313     #[cfg(feature = "Win32_Foundation")]
Subdirectory(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2314     pub unsafe fn Subdirectory(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2315         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2316         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2317     }
2318     #[cfg(feature = "Win32_Foundation")]
SetSubdirectory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folder: Param0) -> ::windows::runtime::Result<()>2319     pub unsafe fn SetSubdirectory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folder: Param0) -> ::windows::runtime::Result<()> {
2320         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), folder.into_param().abi()).ok()
2321     }
SubdirectoryFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>2322     pub unsafe fn SubdirectoryFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
2323         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2324         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
2325     }
SetSubdirectoryFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>2326     pub unsafe fn SetSubdirectoryFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
2327         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
2328     }
2329     #[cfg(feature = "Win32_Foundation")]
SubdirectoryFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2330     pub unsafe fn SubdirectoryFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2331         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2332         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2333     }
2334     #[cfg(feature = "Win32_Foundation")]
SetSubdirectoryFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>2335     pub unsafe fn SetSubdirectoryFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
2336         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
2337     }
2338     #[cfg(feature = "Win32_Foundation")]
Task(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2339     pub unsafe fn Task(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2340         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2341         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2342     }
2343     #[cfg(feature = "Win32_Foundation")]
SetTask<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()>2344     pub unsafe fn SetTask<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()> {
2345         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), task.into_param().abi()).ok()
2346     }
TaskRunAsSelf(&self) -> ::windows::runtime::Result<i16>2347     pub unsafe fn TaskRunAsSelf(&self) -> ::windows::runtime::Result<i16> {
2348         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2349         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2350     }
SetTaskRunAsSelf(&self, runasself: i16) -> ::windows::runtime::Result<()>2351     pub unsafe fn SetTaskRunAsSelf(&self, runasself: i16) -> ::windows::runtime::Result<()> {
2352         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(runasself)).ok()
2353     }
2354     #[cfg(feature = "Win32_Foundation")]
TaskArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2355     pub unsafe fn TaskArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2356         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2357         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2358     }
2359     #[cfg(feature = "Win32_Foundation")]
SetTaskArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()>2360     pub unsafe fn SetTaskArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, task: Param0) -> ::windows::runtime::Result<()> {
2361         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), task.into_param().abi()).ok()
2362     }
2363     #[cfg(feature = "Win32_Foundation")]
TaskUserTextArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2364     pub unsafe fn TaskUserTextArguments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2365         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2366         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2367     }
2368     #[cfg(feature = "Win32_Foundation")]
SetTaskUserTextArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, usertext: Param0) -> ::windows::runtime::Result<()>2369     pub unsafe fn SetTaskUserTextArguments<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, usertext: Param0) -> ::windows::runtime::Result<()> {
2370         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), usertext.into_param().abi()).ok()
2371     }
Schedules(&self) -> ::windows::runtime::Result<IScheduleCollection>2372     pub unsafe fn Schedules(&self) -> ::windows::runtime::Result<IScheduleCollection> {
2373         let mut result__: <IScheduleCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2374         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IScheduleCollection>(result__)
2375     }
SchedulesEnabled(&self) -> ::windows::runtime::Result<i16>2376     pub unsafe fn SchedulesEnabled(&self) -> ::windows::runtime::Result<i16> {
2377         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2378         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2379     }
SetSchedulesEnabled(&self, enabled: i16) -> ::windows::runtime::Result<()>2380     pub unsafe fn SetSchedulesEnabled(&self, enabled: i16) -> ::windows::runtime::Result<()> {
2381         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(enabled)).ok()
2382     }
2383     #[cfg(feature = "Win32_Foundation")]
UserAccount(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2384     pub unsafe fn UserAccount(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2385         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2386         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2387     }
2388     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2389     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2390         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2391         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2392     }
2393     #[cfg(feature = "Win32_Foundation")]
Security(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2394     pub unsafe fn Security(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2395         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2396         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2397     }
2398     #[cfg(feature = "Win32_Foundation")]
SetSecurity<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsecurity: Param0) -> ::windows::runtime::Result<()>2399     pub unsafe fn SetSecurity<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsecurity: Param0) -> ::windows::runtime::Result<()> {
2400         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), bstrsecurity.into_param().abi()).ok()
2401     }
StopOnCompletion(&self) -> ::windows::runtime::Result<i16>2402     pub unsafe fn StopOnCompletion(&self) -> ::windows::runtime::Result<i16> {
2403         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2404         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2405     }
SetStopOnCompletion(&self, stop: i16) -> ::windows::runtime::Result<()>2406     pub unsafe fn SetStopOnCompletion(&self, stop: i16) -> ::windows::runtime::Result<()> {
2407         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(stop)).ok()
2408     }
DataManager(&self) -> ::windows::runtime::Result<IDataManager>2409     pub unsafe fn DataManager(&self) -> ::windows::runtime::Result<IDataManager> {
2410         let mut result__: <IDataManager as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2411         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataManager>(result__)
2412     }
2413     #[cfg(feature = "Win32_Foundation")]
SetCredentials<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, user: Param0, password: Param1) -> ::windows::runtime::Result<()>2414     pub unsafe fn SetCredentials<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, user: Param0, password: Param1) -> ::windows::runtime::Result<()> {
2415         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), user.into_param().abi(), password.into_param().abi()).ok()
2416     }
2417     #[cfg(feature = "Win32_Foundation")]
Query<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0, server: Param1) -> ::windows::runtime::Result<()>2418     pub unsafe fn Query<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0, server: Param1) -> ::windows::runtime::Result<()> {
2419         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), name.into_param().abi(), server.into_param().abi()).ok()
2420     }
2421     #[cfg(feature = "Win32_Foundation")]
Commit<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0, server: Param1, mode: CommitMode) -> ::windows::runtime::Result<IValueMap>2422     pub unsafe fn Commit<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0, server: Param1, mode: CommitMode) -> ::windows::runtime::Result<IValueMap> {
2423         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2424         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), name.into_param().abi(), server.into_param().abi(), ::std::mem::transmute(mode), &mut result__).from_abi::<IValueMap>(result__)
2425     }
Delete(&self) -> ::windows::runtime::Result<()>2426     pub unsafe fn Delete(&self) -> ::windows::runtime::Result<()> {
2427         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self)).ok()
2428     }
Start(&self, synchronous: i16) -> ::windows::runtime::Result<()>2429     pub unsafe fn Start(&self, synchronous: i16) -> ::windows::runtime::Result<()> {
2430         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), ::std::mem::transmute(synchronous)).ok()
2431     }
Stop(&self, synchronous: i16) -> ::windows::runtime::Result<()>2432     pub unsafe fn Stop(&self, synchronous: i16) -> ::windows::runtime::Result<()> {
2433         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(synchronous)).ok()
2434     }
2435     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>2436     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
2437         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2438         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
2439     }
2440     #[cfg(feature = "Win32_Foundation")]
SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, key: Param0, value: Param1) -> ::windows::runtime::Result<()>2441     pub unsafe fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, key: Param0, value: Param1) -> ::windows::runtime::Result<()> {
2442         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), key.into_param().abi(), value.into_param().abi()).ok()
2443     }
2444     #[cfg(feature = "Win32_Foundation")]
GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, key: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2445     pub unsafe fn GetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, key: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2446         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2447         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), key.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2448     }
2449 }
2450 unsafe impl ::windows::runtime::Interface for IDataCollectorSet {
2451     type Vtable = IDataCollectorSet_abi;
2452     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946848, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
2453 }
2454 impl ::std::convert::From<IDataCollectorSet> for ::windows::runtime::IUnknown {
from(value: IDataCollectorSet) -> Self2455     fn from(value: IDataCollectorSet) -> Self {
2456         unsafe { ::std::mem::transmute(value) }
2457     }
2458 }
2459 impl ::std::convert::From<&IDataCollectorSet> for ::windows::runtime::IUnknown {
from(value: &IDataCollectorSet) -> Self2460     fn from(value: &IDataCollectorSet) -> Self {
2461         ::std::convert::From::from(::std::clone::Clone::clone(value))
2462     }
2463 }
2464 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDataCollectorSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2465     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2466         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2467     }
2468 }
2469 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDataCollectorSet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2470     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2471         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2472     }
2473 }
2474 #[cfg(feature = "Win32_System_Ole_Automation")]
2475 impl ::std::convert::From<IDataCollectorSet> for super::Ole::Automation::IDispatch {
from(value: IDataCollectorSet) -> Self2476     fn from(value: IDataCollectorSet) -> Self {
2477         unsafe { ::std::mem::transmute(value) }
2478     }
2479 }
2480 #[cfg(feature = "Win32_System_Ole_Automation")]
2481 impl ::std::convert::From<&IDataCollectorSet> for super::Ole::Automation::IDispatch {
from(value: &IDataCollectorSet) -> Self2482     fn from(value: &IDataCollectorSet) -> Self {
2483         ::std::convert::From::from(::std::clone::Clone::clone(value))
2484     }
2485 }
2486 #[cfg(feature = "Win32_System_Ole_Automation")]
2487 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IDataCollectorSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2488     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2489         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2490     }
2491 }
2492 #[cfg(feature = "Win32_System_Ole_Automation")]
2493 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IDataCollectorSet {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2494     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2495         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2496     }
2497 }
2498 #[repr(C)]
2499 #[doc(hidden)]
2500 pub struct IDataCollectorSet_abi(
2501     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2505     #[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,
2506     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2507     #[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,
2508     #[cfg(not(feature = "Win32_Foundation"))] usize,
2509     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2510     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,
2511     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collectors: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seconds: *mut u32) -> ::windows::runtime::HRESULT,
2514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seconds: u32) -> ::windows::runtime::HRESULT,
2515     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2516     #[cfg(not(feature = "Win32_Foundation"))] usize,
2517     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2518     #[cfg(not(feature = "Win32_Foundation"))] usize,
2519     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, descr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2520     #[cfg(not(feature = "Win32_Foundation"))] usize,
2521     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, displayname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2522     #[cfg(not(feature = "Win32_Foundation"))] usize,
2523     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, displayname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2524     #[cfg(not(feature = "Win32_Foundation"))] usize,
2525     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2526     #[cfg(not(feature = "Win32_Foundation"))] usize,
2527     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, keywords: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2528     #[cfg(not(feature = "Win32_System_Com"))] usize,
2529     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, keywords: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2530     #[cfg(not(feature = "Win32_System_Com"))] usize,
2531     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2532     #[cfg(not(feature = "Win32_Foundation"))] usize,
2533     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2534     #[cfg(not(feature = "Win32_Foundation"))] usize,
2535     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2536     #[cfg(not(feature = "Win32_Foundation"))] usize,
2537     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2538     #[cfg(not(feature = "Win32_Foundation"))] usize,
2539     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folder: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2540     #[cfg(not(feature = "Win32_Foundation"))] usize,
2541     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folder: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2542     #[cfg(not(feature = "Win32_Foundation"))] usize,
2543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segment: *mut i16) -> ::windows::runtime::HRESULT,
2544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, segment: i16) -> ::windows::runtime::HRESULT,
2545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seconds: *mut u32) -> ::windows::runtime::HRESULT,
2546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seconds: u32) -> ::windows::runtime::HRESULT,
2547     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: *mut u32) -> ::windows::runtime::HRESULT,
2548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: u32) -> ::windows::runtime::HRESULT,
2549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut u32) -> ::windows::runtime::HRESULT,
2550     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: u32) -> ::windows::runtime::HRESULT,
2551     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, server: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2552     #[cfg(not(feature = "Win32_Foundation"))] usize,
2553     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: *mut DataCollectorSetStatus) -> ::windows::runtime::HRESULT,
2554     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folder: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2555     #[cfg(not(feature = "Win32_Foundation"))] usize,
2556     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folder: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2557     #[cfg(not(feature = "Win32_Foundation"))] usize,
2558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
2559     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
2560     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2561     #[cfg(not(feature = "Win32_Foundation"))] usize,
2562     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2563     #[cfg(not(feature = "Win32_Foundation"))] usize,
2564     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2565     #[cfg(not(feature = "Win32_Foundation"))] usize,
2566     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2567     #[cfg(not(feature = "Win32_Foundation"))] usize,
2568     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, runasself: *mut i16) -> ::windows::runtime::HRESULT,
2569     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, runasself: i16) -> ::windows::runtime::HRESULT,
2570     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2571     #[cfg(not(feature = "Win32_Foundation"))] usize,
2572     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, task: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2573     #[cfg(not(feature = "Win32_Foundation"))] usize,
2574     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usertext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2575     #[cfg(not(feature = "Win32_Foundation"))] usize,
2576     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usertext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2577     #[cfg(not(feature = "Win32_Foundation"))] usize,
2578     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppschedules: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: *mut i16) -> ::windows::runtime::HRESULT,
2580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: i16) -> ::windows::runtime::HRESULT,
2581     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2582     #[cfg(not(feature = "Win32_Foundation"))] usize,
2583     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2584     #[cfg(not(feature = "Win32_Foundation"))] usize,
2585     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsecurity: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2586     #[cfg(not(feature = "Win32_Foundation"))] usize,
2587     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsecurity: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2588     #[cfg(not(feature = "Win32_Foundation"))] usize,
2589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stop: *mut i16) -> ::windows::runtime::HRESULT,
2590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stop: i16) -> ::windows::runtime::HRESULT,
2591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, datamanager: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2592     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, user: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, password: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2593     #[cfg(not(feature = "Win32_Foundation"))] usize,
2594     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, server: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2595     #[cfg(not(feature = "Win32_Foundation"))] usize,
2596     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, server: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, mode: CommitMode, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2597     #[cfg(not(feature = "Win32_Foundation"))] usize,
2598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, synchronous: i16) -> ::windows::runtime::HRESULT,
2600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, synchronous: i16) -> ::windows::runtime::HRESULT,
2601     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2602     #[cfg(not(feature = "Win32_Foundation"))] usize,
2603     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, value: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2604     #[cfg(not(feature = "Win32_Foundation"))] usize,
2605     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2606     #[cfg(not(feature = "Win32_Foundation"))] usize,
2607 );
2608 #[repr(transparent)]
2609 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2610 pub struct IDataCollectorSetCollection(::windows::runtime::IUnknown);
2611 impl IDataCollectorSetCollection {
Count(&self) -> ::windows::runtime::Result<i32>2612     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2613         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2614         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2615     }
2616     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IDataCollectorSet>2617     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IDataCollectorSet> {
2618         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2619         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<IDataCollectorSet>(result__)
2620     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2621     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2622         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2623         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2624     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, set: Param0) -> ::windows::runtime::Result<()>2625     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, set: Param0) -> ::windows::runtime::Result<()> {
2626         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), set.into_param().abi()).ok()
2627     }
2628     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, set: Param0) -> ::windows::runtime::Result<()>2629     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, set: Param0) -> ::windows::runtime::Result<()> {
2630         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), set.into_param().abi()).ok()
2631     }
Clear(&self) -> ::windows::runtime::Result<()>2632     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
2633         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
2634     }
AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSetCollection>>(&self, sets: Param0) -> ::windows::runtime::Result<()>2635     pub unsafe fn AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSetCollection>>(&self, sets: Param0) -> ::windows::runtime::Result<()> {
2636         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), sets.into_param().abi()).ok()
2637     }
2638     #[cfg(feature = "Win32_Foundation")]
GetDataCollectorSets<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, server: Param0, filter: Param1) -> ::windows::runtime::Result<()>2639     pub unsafe fn GetDataCollectorSets<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, server: Param0, filter: Param1) -> ::windows::runtime::Result<()> {
2640         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), server.into_param().abi(), filter.into_param().abi()).ok()
2641     }
2642 }
2643 unsafe impl ::windows::runtime::Interface for IDataCollectorSetCollection {
2644     type Vtable = IDataCollectorSetCollection_abi;
2645     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946852, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
2646 }
2647 impl ::std::convert::From<IDataCollectorSetCollection> for ::windows::runtime::IUnknown {
from(value: IDataCollectorSetCollection) -> Self2648     fn from(value: IDataCollectorSetCollection) -> Self {
2649         unsafe { ::std::mem::transmute(value) }
2650     }
2651 }
2652 impl ::std::convert::From<&IDataCollectorSetCollection> for ::windows::runtime::IUnknown {
from(value: &IDataCollectorSetCollection) -> Self2653     fn from(value: &IDataCollectorSetCollection) -> Self {
2654         ::std::convert::From::from(::std::clone::Clone::clone(value))
2655     }
2656 }
2657 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDataCollectorSetCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2658     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2659         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2660     }
2661 }
2662 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDataCollectorSetCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2663     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2664         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2665     }
2666 }
2667 #[cfg(feature = "Win32_System_Ole_Automation")]
2668 impl ::std::convert::From<IDataCollectorSetCollection> for super::Ole::Automation::IDispatch {
from(value: IDataCollectorSetCollection) -> Self2669     fn from(value: IDataCollectorSetCollection) -> Self {
2670         unsafe { ::std::mem::transmute(value) }
2671     }
2672 }
2673 #[cfg(feature = "Win32_System_Ole_Automation")]
2674 impl ::std::convert::From<&IDataCollectorSetCollection> for super::Ole::Automation::IDispatch {
from(value: &IDataCollectorSetCollection) -> Self2675     fn from(value: &IDataCollectorSetCollection) -> Self {
2676         ::std::convert::From::from(::std::clone::Clone::clone(value))
2677     }
2678 }
2679 #[cfg(feature = "Win32_System_Ole_Automation")]
2680 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IDataCollectorSetCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2681     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2682         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2683     }
2684 }
2685 #[cfg(feature = "Win32_System_Ole_Automation")]
2686 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IDataCollectorSetCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2687     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2688         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2689     }
2690 }
2691 #[repr(C)]
2692 #[doc(hidden)]
2693 pub struct IDataCollectorSetCollection_abi(
2694     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2695     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2698     #[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,
2699     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2700     #[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,
2701     #[cfg(not(feature = "Win32_Foundation"))] usize,
2702     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2703     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,
2704     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2705     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut i32) -> ::windows::runtime::HRESULT,
2706     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, set: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2707     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, set: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2710     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, set: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2711     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2713     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sets: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2714     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, server: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, filter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2715     #[cfg(not(feature = "Win32_Foundation"))] usize,
2716 );
2717 #[repr(transparent)]
2718 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2719 pub struct IDataManager(::windows::runtime::IUnknown);
2720 impl IDataManager {
Enabled(&self) -> ::windows::runtime::Result<i16>2721     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> {
2722         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2723         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2724     }
SetEnabled(&self, fenabled: i16) -> ::windows::runtime::Result<()>2725     pub unsafe fn SetEnabled(&self, fenabled: i16) -> ::windows::runtime::Result<()> {
2726         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(fenabled)).ok()
2727     }
CheckBeforeRunning(&self) -> ::windows::runtime::Result<i16>2728     pub unsafe fn CheckBeforeRunning(&self) -> ::windows::runtime::Result<i16> {
2729         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2730         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2731     }
SetCheckBeforeRunning(&self, fcheck: i16) -> ::windows::runtime::Result<()>2732     pub unsafe fn SetCheckBeforeRunning(&self, fcheck: i16) -> ::windows::runtime::Result<()> {
2733         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcheck)).ok()
2734     }
MinFreeDisk(&self) -> ::windows::runtime::Result<u32>2735     pub unsafe fn MinFreeDisk(&self) -> ::windows::runtime::Result<u32> {
2736         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2737         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2738     }
SetMinFreeDisk(&self, minfreedisk: u32) -> ::windows::runtime::Result<()>2739     pub unsafe fn SetMinFreeDisk(&self, minfreedisk: u32) -> ::windows::runtime::Result<()> {
2740         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(minfreedisk)).ok()
2741     }
MaxSize(&self) -> ::windows::runtime::Result<u32>2742     pub unsafe fn MaxSize(&self) -> ::windows::runtime::Result<u32> {
2743         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2744         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2745     }
SetMaxSize(&self, ulmaxsize: u32) -> ::windows::runtime::Result<()>2746     pub unsafe fn SetMaxSize(&self, ulmaxsize: u32) -> ::windows::runtime::Result<()> {
2747         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulmaxsize)).ok()
2748     }
MaxFolderCount(&self) -> ::windows::runtime::Result<u32>2749     pub unsafe fn MaxFolderCount(&self) -> ::windows::runtime::Result<u32> {
2750         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2751         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2752     }
SetMaxFolderCount(&self, ulmaxfoldercount: u32) -> ::windows::runtime::Result<()>2753     pub unsafe fn SetMaxFolderCount(&self, ulmaxfoldercount: u32) -> ::windows::runtime::Result<()> {
2754         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulmaxfoldercount)).ok()
2755     }
ResourcePolicy(&self) -> ::windows::runtime::Result<ResourcePolicy>2756     pub unsafe fn ResourcePolicy(&self) -> ::windows::runtime::Result<ResourcePolicy> {
2757         let mut result__: <ResourcePolicy as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2758         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ResourcePolicy>(result__)
2759     }
SetResourcePolicy(&self, policy: ResourcePolicy) -> ::windows::runtime::Result<()>2760     pub unsafe fn SetResourcePolicy(&self, policy: ResourcePolicy) -> ::windows::runtime::Result<()> {
2761         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(policy)).ok()
2762     }
FolderActions(&self) -> ::windows::runtime::Result<IFolderActionCollection>2763     pub unsafe fn FolderActions(&self) -> ::windows::runtime::Result<IFolderActionCollection> {
2764         let mut result__: <IFolderActionCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2765         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFolderActionCollection>(result__)
2766     }
2767     #[cfg(feature = "Win32_Foundation")]
ReportSchema(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2768     pub unsafe fn ReportSchema(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2769         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2770         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2771     }
2772     #[cfg(feature = "Win32_Foundation")]
SetReportSchema<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, reportschema: Param0) -> ::windows::runtime::Result<()>2773     pub unsafe fn SetReportSchema<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, reportschema: Param0) -> ::windows::runtime::Result<()> {
2774         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), reportschema.into_param().abi()).ok()
2775     }
2776     #[cfg(feature = "Win32_Foundation")]
ReportFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2777     pub unsafe fn ReportFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2778         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2779         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2780     }
2781     #[cfg(feature = "Win32_Foundation")]
SetReportFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrfilename: Param0) -> ::windows::runtime::Result<()>2782     pub unsafe fn SetReportFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrfilename: Param0) -> ::windows::runtime::Result<()> {
2783         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), pbstrfilename.into_param().abi()).ok()
2784     }
2785     #[cfg(feature = "Win32_Foundation")]
RuleTargetFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2786     pub unsafe fn RuleTargetFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2787         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2788         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2789     }
2790     #[cfg(feature = "Win32_Foundation")]
SetRuleTargetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<()>2791     pub unsafe fn SetRuleTargetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, filename: Param0) -> ::windows::runtime::Result<()> {
2792         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), filename.into_param().abi()).ok()
2793     }
2794     #[cfg(feature = "Win32_Foundation")]
EventsFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2795     pub unsafe fn EventsFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2796         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2797         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2798     }
2799     #[cfg(feature = "Win32_Foundation")]
SetEventsFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrfilename: Param0) -> ::windows::runtime::Result<()>2800     pub unsafe fn SetEventsFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrfilename: Param0) -> ::windows::runtime::Result<()> {
2801         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), pbstrfilename.into_param().abi()).ok()
2802     }
2803     #[cfg(feature = "Win32_Foundation")]
Rules(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2804     pub unsafe fn Rules(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2805         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2806         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2807     }
2808     #[cfg(feature = "Win32_Foundation")]
SetRules<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrxml: Param0) -> ::windows::runtime::Result<()>2809     pub unsafe fn SetRules<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrxml: Param0) -> ::windows::runtime::Result<()> {
2810         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), bstrxml.into_param().abi()).ok()
2811     }
2812     #[cfg(feature = "Win32_Foundation")]
Run<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, steps: DataManagerSteps, bstrfolder: Param1) -> ::windows::runtime::Result<IValueMap>2813     pub unsafe fn Run<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, steps: DataManagerSteps, bstrfolder: Param1) -> ::windows::runtime::Result<IValueMap> {
2814         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2815         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(steps), bstrfolder.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
2816     }
2817     #[cfg(feature = "Win32_Foundation")]
Extract<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, cabfilename: Param0, destinationpath: Param1) -> ::windows::runtime::Result<()>2818     pub unsafe fn Extract<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, cabfilename: Param0, destinationpath: Param1) -> ::windows::runtime::Result<()> {
2819         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), cabfilename.into_param().abi(), destinationpath.into_param().abi()).ok()
2820     }
2821 }
2822 unsafe impl ::windows::runtime::Interface for IDataManager {
2823     type Vtable = IDataManager_abi;
2824     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946881, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
2825 }
2826 impl ::std::convert::From<IDataManager> for ::windows::runtime::IUnknown {
from(value: IDataManager) -> Self2827     fn from(value: IDataManager) -> Self {
2828         unsafe { ::std::mem::transmute(value) }
2829     }
2830 }
2831 impl ::std::convert::From<&IDataManager> for ::windows::runtime::IUnknown {
from(value: &IDataManager) -> Self2832     fn from(value: &IDataManager) -> Self {
2833         ::std::convert::From::from(::std::clone::Clone::clone(value))
2834     }
2835 }
2836 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDataManager {
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(self))
2839     }
2840 }
2841 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDataManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2842     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2843         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2844     }
2845 }
2846 #[cfg(feature = "Win32_System_Ole_Automation")]
2847 impl ::std::convert::From<IDataManager> for super::Ole::Automation::IDispatch {
from(value: IDataManager) -> Self2848     fn from(value: IDataManager) -> Self {
2849         unsafe { ::std::mem::transmute(value) }
2850     }
2851 }
2852 #[cfg(feature = "Win32_System_Ole_Automation")]
2853 impl ::std::convert::From<&IDataManager> for super::Ole::Automation::IDispatch {
from(value: &IDataManager) -> Self2854     fn from(value: &IDataManager) -> Self {
2855         ::std::convert::From::from(::std::clone::Clone::clone(value))
2856     }
2857 }
2858 #[cfg(feature = "Win32_System_Ole_Automation")]
2859 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IDataManager {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2860     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2861         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2862     }
2863 }
2864 #[cfg(feature = "Win32_System_Ole_Automation")]
2865 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IDataManager {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2866     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2867         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2868     }
2869 }
2870 #[repr(C)]
2871 #[doc(hidden)]
2872 pub struct IDataManager_abi(
2873     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2874     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2877     #[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,
2878     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2879     #[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,
2880     #[cfg(not(feature = "Win32_Foundation"))] usize,
2881     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2882     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,
2883     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
2885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenabled: i16) -> ::windows::runtime::HRESULT,
2886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfcheck: *mut i16) -> ::windows::runtime::HRESULT,
2887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcheck: i16) -> ::windows::runtime::HRESULT,
2888     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minfreedisk: *mut u32) -> ::windows::runtime::HRESULT,
2889     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minfreedisk: u32) -> ::windows::runtime::HRESULT,
2890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pulmaxsize: *mut u32) -> ::windows::runtime::HRESULT,
2891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulmaxsize: u32) -> ::windows::runtime::HRESULT,
2892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pulmaxfoldercount: *mut u32) -> ::windows::runtime::HRESULT,
2893     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulmaxfoldercount: u32) -> ::windows::runtime::HRESULT,
2894     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppolicy: *mut ResourcePolicy) -> ::windows::runtime::HRESULT,
2895     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, policy: ResourcePolicy) -> ::windows::runtime::HRESULT,
2896     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, actions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2897     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reportschema: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2898     #[cfg(not(feature = "Win32_Foundation"))] usize,
2899     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reportschema: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2900     #[cfg(not(feature = "Win32_Foundation"))] usize,
2901     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrfilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2902     #[cfg(not(feature = "Win32_Foundation"))] usize,
2903     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2904     #[cfg(not(feature = "Win32_Foundation"))] usize,
2905     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2906     #[cfg(not(feature = "Win32_Foundation"))] usize,
2907     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2908     #[cfg(not(feature = "Win32_Foundation"))] usize,
2909     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrfilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2910     #[cfg(not(feature = "Win32_Foundation"))] usize,
2911     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2912     #[cfg(not(feature = "Win32_Foundation"))] usize,
2913     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrxml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2914     #[cfg(not(feature = "Win32_Foundation"))] usize,
2915     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2916     #[cfg(not(feature = "Win32_Foundation"))] usize,
2917     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, steps: DataManagerSteps, bstrfolder: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, errors: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2918     #[cfg(not(feature = "Win32_Foundation"))] usize,
2919     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cabfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, destinationpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2920     #[cfg(not(feature = "Win32_Foundation"))] usize,
2921 );
2922 #[repr(transparent)]
2923 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2924 pub struct IFolderAction(::windows::runtime::IUnknown);
2925 impl IFolderAction {
Age(&self) -> ::windows::runtime::Result<u32>2926     pub unsafe fn Age(&self) -> ::windows::runtime::Result<u32> {
2927         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2928         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2929     }
SetAge(&self, ulage: u32) -> ::windows::runtime::Result<()>2930     pub unsafe fn SetAge(&self, ulage: u32) -> ::windows::runtime::Result<()> {
2931         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulage)).ok()
2932     }
Size(&self) -> ::windows::runtime::Result<u32>2933     pub unsafe fn Size(&self) -> ::windows::runtime::Result<u32> {
2934         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2935         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2936     }
SetSize(&self, ulage: u32) -> ::windows::runtime::Result<()>2937     pub unsafe fn SetSize(&self, ulage: u32) -> ::windows::runtime::Result<()> {
2938         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulage)).ok()
2939     }
Actions(&self) -> ::windows::runtime::Result<FolderActionSteps>2940     pub unsafe fn Actions(&self) -> ::windows::runtime::Result<FolderActionSteps> {
2941         let mut result__: <FolderActionSteps as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2942         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FolderActionSteps>(result__)
2943     }
SetActions(&self, steps: FolderActionSteps) -> ::windows::runtime::Result<()>2944     pub unsafe fn SetActions(&self, steps: FolderActionSteps) -> ::windows::runtime::Result<()> {
2945         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(steps)).ok()
2946     }
2947     #[cfg(feature = "Win32_Foundation")]
SendCabTo(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2948     pub unsafe fn SendCabTo(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2949         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2950         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2951     }
2952     #[cfg(feature = "Win32_Foundation")]
SetSendCabTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdestination: Param0) -> ::windows::runtime::Result<()>2953     pub unsafe fn SetSendCabTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdestination: Param0) -> ::windows::runtime::Result<()> {
2954         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), bstrdestination.into_param().abi()).ok()
2955     }
2956 }
2957 unsafe impl ::windows::runtime::Interface for IFolderAction {
2958     type Vtable = IFolderAction_abi;
2959     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946883, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
2960 }
2961 impl ::std::convert::From<IFolderAction> for ::windows::runtime::IUnknown {
from(value: IFolderAction) -> Self2962     fn from(value: IFolderAction) -> Self {
2963         unsafe { ::std::mem::transmute(value) }
2964     }
2965 }
2966 impl ::std::convert::From<&IFolderAction> for ::windows::runtime::IUnknown {
from(value: &IFolderAction) -> Self2967     fn from(value: &IFolderAction) -> Self {
2968         ::std::convert::From::from(::std::clone::Clone::clone(value))
2969     }
2970 }
2971 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFolderAction {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2972     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2973         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2974     }
2975 }
2976 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFolderAction {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2977     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2978         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2979     }
2980 }
2981 #[cfg(feature = "Win32_System_Ole_Automation")]
2982 impl ::std::convert::From<IFolderAction> for super::Ole::Automation::IDispatch {
from(value: IFolderAction) -> Self2983     fn from(value: IFolderAction) -> Self {
2984         unsafe { ::std::mem::transmute(value) }
2985     }
2986 }
2987 #[cfg(feature = "Win32_System_Ole_Automation")]
2988 impl ::std::convert::From<&IFolderAction> for super::Ole::Automation::IDispatch {
from(value: &IFolderAction) -> Self2989     fn from(value: &IFolderAction) -> Self {
2990         ::std::convert::From::from(::std::clone::Clone::clone(value))
2991     }
2992 }
2993 #[cfg(feature = "Win32_System_Ole_Automation")]
2994 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IFolderAction {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2995     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2996         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2997     }
2998 }
2999 #[cfg(feature = "Win32_System_Ole_Automation")]
3000 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IFolderAction {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3001     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3002         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3003     }
3004 }
3005 #[repr(C)]
3006 #[doc(hidden)]
3007 pub struct IFolderAction_abi(
3008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3009     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3010     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3011     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3012     #[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,
3013     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3014     #[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,
3015     #[cfg(not(feature = "Win32_Foundation"))] usize,
3016     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3017     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,
3018     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pulage: *mut u32) -> ::windows::runtime::HRESULT,
3020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulage: u32) -> ::windows::runtime::HRESULT,
3021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pulage: *mut u32) -> ::windows::runtime::HRESULT,
3022     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulage: u32) -> ::windows::runtime::HRESULT,
3023     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, steps: *mut FolderActionSteps) -> ::windows::runtime::HRESULT,
3024     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, steps: FolderActionSteps) -> ::windows::runtime::HRESULT,
3025     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdestination: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3026     #[cfg(not(feature = "Win32_Foundation"))] usize,
3027     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdestination: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3028     #[cfg(not(feature = "Win32_Foundation"))] usize,
3029 );
3030 #[repr(transparent)]
3031 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3032 pub struct IFolderActionCollection(::windows::runtime::IUnknown);
3033 impl IFolderActionCollection {
Count(&self) -> ::windows::runtime::Result<u32>3034     pub unsafe fn Count(&self) -> ::windows::runtime::Result<u32> {
3035         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3036         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3037     }
3038     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IFolderAction>3039     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IFolderAction> {
3040         let mut result__: <IFolderAction as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3041         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<IFolderAction>(result__)
3042     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3043     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3044         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3045         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3046     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, IFolderAction>>(&self, action: Param0) -> ::windows::runtime::Result<()>3047     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, IFolderAction>>(&self, action: Param0) -> ::windows::runtime::Result<()> {
3048         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), action.into_param().abi()).ok()
3049     }
3050     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<()>3051     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<()> {
3052         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), index.into_param().abi()).ok()
3053     }
Clear(&self) -> ::windows::runtime::Result<()>3054     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
3055         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3056     }
AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IFolderActionCollection>>(&self, actions: Param0) -> ::windows::runtime::Result<()>3057     pub unsafe fn AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IFolderActionCollection>>(&self, actions: Param0) -> ::windows::runtime::Result<()> {
3058         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), actions.into_param().abi()).ok()
3059     }
CreateFolderAction(&self) -> ::windows::runtime::Result<IFolderAction>3060     pub unsafe fn CreateFolderAction(&self) -> ::windows::runtime::Result<IFolderAction> {
3061         let mut result__: <IFolderAction as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3062         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFolderAction>(result__)
3063     }
3064 }
3065 unsafe impl ::windows::runtime::Interface for IFolderActionCollection {
3066     type Vtable = IFolderActionCollection_abi;
3067     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946884, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
3068 }
3069 impl ::std::convert::From<IFolderActionCollection> for ::windows::runtime::IUnknown {
from(value: IFolderActionCollection) -> Self3070     fn from(value: IFolderActionCollection) -> Self {
3071         unsafe { ::std::mem::transmute(value) }
3072     }
3073 }
3074 impl ::std::convert::From<&IFolderActionCollection> for ::windows::runtime::IUnknown {
from(value: &IFolderActionCollection) -> Self3075     fn from(value: &IFolderActionCollection) -> Self {
3076         ::std::convert::From::from(::std::clone::Clone::clone(value))
3077     }
3078 }
3079 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFolderActionCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3080     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3081         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3082     }
3083 }
3084 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFolderActionCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3085     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3086         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3087     }
3088 }
3089 #[cfg(feature = "Win32_System_Ole_Automation")]
3090 impl ::std::convert::From<IFolderActionCollection> for super::Ole::Automation::IDispatch {
from(value: IFolderActionCollection) -> Self3091     fn from(value: IFolderActionCollection) -> Self {
3092         unsafe { ::std::mem::transmute(value) }
3093     }
3094 }
3095 #[cfg(feature = "Win32_System_Ole_Automation")]
3096 impl ::std::convert::From<&IFolderActionCollection> for super::Ole::Automation::IDispatch {
from(value: &IFolderActionCollection) -> Self3097     fn from(value: &IFolderActionCollection) -> Self {
3098         ::std::convert::From::from(::std::clone::Clone::clone(value))
3099     }
3100 }
3101 #[cfg(feature = "Win32_System_Ole_Automation")]
3102 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IFolderActionCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3103     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3104         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3105     }
3106 }
3107 #[cfg(feature = "Win32_System_Ole_Automation")]
3108 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IFolderActionCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3109     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3110         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3111     }
3112 }
3113 #[repr(C)]
3114 #[doc(hidden)]
3115 pub struct IFolderActionCollection_abi(
3116     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3117     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3119     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3120     #[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,
3121     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3122     #[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,
3123     #[cfg(not(feature = "Win32_Foundation"))] usize,
3124     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3125     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,
3126     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut u32) -> ::windows::runtime::HRESULT,
3128     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, action: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3129     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#enum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, action: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3132     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3133     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, actions: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folderaction: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3137 );
3138 #[repr(transparent)]
3139 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3140 pub struct ILogFileItem(::windows::runtime::IUnknown);
3141 impl ILogFileItem {
3142     #[cfg(feature = "Win32_Foundation")]
Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3143     pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3144         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3145         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3146     }
3147 }
3148 unsafe impl ::windows::runtime::Interface for ILogFileItem {
3149     type Vtable = ILogFileItem_abi;
3150     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3602192605, 1479, 16778, [137, 230, 79, 156, 232, 198, 132, 30]);
3151 }
3152 impl ::std::convert::From<ILogFileItem> for ::windows::runtime::IUnknown {
from(value: ILogFileItem) -> Self3153     fn from(value: ILogFileItem) -> Self {
3154         unsafe { ::std::mem::transmute(value) }
3155     }
3156 }
3157 impl ::std::convert::From<&ILogFileItem> for ::windows::runtime::IUnknown {
from(value: &ILogFileItem) -> Self3158     fn from(value: &ILogFileItem) -> Self {
3159         ::std::convert::From::from(::std::clone::Clone::clone(value))
3160     }
3161 }
3162 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ILogFileItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3163     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3164         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3165     }
3166 }
3167 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ILogFileItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3168     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3169         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3170     }
3171 }
3172 #[repr(C)]
3173 #[doc(hidden)]
3174 pub struct ILogFileItem_abi(
3175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3178     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstrvalue: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3179     #[cfg(not(feature = "Win32_Foundation"))] usize,
3180 );
3181 #[repr(transparent)]
3182 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3183 pub struct ILogFiles(::windows::runtime::IUnknown);
3184 impl ILogFiles {
Count(&self) -> ::windows::runtime::Result<i32>3185     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
3186         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3187         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3188     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3189     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3190         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3191         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3192     }
3193     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<DILogFileItem>3194     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<DILogFileItem> {
3195         let mut result__: <DILogFileItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3196         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<DILogFileItem>(result__)
3197     }
3198     #[cfg(feature = "Win32_Foundation")]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pathname: Param0) -> ::windows::runtime::Result<DILogFileItem>3199     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pathname: Param0) -> ::windows::runtime::Result<DILogFileItem> {
3200         let mut result__: <DILogFileItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3201         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pathname.into_param().abi(), &mut result__).from_abi::<DILogFileItem>(result__)
3202     }
3203     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<()>3204     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<()> {
3205         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), index.into_param().abi()).ok()
3206     }
3207 }
3208 unsafe impl ::windows::runtime::Interface for ILogFiles {
3209     type Vtable = ILogFiles_abi;
3210     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1781176294, 26705, 16874, [135, 173, 42, 130, 37, 51, 88, 101]);
3211 }
3212 impl ::std::convert::From<ILogFiles> for ::windows::runtime::IUnknown {
from(value: ILogFiles) -> Self3213     fn from(value: ILogFiles) -> Self {
3214         unsafe { ::std::mem::transmute(value) }
3215     }
3216 }
3217 impl ::std::convert::From<&ILogFiles> for ::windows::runtime::IUnknown {
from(value: &ILogFiles) -> Self3218     fn from(value: &ILogFiles) -> Self {
3219         ::std::convert::From::from(::std::clone::Clone::clone(value))
3220     }
3221 }
3222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ILogFiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3224         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3225     }
3226 }
3227 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ILogFiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3228     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3229         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3230     }
3231 }
3232 #[cfg(feature = "Win32_System_Ole_Automation")]
3233 impl ::std::convert::From<ILogFiles> for super::Ole::Automation::IDispatch {
from(value: ILogFiles) -> Self3234     fn from(value: ILogFiles) -> Self {
3235         unsafe { ::std::mem::transmute(value) }
3236     }
3237 }
3238 #[cfg(feature = "Win32_System_Ole_Automation")]
3239 impl ::std::convert::From<&ILogFiles> for super::Ole::Automation::IDispatch {
from(value: &ILogFiles) -> Self3240     fn from(value: &ILogFiles) -> Self {
3241         ::std::convert::From::from(::std::clone::Clone::clone(value))
3242     }
3243 }
3244 #[cfg(feature = "Win32_System_Ole_Automation")]
3245 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ILogFiles {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3246     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3247         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3248     }
3249 }
3250 #[cfg(feature = "Win32_System_Ole_Automation")]
3251 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ILogFiles {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3252     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3253         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3254     }
3255 }
3256 #[repr(C)]
3257 #[doc(hidden)]
3258 pub struct ILogFiles_abi(
3259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3260     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3261     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3262     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3263     #[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,
3264     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3265     #[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,
3266     #[cfg(not(feature = "Win32_Foundation"))] usize,
3267     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3268     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,
3269     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3270     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plong: *mut i32) -> ::windows::runtime::HRESULT,
3271     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3272     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3273     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3274     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pathname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppi: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3275     #[cfg(not(feature = "Win32_Foundation"))] usize,
3276     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3277     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3278 );
3279 #[repr(transparent)]
3280 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3281 pub struct IPerformanceCounterDataCollector(::windows::runtime::IUnknown);
3282 impl IPerformanceCounterDataCollector {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3283     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
3284         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3285         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3286     }
3287     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>3288     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
3289         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3290         (::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__)
3291     }
3292     #[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<()>3293     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<()> {
3294         (::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()
3295     }
3296     #[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<()>3297     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<()> {
3298         (::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()
3299     }
DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet>3300     pub unsafe fn DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet> {
3301         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3302         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorSet>(result__)
3303     }
SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()>3304     pub unsafe fn SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()> {
3305         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), group.into_param().abi()).ok()
3306     }
DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType>3307     pub unsafe fn DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType> {
3308         let mut result__: <DataCollectorType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3309         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorType>(result__)
3310     }
3311     #[cfg(feature = "Win32_Foundation")]
FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3312     pub unsafe fn FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3313         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3314         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3315     }
3316     #[cfg(feature = "Win32_Foundation")]
SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>3317     pub unsafe fn SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
3318         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
3319     }
FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>3320     pub unsafe fn FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
3321         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3322         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
3323     }
SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>3324     pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
3325         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
3326     }
3327     #[cfg(feature = "Win32_Foundation")]
FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3328     pub unsafe fn FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3329         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3330         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3331     }
3332     #[cfg(feature = "Win32_Foundation")]
SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>3333     pub unsafe fn SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
3334         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
3335     }
3336     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3337     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3338         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3339         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3340     }
3341     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>3342     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
3343         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
3344     }
LogAppend(&self) -> ::windows::runtime::Result<i16>3345     pub unsafe fn LogAppend(&self) -> ::windows::runtime::Result<i16> {
3346         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3347         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3348     }
SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()>3349     pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()> {
3350         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(append)).ok()
3351     }
LogCircular(&self) -> ::windows::runtime::Result<i16>3352     pub unsafe fn LogCircular(&self) -> ::windows::runtime::Result<i16> {
3353         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3354         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3355     }
SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()>3356     pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()> {
3357         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(circular)).ok()
3358     }
LogOverwrite(&self) -> ::windows::runtime::Result<i16>3359     pub unsafe fn LogOverwrite(&self) -> ::windows::runtime::Result<i16> {
3360         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3361         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3362     }
SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()>3363     pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()> {
3364         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(overwrite)).ok()
3365     }
3366     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3367     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3368         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3369         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3370     }
3371     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>3372     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
3373         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
3374     }
3375     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3376     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3377         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3378         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3379     }
Index(&self) -> ::windows::runtime::Result<i32>3380     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
3381         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3382         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3383     }
SetIndex(&self, index: i32) -> ::windows::runtime::Result<()>3384     pub unsafe fn SetIndex(&self, index: i32) -> ::windows::runtime::Result<()> {
3385         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
3386     }
3387     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3388     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3389         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3390         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3391     }
3392     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>3393     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
3394         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3395         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
3396     }
3397     #[cfg(feature = "Win32_Foundation")]
CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3398     pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3399         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3400         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(latest), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3401     }
3402     #[cfg(feature = "Win32_Foundation")]
DataSourceName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3403     pub unsafe fn DataSourceName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3404         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3405         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3406     }
3407     #[cfg(feature = "Win32_Foundation")]
SetDataSourceName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, dsn: Param0) -> ::windows::runtime::Result<()>3408     pub unsafe fn SetDataSourceName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, dsn: Param0) -> ::windows::runtime::Result<()> {
3409         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), dsn.into_param().abi()).ok()
3410     }
3411     #[cfg(feature = "Win32_System_Com")]
PerformanceCounters(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>3412     pub unsafe fn PerformanceCounters(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
3413         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3414         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
3415     }
3416     #[cfg(feature = "Win32_System_Com")]
SetPerformanceCounters(&self, counters: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>3417     pub unsafe fn SetPerformanceCounters(&self, counters: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
3418         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(counters)).ok()
3419     }
LogFileFormat(&self) -> ::windows::runtime::Result<FileFormat>3420     pub unsafe fn LogFileFormat(&self) -> ::windows::runtime::Result<FileFormat> {
3421         let mut result__: <FileFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3422         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FileFormat>(result__)
3423     }
SetLogFileFormat(&self, format: FileFormat) -> ::windows::runtime::Result<()>3424     pub unsafe fn SetLogFileFormat(&self, format: FileFormat) -> ::windows::runtime::Result<()> {
3425         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
3426     }
SampleInterval(&self) -> ::windows::runtime::Result<u32>3427     pub unsafe fn SampleInterval(&self) -> ::windows::runtime::Result<u32> {
3428         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3429         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3430     }
SetSampleInterval(&self, interval: u32) -> ::windows::runtime::Result<()>3431     pub unsafe fn SetSampleInterval(&self, interval: u32) -> ::windows::runtime::Result<()> {
3432         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(interval)).ok()
3433     }
SegmentMaxRecords(&self) -> ::windows::runtime::Result<u32>3434     pub unsafe fn SegmentMaxRecords(&self) -> ::windows::runtime::Result<u32> {
3435         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3436         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3437     }
SetSegmentMaxRecords(&self, records: u32) -> ::windows::runtime::Result<()>3438     pub unsafe fn SetSegmentMaxRecords(&self, records: u32) -> ::windows::runtime::Result<()> {
3439         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(records)).ok()
3440     }
3441 }
3442 unsafe impl ::windows::runtime::Interface for IPerformanceCounterDataCollector {
3443     type Vtable = IPerformanceCounterDataCollector_abi;
3444     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946822, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
3445 }
3446 impl ::std::convert::From<IPerformanceCounterDataCollector> for ::windows::runtime::IUnknown {
from(value: IPerformanceCounterDataCollector) -> Self3447     fn from(value: IPerformanceCounterDataCollector) -> Self {
3448         unsafe { ::std::mem::transmute(value) }
3449     }
3450 }
3451 impl ::std::convert::From<&IPerformanceCounterDataCollector> for ::windows::runtime::IUnknown {
from(value: &IPerformanceCounterDataCollector) -> Self3452     fn from(value: &IPerformanceCounterDataCollector) -> Self {
3453         ::std::convert::From::from(::std::clone::Clone::clone(value))
3454     }
3455 }
3456 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPerformanceCounterDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3457     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3458         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3459     }
3460 }
3461 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPerformanceCounterDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3462     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3463         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3464     }
3465 }
3466 impl ::std::convert::From<IPerformanceCounterDataCollector> for IDataCollector {
from(value: IPerformanceCounterDataCollector) -> Self3467     fn from(value: IPerformanceCounterDataCollector) -> Self {
3468         unsafe { ::std::mem::transmute(value) }
3469     }
3470 }
3471 impl ::std::convert::From<&IPerformanceCounterDataCollector> for IDataCollector {
from(value: &IPerformanceCounterDataCollector) -> Self3472     fn from(value: &IPerformanceCounterDataCollector) -> Self {
3473         ::std::convert::From::from(::std::clone::Clone::clone(value))
3474     }
3475 }
3476 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for IPerformanceCounterDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>3477     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
3478         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(self))
3479     }
3480 }
3481 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for &IPerformanceCounterDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>3482     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
3483         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(::std::clone::Clone::clone(self)))
3484     }
3485 }
3486 #[cfg(feature = "Win32_System_Ole_Automation")]
3487 impl ::std::convert::From<IPerformanceCounterDataCollector> for super::Ole::Automation::IDispatch {
from(value: IPerformanceCounterDataCollector) -> Self3488     fn from(value: IPerformanceCounterDataCollector) -> Self {
3489         unsafe { ::std::mem::transmute(value) }
3490     }
3491 }
3492 #[cfg(feature = "Win32_System_Ole_Automation")]
3493 impl ::std::convert::From<&IPerformanceCounterDataCollector> for super::Ole::Automation::IDispatch {
from(value: &IPerformanceCounterDataCollector) -> Self3494     fn from(value: &IPerformanceCounterDataCollector) -> Self {
3495         ::std::convert::From::from(::std::clone::Clone::clone(value))
3496     }
3497 }
3498 #[cfg(feature = "Win32_System_Ole_Automation")]
3499 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IPerformanceCounterDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3500     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3501         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3502     }
3503 }
3504 #[cfg(feature = "Win32_System_Ole_Automation")]
3505 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IPerformanceCounterDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3506     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3507         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3508     }
3509 }
3510 #[repr(C)]
3511 #[doc(hidden)]
3512 pub struct IPerformanceCounterDataCollector_abi(
3513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3517     #[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,
3518     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3519     #[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,
3520     #[cfg(not(feature = "Win32_Foundation"))] usize,
3521     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3522     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,
3523     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut DataCollectorType) -> ::windows::runtime::HRESULT,
3527     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3528     #[cfg(not(feature = "Win32_Foundation"))] usize,
3529     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3530     #[cfg(not(feature = "Win32_Foundation"))] usize,
3531     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
3532     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
3533     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3534     #[cfg(not(feature = "Win32_Foundation"))] usize,
3535     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3536     #[cfg(not(feature = "Win32_Foundation"))] usize,
3537     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3538     #[cfg(not(feature = "Win32_Foundation"))] usize,
3539     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3540     #[cfg(not(feature = "Win32_Foundation"))] usize,
3541     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: *mut i16) -> ::windows::runtime::HRESULT,
3542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: i16) -> ::windows::runtime::HRESULT,
3543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: *mut i16) -> ::windows::runtime::HRESULT,
3544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: i16) -> ::windows::runtime::HRESULT,
3545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: *mut i16) -> ::windows::runtime::HRESULT,
3546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: i16) -> ::windows::runtime::HRESULT,
3547     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3548     #[cfg(not(feature = "Win32_Foundation"))] usize,
3549     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3550     #[cfg(not(feature = "Win32_Foundation"))] usize,
3551     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3552     #[cfg(not(feature = "Win32_Foundation"))] usize,
3553     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut i32) -> ::windows::runtime::HRESULT,
3554     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32) -> ::windows::runtime::HRESULT,
3555     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3556     #[cfg(not(feature = "Win32_Foundation"))] usize,
3557     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3558     #[cfg(not(feature = "Win32_Foundation"))] usize,
3559     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, latest: i16, location: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3560     #[cfg(not(feature = "Win32_Foundation"))] usize,
3561     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dsn: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3562     #[cfg(not(feature = "Win32_Foundation"))] usize,
3563     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dsn: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3564     #[cfg(not(feature = "Win32_Foundation"))] usize,
3565     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, counters: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3566     #[cfg(not(feature = "Win32_System_Com"))] usize,
3567     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, counters: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3568     #[cfg(not(feature = "Win32_System_Com"))] usize,
3569     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut FileFormat) -> ::windows::runtime::HRESULT,
3570     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: FileFormat) -> ::windows::runtime::HRESULT,
3571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, interval: *mut u32) -> ::windows::runtime::HRESULT,
3572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, interval: u32) -> ::windows::runtime::HRESULT,
3573     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, records: *mut u32) -> ::windows::runtime::HRESULT,
3574     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, records: u32) -> ::windows::runtime::HRESULT,
3575 );
3576 #[repr(transparent)]
3577 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3578 pub struct ISchedule(::windows::runtime::IUnknown);
3579 impl ISchedule {
3580     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
StartDate(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3581     pub unsafe fn StartDate(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
3582         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3583         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
3584     }
3585     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetStartDate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, start: Param0) -> ::windows::runtime::Result<()>3586     pub unsafe fn SetStartDate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, start: Param0) -> ::windows::runtime::Result<()> {
3587         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), start.into_param().abi()).ok()
3588     }
3589     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
EndDate(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3590     pub unsafe fn EndDate(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
3591         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3592         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
3593     }
3594     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetEndDate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, end: Param0) -> ::windows::runtime::Result<()>3595     pub unsafe fn SetEndDate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, end: Param0) -> ::windows::runtime::Result<()> {
3596         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), end.into_param().abi()).ok()
3597     }
3598     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
StartTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT>3599     pub unsafe fn StartTime(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
3600         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3601         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
3602     }
3603     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetStartTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, start: Param0) -> ::windows::runtime::Result<()>3604     pub unsafe fn SetStartTime<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, start: Param0) -> ::windows::runtime::Result<()> {
3605         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), start.into_param().abi()).ok()
3606     }
Days(&self) -> ::windows::runtime::Result<WeekDays>3607     pub unsafe fn Days(&self) -> ::windows::runtime::Result<WeekDays> {
3608         let mut result__: <WeekDays as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3609         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<WeekDays>(result__)
3610     }
SetDays(&self, days: WeekDays) -> ::windows::runtime::Result<()>3611     pub unsafe fn SetDays(&self, days: WeekDays) -> ::windows::runtime::Result<()> {
3612         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(days)).ok()
3613     }
3614 }
3615 unsafe impl ::windows::runtime::Interface for ISchedule {
3616     type Vtable = ISchedule_abi;
3617     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946874, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
3618 }
3619 impl ::std::convert::From<ISchedule> for ::windows::runtime::IUnknown {
from(value: ISchedule) -> Self3620     fn from(value: ISchedule) -> Self {
3621         unsafe { ::std::mem::transmute(value) }
3622     }
3623 }
3624 impl ::std::convert::From<&ISchedule> for ::windows::runtime::IUnknown {
from(value: &ISchedule) -> Self3625     fn from(value: &ISchedule) -> Self {
3626         ::std::convert::From::from(::std::clone::Clone::clone(value))
3627     }
3628 }
3629 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISchedule {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3630     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3631         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3632     }
3633 }
3634 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISchedule {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3635     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3636         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3637     }
3638 }
3639 #[cfg(feature = "Win32_System_Ole_Automation")]
3640 impl ::std::convert::From<ISchedule> for super::Ole::Automation::IDispatch {
from(value: ISchedule) -> Self3641     fn from(value: ISchedule) -> Self {
3642         unsafe { ::std::mem::transmute(value) }
3643     }
3644 }
3645 #[cfg(feature = "Win32_System_Ole_Automation")]
3646 impl ::std::convert::From<&ISchedule> for super::Ole::Automation::IDispatch {
from(value: &ISchedule) -> Self3647     fn from(value: &ISchedule) -> Self {
3648         ::std::convert::From::from(::std::clone::Clone::clone(value))
3649     }
3650 }
3651 #[cfg(feature = "Win32_System_Ole_Automation")]
3652 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ISchedule {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3653     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3654         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3655     }
3656 }
3657 #[cfg(feature = "Win32_System_Ole_Automation")]
3658 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ISchedule {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3659     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3660         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3661     }
3662 }
3663 #[repr(C)]
3664 #[doc(hidden)]
3665 pub struct ISchedule_abi(
3666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3670     #[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,
3671     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3672     #[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,
3673     #[cfg(not(feature = "Win32_Foundation"))] usize,
3674     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3675     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,
3676     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3677     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, start: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3678     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3679     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, start: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3680     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3681     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, end: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3682     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3683     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, end: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3684     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3685     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, start: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3686     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3687     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, start: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3688     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3689     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, days: *mut WeekDays) -> ::windows::runtime::HRESULT,
3690     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, days: WeekDays) -> ::windows::runtime::HRESULT,
3691 );
3692 #[repr(transparent)]
3693 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3694 pub struct IScheduleCollection(::windows::runtime::IUnknown);
3695 impl IScheduleCollection {
Count(&self) -> ::windows::runtime::Result<i32>3696     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
3697         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3698         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3699     }
3700     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<ISchedule>3701     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<ISchedule> {
3702         let mut result__: <ISchedule as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3703         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<ISchedule>(result__)
3704     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3705     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3706         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3707         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3708     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, ISchedule>>(&self, pschedule: Param0) -> ::windows::runtime::Result<()>3709     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, ISchedule>>(&self, pschedule: Param0) -> ::windows::runtime::Result<()> {
3710         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pschedule.into_param().abi()).ok()
3711     }
3712     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vschedule: Param0) -> ::windows::runtime::Result<()>3713     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vschedule: Param0) -> ::windows::runtime::Result<()> {
3714         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), vschedule.into_param().abi()).ok()
3715     }
Clear(&self) -> ::windows::runtime::Result<()>3716     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
3717         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3718     }
AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IScheduleCollection>>(&self, pschedules: Param0) -> ::windows::runtime::Result<()>3719     pub unsafe fn AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IScheduleCollection>>(&self, pschedules: Param0) -> ::windows::runtime::Result<()> {
3720         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pschedules.into_param().abi()).ok()
3721     }
CreateSchedule(&self) -> ::windows::runtime::Result<ISchedule>3722     pub unsafe fn CreateSchedule(&self) -> ::windows::runtime::Result<ISchedule> {
3723         let mut result__: <ISchedule as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3724         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ISchedule>(result__)
3725     }
3726 }
3727 unsafe impl ::windows::runtime::Interface for IScheduleCollection {
3728     type Vtable = IScheduleCollection_abi;
3729     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946877, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
3730 }
3731 impl ::std::convert::From<IScheduleCollection> for ::windows::runtime::IUnknown {
from(value: IScheduleCollection) -> Self3732     fn from(value: IScheduleCollection) -> Self {
3733         unsafe { ::std::mem::transmute(value) }
3734     }
3735 }
3736 impl ::std::convert::From<&IScheduleCollection> for ::windows::runtime::IUnknown {
from(value: &IScheduleCollection) -> Self3737     fn from(value: &IScheduleCollection) -> Self {
3738         ::std::convert::From::from(::std::clone::Clone::clone(value))
3739     }
3740 }
3741 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IScheduleCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3742     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3743         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3744     }
3745 }
3746 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IScheduleCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3747     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3748         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3749     }
3750 }
3751 #[cfg(feature = "Win32_System_Ole_Automation")]
3752 impl ::std::convert::From<IScheduleCollection> for super::Ole::Automation::IDispatch {
from(value: IScheduleCollection) -> Self3753     fn from(value: IScheduleCollection) -> Self {
3754         unsafe { ::std::mem::transmute(value) }
3755     }
3756 }
3757 #[cfg(feature = "Win32_System_Ole_Automation")]
3758 impl ::std::convert::From<&IScheduleCollection> for super::Ole::Automation::IDispatch {
from(value: &IScheduleCollection) -> Self3759     fn from(value: &IScheduleCollection) -> Self {
3760         ::std::convert::From::from(::std::clone::Clone::clone(value))
3761     }
3762 }
3763 #[cfg(feature = "Win32_System_Ole_Automation")]
3764 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IScheduleCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3765     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3766         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3767     }
3768 }
3769 #[cfg(feature = "Win32_System_Ole_Automation")]
3770 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IScheduleCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3771     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3772         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3773     }
3774 }
3775 #[repr(C)]
3776 #[doc(hidden)]
3777 pub struct IScheduleCollection_abi(
3778     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3779     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3780     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3782     #[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,
3783     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3784     #[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,
3785     #[cfg(not(feature = "Win32_Foundation"))] usize,
3786     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3787     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,
3788     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3789     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut i32) -> ::windows::runtime::HRESULT,
3790     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppschedule: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3791     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3792     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ienum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3793     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pschedule: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3794     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vschedule: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3795     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3796     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3797     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pschedules: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3798     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, schedule: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3799 );
3800 #[repr(transparent)]
3801 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3802 pub struct ISystemMonitor(::windows::runtime::IUnknown);
3803 impl ISystemMonitor {
Appearance(&self) -> ::windows::runtime::Result<i32>3804     pub unsafe fn Appearance(&self) -> ::windows::runtime::Result<i32> {
3805         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3806         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3807     }
SetAppearance(&self, iappearance: i32) -> ::windows::runtime::Result<()>3808     pub unsafe fn SetAppearance(&self, iappearance: i32) -> ::windows::runtime::Result<()> {
3809         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(iappearance)).ok()
3810     }
BackColor(&self) -> ::windows::runtime::Result<u32>3811     pub unsafe fn BackColor(&self) -> ::windows::runtime::Result<u32> {
3812         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3813         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3814     }
SetBackColor(&self, color: u32) -> ::windows::runtime::Result<()>3815     pub unsafe fn SetBackColor(&self, color: u32) -> ::windows::runtime::Result<()> {
3816         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
3817     }
BorderStyle(&self) -> ::windows::runtime::Result<i32>3818     pub unsafe fn BorderStyle(&self) -> ::windows::runtime::Result<i32> {
3819         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3820         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3821     }
SetBorderStyle(&self, iborderstyle: i32) -> ::windows::runtime::Result<()>3822     pub unsafe fn SetBorderStyle(&self, iborderstyle: i32) -> ::windows::runtime::Result<()> {
3823         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iborderstyle)).ok()
3824     }
ForeColor(&self) -> ::windows::runtime::Result<u32>3825     pub unsafe fn ForeColor(&self) -> ::windows::runtime::Result<u32> {
3826         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3827         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3828     }
SetForeColor(&self, color: u32) -> ::windows::runtime::Result<()>3829     pub unsafe fn SetForeColor(&self, color: u32) -> ::windows::runtime::Result<()> {
3830         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
3831     }
3832     #[cfg(feature = "Win32_System_Ole")]
Font(&self) -> ::windows::runtime::Result<super::Ole::IFontDisp>3833     pub unsafe fn Font(&self) -> ::windows::runtime::Result<super::Ole::IFontDisp> {
3834         let mut result__: <super::Ole::IFontDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3835         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::IFontDisp>(result__)
3836     }
3837     #[cfg(feature = "Win32_System_Ole")]
putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::IFontDisp>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>3838     pub unsafe fn putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::IFontDisp>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
3839         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
3840     }
Counters(&self) -> ::windows::runtime::Result<ICounters>3841     pub unsafe fn Counters(&self) -> ::windows::runtime::Result<ICounters> {
3842         let mut result__: <ICounters as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3843         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ICounters>(result__)
3844     }
SetShowVerticalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()>3845     pub unsafe fn SetShowVerticalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()> {
3846         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
3847     }
ShowVerticalGrid(&self) -> ::windows::runtime::Result<i16>3848     pub unsafe fn ShowVerticalGrid(&self) -> ::windows::runtime::Result<i16> {
3849         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3850         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3851     }
SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()>3852     pub unsafe fn SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()> {
3853         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
3854     }
ShowHorizontalGrid(&self) -> ::windows::runtime::Result<i16>3855     pub unsafe fn ShowHorizontalGrid(&self) -> ::windows::runtime::Result<i16> {
3856         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3857         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3858     }
SetShowLegend(&self, bstate: i16) -> ::windows::runtime::Result<()>3859     pub unsafe fn SetShowLegend(&self, bstate: i16) -> ::windows::runtime::Result<()> {
3860         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
3861     }
ShowLegend(&self) -> ::windows::runtime::Result<i16>3862     pub unsafe fn ShowLegend(&self) -> ::windows::runtime::Result<i16> {
3863         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3864         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3865     }
SetShowScaleLabels(&self, bstate: i16) -> ::windows::runtime::Result<()>3866     pub unsafe fn SetShowScaleLabels(&self, bstate: i16) -> ::windows::runtime::Result<()> {
3867         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
3868     }
ShowScaleLabels(&self) -> ::windows::runtime::Result<i16>3869     pub unsafe fn ShowScaleLabels(&self) -> ::windows::runtime::Result<i16> {
3870         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3871         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3872     }
SetShowValueBar(&self, bstate: i16) -> ::windows::runtime::Result<()>3873     pub unsafe fn SetShowValueBar(&self, bstate: i16) -> ::windows::runtime::Result<()> {
3874         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
3875     }
ShowValueBar(&self) -> ::windows::runtime::Result<i16>3876     pub unsafe fn ShowValueBar(&self) -> ::windows::runtime::Result<i16> {
3877         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3878         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3879     }
SetMaximumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()>3880     pub unsafe fn SetMaximumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
3881         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
3882     }
MaximumScale(&self) -> ::windows::runtime::Result<i32>3883     pub unsafe fn MaximumScale(&self) -> ::windows::runtime::Result<i32> {
3884         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3885         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3886     }
SetMinimumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()>3887     pub unsafe fn SetMinimumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
3888         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
3889     }
MinimumScale(&self) -> ::windows::runtime::Result<i32>3890     pub unsafe fn MinimumScale(&self) -> ::windows::runtime::Result<i32> {
3891         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3892         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3893     }
SetUpdateInterval(&self, fvalue: f32) -> ::windows::runtime::Result<()>3894     pub unsafe fn SetUpdateInterval(&self, fvalue: f32) -> ::windows::runtime::Result<()> {
3895         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvalue)).ok()
3896     }
UpdateInterval(&self) -> ::windows::runtime::Result<f32>3897     pub unsafe fn UpdateInterval(&self) -> ::windows::runtime::Result<f32> {
3898         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3899         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3900     }
SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::Result<()>3901     pub unsafe fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::Result<()> {
3902         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(edisplaytype)).ok()
3903     }
DisplayType(&self) -> ::windows::runtime::Result<DisplayTypeConstants>3904     pub unsafe fn DisplayType(&self) -> ::windows::runtime::Result<DisplayTypeConstants> {
3905         let mut result__: <DisplayTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3906         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DisplayTypeConstants>(result__)
3907     }
SetManualUpdate(&self, bstate: i16) -> ::windows::runtime::Result<()>3908     pub unsafe fn SetManualUpdate(&self, bstate: i16) -> ::windows::runtime::Result<()> {
3909         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
3910     }
ManualUpdate(&self) -> ::windows::runtime::Result<i16>3911     pub unsafe fn ManualUpdate(&self) -> ::windows::runtime::Result<i16> {
3912         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3913         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3914     }
3915     #[cfg(feature = "Win32_Foundation")]
SetGraphTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()>3916     pub unsafe fn SetGraphTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()> {
3917         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), bstitle.into_param().abi()).ok()
3918     }
3919     #[cfg(feature = "Win32_Foundation")]
GraphTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3920     pub unsafe fn GraphTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3921         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3922         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3923     }
3924     #[cfg(feature = "Win32_Foundation")]
SetYAxisLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()>3925     pub unsafe fn SetYAxisLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()> {
3926         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), bstitle.into_param().abi()).ok()
3927     }
3928     #[cfg(feature = "Win32_Foundation")]
YAxisLabel(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3929     pub unsafe fn YAxisLabel(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3930         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3931         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3932     }
CollectSample(&self) -> ::windows::runtime::Result<()>3933     pub unsafe fn CollectSample(&self) -> ::windows::runtime::Result<()> {
3934         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self)).ok()
3935     }
UpdateGraph(&self) -> ::windows::runtime::Result<()>3936     pub unsafe fn UpdateGraph(&self) -> ::windows::runtime::Result<()> {
3937         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self)).ok()
3938     }
BrowseCounters(&self) -> ::windows::runtime::Result<()>3939     pub unsafe fn BrowseCounters(&self) -> ::windows::runtime::Result<()> {
3940         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
3941     }
DisplayProperties(&self) -> ::windows::runtime::Result<()>3942     pub unsafe fn DisplayProperties(&self) -> ::windows::runtime::Result<()> {
3943         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self)).ok()
3944     }
Counter(&self, iindex: i32) -> ::windows::runtime::Result<ICounterItem>3945     pub unsafe fn Counter(&self, iindex: i32) -> ::windows::runtime::Result<ICounterItem> {
3946         let mut result__: <ICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3947         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), &mut result__).from_abi::<ICounterItem>(result__)
3948     }
3949     #[cfg(feature = "Win32_Foundation")]
AddCounter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bspath: Param0) -> ::windows::runtime::Result<ICounterItem>3950     pub unsafe fn AddCounter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bspath: Param0) -> ::windows::runtime::Result<ICounterItem> {
3951         let mut result__: <ICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3952         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), bspath.into_param().abi(), &mut result__).from_abi::<ICounterItem>(result__)
3953     }
DeleteCounter<'a, Param0: ::windows::runtime::IntoParam<'a, ICounterItem>>(&self, pctr: Param0) -> ::windows::runtime::Result<()>3954     pub unsafe fn DeleteCounter<'a, Param0: ::windows::runtime::IntoParam<'a, ICounterItem>>(&self, pctr: Param0) -> ::windows::runtime::Result<()> {
3955         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), pctr.into_param().abi()).ok()
3956     }
BackColorCtl(&self) -> ::windows::runtime::Result<u32>3957     pub unsafe fn BackColorCtl(&self) -> ::windows::runtime::Result<u32> {
3958         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3959         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3960     }
SetBackColorCtl(&self, color: u32) -> ::windows::runtime::Result<()>3961     pub unsafe fn SetBackColorCtl(&self, color: u32) -> ::windows::runtime::Result<()> {
3962         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
3963     }
3964     #[cfg(feature = "Win32_Foundation")]
SetLogFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bsfilename: Param0) -> ::windows::runtime::Result<()>3965     pub unsafe fn SetLogFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bsfilename: Param0) -> ::windows::runtime::Result<()> {
3966         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), bsfilename.into_param().abi()).ok()
3967     }
3968     #[cfg(feature = "Win32_Foundation")]
LogFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3969     pub unsafe fn LogFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3970         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3971         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3972     }
SetLogViewStart(&self, starttime: f64) -> ::windows::runtime::Result<()>3973     pub unsafe fn SetLogViewStart(&self, starttime: f64) -> ::windows::runtime::Result<()> {
3974         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime)).ok()
3975     }
LogViewStart(&self) -> ::windows::runtime::Result<f64>3976     pub unsafe fn LogViewStart(&self) -> ::windows::runtime::Result<f64> {
3977         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3978         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
3979     }
SetLogViewStop(&self, stoptime: f64) -> ::windows::runtime::Result<()>3980     pub unsafe fn SetLogViewStop(&self, stoptime: f64) -> ::windows::runtime::Result<()> {
3981         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(stoptime)).ok()
3982     }
LogViewStop(&self) -> ::windows::runtime::Result<f64>3983     pub unsafe fn LogViewStop(&self) -> ::windows::runtime::Result<f64> {
3984         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3985         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
3986     }
GridColor(&self) -> ::windows::runtime::Result<u32>3987     pub unsafe fn GridColor(&self) -> ::windows::runtime::Result<u32> {
3988         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3989         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3990     }
SetGridColor(&self, color: u32) -> ::windows::runtime::Result<()>3991     pub unsafe fn SetGridColor(&self, color: u32) -> ::windows::runtime::Result<()> {
3992         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
3993     }
TimeBarColor(&self) -> ::windows::runtime::Result<u32>3994     pub unsafe fn TimeBarColor(&self) -> ::windows::runtime::Result<u32> {
3995         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3996         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3997     }
SetTimeBarColor(&self, color: u32) -> ::windows::runtime::Result<()>3998     pub unsafe fn SetTimeBarColor(&self, color: u32) -> ::windows::runtime::Result<()> {
3999         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
4000     }
Highlight(&self) -> ::windows::runtime::Result<i16>4001     pub unsafe fn Highlight(&self) -> ::windows::runtime::Result<i16> {
4002         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4003         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4004     }
SetHighlight(&self, bstate: i16) -> ::windows::runtime::Result<()>4005     pub unsafe fn SetHighlight(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4006         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4007     }
ShowToolbar(&self) -> ::windows::runtime::Result<i16>4008     pub unsafe fn ShowToolbar(&self) -> ::windows::runtime::Result<i16> {
4009         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4010         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4011     }
SetShowToolbar(&self, bstate: i16) -> ::windows::runtime::Result<()>4012     pub unsafe fn SetShowToolbar(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4013         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4014     }
Paste(&self) -> ::windows::runtime::Result<()>4015     pub unsafe fn Paste(&self) -> ::windows::runtime::Result<()> {
4016         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self)).ok()
4017     }
Copy(&self) -> ::windows::runtime::Result<()>4018     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<()> {
4019         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
4020     }
Reset(&self) -> ::windows::runtime::Result<()>4021     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
4022         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self)).ok()
4023     }
SetReadOnly(&self, bstate: i16) -> ::windows::runtime::Result<()>4024     pub unsafe fn SetReadOnly(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4025         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4026     }
ReadOnly(&self) -> ::windows::runtime::Result<i16>4027     pub unsafe fn ReadOnly(&self) -> ::windows::runtime::Result<i16> {
4028         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4029         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4030     }
SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::Result<()>4031     pub unsafe fn SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::Result<()> {
4032         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(ereportvaluetype)).ok()
4033     }
ReportValueType(&self) -> ::windows::runtime::Result<ReportValueTypeConstants>4034     pub unsafe fn ReportValueType(&self) -> ::windows::runtime::Result<ReportValueTypeConstants> {
4035         let mut result__: <ReportValueTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4036         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ReportValueTypeConstants>(result__)
4037     }
SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::runtime::Result<()>4038     pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4039         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4040     }
MonitorDuplicateInstances(&self) -> ::windows::runtime::Result<i16>4041     pub unsafe fn MonitorDuplicateInstances(&self) -> ::windows::runtime::Result<i16> {
4042         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4043         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4044     }
SetDisplayFilter(&self, ivalue: i32) -> ::windows::runtime::Result<()>4045     pub unsafe fn SetDisplayFilter(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
4046         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
4047     }
DisplayFilter(&self) -> ::windows::runtime::Result<i32>4048     pub unsafe fn DisplayFilter(&self) -> ::windows::runtime::Result<i32> {
4049         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4050         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4051     }
LogFiles(&self) -> ::windows::runtime::Result<ILogFiles>4052     pub unsafe fn LogFiles(&self) -> ::windows::runtime::Result<ILogFiles> {
4053         let mut result__: <ILogFiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4054         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ILogFiles>(result__)
4055     }
SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::Result<()>4056     pub unsafe fn SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::Result<()> {
4057         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(edatasourcetype)).ok()
4058     }
DataSourceType(&self) -> ::windows::runtime::Result<DataSourceTypeConstants>4059     pub unsafe fn DataSourceType(&self) -> ::windows::runtime::Result<DataSourceTypeConstants> {
4060         let mut result__: <DataSourceTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4061         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataSourceTypeConstants>(result__)
4062     }
4063     #[cfg(feature = "Win32_Foundation")]
SetSqlDsnName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqldsnname: Param0) -> ::windows::runtime::Result<()>4064     pub unsafe fn SetSqlDsnName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqldsnname: Param0) -> ::windows::runtime::Result<()> {
4065         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), bssqldsnname.into_param().abi()).ok()
4066     }
4067     #[cfg(feature = "Win32_Foundation")]
SqlDsnName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4068     pub unsafe fn SqlDsnName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4069         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4070         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4071     }
4072     #[cfg(feature = "Win32_Foundation")]
SetSqlLogSetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqllogsetname: Param0) -> ::windows::runtime::Result<()>4073     pub unsafe fn SetSqlLogSetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqllogsetname: Param0) -> ::windows::runtime::Result<()> {
4074         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), bssqllogsetname.into_param().abi()).ok()
4075     }
4076     #[cfg(feature = "Win32_Foundation")]
SqlLogSetName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4077     pub unsafe fn SqlLogSetName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4078         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4079         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4080     }
4081 }
4082 unsafe impl ::windows::runtime::Interface for ISystemMonitor {
4083     type Vtable = ISystemMonitor_abi;
4084     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(424587841, 49964, 4559, [147, 152, 0, 170, 0, 163, 221, 234]);
4085 }
4086 impl ::std::convert::From<ISystemMonitor> for ::windows::runtime::IUnknown {
from(value: ISystemMonitor) -> Self4087     fn from(value: ISystemMonitor) -> Self {
4088         unsafe { ::std::mem::transmute(value) }
4089     }
4090 }
4091 impl ::std::convert::From<&ISystemMonitor> for ::windows::runtime::IUnknown {
from(value: &ISystemMonitor) -> Self4092     fn from(value: &ISystemMonitor) -> Self {
4093         ::std::convert::From::from(::std::clone::Clone::clone(value))
4094     }
4095 }
4096 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISystemMonitor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4097     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4098         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4099     }
4100 }
4101 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISystemMonitor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4102     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4103         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4104     }
4105 }
4106 #[repr(C)]
4107 #[doc(hidden)]
4108 pub struct ISystemMonitor_abi(
4109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iappearance: *mut i32) -> ::windows::runtime::HRESULT,
4113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iappearance: i32) -> ::windows::runtime::HRESULT,
4114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4115     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4116     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iborderstyle: *mut i32) -> ::windows::runtime::HRESULT,
4117     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iborderstyle: i32) -> ::windows::runtime::HRESULT,
4118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4119     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4120     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4121     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4122     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4123     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppicounters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4125     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4126     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4133     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
4136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
4137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
4138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
4139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvalue: f32) -> ::windows::runtime::HRESULT,
4140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfvalue: *mut f32) -> ::windows::runtime::HRESULT,
4141     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::HRESULT,
4142     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pedisplaytype: *mut DisplayTypeConstants) -> ::windows::runtime::HRESULT,
4143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4145     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4146     #[cfg(not(feature = "Win32_Foundation"))] usize,
4147     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4148     #[cfg(not(feature = "Win32_Foundation"))] usize,
4149     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4150     #[cfg(not(feature = "Win32_Foundation"))] usize,
4151     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4152     #[cfg(not(feature = "Win32_Foundation"))] usize,
4153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4156     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4157     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, ppicounter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4158     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bspath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppicounter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4159     #[cfg(not(feature = "Win32_Foundation"))] usize,
4160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctr: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4163     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4164     #[cfg(not(feature = "Win32_Foundation"))] usize,
4165     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsfilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4166     #[cfg(not(feature = "Win32_Foundation"))] usize,
4167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: f64) -> ::windows::runtime::HRESULT,
4168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: *mut f64) -> ::windows::runtime::HRESULT,
4169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stoptime: f64) -> ::windows::runtime::HRESULT,
4170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stoptime: *mut f64) -> ::windows::runtime::HRESULT,
4171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4179     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::HRESULT,
4185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pereportvaluetype: *mut ReportValueTypeConstants) -> ::windows::runtime::HRESULT,
4186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
4189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
4190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppilogfiles: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::HRESULT,
4192     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pedatasourcetype: *mut DataSourceTypeConstants) -> ::windows::runtime::HRESULT,
4193     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqldsnname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4194     #[cfg(not(feature = "Win32_Foundation"))] usize,
4195     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqldsnname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4196     #[cfg(not(feature = "Win32_Foundation"))] usize,
4197     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqllogsetname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4198     #[cfg(not(feature = "Win32_Foundation"))] usize,
4199     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqllogsetname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4200     #[cfg(not(feature = "Win32_Foundation"))] usize,
4201 );
4202 #[repr(transparent)]
4203 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4204 pub struct ISystemMonitor2(::windows::runtime::IUnknown);
4205 impl ISystemMonitor2 {
Appearance(&self) -> ::windows::runtime::Result<i32>4206     pub unsafe fn Appearance(&self) -> ::windows::runtime::Result<i32> {
4207         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4208         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4209     }
SetAppearance(&self, iappearance: i32) -> ::windows::runtime::Result<()>4210     pub unsafe fn SetAppearance(&self, iappearance: i32) -> ::windows::runtime::Result<()> {
4211         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(iappearance)).ok()
4212     }
BackColor(&self) -> ::windows::runtime::Result<u32>4213     pub unsafe fn BackColor(&self) -> ::windows::runtime::Result<u32> {
4214         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4215         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4216     }
SetBackColor(&self, color: u32) -> ::windows::runtime::Result<()>4217     pub unsafe fn SetBackColor(&self, color: u32) -> ::windows::runtime::Result<()> {
4218         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
4219     }
BorderStyle(&self) -> ::windows::runtime::Result<i32>4220     pub unsafe fn BorderStyle(&self) -> ::windows::runtime::Result<i32> {
4221         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4222         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4223     }
SetBorderStyle(&self, iborderstyle: i32) -> ::windows::runtime::Result<()>4224     pub unsafe fn SetBorderStyle(&self, iborderstyle: i32) -> ::windows::runtime::Result<()> {
4225         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iborderstyle)).ok()
4226     }
ForeColor(&self) -> ::windows::runtime::Result<u32>4227     pub unsafe fn ForeColor(&self) -> ::windows::runtime::Result<u32> {
4228         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4229         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4230     }
SetForeColor(&self, color: u32) -> ::windows::runtime::Result<()>4231     pub unsafe fn SetForeColor(&self, color: u32) -> ::windows::runtime::Result<()> {
4232         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
4233     }
4234     #[cfg(feature = "Win32_System_Ole")]
Font(&self) -> ::windows::runtime::Result<super::Ole::IFontDisp>4235     pub unsafe fn Font(&self) -> ::windows::runtime::Result<super::Ole::IFontDisp> {
4236         let mut result__: <super::Ole::IFontDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4237         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::IFontDisp>(result__)
4238     }
4239     #[cfg(feature = "Win32_System_Ole")]
putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::IFontDisp>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>4240     pub unsafe fn putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::IFontDisp>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
4241         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
4242     }
Counters(&self) -> ::windows::runtime::Result<ICounters>4243     pub unsafe fn Counters(&self) -> ::windows::runtime::Result<ICounters> {
4244         let mut result__: <ICounters as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4245         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ICounters>(result__)
4246     }
SetShowVerticalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()>4247     pub unsafe fn SetShowVerticalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4248         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4249     }
ShowVerticalGrid(&self) -> ::windows::runtime::Result<i16>4250     pub unsafe fn ShowVerticalGrid(&self) -> ::windows::runtime::Result<i16> {
4251         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4252         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4253     }
SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()>4254     pub unsafe fn SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4255         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4256     }
ShowHorizontalGrid(&self) -> ::windows::runtime::Result<i16>4257     pub unsafe fn ShowHorizontalGrid(&self) -> ::windows::runtime::Result<i16> {
4258         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4259         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4260     }
SetShowLegend(&self, bstate: i16) -> ::windows::runtime::Result<()>4261     pub unsafe fn SetShowLegend(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4262         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4263     }
ShowLegend(&self) -> ::windows::runtime::Result<i16>4264     pub unsafe fn ShowLegend(&self) -> ::windows::runtime::Result<i16> {
4265         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4266         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4267     }
SetShowScaleLabels(&self, bstate: i16) -> ::windows::runtime::Result<()>4268     pub unsafe fn SetShowScaleLabels(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4269         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4270     }
ShowScaleLabels(&self) -> ::windows::runtime::Result<i16>4271     pub unsafe fn ShowScaleLabels(&self) -> ::windows::runtime::Result<i16> {
4272         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4273         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4274     }
SetShowValueBar(&self, bstate: i16) -> ::windows::runtime::Result<()>4275     pub unsafe fn SetShowValueBar(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4276         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4277     }
ShowValueBar(&self) -> ::windows::runtime::Result<i16>4278     pub unsafe fn ShowValueBar(&self) -> ::windows::runtime::Result<i16> {
4279         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4280         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4281     }
SetMaximumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()>4282     pub unsafe fn SetMaximumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
4283         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
4284     }
MaximumScale(&self) -> ::windows::runtime::Result<i32>4285     pub unsafe fn MaximumScale(&self) -> ::windows::runtime::Result<i32> {
4286         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4287         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4288     }
SetMinimumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()>4289     pub unsafe fn SetMinimumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
4290         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
4291     }
MinimumScale(&self) -> ::windows::runtime::Result<i32>4292     pub unsafe fn MinimumScale(&self) -> ::windows::runtime::Result<i32> {
4293         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4294         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4295     }
SetUpdateInterval(&self, fvalue: f32) -> ::windows::runtime::Result<()>4296     pub unsafe fn SetUpdateInterval(&self, fvalue: f32) -> ::windows::runtime::Result<()> {
4297         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvalue)).ok()
4298     }
UpdateInterval(&self) -> ::windows::runtime::Result<f32>4299     pub unsafe fn UpdateInterval(&self) -> ::windows::runtime::Result<f32> {
4300         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4301         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4302     }
SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::Result<()>4303     pub unsafe fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::Result<()> {
4304         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(edisplaytype)).ok()
4305     }
DisplayType(&self) -> ::windows::runtime::Result<DisplayTypeConstants>4306     pub unsafe fn DisplayType(&self) -> ::windows::runtime::Result<DisplayTypeConstants> {
4307         let mut result__: <DisplayTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4308         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DisplayTypeConstants>(result__)
4309     }
SetManualUpdate(&self, bstate: i16) -> ::windows::runtime::Result<()>4310     pub unsafe fn SetManualUpdate(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4311         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4312     }
ManualUpdate(&self) -> ::windows::runtime::Result<i16>4313     pub unsafe fn ManualUpdate(&self) -> ::windows::runtime::Result<i16> {
4314         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4315         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4316     }
4317     #[cfg(feature = "Win32_Foundation")]
SetGraphTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()>4318     pub unsafe fn SetGraphTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()> {
4319         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), bstitle.into_param().abi()).ok()
4320     }
4321     #[cfg(feature = "Win32_Foundation")]
GraphTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4322     pub unsafe fn GraphTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4323         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4324         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4325     }
4326     #[cfg(feature = "Win32_Foundation")]
SetYAxisLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()>4327     pub unsafe fn SetYAxisLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()> {
4328         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), bstitle.into_param().abi()).ok()
4329     }
4330     #[cfg(feature = "Win32_Foundation")]
YAxisLabel(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4331     pub unsafe fn YAxisLabel(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4332         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4333         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4334     }
CollectSample(&self) -> ::windows::runtime::Result<()>4335     pub unsafe fn CollectSample(&self) -> ::windows::runtime::Result<()> {
4336         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self)).ok()
4337     }
UpdateGraph(&self) -> ::windows::runtime::Result<()>4338     pub unsafe fn UpdateGraph(&self) -> ::windows::runtime::Result<()> {
4339         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self)).ok()
4340     }
BrowseCounters(&self) -> ::windows::runtime::Result<()>4341     pub unsafe fn BrowseCounters(&self) -> ::windows::runtime::Result<()> {
4342         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
4343     }
DisplayProperties(&self) -> ::windows::runtime::Result<()>4344     pub unsafe fn DisplayProperties(&self) -> ::windows::runtime::Result<()> {
4345         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self)).ok()
4346     }
Counter(&self, iindex: i32) -> ::windows::runtime::Result<ICounterItem>4347     pub unsafe fn Counter(&self, iindex: i32) -> ::windows::runtime::Result<ICounterItem> {
4348         let mut result__: <ICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4349         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), &mut result__).from_abi::<ICounterItem>(result__)
4350     }
4351     #[cfg(feature = "Win32_Foundation")]
AddCounter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bspath: Param0) -> ::windows::runtime::Result<ICounterItem>4352     pub unsafe fn AddCounter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bspath: Param0) -> ::windows::runtime::Result<ICounterItem> {
4353         let mut result__: <ICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4354         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), bspath.into_param().abi(), &mut result__).from_abi::<ICounterItem>(result__)
4355     }
DeleteCounter<'a, Param0: ::windows::runtime::IntoParam<'a, ICounterItem>>(&self, pctr: Param0) -> ::windows::runtime::Result<()>4356     pub unsafe fn DeleteCounter<'a, Param0: ::windows::runtime::IntoParam<'a, ICounterItem>>(&self, pctr: Param0) -> ::windows::runtime::Result<()> {
4357         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), pctr.into_param().abi()).ok()
4358     }
BackColorCtl(&self) -> ::windows::runtime::Result<u32>4359     pub unsafe fn BackColorCtl(&self) -> ::windows::runtime::Result<u32> {
4360         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4361         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4362     }
SetBackColorCtl(&self, color: u32) -> ::windows::runtime::Result<()>4363     pub unsafe fn SetBackColorCtl(&self, color: u32) -> ::windows::runtime::Result<()> {
4364         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
4365     }
4366     #[cfg(feature = "Win32_Foundation")]
SetLogFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bsfilename: Param0) -> ::windows::runtime::Result<()>4367     pub unsafe fn SetLogFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bsfilename: Param0) -> ::windows::runtime::Result<()> {
4368         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), bsfilename.into_param().abi()).ok()
4369     }
4370     #[cfg(feature = "Win32_Foundation")]
LogFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4371     pub unsafe fn LogFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4372         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4373         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4374     }
SetLogViewStart(&self, starttime: f64) -> ::windows::runtime::Result<()>4375     pub unsafe fn SetLogViewStart(&self, starttime: f64) -> ::windows::runtime::Result<()> {
4376         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime)).ok()
4377     }
LogViewStart(&self) -> ::windows::runtime::Result<f64>4378     pub unsafe fn LogViewStart(&self) -> ::windows::runtime::Result<f64> {
4379         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4380         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
4381     }
SetLogViewStop(&self, stoptime: f64) -> ::windows::runtime::Result<()>4382     pub unsafe fn SetLogViewStop(&self, stoptime: f64) -> ::windows::runtime::Result<()> {
4383         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(stoptime)).ok()
4384     }
LogViewStop(&self) -> ::windows::runtime::Result<f64>4385     pub unsafe fn LogViewStop(&self) -> ::windows::runtime::Result<f64> {
4386         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4387         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
4388     }
GridColor(&self) -> ::windows::runtime::Result<u32>4389     pub unsafe fn GridColor(&self) -> ::windows::runtime::Result<u32> {
4390         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4391         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4392     }
SetGridColor(&self, color: u32) -> ::windows::runtime::Result<()>4393     pub unsafe fn SetGridColor(&self, color: u32) -> ::windows::runtime::Result<()> {
4394         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
4395     }
TimeBarColor(&self) -> ::windows::runtime::Result<u32>4396     pub unsafe fn TimeBarColor(&self) -> ::windows::runtime::Result<u32> {
4397         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4398         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4399     }
SetTimeBarColor(&self, color: u32) -> ::windows::runtime::Result<()>4400     pub unsafe fn SetTimeBarColor(&self, color: u32) -> ::windows::runtime::Result<()> {
4401         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
4402     }
Highlight(&self) -> ::windows::runtime::Result<i16>4403     pub unsafe fn Highlight(&self) -> ::windows::runtime::Result<i16> {
4404         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4405         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4406     }
SetHighlight(&self, bstate: i16) -> ::windows::runtime::Result<()>4407     pub unsafe fn SetHighlight(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4408         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4409     }
ShowToolbar(&self) -> ::windows::runtime::Result<i16>4410     pub unsafe fn ShowToolbar(&self) -> ::windows::runtime::Result<i16> {
4411         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4412         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4413     }
SetShowToolbar(&self, bstate: i16) -> ::windows::runtime::Result<()>4414     pub unsafe fn SetShowToolbar(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4415         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4416     }
Paste(&self) -> ::windows::runtime::Result<()>4417     pub unsafe fn Paste(&self) -> ::windows::runtime::Result<()> {
4418         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self)).ok()
4419     }
Copy(&self) -> ::windows::runtime::Result<()>4420     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<()> {
4421         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
4422     }
Reset(&self) -> ::windows::runtime::Result<()>4423     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
4424         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self)).ok()
4425     }
SetReadOnly(&self, bstate: i16) -> ::windows::runtime::Result<()>4426     pub unsafe fn SetReadOnly(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4427         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4428     }
ReadOnly(&self) -> ::windows::runtime::Result<i16>4429     pub unsafe fn ReadOnly(&self) -> ::windows::runtime::Result<i16> {
4430         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4431         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4432     }
SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::Result<()>4433     pub unsafe fn SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::Result<()> {
4434         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(ereportvaluetype)).ok()
4435     }
ReportValueType(&self) -> ::windows::runtime::Result<ReportValueTypeConstants>4436     pub unsafe fn ReportValueType(&self) -> ::windows::runtime::Result<ReportValueTypeConstants> {
4437         let mut result__: <ReportValueTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4438         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ReportValueTypeConstants>(result__)
4439     }
SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::runtime::Result<()>4440     pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4441         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4442     }
MonitorDuplicateInstances(&self) -> ::windows::runtime::Result<i16>4443     pub unsafe fn MonitorDuplicateInstances(&self) -> ::windows::runtime::Result<i16> {
4444         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4445         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4446     }
SetDisplayFilter(&self, ivalue: i32) -> ::windows::runtime::Result<()>4447     pub unsafe fn SetDisplayFilter(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
4448         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
4449     }
DisplayFilter(&self) -> ::windows::runtime::Result<i32>4450     pub unsafe fn DisplayFilter(&self) -> ::windows::runtime::Result<i32> {
4451         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4452         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4453     }
LogFiles(&self) -> ::windows::runtime::Result<ILogFiles>4454     pub unsafe fn LogFiles(&self) -> ::windows::runtime::Result<ILogFiles> {
4455         let mut result__: <ILogFiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4456         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ILogFiles>(result__)
4457     }
SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::Result<()>4458     pub unsafe fn SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::Result<()> {
4459         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(edatasourcetype)).ok()
4460     }
DataSourceType(&self) -> ::windows::runtime::Result<DataSourceTypeConstants>4461     pub unsafe fn DataSourceType(&self) -> ::windows::runtime::Result<DataSourceTypeConstants> {
4462         let mut result__: <DataSourceTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4463         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataSourceTypeConstants>(result__)
4464     }
4465     #[cfg(feature = "Win32_Foundation")]
SetSqlDsnName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqldsnname: Param0) -> ::windows::runtime::Result<()>4466     pub unsafe fn SetSqlDsnName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqldsnname: Param0) -> ::windows::runtime::Result<()> {
4467         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), bssqldsnname.into_param().abi()).ok()
4468     }
4469     #[cfg(feature = "Win32_Foundation")]
SqlDsnName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4470     pub unsafe fn SqlDsnName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4471         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4472         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4473     }
4474     #[cfg(feature = "Win32_Foundation")]
SetSqlLogSetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqllogsetname: Param0) -> ::windows::runtime::Result<()>4475     pub unsafe fn SetSqlLogSetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqllogsetname: Param0) -> ::windows::runtime::Result<()> {
4476         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), bssqllogsetname.into_param().abi()).ok()
4477     }
4478     #[cfg(feature = "Win32_Foundation")]
SqlLogSetName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4479     pub unsafe fn SqlLogSetName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4480         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4481         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4482     }
SetEnableDigitGrouping(&self, bstate: i16) -> ::windows::runtime::Result<()>4483     pub unsafe fn SetEnableDigitGrouping(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4484         (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4485     }
EnableDigitGrouping(&self) -> ::windows::runtime::Result<i16>4486     pub unsafe fn EnableDigitGrouping(&self) -> ::windows::runtime::Result<i16> {
4487         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4488         (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4489     }
SetEnableToolTips(&self, bstate: i16) -> ::windows::runtime::Result<()>4490     pub unsafe fn SetEnableToolTips(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4491         (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4492     }
EnableToolTips(&self) -> ::windows::runtime::Result<i16>4493     pub unsafe fn EnableToolTips(&self) -> ::windows::runtime::Result<i16> {
4494         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4495         (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4496     }
SetShowTimeAxisLabels(&self, bstate: i16) -> ::windows::runtime::Result<()>4497     pub unsafe fn SetShowTimeAxisLabels(&self, bstate: i16) -> ::windows::runtime::Result<()> {
4498         (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
4499     }
ShowTimeAxisLabels(&self) -> ::windows::runtime::Result<i16>4500     pub unsafe fn ShowTimeAxisLabels(&self) -> ::windows::runtime::Result<i16> {
4501         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4502         (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4503     }
SetChartScroll(&self, bscroll: i16) -> ::windows::runtime::Result<()>4504     pub unsafe fn SetChartScroll(&self, bscroll: i16) -> ::windows::runtime::Result<()> {
4505         (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), ::std::mem::transmute(bscroll)).ok()
4506     }
ChartScroll(&self) -> ::windows::runtime::Result<i16>4507     pub unsafe fn ChartScroll(&self) -> ::windows::runtime::Result<i16> {
4508         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4509         (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4510     }
SetDataPointCount(&self, inewcount: i32) -> ::windows::runtime::Result<()>4511     pub unsafe fn SetDataPointCount(&self, inewcount: i32) -> ::windows::runtime::Result<()> {
4512         (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), ::std::mem::transmute(inewcount)).ok()
4513     }
DataPointCount(&self) -> ::windows::runtime::Result<i32>4514     pub unsafe fn DataPointCount(&self) -> ::windows::runtime::Result<i32> {
4515         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4516         (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4517     }
ScaleToFit(&self, bselectedcountersonly: i16) -> ::windows::runtime::Result<()>4518     pub unsafe fn ScaleToFit(&self, bselectedcountersonly: i16) -> ::windows::runtime::Result<()> {
4519         (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), ::std::mem::transmute(bselectedcountersonly)).ok()
4520     }
4521     #[cfg(feature = "Win32_Foundation")]
SaveAs<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType) -> ::windows::runtime::Result<()>4522     pub unsafe fn SaveAs<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType) -> ::windows::runtime::Result<()> {
4523         (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), bstrfilename.into_param().abi(), ::std::mem::transmute(esysmonfiletype)).ok()
4524     }
4525     #[cfg(feature = "Win32_Foundation")]
Relog<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType, ifilter: i32) -> ::windows::runtime::Result<()>4526     pub unsafe fn Relog<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType, ifilter: i32) -> ::windows::runtime::Result<()> {
4527         (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), bstrfilename.into_param().abi(), ::std::mem::transmute(esysmonfiletype), ::std::mem::transmute(ifilter)).ok()
4528     }
ClearData(&self) -> ::windows::runtime::Result<()>4529     pub unsafe fn ClearData(&self) -> ::windows::runtime::Result<()> {
4530         (::windows::runtime::Interface::vtable(self).92)(::std::mem::transmute_copy(self)).ok()
4531     }
LogSourceStartTime(&self) -> ::windows::runtime::Result<f64>4532     pub unsafe fn LogSourceStartTime(&self) -> ::windows::runtime::Result<f64> {
4533         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4534         (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
4535     }
LogSourceStopTime(&self) -> ::windows::runtime::Result<f64>4536     pub unsafe fn LogSourceStopTime(&self) -> ::windows::runtime::Result<f64> {
4537         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4538         (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
4539     }
SetLogViewRange(&self, starttime: f64, stoptime: f64) -> ::windows::runtime::Result<()>4540     pub unsafe fn SetLogViewRange(&self, starttime: f64, stoptime: f64) -> ::windows::runtime::Result<()> {
4541         (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime), ::std::mem::transmute(stoptime)).ok()
4542     }
GetLogViewRange(&self, starttime: *mut f64, stoptime: *mut f64) -> ::windows::runtime::Result<()>4543     pub unsafe fn GetLogViewRange(&self, starttime: *mut f64, stoptime: *mut f64) -> ::windows::runtime::Result<()> {
4544         (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime), ::std::mem::transmute(stoptime)).ok()
4545     }
BatchingLock(&self, flock: i16, ebatchreason: SysmonBatchReason) -> ::windows::runtime::Result<()>4546     pub unsafe fn BatchingLock(&self, flock: i16, ebatchreason: SysmonBatchReason) -> ::windows::runtime::Result<()> {
4547         (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self), ::std::mem::transmute(flock), ::std::mem::transmute(ebatchreason)).ok()
4548     }
4549     #[cfg(feature = "Win32_Foundation")]
LoadSettings<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsettingfilename: Param0) -> ::windows::runtime::Result<()>4550     pub unsafe fn LoadSettings<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsettingfilename: Param0) -> ::windows::runtime::Result<()> {
4551         (::windows::runtime::Interface::vtable(self).98)(::std::mem::transmute_copy(self), bstrsettingfilename.into_param().abi()).ok()
4552     }
4553 }
4554 unsafe impl ::windows::runtime::Interface for ISystemMonitor2 {
4555     type Vtable = ISystemMonitor2_abi;
4556     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(149102698, 24530, 20446, [168, 165, 140, 179, 182, 61, 38, 119]);
4557 }
4558 impl ::std::convert::From<ISystemMonitor2> for ::windows::runtime::IUnknown {
from(value: ISystemMonitor2) -> Self4559     fn from(value: ISystemMonitor2) -> Self {
4560         unsafe { ::std::mem::transmute(value) }
4561     }
4562 }
4563 impl ::std::convert::From<&ISystemMonitor2> for ::windows::runtime::IUnknown {
from(value: &ISystemMonitor2) -> Self4564     fn from(value: &ISystemMonitor2) -> Self {
4565         ::std::convert::From::from(::std::clone::Clone::clone(value))
4566     }
4567 }
4568 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISystemMonitor2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4569     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4570         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4571     }
4572 }
4573 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISystemMonitor2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4574     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4575         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4576     }
4577 }
4578 impl ::std::convert::From<ISystemMonitor2> for ISystemMonitor {
from(value: ISystemMonitor2) -> Self4579     fn from(value: ISystemMonitor2) -> Self {
4580         unsafe { ::std::mem::transmute(value) }
4581     }
4582 }
4583 impl ::std::convert::From<&ISystemMonitor2> for ISystemMonitor {
from(value: &ISystemMonitor2) -> Self4584     fn from(value: &ISystemMonitor2) -> Self {
4585         ::std::convert::From::from(::std::clone::Clone::clone(value))
4586     }
4587 }
4588 impl<'a> ::windows::runtime::IntoParam<'a, ISystemMonitor> for ISystemMonitor2 {
into_param(self) -> ::windows::runtime::Param<'a, ISystemMonitor>4589     fn into_param(self) -> ::windows::runtime::Param<'a, ISystemMonitor> {
4590         ::windows::runtime::Param::Owned(::std::convert::Into::<ISystemMonitor>::into(self))
4591     }
4592 }
4593 impl<'a> ::windows::runtime::IntoParam<'a, ISystemMonitor> for &ISystemMonitor2 {
into_param(self) -> ::windows::runtime::Param<'a, ISystemMonitor>4594     fn into_param(self) -> ::windows::runtime::Param<'a, ISystemMonitor> {
4595         ::windows::runtime::Param::Owned(::std::convert::Into::<ISystemMonitor>::into(::std::clone::Clone::clone(self)))
4596     }
4597 }
4598 #[repr(C)]
4599 #[doc(hidden)]
4600 pub struct ISystemMonitor2_abi(
4601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iappearance: *mut i32) -> ::windows::runtime::HRESULT,
4605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iappearance: i32) -> ::windows::runtime::HRESULT,
4606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iborderstyle: *mut i32) -> ::windows::runtime::HRESULT,
4609     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iborderstyle: i32) -> ::windows::runtime::HRESULT,
4610     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4612     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4613     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4614     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4615     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4616     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppicounters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4617     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4618     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4620     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4621     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4622     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4624     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4625     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4626     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4627     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
4628     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
4629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
4630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
4631     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvalue: f32) -> ::windows::runtime::HRESULT,
4632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfvalue: *mut f32) -> ::windows::runtime::HRESULT,
4633     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::HRESULT,
4634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pedisplaytype: *mut DisplayTypeConstants) -> ::windows::runtime::HRESULT,
4635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4637     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4638     #[cfg(not(feature = "Win32_Foundation"))] usize,
4639     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4640     #[cfg(not(feature = "Win32_Foundation"))] usize,
4641     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4642     #[cfg(not(feature = "Win32_Foundation"))] usize,
4643     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4644     #[cfg(not(feature = "Win32_Foundation"))] usize,
4645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4649     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, ppicounter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4650     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bspath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppicounter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4651     #[cfg(not(feature = "Win32_Foundation"))] usize,
4652     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctr: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4653     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4654     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4655     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4656     #[cfg(not(feature = "Win32_Foundation"))] usize,
4657     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsfilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4658     #[cfg(not(feature = "Win32_Foundation"))] usize,
4659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: f64) -> ::windows::runtime::HRESULT,
4660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: *mut f64) -> ::windows::runtime::HRESULT,
4661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stoptime: f64) -> ::windows::runtime::HRESULT,
4662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stoptime: *mut f64) -> ::windows::runtime::HRESULT,
4663     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4664     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4665     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
4666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
4667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4670     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4671     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4672     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4673     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4674     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4675     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4676     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::HRESULT,
4677     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pereportvaluetype: *mut ReportValueTypeConstants) -> ::windows::runtime::HRESULT,
4678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
4681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
4682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppilogfiles: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4683     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::HRESULT,
4684     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pedatasourcetype: *mut DataSourceTypeConstants) -> ::windows::runtime::HRESULT,
4685     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqldsnname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4686     #[cfg(not(feature = "Win32_Foundation"))] usize,
4687     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqldsnname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4688     #[cfg(not(feature = "Win32_Foundation"))] usize,
4689     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqllogsetname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4690     #[cfg(not(feature = "Win32_Foundation"))] usize,
4691     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqllogsetname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4692     #[cfg(not(feature = "Win32_Foundation"))] usize,
4693     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4694     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4695     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
4698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
4699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bscroll: i16) -> ::windows::runtime::HRESULT,
4700     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbscroll: *mut i16) -> ::windows::runtime::HRESULT,
4701     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inewcount: i32) -> ::windows::runtime::HRESULT,
4702     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pidatapointcount: *mut i32) -> ::windows::runtime::HRESULT,
4703     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bselectedcountersonly: i16) -> ::windows::runtime::HRESULT,
4704     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, esysmonfiletype: SysmonFileType) -> ::windows::runtime::HRESULT,
4705     #[cfg(not(feature = "Win32_Foundation"))] usize,
4706     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, esysmonfiletype: SysmonFileType, ifilter: i32) -> ::windows::runtime::HRESULT,
4707     #[cfg(not(feature = "Win32_Foundation"))] usize,
4708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdate: *mut f64) -> ::windows::runtime::HRESULT,
4710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdate: *mut f64) -> ::windows::runtime::HRESULT,
4711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: f64, stoptime: f64) -> ::windows::runtime::HRESULT,
4712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: *mut f64, stoptime: *mut f64) -> ::windows::runtime::HRESULT,
4713     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: i16, ebatchreason: SysmonBatchReason) -> ::windows::runtime::HRESULT,
4714     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsettingfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4715     #[cfg(not(feature = "Win32_Foundation"))] usize,
4716 );
4717 #[repr(transparent)]
4718 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4719 pub struct ISystemMonitorEvents(::windows::runtime::IUnknown);
4720 impl ISystemMonitorEvents {
OnCounterSelected(&self, index: i32)4721     pub unsafe fn OnCounterSelected(&self, index: i32) {
4722         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)))
4723     }
OnCounterAdded(&self, index: i32)4724     pub unsafe fn OnCounterAdded(&self, index: i32) {
4725         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)))
4726     }
OnCounterDeleted(&self, index: i32)4727     pub unsafe fn OnCounterDeleted(&self, index: i32) {
4728         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)))
4729     }
OnSampleCollected(&self)4730     pub unsafe fn OnSampleCollected(&self) {
4731         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)))
4732     }
OnDblClick(&self, index: i32)4733     pub unsafe fn OnDblClick(&self, index: i32) {
4734         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)))
4735     }
4736 }
4737 unsafe impl ::windows::runtime::Interface for ISystemMonitorEvents {
4738     type Vtable = ISystemMonitorEvents_abi;
4739     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3999665824, 19133, 4559, [148, 58, 0, 128, 41, 0, 67, 71]);
4740 }
4741 impl ::std::convert::From<ISystemMonitorEvents> for ::windows::runtime::IUnknown {
from(value: ISystemMonitorEvents) -> Self4742     fn from(value: ISystemMonitorEvents) -> Self {
4743         unsafe { ::std::mem::transmute(value) }
4744     }
4745 }
4746 impl ::std::convert::From<&ISystemMonitorEvents> for ::windows::runtime::IUnknown {
from(value: &ISystemMonitorEvents) -> Self4747     fn from(value: &ISystemMonitorEvents) -> Self {
4748         ::std::convert::From::from(::std::clone::Clone::clone(value))
4749     }
4750 }
4751 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISystemMonitorEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4752     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4753         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4754     }
4755 }
4756 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISystemMonitorEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4757     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4758         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4759     }
4760 }
4761 #[repr(C)]
4762 #[doc(hidden)]
4763 pub struct ISystemMonitorEvents_abi(
4764     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4766     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4767     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32),
4768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32),
4769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32),
4770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
4771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32),
4772 );
4773 #[repr(transparent)]
4774 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4775 pub struct ITraceDataCollector(::windows::runtime::IUnknown);
4776 impl ITraceDataCollector {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4777     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
4778         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4779         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4780     }
4781     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>4782     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
4783         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4784         (::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__)
4785     }
4786     #[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<()>4787     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<()> {
4788         (::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()
4789     }
4790     #[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<()>4791     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<()> {
4792         (::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()
4793     }
DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet>4794     pub unsafe fn DataCollectorSet(&self) -> ::windows::runtime::Result<IDataCollectorSet> {
4795         let mut result__: <IDataCollectorSet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4796         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDataCollectorSet>(result__)
4797     }
SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()>4798     pub unsafe fn SetDataCollectorSet<'a, Param0: ::windows::runtime::IntoParam<'a, IDataCollectorSet>>(&self, group: Param0) -> ::windows::runtime::Result<()> {
4799         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), group.into_param().abi()).ok()
4800     }
DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType>4801     pub unsafe fn DataCollectorType(&self) -> ::windows::runtime::Result<DataCollectorType> {
4802         let mut result__: <DataCollectorType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4803         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataCollectorType>(result__)
4804     }
4805     #[cfg(feature = "Win32_Foundation")]
FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4806     pub unsafe fn FileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4807         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4808         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4809     }
4810     #[cfg(feature = "Win32_Foundation")]
SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>4811     pub unsafe fn SetFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
4812         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
4813     }
FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat>4814     pub unsafe fn FileNameFormat(&self) -> ::windows::runtime::Result<AutoPathFormat> {
4815         let mut result__: <AutoPathFormat as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4816         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AutoPathFormat>(result__)
4817     }
SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()>4818     pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> ::windows::runtime::Result<()> {
4819         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(format)).ok()
4820     }
4821     #[cfg(feature = "Win32_Foundation")]
FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4822     pub unsafe fn FileNameFormatPattern(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4823         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4824         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4825     }
4826     #[cfg(feature = "Win32_Foundation")]
SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()>4827     pub unsafe fn SetFileNameFormatPattern<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pattern: Param0) -> ::windows::runtime::Result<()> {
4828         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pattern.into_param().abi()).ok()
4829     }
4830     #[cfg(feature = "Win32_Foundation")]
LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4831     pub unsafe fn LatestOutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4832         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4833         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4834     }
4835     #[cfg(feature = "Win32_Foundation")]
SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>4836     pub unsafe fn SetLatestOutputLocation<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> {
4837         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok()
4838     }
LogAppend(&self) -> ::windows::runtime::Result<i16>4839     pub unsafe fn LogAppend(&self) -> ::windows::runtime::Result<i16> {
4840         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4841         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4842     }
SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()>4843     pub unsafe fn SetLogAppend(&self, append: i16) -> ::windows::runtime::Result<()> {
4844         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(append)).ok()
4845     }
LogCircular(&self) -> ::windows::runtime::Result<i16>4846     pub unsafe fn LogCircular(&self) -> ::windows::runtime::Result<i16> {
4847         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4848         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4849     }
SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()>4850     pub unsafe fn SetLogCircular(&self, circular: i16) -> ::windows::runtime::Result<()> {
4851         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(circular)).ok()
4852     }
LogOverwrite(&self) -> ::windows::runtime::Result<i16>4853     pub unsafe fn LogOverwrite(&self) -> ::windows::runtime::Result<i16> {
4854         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4855         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4856     }
SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()>4857     pub unsafe fn SetLogOverwrite(&self, overwrite: i16) -> ::windows::runtime::Result<()> {
4858         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(overwrite)).ok()
4859     }
4860     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4861     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4862         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4863         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4864     }
4865     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>4866     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
4867         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
4868     }
4869     #[cfg(feature = "Win32_Foundation")]
OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4870     pub unsafe fn OutputLocation(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4871         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4872         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4873     }
Index(&self) -> ::windows::runtime::Result<i32>4874     pub unsafe fn Index(&self) -> ::windows::runtime::Result<i32> {
4875         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4876         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4877     }
SetIndex(&self, index: i32) -> ::windows::runtime::Result<()>4878     pub unsafe fn SetIndex(&self, index: i32) -> ::windows::runtime::Result<()> {
4879         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index)).ok()
4880     }
4881     #[cfg(feature = "Win32_Foundation")]
Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4882     pub unsafe fn Xml(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4883         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4884         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4885     }
4886     #[cfg(feature = "Win32_Foundation")]
SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap>4887     pub unsafe fn SetXml<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, xml: Param0) -> ::windows::runtime::Result<IValueMap> {
4888         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4889         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), xml.into_param().abi(), &mut result__).from_abi::<IValueMap>(result__)
4890     }
4891     #[cfg(feature = "Win32_Foundation")]
CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4892     pub unsafe fn CreateOutputLocation(&self, latest: i16) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4893         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4894         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(latest), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4895     }
BufferSize(&self) -> ::windows::runtime::Result<u32>4896     pub unsafe fn BufferSize(&self) -> ::windows::runtime::Result<u32> {
4897         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4898         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4899     }
SetBufferSize(&self, size: u32) -> ::windows::runtime::Result<()>4900     pub unsafe fn SetBufferSize(&self, size: u32) -> ::windows::runtime::Result<()> {
4901         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(size)).ok()
4902     }
BuffersLost(&self) -> ::windows::runtime::Result<u32>4903     pub unsafe fn BuffersLost(&self) -> ::windows::runtime::Result<u32> {
4904         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4905         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4906     }
SetBuffersLost(&self, buffers: u32) -> ::windows::runtime::Result<()>4907     pub unsafe fn SetBuffersLost(&self, buffers: u32) -> ::windows::runtime::Result<()> {
4908         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
4909     }
BuffersWritten(&self) -> ::windows::runtime::Result<u32>4910     pub unsafe fn BuffersWritten(&self) -> ::windows::runtime::Result<u32> {
4911         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4912         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4913     }
SetBuffersWritten(&self, buffers: u32) -> ::windows::runtime::Result<()>4914     pub unsafe fn SetBuffersWritten(&self, buffers: u32) -> ::windows::runtime::Result<()> {
4915         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
4916     }
ClockType(&self) -> ::windows::runtime::Result<ClockType>4917     pub unsafe fn ClockType(&self) -> ::windows::runtime::Result<ClockType> {
4918         let mut result__: <ClockType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4919         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ClockType>(result__)
4920     }
SetClockType(&self, clock: ClockType) -> ::windows::runtime::Result<()>4921     pub unsafe fn SetClockType(&self, clock: ClockType) -> ::windows::runtime::Result<()> {
4922         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(clock)).ok()
4923     }
EventsLost(&self) -> ::windows::runtime::Result<u32>4924     pub unsafe fn EventsLost(&self) -> ::windows::runtime::Result<u32> {
4925         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4926         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4927     }
SetEventsLost(&self, events: u32) -> ::windows::runtime::Result<()>4928     pub unsafe fn SetEventsLost(&self, events: u32) -> ::windows::runtime::Result<()> {
4929         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(events)).ok()
4930     }
ExtendedModes(&self) -> ::windows::runtime::Result<u32>4931     pub unsafe fn ExtendedModes(&self) -> ::windows::runtime::Result<u32> {
4932         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4933         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4934     }
SetExtendedModes(&self, mode: u32) -> ::windows::runtime::Result<()>4935     pub unsafe fn SetExtendedModes(&self, mode: u32) -> ::windows::runtime::Result<()> {
4936         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
4937     }
FlushTimer(&self) -> ::windows::runtime::Result<u32>4938     pub unsafe fn FlushTimer(&self) -> ::windows::runtime::Result<u32> {
4939         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4940         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4941     }
SetFlushTimer(&self, seconds: u32) -> ::windows::runtime::Result<()>4942     pub unsafe fn SetFlushTimer(&self, seconds: u32) -> ::windows::runtime::Result<()> {
4943         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(seconds)).ok()
4944     }
FreeBuffers(&self) -> ::windows::runtime::Result<u32>4945     pub unsafe fn FreeBuffers(&self) -> ::windows::runtime::Result<u32> {
4946         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4947         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4948     }
SetFreeBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()>4949     pub unsafe fn SetFreeBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()> {
4950         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
4951     }
Guid(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>4952     pub unsafe fn Guid(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
4953         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4954         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
4955     }
SetGuid<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(&self, guid: Param0) -> ::windows::runtime::Result<()>4956     pub unsafe fn SetGuid<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(&self, guid: Param0) -> ::windows::runtime::Result<()> {
4957         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), guid.into_param().abi()).ok()
4958     }
IsKernelTrace(&self) -> ::windows::runtime::Result<i16>4959     pub unsafe fn IsKernelTrace(&self) -> ::windows::runtime::Result<i16> {
4960         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4961         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4962     }
MaximumBuffers(&self) -> ::windows::runtime::Result<u32>4963     pub unsafe fn MaximumBuffers(&self) -> ::windows::runtime::Result<u32> {
4964         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4965         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4966     }
SetMaximumBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()>4967     pub unsafe fn SetMaximumBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()> {
4968         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
4969     }
MinimumBuffers(&self) -> ::windows::runtime::Result<u32>4970     pub unsafe fn MinimumBuffers(&self) -> ::windows::runtime::Result<u32> {
4971         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4972         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4973     }
SetMinimumBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()>4974     pub unsafe fn SetMinimumBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()> {
4975         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
4976     }
NumberOfBuffers(&self) -> ::windows::runtime::Result<u32>4977     pub unsafe fn NumberOfBuffers(&self) -> ::windows::runtime::Result<u32> {
4978         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4979         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4980     }
SetNumberOfBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()>4981     pub unsafe fn SetNumberOfBuffers(&self, buffers: u32) -> ::windows::runtime::Result<()> {
4982         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
4983     }
PreallocateFile(&self) -> ::windows::runtime::Result<i16>4984     pub unsafe fn PreallocateFile(&self) -> ::windows::runtime::Result<i16> {
4985         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4986         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4987     }
SetPreallocateFile(&self, allocate: i16) -> ::windows::runtime::Result<()>4988     pub unsafe fn SetPreallocateFile(&self, allocate: i16) -> ::windows::runtime::Result<()> {
4989         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(allocate)).ok()
4990     }
ProcessMode(&self) -> ::windows::runtime::Result<i16>4991     pub unsafe fn ProcessMode(&self) -> ::windows::runtime::Result<i16> {
4992         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4993         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4994     }
SetProcessMode(&self, process: i16) -> ::windows::runtime::Result<()>4995     pub unsafe fn SetProcessMode(&self, process: i16) -> ::windows::runtime::Result<()> {
4996         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(process)).ok()
4997     }
RealTimeBuffersLost(&self) -> ::windows::runtime::Result<u32>4998     pub unsafe fn RealTimeBuffersLost(&self) -> ::windows::runtime::Result<u32> {
4999         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5000         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5001     }
SetRealTimeBuffersLost(&self, buffers: u32) -> ::windows::runtime::Result<()>5002     pub unsafe fn SetRealTimeBuffersLost(&self, buffers: u32) -> ::windows::runtime::Result<()> {
5003         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), ::std::mem::transmute(buffers)).ok()
5004     }
SessionId(&self) -> ::windows::runtime::Result<u64>5005     pub unsafe fn SessionId(&self) -> ::windows::runtime::Result<u64> {
5006         let mut result__: <u64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5007         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u64>(result__)
5008     }
SetSessionId(&self, id: u64) -> ::windows::runtime::Result<()>5009     pub unsafe fn SetSessionId(&self, id: u64) -> ::windows::runtime::Result<()> {
5010         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(id)).ok()
5011     }
5012     #[cfg(feature = "Win32_Foundation")]
SessionName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5013     pub unsafe fn SessionName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5014         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5015         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5016     }
5017     #[cfg(feature = "Win32_Foundation")]
SetSessionName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>5018     pub unsafe fn SetSessionName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
5019         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
5020     }
SessionThreadId(&self) -> ::windows::runtime::Result<u32>5021     pub unsafe fn SessionThreadId(&self) -> ::windows::runtime::Result<u32> {
5022         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5023         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5024     }
SetSessionThreadId(&self, tid: u32) -> ::windows::runtime::Result<()>5025     pub unsafe fn SetSessionThreadId(&self, tid: u32) -> ::windows::runtime::Result<()> {
5026         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid)).ok()
5027     }
StreamMode(&self) -> ::windows::runtime::Result<StreamMode>5028     pub unsafe fn StreamMode(&self) -> ::windows::runtime::Result<StreamMode> {
5029         let mut result__: <StreamMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5030         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<StreamMode>(result__)
5031     }
SetStreamMode(&self, mode: StreamMode) -> ::windows::runtime::Result<()>5032     pub unsafe fn SetStreamMode(&self, mode: StreamMode) -> ::windows::runtime::Result<()> {
5033         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
5034     }
TraceDataProviders(&self) -> ::windows::runtime::Result<ITraceDataProviderCollection>5035     pub unsafe fn TraceDataProviders(&self) -> ::windows::runtime::Result<ITraceDataProviderCollection> {
5036         let mut result__: <ITraceDataProviderCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5037         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITraceDataProviderCollection>(result__)
5038     }
5039 }
5040 unsafe impl ::windows::runtime::Interface for ITraceDataCollector {
5041     type Vtable = ITraceDataCollector_abi;
5042     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946827, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5043 }
5044 impl ::std::convert::From<ITraceDataCollector> for ::windows::runtime::IUnknown {
from(value: ITraceDataCollector) -> Self5045     fn from(value: ITraceDataCollector) -> Self {
5046         unsafe { ::std::mem::transmute(value) }
5047     }
5048 }
5049 impl ::std::convert::From<&ITraceDataCollector> for ::windows::runtime::IUnknown {
from(value: &ITraceDataCollector) -> Self5050     fn from(value: &ITraceDataCollector) -> Self {
5051         ::std::convert::From::from(::std::clone::Clone::clone(value))
5052     }
5053 }
5054 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITraceDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5055     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5056         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5057     }
5058 }
5059 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITraceDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5060     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5061         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5062     }
5063 }
5064 impl ::std::convert::From<ITraceDataCollector> for IDataCollector {
from(value: ITraceDataCollector) -> Self5065     fn from(value: ITraceDataCollector) -> Self {
5066         unsafe { ::std::mem::transmute(value) }
5067     }
5068 }
5069 impl ::std::convert::From<&ITraceDataCollector> for IDataCollector {
from(value: &ITraceDataCollector) -> Self5070     fn from(value: &ITraceDataCollector) -> Self {
5071         ::std::convert::From::from(::std::clone::Clone::clone(value))
5072     }
5073 }
5074 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for ITraceDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>5075     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
5076         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(self))
5077     }
5078 }
5079 impl<'a> ::windows::runtime::IntoParam<'a, IDataCollector> for &ITraceDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, IDataCollector>5080     fn into_param(self) -> ::windows::runtime::Param<'a, IDataCollector> {
5081         ::windows::runtime::Param::Owned(::std::convert::Into::<IDataCollector>::into(::std::clone::Clone::clone(self)))
5082     }
5083 }
5084 #[cfg(feature = "Win32_System_Ole_Automation")]
5085 impl ::std::convert::From<ITraceDataCollector> for super::Ole::Automation::IDispatch {
from(value: ITraceDataCollector) -> Self5086     fn from(value: ITraceDataCollector) -> Self {
5087         unsafe { ::std::mem::transmute(value) }
5088     }
5089 }
5090 #[cfg(feature = "Win32_System_Ole_Automation")]
5091 impl ::std::convert::From<&ITraceDataCollector> for super::Ole::Automation::IDispatch {
from(value: &ITraceDataCollector) -> Self5092     fn from(value: &ITraceDataCollector) -> Self {
5093         ::std::convert::From::from(::std::clone::Clone::clone(value))
5094     }
5095 }
5096 #[cfg(feature = "Win32_System_Ole_Automation")]
5097 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ITraceDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5098     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5099         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5100     }
5101 }
5102 #[cfg(feature = "Win32_System_Ole_Automation")]
5103 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ITraceDataCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5104     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5105         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5106     }
5107 }
5108 #[repr(C)]
5109 #[doc(hidden)]
5110 pub struct ITraceDataCollector_abi(
5111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5115     #[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,
5116     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5117     #[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,
5118     #[cfg(not(feature = "Win32_Foundation"))] usize,
5119     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5120     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,
5121     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5122     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5123     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, group: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut DataCollectorType) -> ::windows::runtime::HRESULT,
5125     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5126     #[cfg(not(feature = "Win32_Foundation"))] usize,
5127     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5128     #[cfg(not(feature = "Win32_Foundation"))] usize,
5129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: *mut AutoPathFormat) -> ::windows::runtime::HRESULT,
5130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: AutoPathFormat) -> ::windows::runtime::HRESULT,
5131     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5132     #[cfg(not(feature = "Win32_Foundation"))] usize,
5133     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pattern: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5134     #[cfg(not(feature = "Win32_Foundation"))] usize,
5135     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5136     #[cfg(not(feature = "Win32_Foundation"))] usize,
5137     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5138     #[cfg(not(feature = "Win32_Foundation"))] usize,
5139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: *mut i16) -> ::windows::runtime::HRESULT,
5140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, append: i16) -> ::windows::runtime::HRESULT,
5141     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: *mut i16) -> ::windows::runtime::HRESULT,
5142     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, circular: i16) -> ::windows::runtime::HRESULT,
5143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: *mut i16) -> ::windows::runtime::HRESULT,
5144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, overwrite: i16) -> ::windows::runtime::HRESULT,
5145     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5146     #[cfg(not(feature = "Win32_Foundation"))] usize,
5147     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5148     #[cfg(not(feature = "Win32_Foundation"))] usize,
5149     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5150     #[cfg(not(feature = "Win32_Foundation"))] usize,
5151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: *mut i32) -> ::windows::runtime::HRESULT,
5152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32) -> ::windows::runtime::HRESULT,
5153     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5154     #[cfg(not(feature = "Win32_Foundation"))] usize,
5155     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, validation: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5156     #[cfg(not(feature = "Win32_Foundation"))] usize,
5157     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, latest: i16, location: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5158     #[cfg(not(feature = "Win32_Foundation"))] usize,
5159     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: *mut u32) -> ::windows::runtime::HRESULT,
5160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: u32) -> ::windows::runtime::HRESULT,
5161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clock: *mut ClockType) -> ::windows::runtime::HRESULT,
5166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clock: ClockType) -> ::windows::runtime::HRESULT,
5167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, events: *mut u32) -> ::windows::runtime::HRESULT,
5168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, events: u32) -> ::windows::runtime::HRESULT,
5169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut u32) -> ::windows::runtime::HRESULT,
5170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: u32) -> ::windows::runtime::HRESULT,
5171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seconds: *mut u32) -> ::windows::runtime::HRESULT,
5172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seconds: u32) -> ::windows::runtime::HRESULT,
5173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, kernel: *mut i16) -> ::windows::runtime::HRESULT,
5178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5179     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, allocate: *mut i16) -> ::windows::runtime::HRESULT,
5185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, allocate: i16) -> ::windows::runtime::HRESULT,
5186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, process: *mut i16) -> ::windows::runtime::HRESULT,
5187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, process: i16) -> ::windows::runtime::HRESULT,
5188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: *mut u32) -> ::windows::runtime::HRESULT,
5189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buffers: u32) -> ::windows::runtime::HRESULT,
5190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: *mut u64) -> ::windows::runtime::HRESULT,
5191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: u64) -> ::windows::runtime::HRESULT,
5192     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5193     #[cfg(not(feature = "Win32_Foundation"))] usize,
5194     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5195     #[cfg(not(feature = "Win32_Foundation"))] usize,
5196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: *mut u32) -> ::windows::runtime::HRESULT,
5197     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32) -> ::windows::runtime::HRESULT,
5198     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut StreamMode) -> ::windows::runtime::HRESULT,
5199     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: StreamMode) -> ::windows::runtime::HRESULT,
5200     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, providers: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5201 );
5202 #[repr(transparent)]
5203 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5204 pub struct ITraceDataProvider(::windows::runtime::IUnknown);
5205 impl ITraceDataProvider {
5206     #[cfg(feature = "Win32_Foundation")]
DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5207     pub unsafe fn DisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5208         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5209         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5210     }
5211     #[cfg(feature = "Win32_Foundation")]
SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>5212     pub unsafe fn SetDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
5213         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
5214     }
Guid(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>5215     pub unsafe fn Guid(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
5216         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5217         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
5218     }
SetGuid<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(&self, guid: Param0) -> ::windows::runtime::Result<()>5219     pub unsafe fn SetGuid<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(&self, guid: Param0) -> ::windows::runtime::Result<()> {
5220         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), guid.into_param().abi()).ok()
5221     }
Level(&self) -> ::windows::runtime::Result<IValueMap>5222     pub unsafe fn Level(&self) -> ::windows::runtime::Result<IValueMap> {
5223         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5224         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IValueMap>(result__)
5225     }
KeywordsAny(&self) -> ::windows::runtime::Result<IValueMap>5226     pub unsafe fn KeywordsAny(&self) -> ::windows::runtime::Result<IValueMap> {
5227         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5228         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IValueMap>(result__)
5229     }
KeywordsAll(&self) -> ::windows::runtime::Result<IValueMap>5230     pub unsafe fn KeywordsAll(&self) -> ::windows::runtime::Result<IValueMap> {
5231         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5232         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IValueMap>(result__)
5233     }
Properties(&self) -> ::windows::runtime::Result<IValueMap>5234     pub unsafe fn Properties(&self) -> ::windows::runtime::Result<IValueMap> {
5235         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5236         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IValueMap>(result__)
5237     }
FilterEnabled(&self) -> ::windows::runtime::Result<i16>5238     pub unsafe fn FilterEnabled(&self) -> ::windows::runtime::Result<i16> {
5239         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5240         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5241     }
SetFilterEnabled(&self, filterenabled: i16) -> ::windows::runtime::Result<()>5242     pub unsafe fn SetFilterEnabled(&self, filterenabled: i16) -> ::windows::runtime::Result<()> {
5243         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(filterenabled)).ok()
5244     }
FilterType(&self) -> ::windows::runtime::Result<u32>5245     pub unsafe fn FilterType(&self) -> ::windows::runtime::Result<u32> {
5246         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5247         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5248     }
SetFilterType(&self, ultype: u32) -> ::windows::runtime::Result<()>5249     pub unsafe fn SetFilterType(&self, ultype: u32) -> ::windows::runtime::Result<()> {
5250         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(ultype)).ok()
5251     }
5252     #[cfg(feature = "Win32_System_Com")]
FilterData(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>5253     pub unsafe fn FilterData(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
5254         let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5255         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
5256     }
5257     #[cfg(feature = "Win32_System_Com")]
SetFilterData(&self, pdata: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>5258     pub unsafe fn SetFilterData(&self, pdata: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
5259         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdata)).ok()
5260     }
5261     #[cfg(feature = "Win32_Foundation")]
Query<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstrserver: Param1) -> ::windows::runtime::Result<()>5262     pub unsafe fn Query<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstrserver: Param1) -> ::windows::runtime::Result<()> {
5263         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), bstrserver.into_param().abi()).ok()
5264     }
5265     #[cfg(feature = "Win32_System_Ole_Automation")]
Resolve<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pfrom: Param0) -> ::windows::runtime::Result<()>5266     pub unsafe fn Resolve<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pfrom: Param0) -> ::windows::runtime::Result<()> {
5267         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), pfrom.into_param().abi()).ok()
5268     }
5269     #[cfg(feature = "Win32_Foundation")]
SetSecurity<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, sddl: Param0) -> ::windows::runtime::Result<()>5270     pub unsafe fn SetSecurity<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, sddl: Param0) -> ::windows::runtime::Result<()> {
5271         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), sddl.into_param().abi()).ok()
5272     }
5273     #[cfg(feature = "Win32_Foundation")]
GetSecurity(&self, securityinfo: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5274     pub unsafe fn GetSecurity(&self, securityinfo: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5275         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5276         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(securityinfo), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5277     }
GetRegisteredProcesses(&self) -> ::windows::runtime::Result<IValueMap>5278     pub unsafe fn GetRegisteredProcesses(&self) -> ::windows::runtime::Result<IValueMap> {
5279         let mut result__: <IValueMap as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5280         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IValueMap>(result__)
5281     }
5282 }
5283 unsafe impl ::windows::runtime::Interface for ITraceDataProvider {
5284     type Vtable = ITraceDataProvider_abi;
5285     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946834, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5286 }
5287 impl ::std::convert::From<ITraceDataProvider> for ::windows::runtime::IUnknown {
from(value: ITraceDataProvider) -> Self5288     fn from(value: ITraceDataProvider) -> Self {
5289         unsafe { ::std::mem::transmute(value) }
5290     }
5291 }
5292 impl ::std::convert::From<&ITraceDataProvider> for ::windows::runtime::IUnknown {
from(value: &ITraceDataProvider) -> Self5293     fn from(value: &ITraceDataProvider) -> Self {
5294         ::std::convert::From::from(::std::clone::Clone::clone(value))
5295     }
5296 }
5297 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITraceDataProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5298     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5299         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5300     }
5301 }
5302 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITraceDataProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5303     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5304         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5305     }
5306 }
5307 #[cfg(feature = "Win32_System_Ole_Automation")]
5308 impl ::std::convert::From<ITraceDataProvider> for super::Ole::Automation::IDispatch {
from(value: ITraceDataProvider) -> Self5309     fn from(value: ITraceDataProvider) -> Self {
5310         unsafe { ::std::mem::transmute(value) }
5311     }
5312 }
5313 #[cfg(feature = "Win32_System_Ole_Automation")]
5314 impl ::std::convert::From<&ITraceDataProvider> for super::Ole::Automation::IDispatch {
from(value: &ITraceDataProvider) -> Self5315     fn from(value: &ITraceDataProvider) -> Self {
5316         ::std::convert::From::from(::std::clone::Clone::clone(value))
5317     }
5318 }
5319 #[cfg(feature = "Win32_System_Ole_Automation")]
5320 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ITraceDataProvider {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5321     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5322         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5323     }
5324 }
5325 #[cfg(feature = "Win32_System_Ole_Automation")]
5326 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ITraceDataProvider {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5327     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5328         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5329     }
5330 }
5331 #[repr(C)]
5332 #[doc(hidden)]
5333 pub struct ITraceDataProvider_abi(
5334     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5335     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5336     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5337     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5338     #[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,
5339     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5340     #[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,
5341     #[cfg(not(feature = "Win32_Foundation"))] usize,
5342     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5343     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,
5344     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5345     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5346     #[cfg(not(feature = "Win32_Foundation"))] usize,
5347     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5348     #[cfg(not(feature = "Win32_Foundation"))] usize,
5349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pplevel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppkeywords: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppkeywords: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5354     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppproperties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5355     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filterenabled: *mut i16) -> ::windows::runtime::HRESULT,
5356     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filterenabled: i16) -> ::windows::runtime::HRESULT,
5357     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pultype: *mut u32) -> ::windows::runtime::HRESULT,
5358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ultype: u32) -> ::windows::runtime::HRESULT,
5359     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdata: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
5360     #[cfg(not(feature = "Win32_System_Com"))] usize,
5361     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdata: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
5362     #[cfg(not(feature = "Win32_System_Com"))] usize,
5363     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrserver: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5364     #[cfg(not(feature = "Win32_Foundation"))] usize,
5365     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfrom: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5366     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5367     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sddl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5368     #[cfg(not(feature = "Win32_Foundation"))] usize,
5369     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, securityinfo: u32, sddl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5370     #[cfg(not(feature = "Win32_Foundation"))] usize,
5371     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, processes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5372 );
5373 #[repr(transparent)]
5374 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5375 pub struct ITraceDataProviderCollection(::windows::runtime::IUnknown);
5376 impl ITraceDataProviderCollection {
Count(&self) -> ::windows::runtime::Result<i32>5377     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
5378         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5379         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5380     }
5381     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<ITraceDataProvider>5382     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<ITraceDataProvider> {
5383         let mut result__: <ITraceDataProvider as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5384         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<ITraceDataProvider>(result__)
5385     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5386     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5387         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5388         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5389     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, ITraceDataProvider>>(&self, pprovider: Param0) -> ::windows::runtime::Result<()>5390     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, ITraceDataProvider>>(&self, pprovider: Param0) -> ::windows::runtime::Result<()> {
5391         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pprovider.into_param().abi()).ok()
5392     }
5393     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vprovider: Param0) -> ::windows::runtime::Result<()>5394     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, vprovider: Param0) -> ::windows::runtime::Result<()> {
5395         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), vprovider.into_param().abi()).ok()
5396     }
Clear(&self) -> ::windows::runtime::Result<()>5397     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
5398         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
5399     }
AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITraceDataProviderCollection>>(&self, providers: Param0) -> ::windows::runtime::Result<()>5400     pub unsafe fn AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITraceDataProviderCollection>>(&self, providers: Param0) -> ::windows::runtime::Result<()> {
5401         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), providers.into_param().abi()).ok()
5402     }
CreateTraceDataProvider(&self) -> ::windows::runtime::Result<ITraceDataProvider>5403     pub unsafe fn CreateTraceDataProvider(&self) -> ::windows::runtime::Result<ITraceDataProvider> {
5404         let mut result__: <ITraceDataProvider as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5405         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITraceDataProvider>(result__)
5406     }
5407     #[cfg(feature = "Win32_Foundation")]
GetTraceDataProviders<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, server: Param0) -> ::windows::runtime::Result<()>5408     pub unsafe fn GetTraceDataProviders<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, server: Param0) -> ::windows::runtime::Result<()> {
5409         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), server.into_param().abi()).ok()
5410     }
5411     #[cfg(feature = "Win32_Foundation")]
GetTraceDataProvidersByProcess<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, server: Param0, pid: u32) -> ::windows::runtime::Result<()>5412     pub unsafe fn GetTraceDataProvidersByProcess<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, server: Param0, pid: u32) -> ::windows::runtime::Result<()> {
5413         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), server.into_param().abi(), ::std::mem::transmute(pid)).ok()
5414     }
5415 }
5416 unsafe impl ::windows::runtime::Interface for ITraceDataProviderCollection {
5417     type Vtable = ITraceDataProviderCollection_abi;
5418     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946832, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5419 }
5420 impl ::std::convert::From<ITraceDataProviderCollection> for ::windows::runtime::IUnknown {
from(value: ITraceDataProviderCollection) -> Self5421     fn from(value: ITraceDataProviderCollection) -> Self {
5422         unsafe { ::std::mem::transmute(value) }
5423     }
5424 }
5425 impl ::std::convert::From<&ITraceDataProviderCollection> for ::windows::runtime::IUnknown {
from(value: &ITraceDataProviderCollection) -> Self5426     fn from(value: &ITraceDataProviderCollection) -> Self {
5427         ::std::convert::From::from(::std::clone::Clone::clone(value))
5428     }
5429 }
5430 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITraceDataProviderCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5431     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5432         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5433     }
5434 }
5435 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITraceDataProviderCollection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5436     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5437         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5438     }
5439 }
5440 #[cfg(feature = "Win32_System_Ole_Automation")]
5441 impl ::std::convert::From<ITraceDataProviderCollection> for super::Ole::Automation::IDispatch {
from(value: ITraceDataProviderCollection) -> Self5442     fn from(value: ITraceDataProviderCollection) -> Self {
5443         unsafe { ::std::mem::transmute(value) }
5444     }
5445 }
5446 #[cfg(feature = "Win32_System_Ole_Automation")]
5447 impl ::std::convert::From<&ITraceDataProviderCollection> for super::Ole::Automation::IDispatch {
from(value: &ITraceDataProviderCollection) -> Self5448     fn from(value: &ITraceDataProviderCollection) -> Self {
5449         ::std::convert::From::from(::std::clone::Clone::clone(value))
5450     }
5451 }
5452 #[cfg(feature = "Win32_System_Ole_Automation")]
5453 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for ITraceDataProviderCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5454     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5455         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5456     }
5457 }
5458 #[cfg(feature = "Win32_System_Ole_Automation")]
5459 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &ITraceDataProviderCollection {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5460     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5461         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5462     }
5463 }
5464 #[repr(C)]
5465 #[doc(hidden)]
5466 pub struct ITraceDataProviderCollection_abi(
5467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5469     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5471     #[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,
5472     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5473     #[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,
5474     #[cfg(not(feature = "Win32_Foundation"))] usize,
5475     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5476     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,
5477     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut i32) -> ::windows::runtime::HRESULT,
5479     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, ppprovider: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5480     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprovider: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5483     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vprovider: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5484     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5485     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5486     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, providers: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5487     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, provider: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5488     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, server: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5489     #[cfg(not(feature = "Win32_Foundation"))] usize,
5490     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, server: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pid: u32) -> ::windows::runtime::HRESULT,
5491     #[cfg(not(feature = "Win32_Foundation"))] usize,
5492 );
5493 #[repr(transparent)]
5494 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5495 pub struct IValueMap(::windows::runtime::IUnknown);
5496 impl IValueMap {
Count(&self) -> ::windows::runtime::Result<i32>5497     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
5498         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5499         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5500     }
5501     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IValueMapItem>5502     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, index: Param0) -> ::windows::runtime::Result<IValueMapItem> {
5503         let mut result__: <IValueMapItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5504         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), index.into_param().abi(), &mut result__).from_abi::<IValueMapItem>(result__)
5505     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5506     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5507         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5508         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5509     }
5510     #[cfg(feature = "Win32_Foundation")]
Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5511     pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5512         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5513         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5514     }
5515     #[cfg(feature = "Win32_Foundation")]
SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()>5516     pub unsafe fn SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()> {
5517         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), description.into_param().abi()).ok()
5518     }
5519     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT>5520     pub unsafe fn Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
5521         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5522         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5523     }
5524     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()>5525     pub unsafe fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
5526         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
5527     }
ValueMapType(&self) -> ::windows::runtime::Result<ValueMapType>5528     pub unsafe fn ValueMapType(&self) -> ::windows::runtime::Result<ValueMapType> {
5529         let mut result__: <ValueMapType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5530         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ValueMapType>(result__)
5531     }
SetValueMapType(&self, r#type: ValueMapType) -> ::windows::runtime::Result<()>5532     pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> ::windows::runtime::Result<()> {
5533         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type)).ok()
5534     }
5535     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()>5536     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
5537         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
5538     }
5539     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()>5540     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
5541         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
5542     }
Clear(&self) -> ::windows::runtime::Result<()>5543     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
5544         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)).ok()
5545     }
AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IValueMap>>(&self, map: Param0) -> ::windows::runtime::Result<()>5546     pub unsafe fn AddRange<'a, Param0: ::windows::runtime::IntoParam<'a, IValueMap>>(&self, map: Param0) -> ::windows::runtime::Result<()> {
5547         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), map.into_param().abi()).ok()
5548     }
CreateValueMapItem(&self) -> ::windows::runtime::Result<IValueMapItem>5549     pub unsafe fn CreateValueMapItem(&self) -> ::windows::runtime::Result<IValueMapItem> {
5550         let mut result__: <IValueMapItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5551         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IValueMapItem>(result__)
5552     }
5553 }
5554 unsafe impl ::windows::runtime::Interface for IValueMap {
5555     type Vtable = IValueMap_abi;
5556     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946868, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5557 }
5558 impl ::std::convert::From<IValueMap> for ::windows::runtime::IUnknown {
from(value: IValueMap) -> Self5559     fn from(value: IValueMap) -> Self {
5560         unsafe { ::std::mem::transmute(value) }
5561     }
5562 }
5563 impl ::std::convert::From<&IValueMap> for ::windows::runtime::IUnknown {
from(value: &IValueMap) -> Self5564     fn from(value: &IValueMap) -> Self {
5565         ::std::convert::From::from(::std::clone::Clone::clone(value))
5566     }
5567 }
5568 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IValueMap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5569     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5570         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5571     }
5572 }
5573 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IValueMap {
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(::std::clone::Clone::clone(self)))
5576     }
5577 }
5578 #[cfg(feature = "Win32_System_Ole_Automation")]
5579 impl ::std::convert::From<IValueMap> for super::Ole::Automation::IDispatch {
from(value: IValueMap) -> Self5580     fn from(value: IValueMap) -> Self {
5581         unsafe { ::std::mem::transmute(value) }
5582     }
5583 }
5584 #[cfg(feature = "Win32_System_Ole_Automation")]
5585 impl ::std::convert::From<&IValueMap> for super::Ole::Automation::IDispatch {
from(value: &IValueMap) -> Self5586     fn from(value: &IValueMap) -> Self {
5587         ::std::convert::From::from(::std::clone::Clone::clone(value))
5588     }
5589 }
5590 #[cfg(feature = "Win32_System_Ole_Automation")]
5591 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IValueMap {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5592     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5593         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5594     }
5595 }
5596 #[cfg(feature = "Win32_System_Ole_Automation")]
5597 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IValueMap {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5598     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5599         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5600     }
5601 }
5602 #[repr(C)]
5603 #[doc(hidden)]
5604 pub struct IValueMap_abi(
5605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5609     #[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,
5610     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5611     #[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,
5612     #[cfg(not(feature = "Win32_Foundation"))] usize,
5613     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5614     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,
5615     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5616     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut i32) -> ::windows::runtime::HRESULT,
5617     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: ::std::mem::ManuallyDrop<super::Com::VARIANT>, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5618     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, retval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5620     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5621     #[cfg(not(feature = "Win32_Foundation"))] usize,
5622     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5623     #[cfg(not(feature = "Win32_Foundation"))] usize,
5624     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5625     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5626     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5627     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5628     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut ValueMapType) -> ::windows::runtime::HRESULT,
5629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: ValueMapType) -> ::windows::runtime::HRESULT,
5630     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5631     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5632     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5633     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, map: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, item: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5637 );
5638 #[repr(transparent)]
5639 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5640 pub struct IValueMapItem(::windows::runtime::IUnknown);
5641 impl IValueMapItem {
5642     #[cfg(feature = "Win32_Foundation")]
Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5643     pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5644         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5645         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5646     }
5647     #[cfg(feature = "Win32_Foundation")]
SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()>5648     pub unsafe fn SetDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, description: Param0) -> ::windows::runtime::Result<()> {
5649         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), description.into_param().abi()).ok()
5650     }
Enabled(&self) -> ::windows::runtime::Result<i16>5651     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> {
5652         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5653         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5654     }
SetEnabled(&self, enabled: i16) -> ::windows::runtime::Result<()>5655     pub unsafe fn SetEnabled(&self, enabled: i16) -> ::windows::runtime::Result<()> {
5656         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(enabled)).ok()
5657     }
5658     #[cfg(feature = "Win32_Foundation")]
Key(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5659     pub unsafe fn Key(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5660         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5661         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5662     }
5663     #[cfg(feature = "Win32_Foundation")]
SetKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()>5664     pub unsafe fn SetKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, key: Param0) -> ::windows::runtime::Result<()> {
5665         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), key.into_param().abi()).ok()
5666     }
5667     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT>5668     pub unsafe fn Value(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
5669         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5670         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5671     }
5672     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()>5673     pub unsafe fn SetValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
5674         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
5675     }
ValueMapType(&self) -> ::windows::runtime::Result<ValueMapType>5676     pub unsafe fn ValueMapType(&self) -> ::windows::runtime::Result<ValueMapType> {
5677         let mut result__: <ValueMapType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5678         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ValueMapType>(result__)
5679     }
SetValueMapType(&self, r#type: ValueMapType) -> ::windows::runtime::Result<()>5680     pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> ::windows::runtime::Result<()> {
5681         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type)).ok()
5682     }
5683 }
5684 unsafe impl ::windows::runtime::Interface for IValueMapItem {
5685     type Vtable = IValueMapItem_abi;
5686     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946867, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5687 }
5688 impl ::std::convert::From<IValueMapItem> for ::windows::runtime::IUnknown {
from(value: IValueMapItem) -> Self5689     fn from(value: IValueMapItem) -> Self {
5690         unsafe { ::std::mem::transmute(value) }
5691     }
5692 }
5693 impl ::std::convert::From<&IValueMapItem> for ::windows::runtime::IUnknown {
from(value: &IValueMapItem) -> Self5694     fn from(value: &IValueMapItem) -> Self {
5695         ::std::convert::From::from(::std::clone::Clone::clone(value))
5696     }
5697 }
5698 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IValueMapItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5699     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5700         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5701     }
5702 }
5703 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IValueMapItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5704     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5705         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5706     }
5707 }
5708 #[cfg(feature = "Win32_System_Ole_Automation")]
5709 impl ::std::convert::From<IValueMapItem> for super::Ole::Automation::IDispatch {
from(value: IValueMapItem) -> Self5710     fn from(value: IValueMapItem) -> Self {
5711         unsafe { ::std::mem::transmute(value) }
5712     }
5713 }
5714 #[cfg(feature = "Win32_System_Ole_Automation")]
5715 impl ::std::convert::From<&IValueMapItem> for super::Ole::Automation::IDispatch {
from(value: &IValueMapItem) -> Self5716     fn from(value: &IValueMapItem) -> Self {
5717         ::std::convert::From::from(::std::clone::Clone::clone(value))
5718     }
5719 }
5720 #[cfg(feature = "Win32_System_Ole_Automation")]
5721 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IValueMapItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5722     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5723         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5724     }
5725 }
5726 #[cfg(feature = "Win32_System_Ole_Automation")]
5727 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IValueMapItem {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5728     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5729         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5730     }
5731 }
5732 #[repr(C)]
5733 #[doc(hidden)]
5734 pub struct IValueMapItem_abi(
5735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5739     #[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,
5740     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5741     #[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,
5742     #[cfg(not(feature = "Win32_Foundation"))] usize,
5743     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5744     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,
5745     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5746     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5747     #[cfg(not(feature = "Win32_Foundation"))] usize,
5748     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5749     #[cfg(not(feature = "Win32_Foundation"))] usize,
5750     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: *mut i16) -> ::windows::runtime::HRESULT,
5751     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: i16) -> ::windows::runtime::HRESULT,
5752     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5753     #[cfg(not(feature = "Win32_Foundation"))] usize,
5754     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, key: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5755     #[cfg(not(feature = "Win32_Foundation"))] usize,
5756     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5757     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5758     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5759     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: *mut ValueMapType) -> ::windows::runtime::HRESULT,
5761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: ValueMapType) -> ::windows::runtime::HRESULT,
5762 );
5763 #[cfg(feature = "Win32_Foundation")]
5764 #[inline]
InstallPerfDllA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szcomputername: Param0, lpinifile: Param1, dwflags: usize) -> u325765 pub unsafe fn InstallPerfDllA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szcomputername: Param0, lpinifile: Param1, dwflags: usize) -> u32 {
5766     #[cfg(windows)]
5767     {
5768         #[link(name = "windows")]
5769         extern "system" {
5770             fn InstallPerfDllA(szcomputername: super::super::Foundation::PSTR, lpinifile: super::super::Foundation::PSTR, dwflags: usize) -> u32;
5771         }
5772         ::std::mem::transmute(InstallPerfDllA(szcomputername.into_param().abi(), lpinifile.into_param().abi(), ::std::mem::transmute(dwflags)))
5773     }
5774     #[cfg(not(windows))]
5775     unimplemented!("Unsupported target OS");
5776 }
5777 #[cfg(feature = "Win32_Foundation")]
5778 #[inline]
InstallPerfDllW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szcomputername: Param0, lpinifile: Param1, dwflags: usize) -> u325779 pub unsafe fn InstallPerfDllW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szcomputername: Param0, lpinifile: Param1, dwflags: usize) -> u32 {
5780     #[cfg(windows)]
5781     {
5782         #[link(name = "windows")]
5783         extern "system" {
5784             fn InstallPerfDllW(szcomputername: super::super::Foundation::PWSTR, lpinifile: super::super::Foundation::PWSTR, dwflags: usize) -> u32;
5785         }
5786         ::std::mem::transmute(InstallPerfDllW(szcomputername.into_param().abi(), lpinifile.into_param().abi(), ::std::mem::transmute(dwflags)))
5787     }
5788     #[cfg(not(windows))]
5789     unimplemented!("Unsupported target OS");
5790 }
5791 pub const LIBID_SystemMonitor: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(460799554, 9481, 4559, [148, 47, 0, 128, 41, 0, 67, 71]);
5792 pub const LegacyDataCollectorSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946854, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5793 pub const LegacyDataCollectorSetCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946855, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5794 pub const LegacyTraceSession: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946856, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5795 pub const LegacyTraceSessionCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946857, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
5796 #[cfg(feature = "Win32_Foundation")]
5797 #[inline]
LoadPerfCounterTextStringsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u325798 pub unsafe fn LoadPerfCounterTextStringsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u32 {
5799     #[cfg(windows)]
5800     {
5801         #[link(name = "windows")]
5802         extern "system" {
5803             fn LoadPerfCounterTextStringsA(lpcommandline: super::super::Foundation::PSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32;
5804         }
5805         ::std::mem::transmute(LoadPerfCounterTextStringsA(lpcommandline.into_param().abi(), bquietmodearg.into_param().abi()))
5806     }
5807     #[cfg(not(windows))]
5808     unimplemented!("Unsupported target OS");
5809 }
5810 #[cfg(feature = "Win32_Foundation")]
5811 #[inline]
LoadPerfCounterTextStringsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u325812 pub unsafe fn LoadPerfCounterTextStringsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u32 {
5813     #[cfg(windows)]
5814     {
5815         #[link(name = "windows")]
5816         extern "system" {
5817             fn LoadPerfCounterTextStringsW(lpcommandline: super::super::Foundation::PWSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32;
5818         }
5819         ::std::mem::transmute(LoadPerfCounterTextStringsW(lpcommandline.into_param().abi(), bquietmodearg.into_param().abi()))
5820     }
5821     #[cfg(not(windows))]
5822     unimplemented!("Unsupported target OS");
5823 }
5824 pub const LogFileItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(384588776, 57235, 16951, [148, 228, 158, 233, 24, 17, 29, 113]);
5825 pub const LogFiles: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657840637, 63161, 20249, [165, 217, 226, 208, 104, 88, 75, 197]);
5826 pub const MAX_COUNTER_PATH: u32 = 256u32;
5827 pub const MAX_PERF_OBJECTS_IN_QUERY_FUNCTION: i32 = 64i32;
5828 pub const PDH_ACCESS_DENIED: i32 = -1073738789i32;
5829 pub const PDH_ASYNC_QUERY_TIMEOUT: i32 = -2147481637i32;
5830 pub const PDH_BINARY_LOG_CORRUPT: i32 = -1073738761i32;
5831 #[derive(:: std :: clone :: Clone)]
5832 #[repr(C)]
5833 #[cfg(feature = "Win32_Foundation")]
5834 pub struct PDH_BROWSE_DLG_CONFIG_A {
5835     pub _bitfield: u32,
5836     pub hWndOwner: super::super::Foundation::HWND,
5837     pub szDataSource: super::super::Foundation::PSTR,
5838     pub szReturnPathBuffer: super::super::Foundation::PSTR,
5839     pub cchReturnPathLength: u32,
5840     pub pCallBack: ::std::option::Option<CounterPathCallBack>,
5841     pub dwCallBackArg: usize,
5842     pub CallBackStatus: i32,
5843     pub dwDefaultDetailLevel: PERF_DETAIL,
5844     pub szDialogBoxCaption: super::super::Foundation::PSTR,
5845 }
5846 #[cfg(feature = "Win32_Foundation")]
5847 impl PDH_BROWSE_DLG_CONFIG_A {}
5848 #[cfg(feature = "Win32_Foundation")]
5849 impl ::std::default::Default for PDH_BROWSE_DLG_CONFIG_A {
default() -> Self5850     fn default() -> Self {
5851         unsafe { ::std::mem::zeroed() }
5852     }
5853 }
5854 #[cfg(feature = "Win32_Foundation")]
5855 impl ::std::fmt::Debug for PDH_BROWSE_DLG_CONFIG_A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5856     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5857         fmt.debug_struct("PDH_BROWSE_DLG_CONFIG_A")
5858             .field("_bitfield", &self._bitfield)
5859             .field("hWndOwner", &self.hWndOwner)
5860             .field("szDataSource", &self.szDataSource)
5861             .field("szReturnPathBuffer", &self.szReturnPathBuffer)
5862             .field("cchReturnPathLength", &self.cchReturnPathLength)
5863             .field("dwCallBackArg", &self.dwCallBackArg)
5864             .field("CallBackStatus", &self.CallBackStatus)
5865             .field("dwDefaultDetailLevel", &self.dwDefaultDetailLevel)
5866             .field("szDialogBoxCaption", &self.szDialogBoxCaption)
5867             .finish()
5868     }
5869 }
5870 #[cfg(feature = "Win32_Foundation")]
5871 impl ::std::cmp::PartialEq for PDH_BROWSE_DLG_CONFIG_A {
eq(&self, other: &Self) -> bool5872     fn eq(&self, other: &Self) -> bool {
5873         self._bitfield == other._bitfield
5874             && self.hWndOwner == other.hWndOwner
5875             && self.szDataSource == other.szDataSource
5876             && self.szReturnPathBuffer == other.szReturnPathBuffer
5877             && self.cchReturnPathLength == other.cchReturnPathLength
5878             && self.pCallBack.map(|f| f as usize) == other.pCallBack.map(|f| f as usize)
5879             && self.dwCallBackArg == other.dwCallBackArg
5880             && self.CallBackStatus == other.CallBackStatus
5881             && self.dwDefaultDetailLevel == other.dwDefaultDetailLevel
5882             && self.szDialogBoxCaption == other.szDialogBoxCaption
5883     }
5884 }
5885 #[cfg(feature = "Win32_Foundation")]
5886 impl ::std::cmp::Eq for PDH_BROWSE_DLG_CONFIG_A {}
5887 #[cfg(feature = "Win32_Foundation")]
5888 unsafe impl ::windows::runtime::Abi for PDH_BROWSE_DLG_CONFIG_A {
5889     type Abi = ::std::mem::ManuallyDrop<Self>;
5890     type DefaultType = Self;
5891 }
5892 #[derive(:: std :: clone :: Clone)]
5893 #[repr(C)]
5894 #[cfg(feature = "Win32_Foundation")]
5895 pub struct PDH_BROWSE_DLG_CONFIG_HA {
5896     pub _bitfield: u32,
5897     pub hWndOwner: super::super::Foundation::HWND,
5898     pub hDataSource: isize,
5899     pub szReturnPathBuffer: super::super::Foundation::PSTR,
5900     pub cchReturnPathLength: u32,
5901     pub pCallBack: ::std::option::Option<CounterPathCallBack>,
5902     pub dwCallBackArg: usize,
5903     pub CallBackStatus: i32,
5904     pub dwDefaultDetailLevel: PERF_DETAIL,
5905     pub szDialogBoxCaption: super::super::Foundation::PSTR,
5906 }
5907 #[cfg(feature = "Win32_Foundation")]
5908 impl PDH_BROWSE_DLG_CONFIG_HA {}
5909 #[cfg(feature = "Win32_Foundation")]
5910 impl ::std::default::Default for PDH_BROWSE_DLG_CONFIG_HA {
default() -> Self5911     fn default() -> Self {
5912         unsafe { ::std::mem::zeroed() }
5913     }
5914 }
5915 #[cfg(feature = "Win32_Foundation")]
5916 impl ::std::fmt::Debug for PDH_BROWSE_DLG_CONFIG_HA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5917     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5918         fmt.debug_struct("PDH_BROWSE_DLG_CONFIG_HA")
5919             .field("_bitfield", &self._bitfield)
5920             .field("hWndOwner", &self.hWndOwner)
5921             .field("hDataSource", &self.hDataSource)
5922             .field("szReturnPathBuffer", &self.szReturnPathBuffer)
5923             .field("cchReturnPathLength", &self.cchReturnPathLength)
5924             .field("dwCallBackArg", &self.dwCallBackArg)
5925             .field("CallBackStatus", &self.CallBackStatus)
5926             .field("dwDefaultDetailLevel", &self.dwDefaultDetailLevel)
5927             .field("szDialogBoxCaption", &self.szDialogBoxCaption)
5928             .finish()
5929     }
5930 }
5931 #[cfg(feature = "Win32_Foundation")]
5932 impl ::std::cmp::PartialEq for PDH_BROWSE_DLG_CONFIG_HA {
eq(&self, other: &Self) -> bool5933     fn eq(&self, other: &Self) -> bool {
5934         self._bitfield == other._bitfield
5935             && self.hWndOwner == other.hWndOwner
5936             && self.hDataSource == other.hDataSource
5937             && self.szReturnPathBuffer == other.szReturnPathBuffer
5938             && self.cchReturnPathLength == other.cchReturnPathLength
5939             && self.pCallBack.map(|f| f as usize) == other.pCallBack.map(|f| f as usize)
5940             && self.dwCallBackArg == other.dwCallBackArg
5941             && self.CallBackStatus == other.CallBackStatus
5942             && self.dwDefaultDetailLevel == other.dwDefaultDetailLevel
5943             && self.szDialogBoxCaption == other.szDialogBoxCaption
5944     }
5945 }
5946 #[cfg(feature = "Win32_Foundation")]
5947 impl ::std::cmp::Eq for PDH_BROWSE_DLG_CONFIG_HA {}
5948 #[cfg(feature = "Win32_Foundation")]
5949 unsafe impl ::windows::runtime::Abi for PDH_BROWSE_DLG_CONFIG_HA {
5950     type Abi = ::std::mem::ManuallyDrop<Self>;
5951     type DefaultType = Self;
5952 }
5953 #[derive(:: std :: clone :: Clone)]
5954 #[repr(C)]
5955 #[cfg(feature = "Win32_Foundation")]
5956 pub struct PDH_BROWSE_DLG_CONFIG_HW {
5957     pub _bitfield: u32,
5958     pub hWndOwner: super::super::Foundation::HWND,
5959     pub hDataSource: isize,
5960     pub szReturnPathBuffer: super::super::Foundation::PWSTR,
5961     pub cchReturnPathLength: u32,
5962     pub pCallBack: ::std::option::Option<CounterPathCallBack>,
5963     pub dwCallBackArg: usize,
5964     pub CallBackStatus: i32,
5965     pub dwDefaultDetailLevel: PERF_DETAIL,
5966     pub szDialogBoxCaption: super::super::Foundation::PWSTR,
5967 }
5968 #[cfg(feature = "Win32_Foundation")]
5969 impl PDH_BROWSE_DLG_CONFIG_HW {}
5970 #[cfg(feature = "Win32_Foundation")]
5971 impl ::std::default::Default for PDH_BROWSE_DLG_CONFIG_HW {
default() -> Self5972     fn default() -> Self {
5973         unsafe { ::std::mem::zeroed() }
5974     }
5975 }
5976 #[cfg(feature = "Win32_Foundation")]
5977 impl ::std::fmt::Debug for PDH_BROWSE_DLG_CONFIG_HW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5978     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5979         fmt.debug_struct("PDH_BROWSE_DLG_CONFIG_HW")
5980             .field("_bitfield", &self._bitfield)
5981             .field("hWndOwner", &self.hWndOwner)
5982             .field("hDataSource", &self.hDataSource)
5983             .field("szReturnPathBuffer", &self.szReturnPathBuffer)
5984             .field("cchReturnPathLength", &self.cchReturnPathLength)
5985             .field("dwCallBackArg", &self.dwCallBackArg)
5986             .field("CallBackStatus", &self.CallBackStatus)
5987             .field("dwDefaultDetailLevel", &self.dwDefaultDetailLevel)
5988             .field("szDialogBoxCaption", &self.szDialogBoxCaption)
5989             .finish()
5990     }
5991 }
5992 #[cfg(feature = "Win32_Foundation")]
5993 impl ::std::cmp::PartialEq for PDH_BROWSE_DLG_CONFIG_HW {
eq(&self, other: &Self) -> bool5994     fn eq(&self, other: &Self) -> bool {
5995         self._bitfield == other._bitfield
5996             && self.hWndOwner == other.hWndOwner
5997             && self.hDataSource == other.hDataSource
5998             && self.szReturnPathBuffer == other.szReturnPathBuffer
5999             && self.cchReturnPathLength == other.cchReturnPathLength
6000             && self.pCallBack.map(|f| f as usize) == other.pCallBack.map(|f| f as usize)
6001             && self.dwCallBackArg == other.dwCallBackArg
6002             && self.CallBackStatus == other.CallBackStatus
6003             && self.dwDefaultDetailLevel == other.dwDefaultDetailLevel
6004             && self.szDialogBoxCaption == other.szDialogBoxCaption
6005     }
6006 }
6007 #[cfg(feature = "Win32_Foundation")]
6008 impl ::std::cmp::Eq for PDH_BROWSE_DLG_CONFIG_HW {}
6009 #[cfg(feature = "Win32_Foundation")]
6010 unsafe impl ::windows::runtime::Abi for PDH_BROWSE_DLG_CONFIG_HW {
6011     type Abi = ::std::mem::ManuallyDrop<Self>;
6012     type DefaultType = Self;
6013 }
6014 #[derive(:: std :: clone :: Clone)]
6015 #[repr(C)]
6016 #[cfg(feature = "Win32_Foundation")]
6017 pub struct PDH_BROWSE_DLG_CONFIG_W {
6018     pub _bitfield: u32,
6019     pub hWndOwner: super::super::Foundation::HWND,
6020     pub szDataSource: super::super::Foundation::PWSTR,
6021     pub szReturnPathBuffer: super::super::Foundation::PWSTR,
6022     pub cchReturnPathLength: u32,
6023     pub pCallBack: ::std::option::Option<CounterPathCallBack>,
6024     pub dwCallBackArg: usize,
6025     pub CallBackStatus: i32,
6026     pub dwDefaultDetailLevel: PERF_DETAIL,
6027     pub szDialogBoxCaption: super::super::Foundation::PWSTR,
6028 }
6029 #[cfg(feature = "Win32_Foundation")]
6030 impl PDH_BROWSE_DLG_CONFIG_W {}
6031 #[cfg(feature = "Win32_Foundation")]
6032 impl ::std::default::Default for PDH_BROWSE_DLG_CONFIG_W {
default() -> Self6033     fn default() -> Self {
6034         unsafe { ::std::mem::zeroed() }
6035     }
6036 }
6037 #[cfg(feature = "Win32_Foundation")]
6038 impl ::std::fmt::Debug for PDH_BROWSE_DLG_CONFIG_W {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6039     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6040         fmt.debug_struct("PDH_BROWSE_DLG_CONFIG_W")
6041             .field("_bitfield", &self._bitfield)
6042             .field("hWndOwner", &self.hWndOwner)
6043             .field("szDataSource", &self.szDataSource)
6044             .field("szReturnPathBuffer", &self.szReturnPathBuffer)
6045             .field("cchReturnPathLength", &self.cchReturnPathLength)
6046             .field("dwCallBackArg", &self.dwCallBackArg)
6047             .field("CallBackStatus", &self.CallBackStatus)
6048             .field("dwDefaultDetailLevel", &self.dwDefaultDetailLevel)
6049             .field("szDialogBoxCaption", &self.szDialogBoxCaption)
6050             .finish()
6051     }
6052 }
6053 #[cfg(feature = "Win32_Foundation")]
6054 impl ::std::cmp::PartialEq for PDH_BROWSE_DLG_CONFIG_W {
eq(&self, other: &Self) -> bool6055     fn eq(&self, other: &Self) -> bool {
6056         self._bitfield == other._bitfield
6057             && self.hWndOwner == other.hWndOwner
6058             && self.szDataSource == other.szDataSource
6059             && self.szReturnPathBuffer == other.szReturnPathBuffer
6060             && self.cchReturnPathLength == other.cchReturnPathLength
6061             && self.pCallBack.map(|f| f as usize) == other.pCallBack.map(|f| f as usize)
6062             && self.dwCallBackArg == other.dwCallBackArg
6063             && self.CallBackStatus == other.CallBackStatus
6064             && self.dwDefaultDetailLevel == other.dwDefaultDetailLevel
6065             && self.szDialogBoxCaption == other.szDialogBoxCaption
6066     }
6067 }
6068 #[cfg(feature = "Win32_Foundation")]
6069 impl ::std::cmp::Eq for PDH_BROWSE_DLG_CONFIG_W {}
6070 #[cfg(feature = "Win32_Foundation")]
6071 unsafe impl ::windows::runtime::Abi for PDH_BROWSE_DLG_CONFIG_W {
6072     type Abi = ::std::mem::ManuallyDrop<Self>;
6073     type DefaultType = Self;
6074 }
6075 pub const PDH_CALC_NEGATIVE_DENOMINATOR: i32 = -2147481642i32;
6076 pub const PDH_CALC_NEGATIVE_TIMEBASE: i32 = -2147481641i32;
6077 pub const PDH_CALC_NEGATIVE_VALUE: i32 = -2147481640i32;
6078 pub const PDH_CANNOT_CONNECT_MACHINE: i32 = -1073738813i32;
6079 pub const PDH_CANNOT_CONNECT_WMI_SERVER: i32 = -1073738776i32;
6080 pub const PDH_CANNOT_READ_NAME_STRINGS: i32 = -1073738808i32;
6081 pub const PDH_CANNOT_SET_DEFAULT_REALTIME_DATASOURCE: i32 = -2147481636i32;
6082 pub const PDH_COUNTER_ALREADY_IN_QUERY: i32 = -1073738762i32;
6083 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6084 #[repr(C)]
6085 #[cfg(feature = "Win32_Foundation")]
6086 pub struct PDH_COUNTER_INFO_A {
6087     pub dwLength: u32,
6088     pub dwType: u32,
6089     pub CVersion: u32,
6090     pub CStatus: u32,
6091     pub lScale: i32,
6092     pub lDefaultScale: i32,
6093     pub dwUserData: usize,
6094     pub dwQueryUserData: usize,
6095     pub szFullPath: super::super::Foundation::PSTR,
6096     pub Anonymous: PDH_COUNTER_INFO_A_0,
6097     pub szExplainText: super::super::Foundation::PSTR,
6098     pub DataBuffer: [u32; 1],
6099 }
6100 #[cfg(feature = "Win32_Foundation")]
6101 impl PDH_COUNTER_INFO_A {}
6102 #[cfg(feature = "Win32_Foundation")]
6103 impl ::std::default::Default for PDH_COUNTER_INFO_A {
default() -> Self6104     fn default() -> Self {
6105         unsafe { ::std::mem::zeroed() }
6106     }
6107 }
6108 #[cfg(feature = "Win32_Foundation")]
6109 impl ::std::cmp::PartialEq for PDH_COUNTER_INFO_A {
eq(&self, _other: &Self) -> bool6110     fn eq(&self, _other: &Self) -> bool {
6111         unimplemented!()
6112     }
6113 }
6114 #[cfg(feature = "Win32_Foundation")]
6115 impl ::std::cmp::Eq for PDH_COUNTER_INFO_A {}
6116 #[cfg(feature = "Win32_Foundation")]
6117 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_INFO_A {
6118     type Abi = Self;
6119     type DefaultType = Self;
6120 }
6121 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6122 #[repr(C)]
6123 #[cfg(feature = "Win32_Foundation")]
6124 pub union PDH_COUNTER_INFO_A_0 {
6125     pub DataItemPath: PDH_DATA_ITEM_PATH_ELEMENTS_A,
6126     pub CounterPath: PDH_COUNTER_PATH_ELEMENTS_A,
6127     pub Anonymous: PDH_COUNTER_INFO_A_0_0,
6128 }
6129 #[cfg(feature = "Win32_Foundation")]
6130 impl PDH_COUNTER_INFO_A_0 {}
6131 #[cfg(feature = "Win32_Foundation")]
6132 impl ::std::default::Default for PDH_COUNTER_INFO_A_0 {
default() -> Self6133     fn default() -> Self {
6134         unsafe { ::std::mem::zeroed() }
6135     }
6136 }
6137 #[cfg(feature = "Win32_Foundation")]
6138 impl ::std::cmp::PartialEq for PDH_COUNTER_INFO_A_0 {
eq(&self, _other: &Self) -> bool6139     fn eq(&self, _other: &Self) -> bool {
6140         unimplemented!()
6141     }
6142 }
6143 #[cfg(feature = "Win32_Foundation")]
6144 impl ::std::cmp::Eq for PDH_COUNTER_INFO_A_0 {}
6145 #[cfg(feature = "Win32_Foundation")]
6146 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_INFO_A_0 {
6147     type Abi = Self;
6148     type DefaultType = Self;
6149 }
6150 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6151 #[repr(C)]
6152 #[cfg(feature = "Win32_Foundation")]
6153 pub struct PDH_COUNTER_INFO_A_0_0 {
6154     pub szMachineName: super::super::Foundation::PSTR,
6155     pub szObjectName: super::super::Foundation::PSTR,
6156     pub szInstanceName: super::super::Foundation::PSTR,
6157     pub szParentInstance: super::super::Foundation::PSTR,
6158     pub dwInstanceIndex: u32,
6159     pub szCounterName: super::super::Foundation::PSTR,
6160 }
6161 #[cfg(feature = "Win32_Foundation")]
6162 impl PDH_COUNTER_INFO_A_0_0 {}
6163 #[cfg(feature = "Win32_Foundation")]
6164 impl ::std::default::Default for PDH_COUNTER_INFO_A_0_0 {
default() -> Self6165     fn default() -> Self {
6166         unsafe { ::std::mem::zeroed() }
6167     }
6168 }
6169 #[cfg(feature = "Win32_Foundation")]
6170 impl ::std::fmt::Debug for PDH_COUNTER_INFO_A_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6171     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6172         fmt.debug_struct("_Anonymous_e__Struct")
6173             .field("szMachineName", &self.szMachineName)
6174             .field("szObjectName", &self.szObjectName)
6175             .field("szInstanceName", &self.szInstanceName)
6176             .field("szParentInstance", &self.szParentInstance)
6177             .field("dwInstanceIndex", &self.dwInstanceIndex)
6178             .field("szCounterName", &self.szCounterName)
6179             .finish()
6180     }
6181 }
6182 #[cfg(feature = "Win32_Foundation")]
6183 impl ::std::cmp::PartialEq for PDH_COUNTER_INFO_A_0_0 {
eq(&self, other: &Self) -> bool6184     fn eq(&self, other: &Self) -> bool {
6185         self.szMachineName == other.szMachineName && self.szObjectName == other.szObjectName && self.szInstanceName == other.szInstanceName && self.szParentInstance == other.szParentInstance && self.dwInstanceIndex == other.dwInstanceIndex && self.szCounterName == other.szCounterName
6186     }
6187 }
6188 #[cfg(feature = "Win32_Foundation")]
6189 impl ::std::cmp::Eq for PDH_COUNTER_INFO_A_0_0 {}
6190 #[cfg(feature = "Win32_Foundation")]
6191 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_INFO_A_0_0 {
6192     type Abi = Self;
6193     type DefaultType = Self;
6194 }
6195 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6196 #[repr(C)]
6197 #[cfg(feature = "Win32_Foundation")]
6198 pub struct PDH_COUNTER_INFO_W {
6199     pub dwLength: u32,
6200     pub dwType: u32,
6201     pub CVersion: u32,
6202     pub CStatus: u32,
6203     pub lScale: i32,
6204     pub lDefaultScale: i32,
6205     pub dwUserData: usize,
6206     pub dwQueryUserData: usize,
6207     pub szFullPath: super::super::Foundation::PWSTR,
6208     pub Anonymous: PDH_COUNTER_INFO_W_0,
6209     pub szExplainText: super::super::Foundation::PWSTR,
6210     pub DataBuffer: [u32; 1],
6211 }
6212 #[cfg(feature = "Win32_Foundation")]
6213 impl PDH_COUNTER_INFO_W {}
6214 #[cfg(feature = "Win32_Foundation")]
6215 impl ::std::default::Default for PDH_COUNTER_INFO_W {
default() -> Self6216     fn default() -> Self {
6217         unsafe { ::std::mem::zeroed() }
6218     }
6219 }
6220 #[cfg(feature = "Win32_Foundation")]
6221 impl ::std::cmp::PartialEq for PDH_COUNTER_INFO_W {
eq(&self, _other: &Self) -> bool6222     fn eq(&self, _other: &Self) -> bool {
6223         unimplemented!()
6224     }
6225 }
6226 #[cfg(feature = "Win32_Foundation")]
6227 impl ::std::cmp::Eq for PDH_COUNTER_INFO_W {}
6228 #[cfg(feature = "Win32_Foundation")]
6229 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_INFO_W {
6230     type Abi = Self;
6231     type DefaultType = Self;
6232 }
6233 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6234 #[repr(C)]
6235 #[cfg(feature = "Win32_Foundation")]
6236 pub union PDH_COUNTER_INFO_W_0 {
6237     pub DataItemPath: PDH_DATA_ITEM_PATH_ELEMENTS_W,
6238     pub CounterPath: PDH_COUNTER_PATH_ELEMENTS_W,
6239     pub Anonymous: PDH_COUNTER_INFO_W_0_0,
6240 }
6241 #[cfg(feature = "Win32_Foundation")]
6242 impl PDH_COUNTER_INFO_W_0 {}
6243 #[cfg(feature = "Win32_Foundation")]
6244 impl ::std::default::Default for PDH_COUNTER_INFO_W_0 {
default() -> Self6245     fn default() -> Self {
6246         unsafe { ::std::mem::zeroed() }
6247     }
6248 }
6249 #[cfg(feature = "Win32_Foundation")]
6250 impl ::std::cmp::PartialEq for PDH_COUNTER_INFO_W_0 {
eq(&self, _other: &Self) -> bool6251     fn eq(&self, _other: &Self) -> bool {
6252         unimplemented!()
6253     }
6254 }
6255 #[cfg(feature = "Win32_Foundation")]
6256 impl ::std::cmp::Eq for PDH_COUNTER_INFO_W_0 {}
6257 #[cfg(feature = "Win32_Foundation")]
6258 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_INFO_W_0 {
6259     type Abi = Self;
6260     type DefaultType = Self;
6261 }
6262 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6263 #[repr(C)]
6264 #[cfg(feature = "Win32_Foundation")]
6265 pub struct PDH_COUNTER_INFO_W_0_0 {
6266     pub szMachineName: super::super::Foundation::PWSTR,
6267     pub szObjectName: super::super::Foundation::PWSTR,
6268     pub szInstanceName: super::super::Foundation::PWSTR,
6269     pub szParentInstance: super::super::Foundation::PWSTR,
6270     pub dwInstanceIndex: u32,
6271     pub szCounterName: super::super::Foundation::PWSTR,
6272 }
6273 #[cfg(feature = "Win32_Foundation")]
6274 impl PDH_COUNTER_INFO_W_0_0 {}
6275 #[cfg(feature = "Win32_Foundation")]
6276 impl ::std::default::Default for PDH_COUNTER_INFO_W_0_0 {
default() -> Self6277     fn default() -> Self {
6278         unsafe { ::std::mem::zeroed() }
6279     }
6280 }
6281 #[cfg(feature = "Win32_Foundation")]
6282 impl ::std::fmt::Debug for PDH_COUNTER_INFO_W_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6283     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6284         fmt.debug_struct("_Anonymous_e__Struct")
6285             .field("szMachineName", &self.szMachineName)
6286             .field("szObjectName", &self.szObjectName)
6287             .field("szInstanceName", &self.szInstanceName)
6288             .field("szParentInstance", &self.szParentInstance)
6289             .field("dwInstanceIndex", &self.dwInstanceIndex)
6290             .field("szCounterName", &self.szCounterName)
6291             .finish()
6292     }
6293 }
6294 #[cfg(feature = "Win32_Foundation")]
6295 impl ::std::cmp::PartialEq for PDH_COUNTER_INFO_W_0_0 {
eq(&self, other: &Self) -> bool6296     fn eq(&self, other: &Self) -> bool {
6297         self.szMachineName == other.szMachineName && self.szObjectName == other.szObjectName && self.szInstanceName == other.szInstanceName && self.szParentInstance == other.szParentInstance && self.dwInstanceIndex == other.dwInstanceIndex && self.szCounterName == other.szCounterName
6298     }
6299 }
6300 #[cfg(feature = "Win32_Foundation")]
6301 impl ::std::cmp::Eq for PDH_COUNTER_INFO_W_0_0 {}
6302 #[cfg(feature = "Win32_Foundation")]
6303 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_INFO_W_0_0 {
6304     type Abi = Self;
6305     type DefaultType = Self;
6306 }
6307 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6308 #[repr(C)]
6309 #[cfg(feature = "Win32_Foundation")]
6310 pub struct PDH_COUNTER_PATH_ELEMENTS_A {
6311     pub szMachineName: super::super::Foundation::PSTR,
6312     pub szObjectName: super::super::Foundation::PSTR,
6313     pub szInstanceName: super::super::Foundation::PSTR,
6314     pub szParentInstance: super::super::Foundation::PSTR,
6315     pub dwInstanceIndex: u32,
6316     pub szCounterName: super::super::Foundation::PSTR,
6317 }
6318 #[cfg(feature = "Win32_Foundation")]
6319 impl PDH_COUNTER_PATH_ELEMENTS_A {}
6320 #[cfg(feature = "Win32_Foundation")]
6321 impl ::std::default::Default for PDH_COUNTER_PATH_ELEMENTS_A {
default() -> Self6322     fn default() -> Self {
6323         unsafe { ::std::mem::zeroed() }
6324     }
6325 }
6326 #[cfg(feature = "Win32_Foundation")]
6327 impl ::std::fmt::Debug for PDH_COUNTER_PATH_ELEMENTS_A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6328     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6329         fmt.debug_struct("PDH_COUNTER_PATH_ELEMENTS_A")
6330             .field("szMachineName", &self.szMachineName)
6331             .field("szObjectName", &self.szObjectName)
6332             .field("szInstanceName", &self.szInstanceName)
6333             .field("szParentInstance", &self.szParentInstance)
6334             .field("dwInstanceIndex", &self.dwInstanceIndex)
6335             .field("szCounterName", &self.szCounterName)
6336             .finish()
6337     }
6338 }
6339 #[cfg(feature = "Win32_Foundation")]
6340 impl ::std::cmp::PartialEq for PDH_COUNTER_PATH_ELEMENTS_A {
eq(&self, other: &Self) -> bool6341     fn eq(&self, other: &Self) -> bool {
6342         self.szMachineName == other.szMachineName && self.szObjectName == other.szObjectName && self.szInstanceName == other.szInstanceName && self.szParentInstance == other.szParentInstance && self.dwInstanceIndex == other.dwInstanceIndex && self.szCounterName == other.szCounterName
6343     }
6344 }
6345 #[cfg(feature = "Win32_Foundation")]
6346 impl ::std::cmp::Eq for PDH_COUNTER_PATH_ELEMENTS_A {}
6347 #[cfg(feature = "Win32_Foundation")]
6348 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_PATH_ELEMENTS_A {
6349     type Abi = Self;
6350     type DefaultType = Self;
6351 }
6352 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6353 #[repr(C)]
6354 #[cfg(feature = "Win32_Foundation")]
6355 pub struct PDH_COUNTER_PATH_ELEMENTS_W {
6356     pub szMachineName: super::super::Foundation::PWSTR,
6357     pub szObjectName: super::super::Foundation::PWSTR,
6358     pub szInstanceName: super::super::Foundation::PWSTR,
6359     pub szParentInstance: super::super::Foundation::PWSTR,
6360     pub dwInstanceIndex: u32,
6361     pub szCounterName: super::super::Foundation::PWSTR,
6362 }
6363 #[cfg(feature = "Win32_Foundation")]
6364 impl PDH_COUNTER_PATH_ELEMENTS_W {}
6365 #[cfg(feature = "Win32_Foundation")]
6366 impl ::std::default::Default for PDH_COUNTER_PATH_ELEMENTS_W {
default() -> Self6367     fn default() -> Self {
6368         unsafe { ::std::mem::zeroed() }
6369     }
6370 }
6371 #[cfg(feature = "Win32_Foundation")]
6372 impl ::std::fmt::Debug for PDH_COUNTER_PATH_ELEMENTS_W {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6373     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6374         fmt.debug_struct("PDH_COUNTER_PATH_ELEMENTS_W")
6375             .field("szMachineName", &self.szMachineName)
6376             .field("szObjectName", &self.szObjectName)
6377             .field("szInstanceName", &self.szInstanceName)
6378             .field("szParentInstance", &self.szParentInstance)
6379             .field("dwInstanceIndex", &self.dwInstanceIndex)
6380             .field("szCounterName", &self.szCounterName)
6381             .finish()
6382     }
6383 }
6384 #[cfg(feature = "Win32_Foundation")]
6385 impl ::std::cmp::PartialEq for PDH_COUNTER_PATH_ELEMENTS_W {
eq(&self, other: &Self) -> bool6386     fn eq(&self, other: &Self) -> bool {
6387         self.szMachineName == other.szMachineName && self.szObjectName == other.szObjectName && self.szInstanceName == other.szInstanceName && self.szParentInstance == other.szParentInstance && self.dwInstanceIndex == other.dwInstanceIndex && self.szCounterName == other.szCounterName
6388     }
6389 }
6390 #[cfg(feature = "Win32_Foundation")]
6391 impl ::std::cmp::Eq for PDH_COUNTER_PATH_ELEMENTS_W {}
6392 #[cfg(feature = "Win32_Foundation")]
6393 unsafe impl ::windows::runtime::Abi for PDH_COUNTER_PATH_ELEMENTS_W {
6394     type Abi = Self;
6395     type DefaultType = Self;
6396 }
6397 pub const PDH_CSTATUS_BAD_COUNTERNAME: i32 = -1073738816i32;
6398 pub const PDH_CSTATUS_INVALID_DATA: i32 = -1073738822i32;
6399 pub const PDH_CSTATUS_ITEM_NOT_VALIDATED: i32 = -2147481645i32;
6400 pub const PDH_CSTATUS_NEW_DATA: i32 = 1i32;
6401 pub const PDH_CSTATUS_NO_COUNTER: i32 = -1073738823i32;
6402 pub const PDH_CSTATUS_NO_COUNTERNAME: i32 = -1073738817i32;
6403 pub const PDH_CSTATUS_NO_INSTANCE: i32 = -2147481647i32;
6404 pub const PDH_CSTATUS_NO_MACHINE: i32 = -2147481648i32;
6405 pub const PDH_CSTATUS_NO_OBJECT: i32 = -1073738824i32;
6406 pub const PDH_CSTATUS_VALID_DATA: i32 = 0i32;
6407 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6408 #[repr(C)]
6409 #[cfg(feature = "Win32_Foundation")]
6410 pub struct PDH_DATA_ITEM_PATH_ELEMENTS_A {
6411     pub szMachineName: super::super::Foundation::PSTR,
6412     pub ObjectGUID: ::windows::runtime::GUID,
6413     pub dwItemId: u32,
6414     pub szInstanceName: super::super::Foundation::PSTR,
6415 }
6416 #[cfg(feature = "Win32_Foundation")]
6417 impl PDH_DATA_ITEM_PATH_ELEMENTS_A {}
6418 #[cfg(feature = "Win32_Foundation")]
6419 impl ::std::default::Default for PDH_DATA_ITEM_PATH_ELEMENTS_A {
default() -> Self6420     fn default() -> Self {
6421         unsafe { ::std::mem::zeroed() }
6422     }
6423 }
6424 #[cfg(feature = "Win32_Foundation")]
6425 impl ::std::fmt::Debug for PDH_DATA_ITEM_PATH_ELEMENTS_A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6426     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6427         fmt.debug_struct("PDH_DATA_ITEM_PATH_ELEMENTS_A").field("szMachineName", &self.szMachineName).field("ObjectGUID", &self.ObjectGUID).field("dwItemId", &self.dwItemId).field("szInstanceName", &self.szInstanceName).finish()
6428     }
6429 }
6430 #[cfg(feature = "Win32_Foundation")]
6431 impl ::std::cmp::PartialEq for PDH_DATA_ITEM_PATH_ELEMENTS_A {
eq(&self, other: &Self) -> bool6432     fn eq(&self, other: &Self) -> bool {
6433         self.szMachineName == other.szMachineName && self.ObjectGUID == other.ObjectGUID && self.dwItemId == other.dwItemId && self.szInstanceName == other.szInstanceName
6434     }
6435 }
6436 #[cfg(feature = "Win32_Foundation")]
6437 impl ::std::cmp::Eq for PDH_DATA_ITEM_PATH_ELEMENTS_A {}
6438 #[cfg(feature = "Win32_Foundation")]
6439 unsafe impl ::windows::runtime::Abi for PDH_DATA_ITEM_PATH_ELEMENTS_A {
6440     type Abi = Self;
6441     type DefaultType = Self;
6442 }
6443 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6444 #[repr(C)]
6445 #[cfg(feature = "Win32_Foundation")]
6446 pub struct PDH_DATA_ITEM_PATH_ELEMENTS_W {
6447     pub szMachineName: super::super::Foundation::PWSTR,
6448     pub ObjectGUID: ::windows::runtime::GUID,
6449     pub dwItemId: u32,
6450     pub szInstanceName: super::super::Foundation::PWSTR,
6451 }
6452 #[cfg(feature = "Win32_Foundation")]
6453 impl PDH_DATA_ITEM_PATH_ELEMENTS_W {}
6454 #[cfg(feature = "Win32_Foundation")]
6455 impl ::std::default::Default for PDH_DATA_ITEM_PATH_ELEMENTS_W {
default() -> Self6456     fn default() -> Self {
6457         unsafe { ::std::mem::zeroed() }
6458     }
6459 }
6460 #[cfg(feature = "Win32_Foundation")]
6461 impl ::std::fmt::Debug for PDH_DATA_ITEM_PATH_ELEMENTS_W {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6462     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6463         fmt.debug_struct("PDH_DATA_ITEM_PATH_ELEMENTS_W").field("szMachineName", &self.szMachineName).field("ObjectGUID", &self.ObjectGUID).field("dwItemId", &self.dwItemId).field("szInstanceName", &self.szInstanceName).finish()
6464     }
6465 }
6466 #[cfg(feature = "Win32_Foundation")]
6467 impl ::std::cmp::PartialEq for PDH_DATA_ITEM_PATH_ELEMENTS_W {
eq(&self, other: &Self) -> bool6468     fn eq(&self, other: &Self) -> bool {
6469         self.szMachineName == other.szMachineName && self.ObjectGUID == other.ObjectGUID && self.dwItemId == other.dwItemId && self.szInstanceName == other.szInstanceName
6470     }
6471 }
6472 #[cfg(feature = "Win32_Foundation")]
6473 impl ::std::cmp::Eq for PDH_DATA_ITEM_PATH_ELEMENTS_W {}
6474 #[cfg(feature = "Win32_Foundation")]
6475 unsafe impl ::windows::runtime::Abi for PDH_DATA_ITEM_PATH_ELEMENTS_W {
6476     type Abi = Self;
6477     type DefaultType = Self;
6478 }
6479 pub const PDH_DATA_SOURCE_IS_LOG_FILE: i32 = -1073738802i32;
6480 pub const PDH_DATA_SOURCE_IS_REAL_TIME: i32 = -1073738801i32;
6481 pub const PDH_DIALOG_CANCELLED: i32 = -2147481639i32;
6482 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
6483 #[repr(transparent)]
6484 pub struct PDH_DLL_VERSION(pub u32);
6485 pub const PDH_CVERSION_WIN50: PDH_DLL_VERSION = PDH_DLL_VERSION(1280u32);
6486 pub const PDH_VERSION: PDH_DLL_VERSION = PDH_DLL_VERSION(1283u32);
6487 impl ::std::convert::From<u32> for PDH_DLL_VERSION {
from(value: u32) -> Self6488     fn from(value: u32) -> Self {
6489         Self(value)
6490     }
6491 }
6492 unsafe impl ::windows::runtime::Abi for PDH_DLL_VERSION {
6493     type Abi = Self;
6494     type DefaultType = Self;
6495 }
6496 impl ::std::ops::BitOr for PDH_DLL_VERSION {
6497     type Output = Self;
bitor(self, rhs: Self) -> Self6498     fn bitor(self, rhs: Self) -> Self {
6499         Self(self.0 | rhs.0)
6500     }
6501 }
6502 impl ::std::ops::BitAnd for PDH_DLL_VERSION {
6503     type Output = Self;
bitand(self, rhs: Self) -> Self6504     fn bitand(self, rhs: Self) -> Self {
6505         Self(self.0 & rhs.0)
6506     }
6507 }
6508 impl ::std::ops::BitOrAssign for PDH_DLL_VERSION {
bitor_assign(&mut self, rhs: Self)6509     fn bitor_assign(&mut self, rhs: Self) {
6510         self.0.bitor_assign(rhs.0)
6511     }
6512 }
6513 impl ::std::ops::BitAndAssign for PDH_DLL_VERSION {
bitand_assign(&mut self, rhs: Self)6514     fn bitand_assign(&mut self, rhs: Self) {
6515         self.0.bitand_assign(rhs.0)
6516     }
6517 }
6518 impl ::std::ops::Not for PDH_DLL_VERSION {
6519     type Output = Self;
not(self) -> Self6520     fn not(self) -> Self {
6521         Self(self.0.not())
6522     }
6523 }
6524 pub const PDH_END_OF_LOG_FILE: i32 = -2147481638i32;
6525 pub const PDH_ENTRY_NOT_IN_LOG_FILE: i32 = -1073738803i32;
6526 pub const PDH_FILE_ALREADY_EXISTS: i32 = -1073738798i32;
6527 pub const PDH_FILE_NOT_FOUND: i32 = -1073738799i32;
6528 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
6529 #[repr(transparent)]
6530 pub struct PDH_FMT(pub u32);
6531 pub const PDH_FMT_DOUBLE: PDH_FMT = PDH_FMT(512u32);
6532 pub const PDH_FMT_LARGE: PDH_FMT = PDH_FMT(1024u32);
6533 pub const PDH_FMT_LONG: PDH_FMT = PDH_FMT(256u32);
6534 impl ::std::convert::From<u32> for PDH_FMT {
from(value: u32) -> Self6535     fn from(value: u32) -> Self {
6536         Self(value)
6537     }
6538 }
6539 unsafe impl ::windows::runtime::Abi for PDH_FMT {
6540     type Abi = Self;
6541     type DefaultType = Self;
6542 }
6543 impl ::std::ops::BitOr for PDH_FMT {
6544     type Output = Self;
bitor(self, rhs: Self) -> Self6545     fn bitor(self, rhs: Self) -> Self {
6546         Self(self.0 | rhs.0)
6547     }
6548 }
6549 impl ::std::ops::BitAnd for PDH_FMT {
6550     type Output = Self;
bitand(self, rhs: Self) -> Self6551     fn bitand(self, rhs: Self) -> Self {
6552         Self(self.0 & rhs.0)
6553     }
6554 }
6555 impl ::std::ops::BitOrAssign for PDH_FMT {
bitor_assign(&mut self, rhs: Self)6556     fn bitor_assign(&mut self, rhs: Self) {
6557         self.0.bitor_assign(rhs.0)
6558     }
6559 }
6560 impl ::std::ops::BitAndAssign for PDH_FMT {
bitand_assign(&mut self, rhs: Self)6561     fn bitand_assign(&mut self, rhs: Self) {
6562         self.0.bitand_assign(rhs.0)
6563     }
6564 }
6565 impl ::std::ops::Not for PDH_FMT {
6566     type Output = Self;
not(self) -> Self6567     fn not(self) -> Self {
6568         Self(self.0.not())
6569     }
6570 }
6571 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6572 #[repr(C)]
6573 #[cfg(feature = "Win32_Foundation")]
6574 pub struct PDH_FMT_COUNTERVALUE {
6575     pub CStatus: u32,
6576     pub Anonymous: PDH_FMT_COUNTERVALUE_0,
6577 }
6578 #[cfg(feature = "Win32_Foundation")]
6579 impl PDH_FMT_COUNTERVALUE {}
6580 #[cfg(feature = "Win32_Foundation")]
6581 impl ::std::default::Default for PDH_FMT_COUNTERVALUE {
default() -> Self6582     fn default() -> Self {
6583         unsafe { ::std::mem::zeroed() }
6584     }
6585 }
6586 #[cfg(feature = "Win32_Foundation")]
6587 impl ::std::cmp::PartialEq for PDH_FMT_COUNTERVALUE {
eq(&self, _other: &Self) -> bool6588     fn eq(&self, _other: &Self) -> bool {
6589         unimplemented!()
6590     }
6591 }
6592 #[cfg(feature = "Win32_Foundation")]
6593 impl ::std::cmp::Eq for PDH_FMT_COUNTERVALUE {}
6594 #[cfg(feature = "Win32_Foundation")]
6595 unsafe impl ::windows::runtime::Abi for PDH_FMT_COUNTERVALUE {
6596     type Abi = Self;
6597     type DefaultType = Self;
6598 }
6599 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6600 #[repr(C)]
6601 #[cfg(feature = "Win32_Foundation")]
6602 pub union PDH_FMT_COUNTERVALUE_0 {
6603     pub longValue: i32,
6604     pub doubleValue: f64,
6605     pub largeValue: i64,
6606     pub AnsiStringValue: super::super::Foundation::PSTR,
6607     pub WideStringValue: super::super::Foundation::PWSTR,
6608 }
6609 #[cfg(feature = "Win32_Foundation")]
6610 impl PDH_FMT_COUNTERVALUE_0 {}
6611 #[cfg(feature = "Win32_Foundation")]
6612 impl ::std::default::Default for PDH_FMT_COUNTERVALUE_0 {
default() -> Self6613     fn default() -> Self {
6614         unsafe { ::std::mem::zeroed() }
6615     }
6616 }
6617 #[cfg(feature = "Win32_Foundation")]
6618 impl ::std::cmp::PartialEq for PDH_FMT_COUNTERVALUE_0 {
eq(&self, _other: &Self) -> bool6619     fn eq(&self, _other: &Self) -> bool {
6620         unimplemented!()
6621     }
6622 }
6623 #[cfg(feature = "Win32_Foundation")]
6624 impl ::std::cmp::Eq for PDH_FMT_COUNTERVALUE_0 {}
6625 #[cfg(feature = "Win32_Foundation")]
6626 unsafe impl ::windows::runtime::Abi for PDH_FMT_COUNTERVALUE_0 {
6627     type Abi = Self;
6628     type DefaultType = Self;
6629 }
6630 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6631 #[repr(C)]
6632 #[cfg(feature = "Win32_Foundation")]
6633 pub struct PDH_FMT_COUNTERVALUE_ITEM_A {
6634     pub szName: super::super::Foundation::PSTR,
6635     pub FmtValue: PDH_FMT_COUNTERVALUE,
6636 }
6637 #[cfg(feature = "Win32_Foundation")]
6638 impl PDH_FMT_COUNTERVALUE_ITEM_A {}
6639 #[cfg(feature = "Win32_Foundation")]
6640 impl ::std::default::Default for PDH_FMT_COUNTERVALUE_ITEM_A {
default() -> Self6641     fn default() -> Self {
6642         unsafe { ::std::mem::zeroed() }
6643     }
6644 }
6645 #[cfg(feature = "Win32_Foundation")]
6646 impl ::std::cmp::PartialEq for PDH_FMT_COUNTERVALUE_ITEM_A {
eq(&self, _other: &Self) -> bool6647     fn eq(&self, _other: &Self) -> bool {
6648         unimplemented!()
6649     }
6650 }
6651 #[cfg(feature = "Win32_Foundation")]
6652 impl ::std::cmp::Eq for PDH_FMT_COUNTERVALUE_ITEM_A {}
6653 #[cfg(feature = "Win32_Foundation")]
6654 unsafe impl ::windows::runtime::Abi for PDH_FMT_COUNTERVALUE_ITEM_A {
6655     type Abi = Self;
6656     type DefaultType = Self;
6657 }
6658 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6659 #[repr(C)]
6660 #[cfg(feature = "Win32_Foundation")]
6661 pub struct PDH_FMT_COUNTERVALUE_ITEM_W {
6662     pub szName: super::super::Foundation::PWSTR,
6663     pub FmtValue: PDH_FMT_COUNTERVALUE,
6664 }
6665 #[cfg(feature = "Win32_Foundation")]
6666 impl PDH_FMT_COUNTERVALUE_ITEM_W {}
6667 #[cfg(feature = "Win32_Foundation")]
6668 impl ::std::default::Default for PDH_FMT_COUNTERVALUE_ITEM_W {
default() -> Self6669     fn default() -> Self {
6670         unsafe { ::std::mem::zeroed() }
6671     }
6672 }
6673 #[cfg(feature = "Win32_Foundation")]
6674 impl ::std::cmp::PartialEq for PDH_FMT_COUNTERVALUE_ITEM_W {
eq(&self, _other: &Self) -> bool6675     fn eq(&self, _other: &Self) -> bool {
6676         unimplemented!()
6677     }
6678 }
6679 #[cfg(feature = "Win32_Foundation")]
6680 impl ::std::cmp::Eq for PDH_FMT_COUNTERVALUE_ITEM_W {}
6681 #[cfg(feature = "Win32_Foundation")]
6682 unsafe impl ::windows::runtime::Abi for PDH_FMT_COUNTERVALUE_ITEM_W {
6683     type Abi = Self;
6684     type DefaultType = Self;
6685 }
6686 pub const PDH_FUNCTION_NOT_FOUND: i32 = -1073738818i32;
6687 pub const PDH_INCORRECT_APPEND_TIME: i32 = -1073738757i32;
6688 pub const PDH_INSUFFICIENT_BUFFER: i32 = -1073738814i32;
6689 pub const PDH_INVALID_ARGUMENT: i32 = -1073738819i32;
6690 pub const PDH_INVALID_BUFFER: i32 = -1073738815i32;
6691 pub const PDH_INVALID_DATA: i32 = -1073738810i32;
6692 pub const PDH_INVALID_DATASOURCE: i32 = -1073738787i32;
6693 pub const PDH_INVALID_HANDLE: i32 = -1073738820i32;
6694 pub const PDH_INVALID_INSTANCE: i32 = -1073738811i32;
6695 pub const PDH_INVALID_PATH: i32 = -1073738812i32;
6696 pub const PDH_INVALID_SQLDB: i32 = -1073738786i32;
6697 pub const PDH_INVALID_SQL_LOG_FORMAT: i32 = -1073738763i32;
6698 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
6699 #[repr(transparent)]
6700 pub struct PDH_LOG(pub u32);
6701 pub const PDH_LOG_READ_ACCESS: PDH_LOG = PDH_LOG(65536u32);
6702 pub const PDH_LOG_WRITE_ACCESS: PDH_LOG = PDH_LOG(131072u32);
6703 pub const PDH_LOG_UPDATE_ACCESS: PDH_LOG = PDH_LOG(262144u32);
6704 impl ::std::convert::From<u32> for PDH_LOG {
from(value: u32) -> Self6705     fn from(value: u32) -> Self {
6706         Self(value)
6707     }
6708 }
6709 unsafe impl ::windows::runtime::Abi for PDH_LOG {
6710     type Abi = Self;
6711     type DefaultType = Self;
6712 }
6713 impl ::std::ops::BitOr for PDH_LOG {
6714     type Output = Self;
bitor(self, rhs: Self) -> Self6715     fn bitor(self, rhs: Self) -> Self {
6716         Self(self.0 | rhs.0)
6717     }
6718 }
6719 impl ::std::ops::BitAnd for PDH_LOG {
6720     type Output = Self;
bitand(self, rhs: Self) -> Self6721     fn bitand(self, rhs: Self) -> Self {
6722         Self(self.0 & rhs.0)
6723     }
6724 }
6725 impl ::std::ops::BitOrAssign for PDH_LOG {
bitor_assign(&mut self, rhs: Self)6726     fn bitor_assign(&mut self, rhs: Self) {
6727         self.0.bitor_assign(rhs.0)
6728     }
6729 }
6730 impl ::std::ops::BitAndAssign for PDH_LOG {
bitand_assign(&mut self, rhs: Self)6731     fn bitand_assign(&mut self, rhs: Self) {
6732         self.0.bitand_assign(rhs.0)
6733     }
6734 }
6735 impl ::std::ops::Not for PDH_LOG {
6736     type Output = Self;
not(self) -> Self6737     fn not(self) -> Self {
6738         Self(self.0.not())
6739     }
6740 }
6741 pub const PDH_LOGSVC_NOT_OPENED: i32 = -1073738791i32;
6742 pub const PDH_LOGSVC_QUERY_NOT_FOUND: i32 = -1073738792i32;
6743 pub const PDH_LOG_FILE_CREATE_ERROR: i32 = -1073738807i32;
6744 pub const PDH_LOG_FILE_OPEN_ERROR: i32 = -1073738806i32;
6745 pub const PDH_LOG_FILE_TOO_SMALL: i32 = -1073738788i32;
6746 pub const PDH_LOG_SAMPLE_TOO_SMALL: i32 = -1073738760i32;
6747 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6748 #[repr(C)]
6749 #[cfg(feature = "Win32_Foundation")]
6750 pub struct PDH_LOG_SERVICE_QUERY_INFO_A {
6751     pub dwSize: u32,
6752     pub dwFlags: u32,
6753     pub dwLogQuota: u32,
6754     pub szLogFileCaption: super::super::Foundation::PSTR,
6755     pub szDefaultDir: super::super::Foundation::PSTR,
6756     pub szBaseFileName: super::super::Foundation::PSTR,
6757     pub dwFileType: u32,
6758     pub dwReserved: u32,
6759     pub Anonymous: PDH_LOG_SERVICE_QUERY_INFO_A_0,
6760 }
6761 #[cfg(feature = "Win32_Foundation")]
6762 impl PDH_LOG_SERVICE_QUERY_INFO_A {}
6763 #[cfg(feature = "Win32_Foundation")]
6764 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_A {
default() -> Self6765     fn default() -> Self {
6766         unsafe { ::std::mem::zeroed() }
6767     }
6768 }
6769 #[cfg(feature = "Win32_Foundation")]
6770 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_A {
eq(&self, _other: &Self) -> bool6771     fn eq(&self, _other: &Self) -> bool {
6772         unimplemented!()
6773     }
6774 }
6775 #[cfg(feature = "Win32_Foundation")]
6776 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_A {}
6777 #[cfg(feature = "Win32_Foundation")]
6778 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_A {
6779     type Abi = Self;
6780     type DefaultType = Self;
6781 }
6782 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6783 #[repr(C)]
6784 #[cfg(feature = "Win32_Foundation")]
6785 pub union PDH_LOG_SERVICE_QUERY_INFO_A_0 {
6786     pub Anonymous1: PDH_LOG_SERVICE_QUERY_INFO_A_0_0,
6787     pub Anonymous2: PDH_LOG_SERVICE_QUERY_INFO_A_0_1,
6788 }
6789 #[cfg(feature = "Win32_Foundation")]
6790 impl PDH_LOG_SERVICE_QUERY_INFO_A_0 {}
6791 #[cfg(feature = "Win32_Foundation")]
6792 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_A_0 {
default() -> Self6793     fn default() -> Self {
6794         unsafe { ::std::mem::zeroed() }
6795     }
6796 }
6797 #[cfg(feature = "Win32_Foundation")]
6798 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_A_0 {
eq(&self, _other: &Self) -> bool6799     fn eq(&self, _other: &Self) -> bool {
6800         unimplemented!()
6801     }
6802 }
6803 #[cfg(feature = "Win32_Foundation")]
6804 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_A_0 {}
6805 #[cfg(feature = "Win32_Foundation")]
6806 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_A_0 {
6807     type Abi = Self;
6808     type DefaultType = Self;
6809 }
6810 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6811 #[repr(C)]
6812 #[cfg(feature = "Win32_Foundation")]
6813 pub struct PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {
6814     pub PdlAutoNameInterval: u32,
6815     pub PdlAutoNameUnits: u32,
6816     pub PdlCommandFilename: super::super::Foundation::PSTR,
6817     pub PdlCounterList: super::super::Foundation::PSTR,
6818     pub PdlAutoNameFormat: u32,
6819     pub PdlSampleInterval: u32,
6820     pub PdlLogStartTime: super::super::Foundation::FILETIME,
6821     pub PdlLogEndTime: super::super::Foundation::FILETIME,
6822 }
6823 #[cfg(feature = "Win32_Foundation")]
6824 impl PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {}
6825 #[cfg(feature = "Win32_Foundation")]
6826 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {
default() -> Self6827     fn default() -> Self {
6828         unsafe { ::std::mem::zeroed() }
6829     }
6830 }
6831 #[cfg(feature = "Win32_Foundation")]
6832 impl ::std::fmt::Debug for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6833     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6834         fmt.debug_struct("_Anonymous1_e__Struct")
6835             .field("PdlAutoNameInterval", &self.PdlAutoNameInterval)
6836             .field("PdlAutoNameUnits", &self.PdlAutoNameUnits)
6837             .field("PdlCommandFilename", &self.PdlCommandFilename)
6838             .field("PdlCounterList", &self.PdlCounterList)
6839             .field("PdlAutoNameFormat", &self.PdlAutoNameFormat)
6840             .field("PdlSampleInterval", &self.PdlSampleInterval)
6841             .field("PdlLogStartTime", &self.PdlLogStartTime)
6842             .field("PdlLogEndTime", &self.PdlLogEndTime)
6843             .finish()
6844     }
6845 }
6846 #[cfg(feature = "Win32_Foundation")]
6847 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {
eq(&self, other: &Self) -> bool6848     fn eq(&self, other: &Self) -> bool {
6849         self.PdlAutoNameInterval == other.PdlAutoNameInterval && self.PdlAutoNameUnits == other.PdlAutoNameUnits && self.PdlCommandFilename == other.PdlCommandFilename && self.PdlCounterList == other.PdlCounterList && self.PdlAutoNameFormat == other.PdlAutoNameFormat && self.PdlSampleInterval == other.PdlSampleInterval && self.PdlLogStartTime == other.PdlLogStartTime && self.PdlLogEndTime == other.PdlLogEndTime
6850     }
6851 }
6852 #[cfg(feature = "Win32_Foundation")]
6853 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {}
6854 #[cfg(feature = "Win32_Foundation")]
6855 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_A_0_0 {
6856     type Abi = Self;
6857     type DefaultType = Self;
6858 }
6859 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6860 #[repr(C)]
6861 #[cfg(feature = "Win32_Foundation")]
6862 pub struct PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {
6863     pub TlNumberOfBuffers: u32,
6864     pub TlMinimumBuffers: u32,
6865     pub TlMaximumBuffers: u32,
6866     pub TlFreeBuffers: u32,
6867     pub TlBufferSize: u32,
6868     pub TlEventsLost: u32,
6869     pub TlLoggerThreadId: u32,
6870     pub TlBuffersWritten: u32,
6871     pub TlLogHandle: u32,
6872     pub TlLogFileName: super::super::Foundation::PSTR,
6873 }
6874 #[cfg(feature = "Win32_Foundation")]
6875 impl PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {}
6876 #[cfg(feature = "Win32_Foundation")]
6877 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {
default() -> Self6878     fn default() -> Self {
6879         unsafe { ::std::mem::zeroed() }
6880     }
6881 }
6882 #[cfg(feature = "Win32_Foundation")]
6883 impl ::std::fmt::Debug for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6884     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6885         fmt.debug_struct("_Anonymous2_e__Struct")
6886             .field("TlNumberOfBuffers", &self.TlNumberOfBuffers)
6887             .field("TlMinimumBuffers", &self.TlMinimumBuffers)
6888             .field("TlMaximumBuffers", &self.TlMaximumBuffers)
6889             .field("TlFreeBuffers", &self.TlFreeBuffers)
6890             .field("TlBufferSize", &self.TlBufferSize)
6891             .field("TlEventsLost", &self.TlEventsLost)
6892             .field("TlLoggerThreadId", &self.TlLoggerThreadId)
6893             .field("TlBuffersWritten", &self.TlBuffersWritten)
6894             .field("TlLogHandle", &self.TlLogHandle)
6895             .field("TlLogFileName", &self.TlLogFileName)
6896             .finish()
6897     }
6898 }
6899 #[cfg(feature = "Win32_Foundation")]
6900 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {
eq(&self, other: &Self) -> bool6901     fn eq(&self, other: &Self) -> bool {
6902         self.TlNumberOfBuffers == other.TlNumberOfBuffers && self.TlMinimumBuffers == other.TlMinimumBuffers && self.TlMaximumBuffers == other.TlMaximumBuffers && self.TlFreeBuffers == other.TlFreeBuffers && self.TlBufferSize == other.TlBufferSize && self.TlEventsLost == other.TlEventsLost && self.TlLoggerThreadId == other.TlLoggerThreadId && self.TlBuffersWritten == other.TlBuffersWritten && self.TlLogHandle == other.TlLogHandle && self.TlLogFileName == other.TlLogFileName
6903     }
6904 }
6905 #[cfg(feature = "Win32_Foundation")]
6906 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {}
6907 #[cfg(feature = "Win32_Foundation")]
6908 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_A_0_1 {
6909     type Abi = Self;
6910     type DefaultType = Self;
6911 }
6912 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6913 #[repr(C)]
6914 #[cfg(feature = "Win32_Foundation")]
6915 pub struct PDH_LOG_SERVICE_QUERY_INFO_W {
6916     pub dwSize: u32,
6917     pub dwFlags: u32,
6918     pub dwLogQuota: u32,
6919     pub szLogFileCaption: super::super::Foundation::PWSTR,
6920     pub szDefaultDir: super::super::Foundation::PWSTR,
6921     pub szBaseFileName: super::super::Foundation::PWSTR,
6922     pub dwFileType: u32,
6923     pub dwReserved: u32,
6924     pub Anonymous: PDH_LOG_SERVICE_QUERY_INFO_W_0,
6925 }
6926 #[cfg(feature = "Win32_Foundation")]
6927 impl PDH_LOG_SERVICE_QUERY_INFO_W {}
6928 #[cfg(feature = "Win32_Foundation")]
6929 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_W {
default() -> Self6930     fn default() -> Self {
6931         unsafe { ::std::mem::zeroed() }
6932     }
6933 }
6934 #[cfg(feature = "Win32_Foundation")]
6935 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_W {
eq(&self, _other: &Self) -> bool6936     fn eq(&self, _other: &Self) -> bool {
6937         unimplemented!()
6938     }
6939 }
6940 #[cfg(feature = "Win32_Foundation")]
6941 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_W {}
6942 #[cfg(feature = "Win32_Foundation")]
6943 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_W {
6944     type Abi = Self;
6945     type DefaultType = Self;
6946 }
6947 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6948 #[repr(C)]
6949 #[cfg(feature = "Win32_Foundation")]
6950 pub union PDH_LOG_SERVICE_QUERY_INFO_W_0 {
6951     pub Anonymous1: PDH_LOG_SERVICE_QUERY_INFO_W_0_0,
6952     pub Anonymous2: PDH_LOG_SERVICE_QUERY_INFO_W_0_1,
6953 }
6954 #[cfg(feature = "Win32_Foundation")]
6955 impl PDH_LOG_SERVICE_QUERY_INFO_W_0 {}
6956 #[cfg(feature = "Win32_Foundation")]
6957 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_W_0 {
default() -> Self6958     fn default() -> Self {
6959         unsafe { ::std::mem::zeroed() }
6960     }
6961 }
6962 #[cfg(feature = "Win32_Foundation")]
6963 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_W_0 {
eq(&self, _other: &Self) -> bool6964     fn eq(&self, _other: &Self) -> bool {
6965         unimplemented!()
6966     }
6967 }
6968 #[cfg(feature = "Win32_Foundation")]
6969 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_W_0 {}
6970 #[cfg(feature = "Win32_Foundation")]
6971 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_W_0 {
6972     type Abi = Self;
6973     type DefaultType = Self;
6974 }
6975 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6976 #[repr(C)]
6977 #[cfg(feature = "Win32_Foundation")]
6978 pub struct PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {
6979     pub PdlAutoNameInterval: u32,
6980     pub PdlAutoNameUnits: u32,
6981     pub PdlCommandFilename: super::super::Foundation::PWSTR,
6982     pub PdlCounterList: super::super::Foundation::PWSTR,
6983     pub PdlAutoNameFormat: u32,
6984     pub PdlSampleInterval: u32,
6985     pub PdlLogStartTime: super::super::Foundation::FILETIME,
6986     pub PdlLogEndTime: super::super::Foundation::FILETIME,
6987 }
6988 #[cfg(feature = "Win32_Foundation")]
6989 impl PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {}
6990 #[cfg(feature = "Win32_Foundation")]
6991 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {
default() -> Self6992     fn default() -> Self {
6993         unsafe { ::std::mem::zeroed() }
6994     }
6995 }
6996 #[cfg(feature = "Win32_Foundation")]
6997 impl ::std::fmt::Debug for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6998     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6999         fmt.debug_struct("_Anonymous1_e__Struct")
7000             .field("PdlAutoNameInterval", &self.PdlAutoNameInterval)
7001             .field("PdlAutoNameUnits", &self.PdlAutoNameUnits)
7002             .field("PdlCommandFilename", &self.PdlCommandFilename)
7003             .field("PdlCounterList", &self.PdlCounterList)
7004             .field("PdlAutoNameFormat", &self.PdlAutoNameFormat)
7005             .field("PdlSampleInterval", &self.PdlSampleInterval)
7006             .field("PdlLogStartTime", &self.PdlLogStartTime)
7007             .field("PdlLogEndTime", &self.PdlLogEndTime)
7008             .finish()
7009     }
7010 }
7011 #[cfg(feature = "Win32_Foundation")]
7012 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {
eq(&self, other: &Self) -> bool7013     fn eq(&self, other: &Self) -> bool {
7014         self.PdlAutoNameInterval == other.PdlAutoNameInterval && self.PdlAutoNameUnits == other.PdlAutoNameUnits && self.PdlCommandFilename == other.PdlCommandFilename && self.PdlCounterList == other.PdlCounterList && self.PdlAutoNameFormat == other.PdlAutoNameFormat && self.PdlSampleInterval == other.PdlSampleInterval && self.PdlLogStartTime == other.PdlLogStartTime && self.PdlLogEndTime == other.PdlLogEndTime
7015     }
7016 }
7017 #[cfg(feature = "Win32_Foundation")]
7018 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {}
7019 #[cfg(feature = "Win32_Foundation")]
7020 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_W_0_0 {
7021     type Abi = Self;
7022     type DefaultType = Self;
7023 }
7024 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7025 #[repr(C)]
7026 #[cfg(feature = "Win32_Foundation")]
7027 pub struct PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {
7028     pub TlNumberOfBuffers: u32,
7029     pub TlMinimumBuffers: u32,
7030     pub TlMaximumBuffers: u32,
7031     pub TlFreeBuffers: u32,
7032     pub TlBufferSize: u32,
7033     pub TlEventsLost: u32,
7034     pub TlLoggerThreadId: u32,
7035     pub TlBuffersWritten: u32,
7036     pub TlLogHandle: u32,
7037     pub TlLogFileName: super::super::Foundation::PWSTR,
7038 }
7039 #[cfg(feature = "Win32_Foundation")]
7040 impl PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {}
7041 #[cfg(feature = "Win32_Foundation")]
7042 impl ::std::default::Default for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {
default() -> Self7043     fn default() -> Self {
7044         unsafe { ::std::mem::zeroed() }
7045     }
7046 }
7047 #[cfg(feature = "Win32_Foundation")]
7048 impl ::std::fmt::Debug for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7049     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7050         fmt.debug_struct("_Anonymous2_e__Struct")
7051             .field("TlNumberOfBuffers", &self.TlNumberOfBuffers)
7052             .field("TlMinimumBuffers", &self.TlMinimumBuffers)
7053             .field("TlMaximumBuffers", &self.TlMaximumBuffers)
7054             .field("TlFreeBuffers", &self.TlFreeBuffers)
7055             .field("TlBufferSize", &self.TlBufferSize)
7056             .field("TlEventsLost", &self.TlEventsLost)
7057             .field("TlLoggerThreadId", &self.TlLoggerThreadId)
7058             .field("TlBuffersWritten", &self.TlBuffersWritten)
7059             .field("TlLogHandle", &self.TlLogHandle)
7060             .field("TlLogFileName", &self.TlLogFileName)
7061             .finish()
7062     }
7063 }
7064 #[cfg(feature = "Win32_Foundation")]
7065 impl ::std::cmp::PartialEq for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {
eq(&self, other: &Self) -> bool7066     fn eq(&self, other: &Self) -> bool {
7067         self.TlNumberOfBuffers == other.TlNumberOfBuffers && self.TlMinimumBuffers == other.TlMinimumBuffers && self.TlMaximumBuffers == other.TlMaximumBuffers && self.TlFreeBuffers == other.TlFreeBuffers && self.TlBufferSize == other.TlBufferSize && self.TlEventsLost == other.TlEventsLost && self.TlLoggerThreadId == other.TlLoggerThreadId && self.TlBuffersWritten == other.TlBuffersWritten && self.TlLogHandle == other.TlLogHandle && self.TlLogFileName == other.TlLogFileName
7068     }
7069 }
7070 #[cfg(feature = "Win32_Foundation")]
7071 impl ::std::cmp::Eq for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {}
7072 #[cfg(feature = "Win32_Foundation")]
7073 unsafe impl ::windows::runtime::Abi for PDH_LOG_SERVICE_QUERY_INFO_W_0_1 {
7074     type Abi = Self;
7075     type DefaultType = Self;
7076 }
7077 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7078 #[repr(transparent)]
7079 pub struct PDH_LOG_TYPE(pub u32);
7080 pub const PDH_LOG_TYPE_UNDEFINED: PDH_LOG_TYPE = PDH_LOG_TYPE(0u32);
7081 pub const PDH_LOG_TYPE_CSV: PDH_LOG_TYPE = PDH_LOG_TYPE(1u32);
7082 pub const PDH_LOG_TYPE_SQL: PDH_LOG_TYPE = PDH_LOG_TYPE(7u32);
7083 pub const PDH_LOG_TYPE_TSV: PDH_LOG_TYPE = PDH_LOG_TYPE(2u32);
7084 pub const PDH_LOG_TYPE_BINARY: PDH_LOG_TYPE = PDH_LOG_TYPE(8u32);
7085 pub const PDH_LOG_TYPE_PERFMON: PDH_LOG_TYPE = PDH_LOG_TYPE(6u32);
7086 impl ::std::convert::From<u32> for PDH_LOG_TYPE {
from(value: u32) -> Self7087     fn from(value: u32) -> Self {
7088         Self(value)
7089     }
7090 }
7091 unsafe impl ::windows::runtime::Abi for PDH_LOG_TYPE {
7092     type Abi = Self;
7093     type DefaultType = Self;
7094 }
7095 impl ::std::ops::BitOr for PDH_LOG_TYPE {
7096     type Output = Self;
bitor(self, rhs: Self) -> Self7097     fn bitor(self, rhs: Self) -> Self {
7098         Self(self.0 | rhs.0)
7099     }
7100 }
7101 impl ::std::ops::BitAnd for PDH_LOG_TYPE {
7102     type Output = Self;
bitand(self, rhs: Self) -> Self7103     fn bitand(self, rhs: Self) -> Self {
7104         Self(self.0 & rhs.0)
7105     }
7106 }
7107 impl ::std::ops::BitOrAssign for PDH_LOG_TYPE {
bitor_assign(&mut self, rhs: Self)7108     fn bitor_assign(&mut self, rhs: Self) {
7109         self.0.bitor_assign(rhs.0)
7110     }
7111 }
7112 impl ::std::ops::BitAndAssign for PDH_LOG_TYPE {
bitand_assign(&mut self, rhs: Self)7113     fn bitand_assign(&mut self, rhs: Self) {
7114         self.0.bitand_assign(rhs.0)
7115     }
7116 }
7117 impl ::std::ops::Not for PDH_LOG_TYPE {
7118     type Output = Self;
not(self) -> Self7119     fn not(self) -> Self {
7120         Self(self.0.not())
7121     }
7122 }
7123 pub const PDH_LOG_TYPE_NOT_FOUND: i32 = -1073738805i32;
7124 pub const PDH_LOG_TYPE_RETIRED_BIN: u32 = 3u32;
7125 pub const PDH_LOG_TYPE_TRACE_GENERIC: u32 = 5u32;
7126 pub const PDH_LOG_TYPE_TRACE_KERNEL: u32 = 4u32;
7127 pub const PDH_MAX_COUNTER_NAME: u32 = 1024u32;
7128 pub const PDH_MAX_COUNTER_PATH: u32 = 2048u32;
7129 pub const PDH_MAX_DATASOURCE_PATH: u32 = 1024u32;
7130 pub const PDH_MAX_INSTANCE_NAME: u32 = 1024u32;
7131 pub const PDH_MAX_SCALE: i32 = 7i32;
7132 pub const PDH_MEMORY_ALLOCATION_FAILURE: i32 = -1073738821i32;
7133 pub const PDH_MIN_SCALE: i32 = -7i32;
7134 pub const PDH_MORE_DATA: i32 = -2147481646i32;
7135 pub const PDH_NOEXPANDCOUNTERS: u32 = 1u32;
7136 pub const PDH_NOEXPANDINSTANCES: u32 = 2u32;
7137 pub const PDH_NOT_IMPLEMENTED: i32 = -1073738797i32;
7138 pub const PDH_NO_COUNTERS: i32 = -1073738785i32;
7139 pub const PDH_NO_DATA: i32 = -2147481643i32;
7140 pub const PDH_NO_DIALOG_DATA: i32 = -1073738809i32;
7141 pub const PDH_NO_MORE_DATA: i32 = -1073738804i32;
7142 pub const PDH_OS_EARLIER_VERSION: i32 = -1073738758i32;
7143 pub const PDH_OS_LATER_VERSION: i32 = -1073738759i32;
7144 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7145 #[repr(transparent)]
7146 pub struct PDH_PATH_FLAGS(pub u32);
7147 pub const PDH_PATH_WBEM_RESULT: PDH_PATH_FLAGS = PDH_PATH_FLAGS(1u32);
7148 pub const PDH_PATH_WBEM_INPUT: PDH_PATH_FLAGS = PDH_PATH_FLAGS(2u32);
7149 pub const PDH_PATH_WBEM_NONE: PDH_PATH_FLAGS = PDH_PATH_FLAGS(0u32);
7150 impl ::std::convert::From<u32> for PDH_PATH_FLAGS {
from(value: u32) -> Self7151     fn from(value: u32) -> Self {
7152         Self(value)
7153     }
7154 }
7155 unsafe impl ::windows::runtime::Abi for PDH_PATH_FLAGS {
7156     type Abi = Self;
7157     type DefaultType = Self;
7158 }
7159 impl ::std::ops::BitOr for PDH_PATH_FLAGS {
7160     type Output = Self;
bitor(self, rhs: Self) -> Self7161     fn bitor(self, rhs: Self) -> Self {
7162         Self(self.0 | rhs.0)
7163     }
7164 }
7165 impl ::std::ops::BitAnd for PDH_PATH_FLAGS {
7166     type Output = Self;
bitand(self, rhs: Self) -> Self7167     fn bitand(self, rhs: Self) -> Self {
7168         Self(self.0 & rhs.0)
7169     }
7170 }
7171 impl ::std::ops::BitOrAssign for PDH_PATH_FLAGS {
bitor_assign(&mut self, rhs: Self)7172     fn bitor_assign(&mut self, rhs: Self) {
7173         self.0.bitor_assign(rhs.0)
7174     }
7175 }
7176 impl ::std::ops::BitAndAssign for PDH_PATH_FLAGS {
bitand_assign(&mut self, rhs: Self)7177     fn bitand_assign(&mut self, rhs: Self) {
7178         self.0.bitand_assign(rhs.0)
7179     }
7180 }
7181 impl ::std::ops::Not for PDH_PATH_FLAGS {
7182     type Output = Self;
not(self) -> Self7183     fn not(self) -> Self {
7184         Self(self.0.not())
7185     }
7186 }
7187 pub const PDH_PLA_COLLECTION_ALREADY_RUNNING: i32 = -1073738775i32;
7188 pub const PDH_PLA_COLLECTION_NOT_FOUND: i32 = -1073738773i32;
7189 pub const PDH_PLA_ERROR_ALREADY_EXISTS: i32 = -1073738770i32;
7190 pub const PDH_PLA_ERROR_FILEPATH: i32 = -1073738768i32;
7191 pub const PDH_PLA_ERROR_NAME_TOO_LONG: i32 = -1073738764i32;
7192 pub const PDH_PLA_ERROR_NOSTART: i32 = -1073738771i32;
7193 pub const PDH_PLA_ERROR_SCHEDULE_ELAPSED: i32 = -1073738772i32;
7194 pub const PDH_PLA_ERROR_SCHEDULE_OVERLAP: i32 = -1073738774i32;
7195 pub const PDH_PLA_ERROR_TYPE_MISMATCH: i32 = -1073738769i32;
7196 pub const PDH_PLA_SERVICE_ERROR: i32 = -1073738767i32;
7197 pub const PDH_PLA_VALIDATION_ERROR: i32 = -1073738766i32;
7198 pub const PDH_PLA_VALIDATION_WARNING: i32 = -2147480589i32;
7199 pub const PDH_QUERY_PERF_DATA_TIMEOUT: i32 = -1073738754i32;
7200 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7201 #[repr(C)]
7202 #[cfg(feature = "Win32_Foundation")]
7203 pub struct PDH_RAW_COUNTER {
7204     pub CStatus: u32,
7205     pub TimeStamp: super::super::Foundation::FILETIME,
7206     pub FirstValue: i64,
7207     pub SecondValue: i64,
7208     pub MultiCount: u32,
7209 }
7210 #[cfg(feature = "Win32_Foundation")]
7211 impl PDH_RAW_COUNTER {}
7212 #[cfg(feature = "Win32_Foundation")]
7213 impl ::std::default::Default for PDH_RAW_COUNTER {
default() -> Self7214     fn default() -> Self {
7215         unsafe { ::std::mem::zeroed() }
7216     }
7217 }
7218 #[cfg(feature = "Win32_Foundation")]
7219 impl ::std::fmt::Debug for PDH_RAW_COUNTER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7220     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7221         fmt.debug_struct("PDH_RAW_COUNTER").field("CStatus", &self.CStatus).field("TimeStamp", &self.TimeStamp).field("FirstValue", &self.FirstValue).field("SecondValue", &self.SecondValue).field("MultiCount", &self.MultiCount).finish()
7222     }
7223 }
7224 #[cfg(feature = "Win32_Foundation")]
7225 impl ::std::cmp::PartialEq for PDH_RAW_COUNTER {
eq(&self, other: &Self) -> bool7226     fn eq(&self, other: &Self) -> bool {
7227         self.CStatus == other.CStatus && self.TimeStamp == other.TimeStamp && self.FirstValue == other.FirstValue && self.SecondValue == other.SecondValue && self.MultiCount == other.MultiCount
7228     }
7229 }
7230 #[cfg(feature = "Win32_Foundation")]
7231 impl ::std::cmp::Eq for PDH_RAW_COUNTER {}
7232 #[cfg(feature = "Win32_Foundation")]
7233 unsafe impl ::windows::runtime::Abi for PDH_RAW_COUNTER {
7234     type Abi = Self;
7235     type DefaultType = Self;
7236 }
7237 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7238 #[repr(C)]
7239 #[cfg(feature = "Win32_Foundation")]
7240 pub struct PDH_RAW_COUNTER_ITEM_A {
7241     pub szName: super::super::Foundation::PSTR,
7242     pub RawValue: PDH_RAW_COUNTER,
7243 }
7244 #[cfg(feature = "Win32_Foundation")]
7245 impl PDH_RAW_COUNTER_ITEM_A {}
7246 #[cfg(feature = "Win32_Foundation")]
7247 impl ::std::default::Default for PDH_RAW_COUNTER_ITEM_A {
default() -> Self7248     fn default() -> Self {
7249         unsafe { ::std::mem::zeroed() }
7250     }
7251 }
7252 #[cfg(feature = "Win32_Foundation")]
7253 impl ::std::fmt::Debug for PDH_RAW_COUNTER_ITEM_A {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7254     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7255         fmt.debug_struct("PDH_RAW_COUNTER_ITEM_A").field("szName", &self.szName).field("RawValue", &self.RawValue).finish()
7256     }
7257 }
7258 #[cfg(feature = "Win32_Foundation")]
7259 impl ::std::cmp::PartialEq for PDH_RAW_COUNTER_ITEM_A {
eq(&self, other: &Self) -> bool7260     fn eq(&self, other: &Self) -> bool {
7261         self.szName == other.szName && self.RawValue == other.RawValue
7262     }
7263 }
7264 #[cfg(feature = "Win32_Foundation")]
7265 impl ::std::cmp::Eq for PDH_RAW_COUNTER_ITEM_A {}
7266 #[cfg(feature = "Win32_Foundation")]
7267 unsafe impl ::windows::runtime::Abi for PDH_RAW_COUNTER_ITEM_A {
7268     type Abi = Self;
7269     type DefaultType = Self;
7270 }
7271 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7272 #[repr(C)]
7273 #[cfg(feature = "Win32_Foundation")]
7274 pub struct PDH_RAW_COUNTER_ITEM_W {
7275     pub szName: super::super::Foundation::PWSTR,
7276     pub RawValue: PDH_RAW_COUNTER,
7277 }
7278 #[cfg(feature = "Win32_Foundation")]
7279 impl PDH_RAW_COUNTER_ITEM_W {}
7280 #[cfg(feature = "Win32_Foundation")]
7281 impl ::std::default::Default for PDH_RAW_COUNTER_ITEM_W {
default() -> Self7282     fn default() -> Self {
7283         unsafe { ::std::mem::zeroed() }
7284     }
7285 }
7286 #[cfg(feature = "Win32_Foundation")]
7287 impl ::std::fmt::Debug for PDH_RAW_COUNTER_ITEM_W {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7288     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7289         fmt.debug_struct("PDH_RAW_COUNTER_ITEM_W").field("szName", &self.szName).field("RawValue", &self.RawValue).finish()
7290     }
7291 }
7292 #[cfg(feature = "Win32_Foundation")]
7293 impl ::std::cmp::PartialEq for PDH_RAW_COUNTER_ITEM_W {
eq(&self, other: &Self) -> bool7294     fn eq(&self, other: &Self) -> bool {
7295         self.szName == other.szName && self.RawValue == other.RawValue
7296     }
7297 }
7298 #[cfg(feature = "Win32_Foundation")]
7299 impl ::std::cmp::Eq for PDH_RAW_COUNTER_ITEM_W {}
7300 #[cfg(feature = "Win32_Foundation")]
7301 unsafe impl ::windows::runtime::Abi for PDH_RAW_COUNTER_ITEM_W {
7302     type Abi = Self;
7303     type DefaultType = Self;
7304 }
7305 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7306 #[repr(C)]
7307 pub struct PDH_RAW_LOG_RECORD {
7308     pub dwStructureSize: u32,
7309     pub dwRecordType: PDH_LOG_TYPE,
7310     pub dwItems: u32,
7311     pub RawBytes: [u8; 1],
7312 }
7313 impl PDH_RAW_LOG_RECORD {}
7314 impl ::std::default::Default for PDH_RAW_LOG_RECORD {
default() -> Self7315     fn default() -> Self {
7316         unsafe { ::std::mem::zeroed() }
7317     }
7318 }
7319 impl ::std::fmt::Debug for PDH_RAW_LOG_RECORD {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7320     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7321         fmt.debug_struct("PDH_RAW_LOG_RECORD").field("dwStructureSize", &self.dwStructureSize).field("dwRecordType", &self.dwRecordType).field("dwItems", &self.dwItems).field("RawBytes", &self.RawBytes).finish()
7322     }
7323 }
7324 impl ::std::cmp::PartialEq for PDH_RAW_LOG_RECORD {
eq(&self, other: &Self) -> bool7325     fn eq(&self, other: &Self) -> bool {
7326         self.dwStructureSize == other.dwStructureSize && self.dwRecordType == other.dwRecordType && self.dwItems == other.dwItems && self.RawBytes == other.RawBytes
7327     }
7328 }
7329 impl ::std::cmp::Eq for PDH_RAW_LOG_RECORD {}
7330 unsafe impl ::windows::runtime::Abi for PDH_RAW_LOG_RECORD {
7331     type Abi = Self;
7332     type DefaultType = Self;
7333 }
7334 pub const PDH_REFRESHCOUNTERS: u32 = 4u32;
7335 pub const PDH_RETRY: i32 = -2147481644i32;
7336 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7337 #[repr(transparent)]
7338 pub struct PDH_SELECT_DATA_SOURCE_FLAGS(pub u32);
7339 pub const PDH_FLAGS_FILE_BROWSER_ONLY: PDH_SELECT_DATA_SOURCE_FLAGS = PDH_SELECT_DATA_SOURCE_FLAGS(1u32);
7340 pub const PDH_FLAGS_NONE: PDH_SELECT_DATA_SOURCE_FLAGS = PDH_SELECT_DATA_SOURCE_FLAGS(0u32);
7341 impl ::std::convert::From<u32> for PDH_SELECT_DATA_SOURCE_FLAGS {
from(value: u32) -> Self7342     fn from(value: u32) -> Self {
7343         Self(value)
7344     }
7345 }
7346 unsafe impl ::windows::runtime::Abi for PDH_SELECT_DATA_SOURCE_FLAGS {
7347     type Abi = Self;
7348     type DefaultType = Self;
7349 }
7350 impl ::std::ops::BitOr for PDH_SELECT_DATA_SOURCE_FLAGS {
7351     type Output = Self;
bitor(self, rhs: Self) -> Self7352     fn bitor(self, rhs: Self) -> Self {
7353         Self(self.0 | rhs.0)
7354     }
7355 }
7356 impl ::std::ops::BitAnd for PDH_SELECT_DATA_SOURCE_FLAGS {
7357     type Output = Self;
bitand(self, rhs: Self) -> Self7358     fn bitand(self, rhs: Self) -> Self {
7359         Self(self.0 & rhs.0)
7360     }
7361 }
7362 impl ::std::ops::BitOrAssign for PDH_SELECT_DATA_SOURCE_FLAGS {
bitor_assign(&mut self, rhs: Self)7363     fn bitor_assign(&mut self, rhs: Self) {
7364         self.0.bitor_assign(rhs.0)
7365     }
7366 }
7367 impl ::std::ops::BitAndAssign for PDH_SELECT_DATA_SOURCE_FLAGS {
bitand_assign(&mut self, rhs: Self)7368     fn bitand_assign(&mut self, rhs: Self) {
7369         self.0.bitand_assign(rhs.0)
7370     }
7371 }
7372 impl ::std::ops::Not for PDH_SELECT_DATA_SOURCE_FLAGS {
7373     type Output = Self;
not(self) -> Self7374     fn not(self) -> Self {
7375         Self(self.0.not())
7376     }
7377 }
7378 pub const PDH_SQL_ALLOCCON_FAILED: i32 = -1073738783i32;
7379 pub const PDH_SQL_ALLOC_FAILED: i32 = -1073738784i32;
7380 pub const PDH_SQL_ALTER_DETAIL_FAILED: i32 = -1073738755i32;
7381 pub const PDH_SQL_BIND_FAILED: i32 = -1073738777i32;
7382 pub const PDH_SQL_CONNECT_FAILED: i32 = -1073738778i32;
7383 pub const PDH_SQL_EXEC_DIRECT_FAILED: i32 = -1073738782i32;
7384 pub const PDH_SQL_FETCH_FAILED: i32 = -1073738781i32;
7385 pub const PDH_SQL_MORE_RESULTS_FAILED: i32 = -1073738779i32;
7386 pub const PDH_SQL_ROWCOUNT_FAILED: i32 = -1073738780i32;
7387 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7388 #[repr(C)]
7389 #[cfg(feature = "Win32_Foundation")]
7390 pub struct PDH_STATISTICS {
7391     pub dwFormat: u32,
7392     pub count: u32,
7393     pub min: PDH_FMT_COUNTERVALUE,
7394     pub max: PDH_FMT_COUNTERVALUE,
7395     pub mean: PDH_FMT_COUNTERVALUE,
7396 }
7397 #[cfg(feature = "Win32_Foundation")]
7398 impl PDH_STATISTICS {}
7399 #[cfg(feature = "Win32_Foundation")]
7400 impl ::std::default::Default for PDH_STATISTICS {
default() -> Self7401     fn default() -> Self {
7402         unsafe { ::std::mem::zeroed() }
7403     }
7404 }
7405 #[cfg(feature = "Win32_Foundation")]
7406 impl ::std::cmp::PartialEq for PDH_STATISTICS {
eq(&self, _other: &Self) -> bool7407     fn eq(&self, _other: &Self) -> bool {
7408         unimplemented!()
7409     }
7410 }
7411 #[cfg(feature = "Win32_Foundation")]
7412 impl ::std::cmp::Eq for PDH_STATISTICS {}
7413 #[cfg(feature = "Win32_Foundation")]
7414 unsafe impl ::windows::runtime::Abi for PDH_STATISTICS {
7415     type Abi = Self;
7416     type DefaultType = Self;
7417 }
7418 pub const PDH_STRING_NOT_FOUND: i32 = -1073738796i32;
7419 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7420 #[repr(C)]
7421 pub struct PDH_TIME_INFO {
7422     pub StartTime: i64,
7423     pub EndTime: i64,
7424     pub SampleCount: u32,
7425 }
7426 impl PDH_TIME_INFO {}
7427 impl ::std::default::Default for PDH_TIME_INFO {
default() -> Self7428     fn default() -> Self {
7429         unsafe { ::std::mem::zeroed() }
7430     }
7431 }
7432 impl ::std::fmt::Debug for PDH_TIME_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7433     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7434         fmt.debug_struct("PDH_TIME_INFO").field("StartTime", &self.StartTime).field("EndTime", &self.EndTime).field("SampleCount", &self.SampleCount).finish()
7435     }
7436 }
7437 impl ::std::cmp::PartialEq for PDH_TIME_INFO {
eq(&self, other: &Self) -> bool7438     fn eq(&self, other: &Self) -> bool {
7439         self.StartTime == other.StartTime && self.EndTime == other.EndTime && self.SampleCount == other.SampleCount
7440     }
7441 }
7442 impl ::std::cmp::Eq for PDH_TIME_INFO {}
7443 unsafe impl ::windows::runtime::Abi for PDH_TIME_INFO {
7444     type Abi = Self;
7445     type DefaultType = Self;
7446 }
7447 pub const PDH_UNABLE_MAP_NAME_FILES: i32 = -2147480619i32;
7448 pub const PDH_UNABLE_READ_LOG_HEADER: i32 = -1073738800i32;
7449 pub const PDH_UNKNOWN_LOGSVC_COMMAND: i32 = -1073738793i32;
7450 pub const PDH_UNKNOWN_LOG_FORMAT: i32 = -1073738794i32;
7451 pub const PDH_UNMATCHED_APPEND_COUNTER: i32 = -1073738756i32;
7452 pub const PDH_WBEM_ERROR: i32 = -1073738790i32;
7453 pub type PERFLIBREQUEST = unsafe extern "system" fn(requestcode: u32, buffer: *mut ::std::ffi::c_void, buffersize: u32) -> u32;
7454 pub const PERF_ADD_COUNTER: u32 = 1u32;
7455 pub const PERF_AGGREGATE_MAX: u32 = 4u32;
7456 pub const PERF_ATTRIB_BY_REFERENCE: u64 = 1u64;
7457 pub const PERF_ATTRIB_DISPLAY_AS_HEX: u64 = 16u64;
7458 pub const PERF_ATTRIB_DISPLAY_AS_REAL: u64 = 8u64;
7459 pub const PERF_ATTRIB_NO_DISPLAYABLE: u64 = 2u64;
7460 pub const PERF_ATTRIB_NO_GROUP_SEPARATOR: u64 = 4u64;
7461 pub const PERF_COLLECT_END: u32 = 6u32;
7462 pub const PERF_COLLECT_START: u32 = 5u32;
7463 pub const PERF_COUNTERSET_FLAG_AGGREGATE: u32 = 4u32;
7464 pub const PERF_COUNTERSET_FLAG_HISTORY: u32 = 8u32;
7465 pub const PERF_COUNTERSET_FLAG_INSTANCE: u32 = 16u32;
7466 pub const PERF_COUNTERSET_FLAG_MULTIPLE: u32 = 2u32;
7467 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7468 #[repr(C)]
7469 pub struct PERF_COUNTERSET_INFO {
7470     pub CounterSetGuid: ::windows::runtime::GUID,
7471     pub ProviderGuid: ::windows::runtime::GUID,
7472     pub NumCounters: u32,
7473     pub InstanceType: u32,
7474 }
7475 impl PERF_COUNTERSET_INFO {}
7476 impl ::std::default::Default for PERF_COUNTERSET_INFO {
default() -> Self7477     fn default() -> Self {
7478         unsafe { ::std::mem::zeroed() }
7479     }
7480 }
7481 impl ::std::fmt::Debug for PERF_COUNTERSET_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7482     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7483         fmt.debug_struct("PERF_COUNTERSET_INFO").field("CounterSetGuid", &self.CounterSetGuid).field("ProviderGuid", &self.ProviderGuid).field("NumCounters", &self.NumCounters).field("InstanceType", &self.InstanceType).finish()
7484     }
7485 }
7486 impl ::std::cmp::PartialEq for PERF_COUNTERSET_INFO {
eq(&self, other: &Self) -> bool7487     fn eq(&self, other: &Self) -> bool {
7488         self.CounterSetGuid == other.CounterSetGuid && self.ProviderGuid == other.ProviderGuid && self.NumCounters == other.NumCounters && self.InstanceType == other.InstanceType
7489     }
7490 }
7491 impl ::std::cmp::Eq for PERF_COUNTERSET_INFO {}
7492 unsafe impl ::windows::runtime::Abi for PERF_COUNTERSET_INFO {
7493     type Abi = Self;
7494     type DefaultType = Self;
7495 }
7496 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7497 #[repr(C)]
7498 pub struct PERF_COUNTERSET_INSTANCE {
7499     pub CounterSetGuid: ::windows::runtime::GUID,
7500     pub dwSize: u32,
7501     pub InstanceId: u32,
7502     pub InstanceNameOffset: u32,
7503     pub InstanceNameSize: u32,
7504 }
7505 impl PERF_COUNTERSET_INSTANCE {}
7506 impl ::std::default::Default for PERF_COUNTERSET_INSTANCE {
default() -> Self7507     fn default() -> Self {
7508         unsafe { ::std::mem::zeroed() }
7509     }
7510 }
7511 impl ::std::fmt::Debug for PERF_COUNTERSET_INSTANCE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7512     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7513         fmt.debug_struct("PERF_COUNTERSET_INSTANCE").field("CounterSetGuid", &self.CounterSetGuid).field("dwSize", &self.dwSize).field("InstanceId", &self.InstanceId).field("InstanceNameOffset", &self.InstanceNameOffset).field("InstanceNameSize", &self.InstanceNameSize).finish()
7514     }
7515 }
7516 impl ::std::cmp::PartialEq for PERF_COUNTERSET_INSTANCE {
eq(&self, other: &Self) -> bool7517     fn eq(&self, other: &Self) -> bool {
7518         self.CounterSetGuid == other.CounterSetGuid && self.dwSize == other.dwSize && self.InstanceId == other.InstanceId && self.InstanceNameOffset == other.InstanceNameOffset && self.InstanceNameSize == other.InstanceNameSize
7519     }
7520 }
7521 impl ::std::cmp::Eq for PERF_COUNTERSET_INSTANCE {}
7522 unsafe impl ::windows::runtime::Abi for PERF_COUNTERSET_INSTANCE {
7523     type Abi = Self;
7524     type DefaultType = Self;
7525 }
7526 pub const PERF_COUNTERSET_MULTI_INSTANCES: u32 = 2u32;
7527 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7528 #[repr(C)]
7529 pub struct PERF_COUNTERSET_REG_INFO {
7530     pub CounterSetGuid: ::windows::runtime::GUID,
7531     pub CounterSetType: u32,
7532     pub DetailLevel: u32,
7533     pub NumCounters: u32,
7534     pub InstanceType: u32,
7535 }
7536 impl PERF_COUNTERSET_REG_INFO {}
7537 impl ::std::default::Default for PERF_COUNTERSET_REG_INFO {
default() -> Self7538     fn default() -> Self {
7539         unsafe { ::std::mem::zeroed() }
7540     }
7541 }
7542 impl ::std::fmt::Debug for PERF_COUNTERSET_REG_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7543     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7544         fmt.debug_struct("PERF_COUNTERSET_REG_INFO").field("CounterSetGuid", &self.CounterSetGuid).field("CounterSetType", &self.CounterSetType).field("DetailLevel", &self.DetailLevel).field("NumCounters", &self.NumCounters).field("InstanceType", &self.InstanceType).finish()
7545     }
7546 }
7547 impl ::std::cmp::PartialEq for PERF_COUNTERSET_REG_INFO {
eq(&self, other: &Self) -> bool7548     fn eq(&self, other: &Self) -> bool {
7549         self.CounterSetGuid == other.CounterSetGuid && self.CounterSetType == other.CounterSetType && self.DetailLevel == other.DetailLevel && self.NumCounters == other.NumCounters && self.InstanceType == other.InstanceType
7550     }
7551 }
7552 impl ::std::cmp::Eq for PERF_COUNTERSET_REG_INFO {}
7553 unsafe impl ::windows::runtime::Abi for PERF_COUNTERSET_REG_INFO {
7554     type Abi = Self;
7555     type DefaultType = Self;
7556 }
7557 pub const PERF_COUNTERSET_SINGLE_AGGREGATE: u32 = 4u32;
7558 pub const PERF_COUNTERSET_SINGLE_INSTANCE: u32 = 0u32;
7559 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7560 #[repr(transparent)]
7561 pub struct PERF_COUNTER_AGGREGATE_FUNC(pub u32);
7562 pub const PERF_AGGREGATE_UNDEFINED: PERF_COUNTER_AGGREGATE_FUNC = PERF_COUNTER_AGGREGATE_FUNC(0u32);
7563 pub const PERF_AGGREGATE_TOTAL: PERF_COUNTER_AGGREGATE_FUNC = PERF_COUNTER_AGGREGATE_FUNC(1u32);
7564 pub const PERF_AGGREGATE_AVG: PERF_COUNTER_AGGREGATE_FUNC = PERF_COUNTER_AGGREGATE_FUNC(2u32);
7565 pub const PERF_AGGREGATE_MIN: PERF_COUNTER_AGGREGATE_FUNC = PERF_COUNTER_AGGREGATE_FUNC(3u32);
7566 impl ::std::convert::From<u32> for PERF_COUNTER_AGGREGATE_FUNC {
from(value: u32) -> Self7567     fn from(value: u32) -> Self {
7568         Self(value)
7569     }
7570 }
7571 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_AGGREGATE_FUNC {
7572     type Abi = Self;
7573     type DefaultType = Self;
7574 }
7575 impl ::std::ops::BitOr for PERF_COUNTER_AGGREGATE_FUNC {
7576     type Output = Self;
bitor(self, rhs: Self) -> Self7577     fn bitor(self, rhs: Self) -> Self {
7578         Self(self.0 | rhs.0)
7579     }
7580 }
7581 impl ::std::ops::BitAnd for PERF_COUNTER_AGGREGATE_FUNC {
7582     type Output = Self;
bitand(self, rhs: Self) -> Self7583     fn bitand(self, rhs: Self) -> Self {
7584         Self(self.0 & rhs.0)
7585     }
7586 }
7587 impl ::std::ops::BitOrAssign for PERF_COUNTER_AGGREGATE_FUNC {
bitor_assign(&mut self, rhs: Self)7588     fn bitor_assign(&mut self, rhs: Self) {
7589         self.0.bitor_assign(rhs.0)
7590     }
7591 }
7592 impl ::std::ops::BitAndAssign for PERF_COUNTER_AGGREGATE_FUNC {
bitand_assign(&mut self, rhs: Self)7593     fn bitand_assign(&mut self, rhs: Self) {
7594         self.0.bitand_assign(rhs.0)
7595     }
7596 }
7597 impl ::std::ops::Not for PERF_COUNTER_AGGREGATE_FUNC {
7598     type Output = Self;
not(self) -> Self7599     fn not(self) -> Self {
7600         Self(self.0.not())
7601     }
7602 }
7603 pub const PERF_COUNTER_BASE: u32 = 196608u32;
7604 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7605 #[repr(C)]
7606 pub struct PERF_COUNTER_BLOCK {
7607     pub ByteLength: u32,
7608 }
7609 impl PERF_COUNTER_BLOCK {}
7610 impl ::std::default::Default for PERF_COUNTER_BLOCK {
default() -> Self7611     fn default() -> Self {
7612         unsafe { ::std::mem::zeroed() }
7613     }
7614 }
7615 impl ::std::fmt::Debug for PERF_COUNTER_BLOCK {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7616     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7617         fmt.debug_struct("PERF_COUNTER_BLOCK").field("ByteLength", &self.ByteLength).finish()
7618     }
7619 }
7620 impl ::std::cmp::PartialEq for PERF_COUNTER_BLOCK {
eq(&self, other: &Self) -> bool7621     fn eq(&self, other: &Self) -> bool {
7622         self.ByteLength == other.ByteLength
7623     }
7624 }
7625 impl ::std::cmp::Eq for PERF_COUNTER_BLOCK {}
7626 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_BLOCK {
7627     type Abi = Self;
7628     type DefaultType = Self;
7629 }
7630 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7631 #[repr(C)]
7632 pub struct PERF_COUNTER_DATA {
7633     pub dwDataSize: u32,
7634     pub dwSize: u32,
7635 }
7636 impl PERF_COUNTER_DATA {}
7637 impl ::std::default::Default for PERF_COUNTER_DATA {
default() -> Self7638     fn default() -> Self {
7639         unsafe { ::std::mem::zeroed() }
7640     }
7641 }
7642 impl ::std::fmt::Debug for PERF_COUNTER_DATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7643     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7644         fmt.debug_struct("PERF_COUNTER_DATA").field("dwDataSize", &self.dwDataSize).field("dwSize", &self.dwSize).finish()
7645     }
7646 }
7647 impl ::std::cmp::PartialEq for PERF_COUNTER_DATA {
eq(&self, other: &Self) -> bool7648     fn eq(&self, other: &Self) -> bool {
7649         self.dwDataSize == other.dwDataSize && self.dwSize == other.dwSize
7650     }
7651 }
7652 impl ::std::cmp::Eq for PERF_COUNTER_DATA {}
7653 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_DATA {
7654     type Abi = Self;
7655     type DefaultType = Self;
7656 }
7657 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7658 #[repr(C)]
7659 pub struct PERF_COUNTER_DEFINITION {
7660     pub ByteLength: u32,
7661     pub CounterNameTitleIndex: u32,
7662     pub CounterNameTitle: u32,
7663     pub CounterHelpTitleIndex: u32,
7664     pub CounterHelpTitle: u32,
7665     pub DefaultScale: i32,
7666     pub DetailLevel: u32,
7667     pub CounterType: u32,
7668     pub CounterSize: u32,
7669     pub CounterOffset: u32,
7670 }
7671 impl PERF_COUNTER_DEFINITION {}
7672 impl ::std::default::Default for PERF_COUNTER_DEFINITION {
default() -> Self7673     fn default() -> Self {
7674         unsafe { ::std::mem::zeroed() }
7675     }
7676 }
7677 impl ::std::fmt::Debug for PERF_COUNTER_DEFINITION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7678     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7679         fmt.debug_struct("PERF_COUNTER_DEFINITION")
7680             .field("ByteLength", &self.ByteLength)
7681             .field("CounterNameTitleIndex", &self.CounterNameTitleIndex)
7682             .field("CounterNameTitle", &self.CounterNameTitle)
7683             .field("CounterHelpTitleIndex", &self.CounterHelpTitleIndex)
7684             .field("CounterHelpTitle", &self.CounterHelpTitle)
7685             .field("DefaultScale", &self.DefaultScale)
7686             .field("DetailLevel", &self.DetailLevel)
7687             .field("CounterType", &self.CounterType)
7688             .field("CounterSize", &self.CounterSize)
7689             .field("CounterOffset", &self.CounterOffset)
7690             .finish()
7691     }
7692 }
7693 impl ::std::cmp::PartialEq for PERF_COUNTER_DEFINITION {
eq(&self, other: &Self) -> bool7694     fn eq(&self, other: &Self) -> bool {
7695         self.ByteLength == other.ByteLength && self.CounterNameTitleIndex == other.CounterNameTitleIndex && self.CounterNameTitle == other.CounterNameTitle && self.CounterHelpTitleIndex == other.CounterHelpTitleIndex && self.CounterHelpTitle == other.CounterHelpTitle && self.DefaultScale == other.DefaultScale && self.DetailLevel == other.DetailLevel && self.CounterType == other.CounterType && self.CounterSize == other.CounterSize && self.CounterOffset == other.CounterOffset
7696     }
7697 }
7698 impl ::std::cmp::Eq for PERF_COUNTER_DEFINITION {}
7699 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_DEFINITION {
7700     type Abi = Self;
7701     type DefaultType = Self;
7702 }
7703 pub const PERF_COUNTER_ELAPSED: u32 = 262144u32;
7704 pub const PERF_COUNTER_FRACTION: u32 = 131072u32;
7705 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7706 #[repr(C)]
7707 pub struct PERF_COUNTER_HEADER {
7708     pub dwStatus: u32,
7709     pub dwType: PerfCounterDataType,
7710     pub dwSize: u32,
7711     pub Reserved: u32,
7712 }
7713 impl PERF_COUNTER_HEADER {}
7714 impl ::std::default::Default for PERF_COUNTER_HEADER {
default() -> Self7715     fn default() -> Self {
7716         unsafe { ::std::mem::zeroed() }
7717     }
7718 }
7719 impl ::std::fmt::Debug for PERF_COUNTER_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7720     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7721         fmt.debug_struct("PERF_COUNTER_HEADER").field("dwStatus", &self.dwStatus).field("dwType", &self.dwType).field("dwSize", &self.dwSize).field("Reserved", &self.Reserved).finish()
7722     }
7723 }
7724 impl ::std::cmp::PartialEq for PERF_COUNTER_HEADER {
eq(&self, other: &Self) -> bool7725     fn eq(&self, other: &Self) -> bool {
7726         self.dwStatus == other.dwStatus && self.dwType == other.dwType && self.dwSize == other.dwSize && self.Reserved == other.Reserved
7727     }
7728 }
7729 impl ::std::cmp::Eq for PERF_COUNTER_HEADER {}
7730 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_HEADER {
7731     type Abi = Self;
7732     type DefaultType = Self;
7733 }
7734 pub const PERF_COUNTER_HISTOGRAM: u32 = 393216u32;
7735 pub const PERF_COUNTER_HISTOGRAM_TYPE: u32 = 2147483648u32;
7736 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7737 #[repr(C)]
7738 pub struct PERF_COUNTER_IDENTIFIER {
7739     pub CounterSetGuid: ::windows::runtime::GUID,
7740     pub Status: u32,
7741     pub Size: u32,
7742     pub CounterId: u32,
7743     pub InstanceId: u32,
7744     pub Index: u32,
7745     pub Reserved: u32,
7746 }
7747 impl PERF_COUNTER_IDENTIFIER {}
7748 impl ::std::default::Default for PERF_COUNTER_IDENTIFIER {
default() -> Self7749     fn default() -> Self {
7750         unsafe { ::std::mem::zeroed() }
7751     }
7752 }
7753 impl ::std::fmt::Debug for PERF_COUNTER_IDENTIFIER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7754     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7755         fmt.debug_struct("PERF_COUNTER_IDENTIFIER").field("CounterSetGuid", &self.CounterSetGuid).field("Status", &self.Status).field("Size", &self.Size).field("CounterId", &self.CounterId).field("InstanceId", &self.InstanceId).field("Index", &self.Index).field("Reserved", &self.Reserved).finish()
7756     }
7757 }
7758 impl ::std::cmp::PartialEq for PERF_COUNTER_IDENTIFIER {
eq(&self, other: &Self) -> bool7759     fn eq(&self, other: &Self) -> bool {
7760         self.CounterSetGuid == other.CounterSetGuid && self.Status == other.Status && self.Size == other.Size && self.CounterId == other.CounterId && self.InstanceId == other.InstanceId && self.Index == other.Index && self.Reserved == other.Reserved
7761     }
7762 }
7763 impl ::std::cmp::Eq for PERF_COUNTER_IDENTIFIER {}
7764 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_IDENTIFIER {
7765     type Abi = Self;
7766     type DefaultType = Self;
7767 }
7768 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7769 #[repr(C)]
7770 pub struct PERF_COUNTER_IDENTITY {
7771     pub CounterSetGuid: ::windows::runtime::GUID,
7772     pub BufferSize: u32,
7773     pub CounterId: u32,
7774     pub InstanceId: u32,
7775     pub MachineOffset: u32,
7776     pub NameOffset: u32,
7777     pub Reserved: u32,
7778 }
7779 impl PERF_COUNTER_IDENTITY {}
7780 impl ::std::default::Default for PERF_COUNTER_IDENTITY {
default() -> Self7781     fn default() -> Self {
7782         unsafe { ::std::mem::zeroed() }
7783     }
7784 }
7785 impl ::std::fmt::Debug for PERF_COUNTER_IDENTITY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7786     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7787         fmt.debug_struct("PERF_COUNTER_IDENTITY")
7788             .field("CounterSetGuid", &self.CounterSetGuid)
7789             .field("BufferSize", &self.BufferSize)
7790             .field("CounterId", &self.CounterId)
7791             .field("InstanceId", &self.InstanceId)
7792             .field("MachineOffset", &self.MachineOffset)
7793             .field("NameOffset", &self.NameOffset)
7794             .field("Reserved", &self.Reserved)
7795             .finish()
7796     }
7797 }
7798 impl ::std::cmp::PartialEq for PERF_COUNTER_IDENTITY {
eq(&self, other: &Self) -> bool7799     fn eq(&self, other: &Self) -> bool {
7800         self.CounterSetGuid == other.CounterSetGuid && self.BufferSize == other.BufferSize && self.CounterId == other.CounterId && self.InstanceId == other.InstanceId && self.MachineOffset == other.MachineOffset && self.NameOffset == other.NameOffset && self.Reserved == other.Reserved
7801     }
7802 }
7803 impl ::std::cmp::Eq for PERF_COUNTER_IDENTITY {}
7804 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_IDENTITY {
7805     type Abi = Self;
7806     type DefaultType = Self;
7807 }
7808 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7809 #[repr(C)]
7810 pub struct PERF_COUNTER_INFO {
7811     pub CounterId: u32,
7812     pub Type: u32,
7813     pub Attrib: u64,
7814     pub Size: u32,
7815     pub DetailLevel: u32,
7816     pub Scale: i32,
7817     pub Offset: u32,
7818 }
7819 impl PERF_COUNTER_INFO {}
7820 impl ::std::default::Default for PERF_COUNTER_INFO {
default() -> Self7821     fn default() -> Self {
7822         unsafe { ::std::mem::zeroed() }
7823     }
7824 }
7825 impl ::std::fmt::Debug for PERF_COUNTER_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7826     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7827         fmt.debug_struct("PERF_COUNTER_INFO").field("CounterId", &self.CounterId).field("Type", &self.Type).field("Attrib", &self.Attrib).field("Size", &self.Size).field("DetailLevel", &self.DetailLevel).field("Scale", &self.Scale).field("Offset", &self.Offset).finish()
7828     }
7829 }
7830 impl ::std::cmp::PartialEq for PERF_COUNTER_INFO {
eq(&self, other: &Self) -> bool7831     fn eq(&self, other: &Self) -> bool {
7832         self.CounterId == other.CounterId && self.Type == other.Type && self.Attrib == other.Attrib && self.Size == other.Size && self.DetailLevel == other.DetailLevel && self.Scale == other.Scale && self.Offset == other.Offset
7833     }
7834 }
7835 impl ::std::cmp::Eq for PERF_COUNTER_INFO {}
7836 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_INFO {
7837     type Abi = Self;
7838     type DefaultType = Self;
7839 }
7840 pub const PERF_COUNTER_PRECISION: u32 = 458752u32;
7841 pub const PERF_COUNTER_QUEUELEN: u32 = 327680u32;
7842 pub const PERF_COUNTER_RATE: u32 = 65536u32;
7843 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7844 #[repr(C)]
7845 pub struct PERF_COUNTER_REG_INFO {
7846     pub CounterId: u32,
7847     pub Type: u32,
7848     pub Attrib: u64,
7849     pub DetailLevel: u32,
7850     pub DefaultScale: i32,
7851     pub BaseCounterId: u32,
7852     pub PerfTimeId: u32,
7853     pub PerfFreqId: u32,
7854     pub MultiId: u32,
7855     pub AggregateFunc: PERF_COUNTER_AGGREGATE_FUNC,
7856     pub Reserved: u32,
7857 }
7858 impl PERF_COUNTER_REG_INFO {}
7859 impl ::std::default::Default for PERF_COUNTER_REG_INFO {
default() -> Self7860     fn default() -> Self {
7861         unsafe { ::std::mem::zeroed() }
7862     }
7863 }
7864 impl ::std::fmt::Debug for PERF_COUNTER_REG_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7865     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7866         fmt.debug_struct("PERF_COUNTER_REG_INFO")
7867             .field("CounterId", &self.CounterId)
7868             .field("Type", &self.Type)
7869             .field("Attrib", &self.Attrib)
7870             .field("DetailLevel", &self.DetailLevel)
7871             .field("DefaultScale", &self.DefaultScale)
7872             .field("BaseCounterId", &self.BaseCounterId)
7873             .field("PerfTimeId", &self.PerfTimeId)
7874             .field("PerfFreqId", &self.PerfFreqId)
7875             .field("MultiId", &self.MultiId)
7876             .field("AggregateFunc", &self.AggregateFunc)
7877             .field("Reserved", &self.Reserved)
7878             .finish()
7879     }
7880 }
7881 impl ::std::cmp::PartialEq for PERF_COUNTER_REG_INFO {
eq(&self, other: &Self) -> bool7882     fn eq(&self, other: &Self) -> bool {
7883         self.CounterId == other.CounterId && self.Type == other.Type && self.Attrib == other.Attrib && self.DetailLevel == other.DetailLevel && self.DefaultScale == other.DefaultScale && self.BaseCounterId == other.BaseCounterId && self.PerfTimeId == other.PerfTimeId && self.PerfFreqId == other.PerfFreqId && self.MultiId == other.MultiId && self.AggregateFunc == other.AggregateFunc && self.Reserved == other.Reserved
7884     }
7885 }
7886 impl ::std::cmp::Eq for PERF_COUNTER_REG_INFO {}
7887 unsafe impl ::windows::runtime::Abi for PERF_COUNTER_REG_INFO {
7888     type Abi = Self;
7889     type DefaultType = Self;
7890 }
7891 pub const PERF_COUNTER_VALUE: u32 = 0u32;
7892 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7893 #[repr(C)]
7894 #[cfg(feature = "Win32_Foundation")]
7895 pub struct PERF_DATA_BLOCK {
7896     pub Signature: [u16; 4],
7897     pub LittleEndian: u32,
7898     pub Version: u32,
7899     pub Revision: u32,
7900     pub TotalByteLength: u32,
7901     pub HeaderLength: u32,
7902     pub NumObjectTypes: u32,
7903     pub DefaultObject: i32,
7904     pub SystemTime: super::super::Foundation::SYSTEMTIME,
7905     pub PerfTime: i64,
7906     pub PerfFreq: i64,
7907     pub PerfTime100nSec: i64,
7908     pub SystemNameLength: u32,
7909     pub SystemNameOffset: u32,
7910 }
7911 #[cfg(feature = "Win32_Foundation")]
7912 impl PERF_DATA_BLOCK {}
7913 #[cfg(feature = "Win32_Foundation")]
7914 impl ::std::default::Default for PERF_DATA_BLOCK {
default() -> Self7915     fn default() -> Self {
7916         unsafe { ::std::mem::zeroed() }
7917     }
7918 }
7919 #[cfg(feature = "Win32_Foundation")]
7920 impl ::std::fmt::Debug for PERF_DATA_BLOCK {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7921     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7922         fmt.debug_struct("PERF_DATA_BLOCK")
7923             .field("Signature", &self.Signature)
7924             .field("LittleEndian", &self.LittleEndian)
7925             .field("Version", &self.Version)
7926             .field("Revision", &self.Revision)
7927             .field("TotalByteLength", &self.TotalByteLength)
7928             .field("HeaderLength", &self.HeaderLength)
7929             .field("NumObjectTypes", &self.NumObjectTypes)
7930             .field("DefaultObject", &self.DefaultObject)
7931             .field("SystemTime", &self.SystemTime)
7932             .field("PerfTime", &self.PerfTime)
7933             .field("PerfFreq", &self.PerfFreq)
7934             .field("PerfTime100nSec", &self.PerfTime100nSec)
7935             .field("SystemNameLength", &self.SystemNameLength)
7936             .field("SystemNameOffset", &self.SystemNameOffset)
7937             .finish()
7938     }
7939 }
7940 #[cfg(feature = "Win32_Foundation")]
7941 impl ::std::cmp::PartialEq for PERF_DATA_BLOCK {
eq(&self, other: &Self) -> bool7942     fn eq(&self, other: &Self) -> bool {
7943         self.Signature == other.Signature
7944             && self.LittleEndian == other.LittleEndian
7945             && self.Version == other.Version
7946             && self.Revision == other.Revision
7947             && self.TotalByteLength == other.TotalByteLength
7948             && self.HeaderLength == other.HeaderLength
7949             && self.NumObjectTypes == other.NumObjectTypes
7950             && self.DefaultObject == other.DefaultObject
7951             && self.SystemTime == other.SystemTime
7952             && self.PerfTime == other.PerfTime
7953             && self.PerfFreq == other.PerfFreq
7954             && self.PerfTime100nSec == other.PerfTime100nSec
7955             && self.SystemNameLength == other.SystemNameLength
7956             && self.SystemNameOffset == other.SystemNameOffset
7957     }
7958 }
7959 #[cfg(feature = "Win32_Foundation")]
7960 impl ::std::cmp::Eq for PERF_DATA_BLOCK {}
7961 #[cfg(feature = "Win32_Foundation")]
7962 unsafe impl ::windows::runtime::Abi for PERF_DATA_BLOCK {
7963     type Abi = Self;
7964     type DefaultType = Self;
7965 }
7966 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7967 #[repr(C)]
7968 #[cfg(feature = "Win32_Foundation")]
7969 pub struct PERF_DATA_HEADER {
7970     pub dwTotalSize: u32,
7971     pub dwNumCounters: u32,
7972     pub PerfTimeStamp: i64,
7973     pub PerfTime100NSec: i64,
7974     pub PerfFreq: i64,
7975     pub SystemTime: super::super::Foundation::SYSTEMTIME,
7976 }
7977 #[cfg(feature = "Win32_Foundation")]
7978 impl PERF_DATA_HEADER {}
7979 #[cfg(feature = "Win32_Foundation")]
7980 impl ::std::default::Default for PERF_DATA_HEADER {
default() -> Self7981     fn default() -> Self {
7982         unsafe { ::std::mem::zeroed() }
7983     }
7984 }
7985 #[cfg(feature = "Win32_Foundation")]
7986 impl ::std::fmt::Debug for PERF_DATA_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7987     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7988         fmt.debug_struct("PERF_DATA_HEADER").field("dwTotalSize", &self.dwTotalSize).field("dwNumCounters", &self.dwNumCounters).field("PerfTimeStamp", &self.PerfTimeStamp).field("PerfTime100NSec", &self.PerfTime100NSec).field("PerfFreq", &self.PerfFreq).field("SystemTime", &self.SystemTime).finish()
7989     }
7990 }
7991 #[cfg(feature = "Win32_Foundation")]
7992 impl ::std::cmp::PartialEq for PERF_DATA_HEADER {
eq(&self, other: &Self) -> bool7993     fn eq(&self, other: &Self) -> bool {
7994         self.dwTotalSize == other.dwTotalSize && self.dwNumCounters == other.dwNumCounters && self.PerfTimeStamp == other.PerfTimeStamp && self.PerfTime100NSec == other.PerfTime100NSec && self.PerfFreq == other.PerfFreq && self.SystemTime == other.SystemTime
7995     }
7996 }
7997 #[cfg(feature = "Win32_Foundation")]
7998 impl ::std::cmp::Eq for PERF_DATA_HEADER {}
7999 #[cfg(feature = "Win32_Foundation")]
8000 unsafe impl ::windows::runtime::Abi for PERF_DATA_HEADER {
8001     type Abi = Self;
8002     type DefaultType = Self;
8003 }
8004 pub const PERF_DATA_REVISION: u32 = 1u32;
8005 pub const PERF_DATA_VERSION: u32 = 1u32;
8006 pub const PERF_DELTA_BASE: u32 = 8388608u32;
8007 pub const PERF_DELTA_COUNTER: u32 = 4194304u32;
8008 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8009 #[repr(transparent)]
8010 pub struct PERF_DETAIL(pub u32);
8011 pub const PERF_DETAIL_NOVICE: PERF_DETAIL = PERF_DETAIL(100u32);
8012 pub const PERF_DETAIL_ADVANCED: PERF_DETAIL = PERF_DETAIL(200u32);
8013 pub const PERF_DETAIL_EXPERT: PERF_DETAIL = PERF_DETAIL(300u32);
8014 pub const PERF_DETAIL_WIZARD: PERF_DETAIL = PERF_DETAIL(400u32);
8015 impl ::std::convert::From<u32> for PERF_DETAIL {
from(value: u32) -> Self8016     fn from(value: u32) -> Self {
8017         Self(value)
8018     }
8019 }
8020 unsafe impl ::windows::runtime::Abi for PERF_DETAIL {
8021     type Abi = Self;
8022     type DefaultType = Self;
8023 }
8024 impl ::std::ops::BitOr for PERF_DETAIL {
8025     type Output = Self;
bitor(self, rhs: Self) -> Self8026     fn bitor(self, rhs: Self) -> Self {
8027         Self(self.0 | rhs.0)
8028     }
8029 }
8030 impl ::std::ops::BitAnd for PERF_DETAIL {
8031     type Output = Self;
bitand(self, rhs: Self) -> Self8032     fn bitand(self, rhs: Self) -> Self {
8033         Self(self.0 & rhs.0)
8034     }
8035 }
8036 impl ::std::ops::BitOrAssign for PERF_DETAIL {
bitor_assign(&mut self, rhs: Self)8037     fn bitor_assign(&mut self, rhs: Self) {
8038         self.0.bitor_assign(rhs.0)
8039     }
8040 }
8041 impl ::std::ops::BitAndAssign for PERF_DETAIL {
bitand_assign(&mut self, rhs: Self)8042     fn bitand_assign(&mut self, rhs: Self) {
8043         self.0.bitand_assign(rhs.0)
8044     }
8045 }
8046 impl ::std::ops::Not for PERF_DETAIL {
8047     type Output = Self;
not(self) -> Self8048     fn not(self) -> Self {
8049         Self(self.0.not())
8050     }
8051 }
8052 pub const PERF_DISPLAY_NOSHOW: u32 = 1073741824u32;
8053 pub const PERF_DISPLAY_NO_SUFFIX: u32 = 0u32;
8054 pub const PERF_DISPLAY_PERCENT: u32 = 536870912u32;
8055 pub const PERF_DISPLAY_PER_SEC: u32 = 268435456u32;
8056 pub const PERF_DISPLAY_SECONDS: u32 = 805306368u32;
8057 pub const PERF_ENUM_INSTANCES: u32 = 3u32;
8058 pub const PERF_FILTER: u32 = 9u32;
8059 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8060 #[repr(C)]
8061 pub struct PERF_INSTANCE_DEFINITION {
8062     pub ByteLength: u32,
8063     pub ParentObjectTitleIndex: u32,
8064     pub ParentObjectInstance: u32,
8065     pub UniqueID: i32,
8066     pub NameOffset: u32,
8067     pub NameLength: u32,
8068 }
8069 impl PERF_INSTANCE_DEFINITION {}
8070 impl ::std::default::Default for PERF_INSTANCE_DEFINITION {
default() -> Self8071     fn default() -> Self {
8072         unsafe { ::std::mem::zeroed() }
8073     }
8074 }
8075 impl ::std::fmt::Debug for PERF_INSTANCE_DEFINITION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8076     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8077         fmt.debug_struct("PERF_INSTANCE_DEFINITION")
8078             .field("ByteLength", &self.ByteLength)
8079             .field("ParentObjectTitleIndex", &self.ParentObjectTitleIndex)
8080             .field("ParentObjectInstance", &self.ParentObjectInstance)
8081             .field("UniqueID", &self.UniqueID)
8082             .field("NameOffset", &self.NameOffset)
8083             .field("NameLength", &self.NameLength)
8084             .finish()
8085     }
8086 }
8087 impl ::std::cmp::PartialEq for PERF_INSTANCE_DEFINITION {
eq(&self, other: &Self) -> bool8088     fn eq(&self, other: &Self) -> bool {
8089         self.ByteLength == other.ByteLength && self.ParentObjectTitleIndex == other.ParentObjectTitleIndex && self.ParentObjectInstance == other.ParentObjectInstance && self.UniqueID == other.UniqueID && self.NameOffset == other.NameOffset && self.NameLength == other.NameLength
8090     }
8091 }
8092 impl ::std::cmp::Eq for PERF_INSTANCE_DEFINITION {}
8093 unsafe impl ::windows::runtime::Abi for PERF_INSTANCE_DEFINITION {
8094     type Abi = Self;
8095     type DefaultType = Self;
8096 }
8097 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8098 #[repr(C)]
8099 pub struct PERF_INSTANCE_HEADER {
8100     pub Size: u32,
8101     pub InstanceId: u32,
8102 }
8103 impl PERF_INSTANCE_HEADER {}
8104 impl ::std::default::Default for PERF_INSTANCE_HEADER {
default() -> Self8105     fn default() -> Self {
8106         unsafe { ::std::mem::zeroed() }
8107     }
8108 }
8109 impl ::std::fmt::Debug for PERF_INSTANCE_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8110     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8111         fmt.debug_struct("PERF_INSTANCE_HEADER").field("Size", &self.Size).field("InstanceId", &self.InstanceId).finish()
8112     }
8113 }
8114 impl ::std::cmp::PartialEq for PERF_INSTANCE_HEADER {
eq(&self, other: &Self) -> bool8115     fn eq(&self, other: &Self) -> bool {
8116         self.Size == other.Size && self.InstanceId == other.InstanceId
8117     }
8118 }
8119 impl ::std::cmp::Eq for PERF_INSTANCE_HEADER {}
8120 unsafe impl ::windows::runtime::Abi for PERF_INSTANCE_HEADER {
8121     type Abi = Self;
8122     type DefaultType = Self;
8123 }
8124 pub const PERF_INVERSE_COUNTER: u32 = 16777216u32;
8125 pub const PERF_MAX_INSTANCE_NAME: u32 = 1024u32;
8126 pub type PERF_MEM_ALLOC = unsafe extern "system" fn(allocsize: usize, pcontext: *mut ::std::ffi::c_void) -> *mut ::std::ffi::c_void;
8127 pub type PERF_MEM_FREE = unsafe extern "system" fn(pbuffer: *mut ::std::ffi::c_void, pcontext: *mut ::std::ffi::c_void);
8128 pub const PERF_METADATA_MULTIPLE_INSTANCES: i32 = -2i32;
8129 pub const PERF_METADATA_NO_INSTANCES: i32 = -3i32;
8130 pub const PERF_MULTI_COUNTER: u32 = 33554432u32;
8131 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8132 #[repr(C)]
8133 pub struct PERF_MULTI_COUNTERS {
8134     pub dwSize: u32,
8135     pub dwCounters: u32,
8136 }
8137 impl PERF_MULTI_COUNTERS {}
8138 impl ::std::default::Default for PERF_MULTI_COUNTERS {
default() -> Self8139     fn default() -> Self {
8140         unsafe { ::std::mem::zeroed() }
8141     }
8142 }
8143 impl ::std::fmt::Debug for PERF_MULTI_COUNTERS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8144     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8145         fmt.debug_struct("PERF_MULTI_COUNTERS").field("dwSize", &self.dwSize).field("dwCounters", &self.dwCounters).finish()
8146     }
8147 }
8148 impl ::std::cmp::PartialEq for PERF_MULTI_COUNTERS {
eq(&self, other: &Self) -> bool8149     fn eq(&self, other: &Self) -> bool {
8150         self.dwSize == other.dwSize && self.dwCounters == other.dwCounters
8151     }
8152 }
8153 impl ::std::cmp::Eq for PERF_MULTI_COUNTERS {}
8154 unsafe impl ::windows::runtime::Abi for PERF_MULTI_COUNTERS {
8155     type Abi = Self;
8156     type DefaultType = Self;
8157 }
8158 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8159 #[repr(C)]
8160 pub struct PERF_MULTI_INSTANCES {
8161     pub dwTotalSize: u32,
8162     pub dwInstances: u32,
8163 }
8164 impl PERF_MULTI_INSTANCES {}
8165 impl ::std::default::Default for PERF_MULTI_INSTANCES {
default() -> Self8166     fn default() -> Self {
8167         unsafe { ::std::mem::zeroed() }
8168     }
8169 }
8170 impl ::std::fmt::Debug for PERF_MULTI_INSTANCES {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8171     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8172         fmt.debug_struct("PERF_MULTI_INSTANCES").field("dwTotalSize", &self.dwTotalSize).field("dwInstances", &self.dwInstances).finish()
8173     }
8174 }
8175 impl ::std::cmp::PartialEq for PERF_MULTI_INSTANCES {
eq(&self, other: &Self) -> bool8176     fn eq(&self, other: &Self) -> bool {
8177         self.dwTotalSize == other.dwTotalSize && self.dwInstances == other.dwInstances
8178     }
8179 }
8180 impl ::std::cmp::Eq for PERF_MULTI_INSTANCES {}
8181 unsafe impl ::windows::runtime::Abi for PERF_MULTI_INSTANCES {
8182     type Abi = Self;
8183     type DefaultType = Self;
8184 }
8185 pub const PERF_NO_INSTANCES: i32 = -1i32;
8186 pub const PERF_NO_UNIQUE_ID: i32 = -1i32;
8187 pub const PERF_NUMBER_DECIMAL: u32 = 65536u32;
8188 pub const PERF_NUMBER_DEC_1000: u32 = 131072u32;
8189 pub const PERF_NUMBER_HEX: u32 = 0u32;
8190 pub const PERF_OBJECT_TIMER: u32 = 2097152u32;
8191 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8192 #[repr(C)]
8193 pub struct PERF_OBJECT_TYPE {
8194     pub TotalByteLength: u32,
8195     pub DefinitionLength: u32,
8196     pub HeaderLength: u32,
8197     pub ObjectNameTitleIndex: u32,
8198     pub ObjectNameTitle: u32,
8199     pub ObjectHelpTitleIndex: u32,
8200     pub ObjectHelpTitle: u32,
8201     pub DetailLevel: u32,
8202     pub NumCounters: u32,
8203     pub DefaultCounter: i32,
8204     pub NumInstances: i32,
8205     pub CodePage: u32,
8206     pub PerfTime: i64,
8207     pub PerfFreq: i64,
8208 }
8209 impl PERF_OBJECT_TYPE {}
8210 impl ::std::default::Default for PERF_OBJECT_TYPE {
default() -> Self8211     fn default() -> Self {
8212         unsafe { ::std::mem::zeroed() }
8213     }
8214 }
8215 impl ::std::fmt::Debug for PERF_OBJECT_TYPE {
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("PERF_OBJECT_TYPE")
8218             .field("TotalByteLength", &self.TotalByteLength)
8219             .field("DefinitionLength", &self.DefinitionLength)
8220             .field("HeaderLength", &self.HeaderLength)
8221             .field("ObjectNameTitleIndex", &self.ObjectNameTitleIndex)
8222             .field("ObjectNameTitle", &self.ObjectNameTitle)
8223             .field("ObjectHelpTitleIndex", &self.ObjectHelpTitleIndex)
8224             .field("ObjectHelpTitle", &self.ObjectHelpTitle)
8225             .field("DetailLevel", &self.DetailLevel)
8226             .field("NumCounters", &self.NumCounters)
8227             .field("DefaultCounter", &self.DefaultCounter)
8228             .field("NumInstances", &self.NumInstances)
8229             .field("CodePage", &self.CodePage)
8230             .field("PerfTime", &self.PerfTime)
8231             .field("PerfFreq", &self.PerfFreq)
8232             .finish()
8233     }
8234 }
8235 impl ::std::cmp::PartialEq for PERF_OBJECT_TYPE {
eq(&self, other: &Self) -> bool8236     fn eq(&self, other: &Self) -> bool {
8237         self.TotalByteLength == other.TotalByteLength
8238             && self.DefinitionLength == other.DefinitionLength
8239             && self.HeaderLength == other.HeaderLength
8240             && self.ObjectNameTitleIndex == other.ObjectNameTitleIndex
8241             && self.ObjectNameTitle == other.ObjectNameTitle
8242             && self.ObjectHelpTitleIndex == other.ObjectHelpTitleIndex
8243             && self.ObjectHelpTitle == other.ObjectHelpTitle
8244             && self.DetailLevel == other.DetailLevel
8245             && self.NumCounters == other.NumCounters
8246             && self.DefaultCounter == other.DefaultCounter
8247             && self.NumInstances == other.NumInstances
8248             && self.CodePage == other.CodePage
8249             && self.PerfTime == other.PerfTime
8250             && self.PerfFreq == other.PerfFreq
8251     }
8252 }
8253 impl ::std::cmp::Eq for PERF_OBJECT_TYPE {}
8254 unsafe impl ::windows::runtime::Abi for PERF_OBJECT_TYPE {
8255     type Abi = Self;
8256     type DefaultType = Self;
8257 }
8258 #[derive(:: std :: clone :: Clone)]
8259 #[repr(C)]
8260 pub struct PERF_PROVIDER_CONTEXT {
8261     pub ContextSize: u32,
8262     pub Reserved: u32,
8263     pub ControlCallback: ::std::option::Option<PERFLIBREQUEST>,
8264     pub MemAllocRoutine: ::std::option::Option<PERF_MEM_ALLOC>,
8265     pub MemFreeRoutine: ::std::option::Option<PERF_MEM_FREE>,
8266     pub pMemContext: *mut ::std::ffi::c_void,
8267 }
8268 impl PERF_PROVIDER_CONTEXT {}
8269 impl ::std::default::Default for PERF_PROVIDER_CONTEXT {
default() -> Self8270     fn default() -> Self {
8271         unsafe { ::std::mem::zeroed() }
8272     }
8273 }
8274 impl ::std::fmt::Debug for PERF_PROVIDER_CONTEXT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8275     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8276         fmt.debug_struct("PERF_PROVIDER_CONTEXT").field("ContextSize", &self.ContextSize).field("Reserved", &self.Reserved).field("pMemContext", &self.pMemContext).finish()
8277     }
8278 }
8279 impl ::std::cmp::PartialEq for PERF_PROVIDER_CONTEXT {
eq(&self, other: &Self) -> bool8280     fn eq(&self, other: &Self) -> bool {
8281         self.ContextSize == other.ContextSize && self.Reserved == other.Reserved && self.ControlCallback.map(|f| f as usize) == other.ControlCallback.map(|f| f as usize) && self.MemAllocRoutine.map(|f| f as usize) == other.MemAllocRoutine.map(|f| f as usize) && self.MemFreeRoutine.map(|f| f as usize) == other.MemFreeRoutine.map(|f| f as usize) && self.pMemContext == other.pMemContext
8282     }
8283 }
8284 impl ::std::cmp::Eq for PERF_PROVIDER_CONTEXT {}
8285 unsafe impl ::windows::runtime::Abi for PERF_PROVIDER_CONTEXT {
8286     type Abi = ::std::mem::ManuallyDrop<Self>;
8287     type DefaultType = Self;
8288 }
8289 pub const PERF_PROVIDER_DRIVER: u32 = 2u32;
8290 pub const PERF_PROVIDER_KERNEL_MODE: u32 = 1u32;
8291 pub const PERF_PROVIDER_USER_MODE: u32 = 0u32;
8292 pub const PERF_REMOVE_COUNTER: u32 = 2u32;
8293 pub const PERF_SIZE_DWORD: u32 = 0u32;
8294 pub const PERF_SIZE_LARGE: u32 = 256u32;
8295 pub const PERF_SIZE_VARIABLE_LEN: u32 = 768u32;
8296 pub const PERF_SIZE_ZERO: u32 = 512u32;
8297 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8298 #[repr(C)]
8299 pub struct PERF_STRING_BUFFER_HEADER {
8300     pub dwSize: u32,
8301     pub dwCounters: u32,
8302 }
8303 impl PERF_STRING_BUFFER_HEADER {}
8304 impl ::std::default::Default for PERF_STRING_BUFFER_HEADER {
default() -> Self8305     fn default() -> Self {
8306         unsafe { ::std::mem::zeroed() }
8307     }
8308 }
8309 impl ::std::fmt::Debug for PERF_STRING_BUFFER_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8310     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8311         fmt.debug_struct("PERF_STRING_BUFFER_HEADER").field("dwSize", &self.dwSize).field("dwCounters", &self.dwCounters).finish()
8312     }
8313 }
8314 impl ::std::cmp::PartialEq for PERF_STRING_BUFFER_HEADER {
eq(&self, other: &Self) -> bool8315     fn eq(&self, other: &Self) -> bool {
8316         self.dwSize == other.dwSize && self.dwCounters == other.dwCounters
8317     }
8318 }
8319 impl ::std::cmp::Eq for PERF_STRING_BUFFER_HEADER {}
8320 unsafe impl ::windows::runtime::Abi for PERF_STRING_BUFFER_HEADER {
8321     type Abi = Self;
8322     type DefaultType = Self;
8323 }
8324 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8325 #[repr(C)]
8326 pub struct PERF_STRING_COUNTER_HEADER {
8327     pub dwCounterId: u32,
8328     pub dwOffset: u32,
8329 }
8330 impl PERF_STRING_COUNTER_HEADER {}
8331 impl ::std::default::Default for PERF_STRING_COUNTER_HEADER {
default() -> Self8332     fn default() -> Self {
8333         unsafe { ::std::mem::zeroed() }
8334     }
8335 }
8336 impl ::std::fmt::Debug for PERF_STRING_COUNTER_HEADER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8337     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8338         fmt.debug_struct("PERF_STRING_COUNTER_HEADER").field("dwCounterId", &self.dwCounterId).field("dwOffset", &self.dwOffset).finish()
8339     }
8340 }
8341 impl ::std::cmp::PartialEq for PERF_STRING_COUNTER_HEADER {
eq(&self, other: &Self) -> bool8342     fn eq(&self, other: &Self) -> bool {
8343         self.dwCounterId == other.dwCounterId && self.dwOffset == other.dwOffset
8344     }
8345 }
8346 impl ::std::cmp::Eq for PERF_STRING_COUNTER_HEADER {}
8347 unsafe impl ::windows::runtime::Abi for PERF_STRING_COUNTER_HEADER {
8348     type Abi = Self;
8349     type DefaultType = Self;
8350 }
8351 pub const PERF_TEXT_ASCII: u32 = 65536u32;
8352 pub const PERF_TEXT_UNICODE: u32 = 0u32;
8353 pub const PERF_TIMER_100NS: u32 = 1048576u32;
8354 pub const PERF_TIMER_TICK: u32 = 0u32;
8355 pub const PERF_TYPE_COUNTER: u32 = 1024u32;
8356 pub const PERF_TYPE_NUMBER: u32 = 0u32;
8357 pub const PERF_TYPE_TEXT: u32 = 2048u32;
8358 pub const PERF_TYPE_ZERO: u32 = 3072u32;
8359 pub const PERF_WILDCARD_COUNTER: u32 = 4294967295u32;
8360 #[cfg(feature = "Win32_Foundation")]
8361 pub type PLA_CABEXTRACT_CALLBACK = unsafe extern "system" fn(filename: super::super::Foundation::PWSTR, context: *mut ::std::ffi::c_void);
8362 pub const PLA_CAPABILITY_AUTOLOGGER: u32 = 32u32;
8363 pub const PLA_CAPABILITY_LEGACY_SESSION: u32 = 8u32;
8364 pub const PLA_CAPABILITY_LEGACY_SVC: u32 = 16u32;
8365 pub const PLA_CAPABILITY_LOCAL: u32 = 268435456u32;
8366 pub const PLA_CAPABILITY_V1_SESSION: u32 = 2u32;
8367 pub const PLA_CAPABILITY_V1_SVC: u32 = 1u32;
8368 pub const PLA_CAPABILITY_V1_SYSTEM: u32 = 4u32;
8369 pub type PM_CLOSE_PROC = unsafe extern "system" fn() -> u32;
8370 #[cfg(feature = "Win32_Foundation")]
8371 pub type PM_COLLECT_PROC = unsafe extern "system" fn(pvaluename: super::super::Foundation::PWSTR, ppdata: *mut *mut ::std::ffi::c_void, pcbtotalbytes: *mut u32, pnumobjecttypes: *mut u32) -> u32;
8372 #[cfg(feature = "Win32_Foundation")]
8373 pub type PM_OPEN_PROC = unsafe extern "system" fn(pcontext: super::super::Foundation::PWSTR) -> u32;
8374 #[cfg(feature = "Win32_Foundation")]
8375 #[inline]
PdhAddCounterA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i328376 pub unsafe fn PdhAddCounterA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i32 {
8377     #[cfg(windows)]
8378     {
8379         #[link(name = "windows")]
8380         extern "system" {
8381             fn PdhAddCounterA(hquery: isize, szfullcounterpath: super::super::Foundation::PSTR, dwuserdata: usize, phcounter: *mut isize) -> i32;
8382         }
8383         ::std::mem::transmute(PdhAddCounterA(::std::mem::transmute(hquery), szfullcounterpath.into_param().abi(), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phcounter)))
8384     }
8385     #[cfg(not(windows))]
8386     unimplemented!("Unsupported target OS");
8387 }
8388 #[cfg(feature = "Win32_Foundation")]
8389 #[inline]
PdhAddCounterW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i328390 pub unsafe fn PdhAddCounterW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i32 {
8391     #[cfg(windows)]
8392     {
8393         #[link(name = "windows")]
8394         extern "system" {
8395             fn PdhAddCounterW(hquery: isize, szfullcounterpath: super::super::Foundation::PWSTR, dwuserdata: usize, phcounter: *mut isize) -> i32;
8396         }
8397         ::std::mem::transmute(PdhAddCounterW(::std::mem::transmute(hquery), szfullcounterpath.into_param().abi(), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phcounter)))
8398     }
8399     #[cfg(not(windows))]
8400     unimplemented!("Unsupported target OS");
8401 }
8402 #[cfg(feature = "Win32_Foundation")]
8403 #[inline]
PdhAddEnglishCounterA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i328404 pub unsafe fn PdhAddEnglishCounterA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i32 {
8405     #[cfg(windows)]
8406     {
8407         #[link(name = "windows")]
8408         extern "system" {
8409             fn PdhAddEnglishCounterA(hquery: isize, szfullcounterpath: super::super::Foundation::PSTR, dwuserdata: usize, phcounter: *mut isize) -> i32;
8410         }
8411         ::std::mem::transmute(PdhAddEnglishCounterA(::std::mem::transmute(hquery), szfullcounterpath.into_param().abi(), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phcounter)))
8412     }
8413     #[cfg(not(windows))]
8414     unimplemented!("Unsupported target OS");
8415 }
8416 #[cfg(feature = "Win32_Foundation")]
8417 #[inline]
PdhAddEnglishCounterW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i328418 pub unsafe fn PdhAddEnglishCounterW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hquery: isize, szfullcounterpath: Param1, dwuserdata: usize, phcounter: *mut isize) -> i32 {
8419     #[cfg(windows)]
8420     {
8421         #[link(name = "windows")]
8422         extern "system" {
8423             fn PdhAddEnglishCounterW(hquery: isize, szfullcounterpath: super::super::Foundation::PWSTR, dwuserdata: usize, phcounter: *mut isize) -> i32;
8424         }
8425         ::std::mem::transmute(PdhAddEnglishCounterW(::std::mem::transmute(hquery), szfullcounterpath.into_param().abi(), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phcounter)))
8426     }
8427     #[cfg(not(windows))]
8428     unimplemented!("Unsupported target OS");
8429 }
8430 #[cfg(feature = "Win32_Foundation")]
8431 #[inline]
PdhBindInputDataSourceA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(phdatasource: *mut isize, logfilenamelist: Param1) -> i328432 pub unsafe fn PdhBindInputDataSourceA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(phdatasource: *mut isize, logfilenamelist: Param1) -> i32 {
8433     #[cfg(windows)]
8434     {
8435         #[link(name = "windows")]
8436         extern "system" {
8437             fn PdhBindInputDataSourceA(phdatasource: *mut isize, logfilenamelist: super::super::Foundation::PSTR) -> i32;
8438         }
8439         ::std::mem::transmute(PdhBindInputDataSourceA(::std::mem::transmute(phdatasource), logfilenamelist.into_param().abi()))
8440     }
8441     #[cfg(not(windows))]
8442     unimplemented!("Unsupported target OS");
8443 }
8444 #[cfg(feature = "Win32_Foundation")]
8445 #[inline]
PdhBindInputDataSourceW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(phdatasource: *mut isize, logfilenamelist: Param1) -> i328446 pub unsafe fn PdhBindInputDataSourceW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(phdatasource: *mut isize, logfilenamelist: Param1) -> i32 {
8447     #[cfg(windows)]
8448     {
8449         #[link(name = "windows")]
8450         extern "system" {
8451             fn PdhBindInputDataSourceW(phdatasource: *mut isize, logfilenamelist: super::super::Foundation::PWSTR) -> i32;
8452         }
8453         ::std::mem::transmute(PdhBindInputDataSourceW(::std::mem::transmute(phdatasource), logfilenamelist.into_param().abi()))
8454     }
8455     #[cfg(not(windows))]
8456     unimplemented!("Unsupported target OS");
8457 }
8458 #[cfg(feature = "Win32_Foundation")]
8459 #[inline]
PdhBrowseCountersA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_A) -> i328460 pub unsafe fn PdhBrowseCountersA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_A) -> i32 {
8461     #[cfg(windows)]
8462     {
8463         #[link(name = "windows")]
8464         extern "system" {
8465             fn PdhBrowseCountersA(pbrowsedlgdata: *const ::std::mem::ManuallyDrop<PDH_BROWSE_DLG_CONFIG_A>) -> i32;
8466         }
8467         ::std::mem::transmute(PdhBrowseCountersA(::std::mem::transmute(pbrowsedlgdata)))
8468     }
8469     #[cfg(not(windows))]
8470     unimplemented!("Unsupported target OS");
8471 }
8472 #[cfg(feature = "Win32_Foundation")]
8473 #[inline]
PdhBrowseCountersHA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HA) -> i328474 pub unsafe fn PdhBrowseCountersHA(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HA) -> i32 {
8475     #[cfg(windows)]
8476     {
8477         #[link(name = "windows")]
8478         extern "system" {
8479             fn PdhBrowseCountersHA(pbrowsedlgdata: *const ::std::mem::ManuallyDrop<PDH_BROWSE_DLG_CONFIG_HA>) -> i32;
8480         }
8481         ::std::mem::transmute(PdhBrowseCountersHA(::std::mem::transmute(pbrowsedlgdata)))
8482     }
8483     #[cfg(not(windows))]
8484     unimplemented!("Unsupported target OS");
8485 }
8486 #[cfg(feature = "Win32_Foundation")]
8487 #[inline]
PdhBrowseCountersHW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HW) -> i328488 pub unsafe fn PdhBrowseCountersHW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_HW) -> i32 {
8489     #[cfg(windows)]
8490     {
8491         #[link(name = "windows")]
8492         extern "system" {
8493             fn PdhBrowseCountersHW(pbrowsedlgdata: *const ::std::mem::ManuallyDrop<PDH_BROWSE_DLG_CONFIG_HW>) -> i32;
8494         }
8495         ::std::mem::transmute(PdhBrowseCountersHW(::std::mem::transmute(pbrowsedlgdata)))
8496     }
8497     #[cfg(not(windows))]
8498     unimplemented!("Unsupported target OS");
8499 }
8500 #[cfg(feature = "Win32_Foundation")]
8501 #[inline]
PdhBrowseCountersW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_W) -> i328502 pub unsafe fn PdhBrowseCountersW(pbrowsedlgdata: *const PDH_BROWSE_DLG_CONFIG_W) -> i32 {
8503     #[cfg(windows)]
8504     {
8505         #[link(name = "windows")]
8506         extern "system" {
8507             fn PdhBrowseCountersW(pbrowsedlgdata: *const ::std::mem::ManuallyDrop<PDH_BROWSE_DLG_CONFIG_W>) -> i32;
8508         }
8509         ::std::mem::transmute(PdhBrowseCountersW(::std::mem::transmute(pbrowsedlgdata)))
8510     }
8511     #[cfg(not(windows))]
8512     unimplemented!("Unsupported target OS");
8513 }
8514 #[cfg(feature = "Win32_Foundation")]
8515 #[inline]
PdhCalculateCounterFromRawValue(hcounter: isize, dwformat: PDH_FMT, rawvalue1: *const PDH_RAW_COUNTER, rawvalue2: *const PDH_RAW_COUNTER, fmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i328516 pub unsafe fn PdhCalculateCounterFromRawValue(hcounter: isize, dwformat: PDH_FMT, rawvalue1: *const PDH_RAW_COUNTER, rawvalue2: *const PDH_RAW_COUNTER, fmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32 {
8517     #[cfg(windows)]
8518     {
8519         #[link(name = "windows")]
8520         extern "system" {
8521             fn PdhCalculateCounterFromRawValue(hcounter: isize, dwformat: PDH_FMT, rawvalue1: *const PDH_RAW_COUNTER, rawvalue2: *const PDH_RAW_COUNTER, fmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32;
8522         }
8523         ::std::mem::transmute(PdhCalculateCounterFromRawValue(::std::mem::transmute(hcounter), ::std::mem::transmute(dwformat), ::std::mem::transmute(rawvalue1), ::std::mem::transmute(rawvalue2), ::std::mem::transmute(fmtvalue)))
8524     }
8525     #[cfg(not(windows))]
8526     unimplemented!("Unsupported target OS");
8527 }
8528 #[inline]
PdhCloseLog(hlog: isize, dwflags: u32) -> i328529 pub unsafe fn PdhCloseLog(hlog: isize, dwflags: u32) -> i32 {
8530     #[cfg(windows)]
8531     {
8532         #[link(name = "windows")]
8533         extern "system" {
8534             fn PdhCloseLog(hlog: isize, dwflags: u32) -> i32;
8535         }
8536         ::std::mem::transmute(PdhCloseLog(::std::mem::transmute(hlog), ::std::mem::transmute(dwflags)))
8537     }
8538     #[cfg(not(windows))]
8539     unimplemented!("Unsupported target OS");
8540 }
8541 #[inline]
PdhCloseQuery(hquery: isize) -> i328542 pub unsafe fn PdhCloseQuery(hquery: isize) -> i32 {
8543     #[cfg(windows)]
8544     {
8545         #[link(name = "windows")]
8546         extern "system" {
8547             fn PdhCloseQuery(hquery: isize) -> i32;
8548         }
8549         ::std::mem::transmute(PdhCloseQuery(::std::mem::transmute(hquery)))
8550     }
8551     #[cfg(not(windows))]
8552     unimplemented!("Unsupported target OS");
8553 }
8554 #[inline]
PdhCollectQueryData(hquery: isize) -> i328555 pub unsafe fn PdhCollectQueryData(hquery: isize) -> i32 {
8556     #[cfg(windows)]
8557     {
8558         #[link(name = "windows")]
8559         extern "system" {
8560             fn PdhCollectQueryData(hquery: isize) -> i32;
8561         }
8562         ::std::mem::transmute(PdhCollectQueryData(::std::mem::transmute(hquery)))
8563     }
8564     #[cfg(not(windows))]
8565     unimplemented!("Unsupported target OS");
8566 }
8567 #[cfg(feature = "Win32_Foundation")]
8568 #[inline]
PdhCollectQueryDataEx<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hquery: isize, dwintervaltime: u32, hnewdataevent: Param2) -> i328569 pub unsafe fn PdhCollectQueryDataEx<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hquery: isize, dwintervaltime: u32, hnewdataevent: Param2) -> i32 {
8570     #[cfg(windows)]
8571     {
8572         #[link(name = "windows")]
8573         extern "system" {
8574             fn PdhCollectQueryDataEx(hquery: isize, dwintervaltime: u32, hnewdataevent: super::super::Foundation::HANDLE) -> i32;
8575         }
8576         ::std::mem::transmute(PdhCollectQueryDataEx(::std::mem::transmute(hquery), ::std::mem::transmute(dwintervaltime), hnewdataevent.into_param().abi()))
8577     }
8578     #[cfg(not(windows))]
8579     unimplemented!("Unsupported target OS");
8580 }
8581 #[inline]
PdhCollectQueryDataWithTime(hquery: isize, plltimestamp: *mut i64) -> i328582 pub unsafe fn PdhCollectQueryDataWithTime(hquery: isize, plltimestamp: *mut i64) -> i32 {
8583     #[cfg(windows)]
8584     {
8585         #[link(name = "windows")]
8586         extern "system" {
8587             fn PdhCollectQueryDataWithTime(hquery: isize, plltimestamp: *mut i64) -> i32;
8588         }
8589         ::std::mem::transmute(PdhCollectQueryDataWithTime(::std::mem::transmute(hquery), ::std::mem::transmute(plltimestamp)))
8590     }
8591     #[cfg(not(windows))]
8592     unimplemented!("Unsupported target OS");
8593 }
8594 #[cfg(feature = "Win32_Foundation")]
8595 #[inline]
PdhComputeCounterStatistics(hcounter: isize, dwformat: PDH_FMT, dwfirstentry: u32, dwnumentries: u32, lprawvaluearray: *const PDH_RAW_COUNTER, data: *mut PDH_STATISTICS) -> i328596 pub unsafe fn PdhComputeCounterStatistics(hcounter: isize, dwformat: PDH_FMT, dwfirstentry: u32, dwnumentries: u32, lprawvaluearray: *const PDH_RAW_COUNTER, data: *mut PDH_STATISTICS) -> i32 {
8597     #[cfg(windows)]
8598     {
8599         #[link(name = "windows")]
8600         extern "system" {
8601             fn PdhComputeCounterStatistics(hcounter: isize, dwformat: PDH_FMT, dwfirstentry: u32, dwnumentries: u32, lprawvaluearray: *const PDH_RAW_COUNTER, data: *mut PDH_STATISTICS) -> i32;
8602         }
8603         ::std::mem::transmute(PdhComputeCounterStatistics(::std::mem::transmute(hcounter), ::std::mem::transmute(dwformat), ::std::mem::transmute(dwfirstentry), ::std::mem::transmute(dwnumentries), ::std::mem::transmute(lprawvaluearray), ::std::mem::transmute(data)))
8604     }
8605     #[cfg(not(windows))]
8606     unimplemented!("Unsupported target OS");
8607 }
8608 #[cfg(feature = "Win32_Foundation")]
8609 #[inline]
PdhConnectMachineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szmachinename: Param0) -> i328610 pub unsafe fn PdhConnectMachineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szmachinename: Param0) -> i32 {
8611     #[cfg(windows)]
8612     {
8613         #[link(name = "windows")]
8614         extern "system" {
8615             fn PdhConnectMachineA(szmachinename: super::super::Foundation::PSTR) -> i32;
8616         }
8617         ::std::mem::transmute(PdhConnectMachineA(szmachinename.into_param().abi()))
8618     }
8619     #[cfg(not(windows))]
8620     unimplemented!("Unsupported target OS");
8621 }
8622 #[cfg(feature = "Win32_Foundation")]
8623 #[inline]
PdhConnectMachineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachinename: Param0) -> i328624 pub unsafe fn PdhConnectMachineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachinename: Param0) -> i32 {
8625     #[cfg(windows)]
8626     {
8627         #[link(name = "windows")]
8628         extern "system" {
8629             fn PdhConnectMachineW(szmachinename: super::super::Foundation::PWSTR) -> i32;
8630         }
8631         ::std::mem::transmute(PdhConnectMachineW(szmachinename.into_param().abi()))
8632     }
8633     #[cfg(not(windows))]
8634     unimplemented!("Unsupported target OS");
8635 }
8636 #[cfg(feature = "Win32_Foundation")]
8637 #[inline]
PdhCreateSQLTablesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0) -> i328638 pub unsafe fn PdhCreateSQLTablesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0) -> i32 {
8639     #[cfg(windows)]
8640     {
8641         #[link(name = "windows")]
8642         extern "system" {
8643             fn PdhCreateSQLTablesA(szdatasource: super::super::Foundation::PSTR) -> i32;
8644         }
8645         ::std::mem::transmute(PdhCreateSQLTablesA(szdatasource.into_param().abi()))
8646     }
8647     #[cfg(not(windows))]
8648     unimplemented!("Unsupported target OS");
8649 }
8650 #[cfg(feature = "Win32_Foundation")]
8651 #[inline]
PdhCreateSQLTablesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0) -> i328652 pub unsafe fn PdhCreateSQLTablesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0) -> i32 {
8653     #[cfg(windows)]
8654     {
8655         #[link(name = "windows")]
8656         extern "system" {
8657             fn PdhCreateSQLTablesW(szdatasource: super::super::Foundation::PWSTR) -> i32;
8658         }
8659         ::std::mem::transmute(PdhCreateSQLTablesW(szdatasource.into_param().abi()))
8660     }
8661     #[cfg(not(windows))]
8662     unimplemented!("Unsupported target OS");
8663 }
8664 #[cfg(feature = "Win32_Foundation")]
8665 #[inline]
PdhEnumLogSetNamesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, mszdatasetnamelist: super::super::Foundation::PSTR, pcchbufferlength: *mut u32) -> i328666 pub unsafe fn PdhEnumLogSetNamesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, mszdatasetnamelist: super::super::Foundation::PSTR, pcchbufferlength: *mut u32) -> i32 {
8667     #[cfg(windows)]
8668     {
8669         #[link(name = "windows")]
8670         extern "system" {
8671             fn PdhEnumLogSetNamesA(szdatasource: super::super::Foundation::PSTR, mszdatasetnamelist: super::super::Foundation::PSTR, pcchbufferlength: *mut u32) -> i32;
8672         }
8673         ::std::mem::transmute(PdhEnumLogSetNamesA(szdatasource.into_param().abi(), ::std::mem::transmute(mszdatasetnamelist), ::std::mem::transmute(pcchbufferlength)))
8674     }
8675     #[cfg(not(windows))]
8676     unimplemented!("Unsupported target OS");
8677 }
8678 #[cfg(feature = "Win32_Foundation")]
8679 #[inline]
PdhEnumLogSetNamesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, mszdatasetnamelist: super::super::Foundation::PWSTR, pcchbufferlength: *mut u32) -> i328680 pub unsafe fn PdhEnumLogSetNamesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, mszdatasetnamelist: super::super::Foundation::PWSTR, pcchbufferlength: *mut u32) -> i32 {
8681     #[cfg(windows)]
8682     {
8683         #[link(name = "windows")]
8684         extern "system" {
8685             fn PdhEnumLogSetNamesW(szdatasource: super::super::Foundation::PWSTR, mszdatasetnamelist: super::super::Foundation::PWSTR, pcchbufferlength: *mut u32) -> i32;
8686         }
8687         ::std::mem::transmute(PdhEnumLogSetNamesW(szdatasource.into_param().abi(), ::std::mem::transmute(mszdatasetnamelist), ::std::mem::transmute(pcchbufferlength)))
8688     }
8689     #[cfg(not(windows))]
8690     unimplemented!("Unsupported target OS");
8691 }
8692 #[cfg(feature = "Win32_Foundation")]
8693 #[inline]
PdhEnumMachinesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, mszmachinelist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i328694 pub unsafe fn PdhEnumMachinesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, mszmachinelist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32 {
8695     #[cfg(windows)]
8696     {
8697         #[link(name = "windows")]
8698         extern "system" {
8699             fn PdhEnumMachinesA(szdatasource: super::super::Foundation::PSTR, mszmachinelist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32;
8700         }
8701         ::std::mem::transmute(PdhEnumMachinesA(szdatasource.into_param().abi(), ::std::mem::transmute(mszmachinelist), ::std::mem::transmute(pcchbuffersize)))
8702     }
8703     #[cfg(not(windows))]
8704     unimplemented!("Unsupported target OS");
8705 }
8706 #[cfg(feature = "Win32_Foundation")]
8707 #[inline]
PdhEnumMachinesHA(hdatasource: isize, mszmachinelist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i328708 pub unsafe fn PdhEnumMachinesHA(hdatasource: isize, mszmachinelist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32 {
8709     #[cfg(windows)]
8710     {
8711         #[link(name = "windows")]
8712         extern "system" {
8713             fn PdhEnumMachinesHA(hdatasource: isize, mszmachinelist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32;
8714         }
8715         ::std::mem::transmute(PdhEnumMachinesHA(::std::mem::transmute(hdatasource), ::std::mem::transmute(mszmachinelist), ::std::mem::transmute(pcchbuffersize)))
8716     }
8717     #[cfg(not(windows))]
8718     unimplemented!("Unsupported target OS");
8719 }
8720 #[cfg(feature = "Win32_Foundation")]
8721 #[inline]
PdhEnumMachinesHW(hdatasource: isize, mszmachinelist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i328722 pub unsafe fn PdhEnumMachinesHW(hdatasource: isize, mszmachinelist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32 {
8723     #[cfg(windows)]
8724     {
8725         #[link(name = "windows")]
8726         extern "system" {
8727             fn PdhEnumMachinesHW(hdatasource: isize, mszmachinelist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32;
8728         }
8729         ::std::mem::transmute(PdhEnumMachinesHW(::std::mem::transmute(hdatasource), ::std::mem::transmute(mszmachinelist), ::std::mem::transmute(pcchbuffersize)))
8730     }
8731     #[cfg(not(windows))]
8732     unimplemented!("Unsupported target OS");
8733 }
8734 #[cfg(feature = "Win32_Foundation")]
8735 #[inline]
PdhEnumMachinesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, mszmachinelist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i328736 pub unsafe fn PdhEnumMachinesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, mszmachinelist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32 {
8737     #[cfg(windows)]
8738     {
8739         #[link(name = "windows")]
8740         extern "system" {
8741             fn PdhEnumMachinesW(szdatasource: super::super::Foundation::PWSTR, mszmachinelist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32;
8742         }
8743         ::std::mem::transmute(PdhEnumMachinesW(szdatasource.into_param().abi(), ::std::mem::transmute(mszmachinelist), ::std::mem::transmute(pcchbuffersize)))
8744     }
8745     #[cfg(not(windows))]
8746     unimplemented!("Unsupported target OS");
8747 }
8748 #[cfg(feature = "Win32_Foundation")]
8749 #[inline]
PdhEnumObjectItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>( szdatasource: Param0, szmachinename: Param1, szobjectname: Param2, mszcounterlist: super::super::Foundation::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32, ) -> i328750 pub unsafe fn PdhEnumObjectItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(
8751     szdatasource: Param0,
8752     szmachinename: Param1,
8753     szobjectname: Param2,
8754     mszcounterlist: super::super::Foundation::PSTR,
8755     pcchcounterlistlength: *mut u32,
8756     mszinstancelist: super::super::Foundation::PSTR,
8757     pcchinstancelistlength: *mut u32,
8758     dwdetaillevel: PERF_DETAIL,
8759     dwflags: u32,
8760 ) -> i32 {
8761     #[cfg(windows)]
8762     {
8763         #[link(name = "windows")]
8764         extern "system" {
8765             fn PdhEnumObjectItemsA(szdatasource: super::super::Foundation::PSTR, szmachinename: super::super::Foundation::PSTR, szobjectname: super::super::Foundation::PSTR, mszcounterlist: super::super::Foundation::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32;
8766         }
8767         ::std::mem::transmute(PdhEnumObjectItemsA(
8768             szdatasource.into_param().abi(),
8769             szmachinename.into_param().abi(),
8770             szobjectname.into_param().abi(),
8771             ::std::mem::transmute(mszcounterlist),
8772             ::std::mem::transmute(pcchcounterlistlength),
8773             ::std::mem::transmute(mszinstancelist),
8774             ::std::mem::transmute(pcchinstancelistlength),
8775             ::std::mem::transmute(dwdetaillevel),
8776             ::std::mem::transmute(dwflags),
8777         ))
8778     }
8779     #[cfg(not(windows))]
8780     unimplemented!("Unsupported target OS");
8781 }
8782 #[cfg(feature = "Win32_Foundation")]
8783 #[inline]
PdhEnumObjectItemsHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, mszcounterlist: super::super::Foundation::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i328784 pub unsafe fn PdhEnumObjectItemsHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, mszcounterlist: super::super::Foundation::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32 {
8785     #[cfg(windows)]
8786     {
8787         #[link(name = "windows")]
8788         extern "system" {
8789             fn PdhEnumObjectItemsHA(hdatasource: isize, szmachinename: super::super::Foundation::PSTR, szobjectname: super::super::Foundation::PSTR, mszcounterlist: super::super::Foundation::PSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32;
8790         }
8791         ::std::mem::transmute(PdhEnumObjectItemsHA(
8792             ::std::mem::transmute(hdatasource),
8793             szmachinename.into_param().abi(),
8794             szobjectname.into_param().abi(),
8795             ::std::mem::transmute(mszcounterlist),
8796             ::std::mem::transmute(pcchcounterlistlength),
8797             ::std::mem::transmute(mszinstancelist),
8798             ::std::mem::transmute(pcchinstancelistlength),
8799             ::std::mem::transmute(dwdetaillevel),
8800             ::std::mem::transmute(dwflags),
8801         ))
8802     }
8803     #[cfg(not(windows))]
8804     unimplemented!("Unsupported target OS");
8805 }
8806 #[cfg(feature = "Win32_Foundation")]
8807 #[inline]
PdhEnumObjectItemsHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, mszcounterlist: super::super::Foundation::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i328808 pub unsafe fn PdhEnumObjectItemsHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, mszcounterlist: super::super::Foundation::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32 {
8809     #[cfg(windows)]
8810     {
8811         #[link(name = "windows")]
8812         extern "system" {
8813             fn PdhEnumObjectItemsHW(hdatasource: isize, szmachinename: super::super::Foundation::PWSTR, szobjectname: super::super::Foundation::PWSTR, mszcounterlist: super::super::Foundation::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32;
8814         }
8815         ::std::mem::transmute(PdhEnumObjectItemsHW(
8816             ::std::mem::transmute(hdatasource),
8817             szmachinename.into_param().abi(),
8818             szobjectname.into_param().abi(),
8819             ::std::mem::transmute(mszcounterlist),
8820             ::std::mem::transmute(pcchcounterlistlength),
8821             ::std::mem::transmute(mszinstancelist),
8822             ::std::mem::transmute(pcchinstancelistlength),
8823             ::std::mem::transmute(dwdetaillevel),
8824             ::std::mem::transmute(dwflags),
8825         ))
8826     }
8827     #[cfg(not(windows))]
8828     unimplemented!("Unsupported target OS");
8829 }
8830 #[cfg(feature = "Win32_Foundation")]
8831 #[inline]
PdhEnumObjectItemsW<'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>>( szdatasource: Param0, szmachinename: Param1, szobjectname: Param2, mszcounterlist: super::super::Foundation::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32, ) -> i328832 pub unsafe fn PdhEnumObjectItemsW<'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>>(
8833     szdatasource: Param0,
8834     szmachinename: Param1,
8835     szobjectname: Param2,
8836     mszcounterlist: super::super::Foundation::PWSTR,
8837     pcchcounterlistlength: *mut u32,
8838     mszinstancelist: super::super::Foundation::PWSTR,
8839     pcchinstancelistlength: *mut u32,
8840     dwdetaillevel: PERF_DETAIL,
8841     dwflags: u32,
8842 ) -> i32 {
8843     #[cfg(windows)]
8844     {
8845         #[link(name = "windows")]
8846         extern "system" {
8847             fn PdhEnumObjectItemsW(szdatasource: super::super::Foundation::PWSTR, szmachinename: super::super::Foundation::PWSTR, szobjectname: super::super::Foundation::PWSTR, mszcounterlist: super::super::Foundation::PWSTR, pcchcounterlistlength: *mut u32, mszinstancelist: super::super::Foundation::PWSTR, pcchinstancelistlength: *mut u32, dwdetaillevel: PERF_DETAIL, dwflags: u32) -> i32;
8848         }
8849         ::std::mem::transmute(PdhEnumObjectItemsW(
8850             szdatasource.into_param().abi(),
8851             szmachinename.into_param().abi(),
8852             szobjectname.into_param().abi(),
8853             ::std::mem::transmute(mszcounterlist),
8854             ::std::mem::transmute(pcchcounterlistlength),
8855             ::std::mem::transmute(mszinstancelist),
8856             ::std::mem::transmute(pcchinstancelistlength),
8857             ::std::mem::transmute(dwdetaillevel),
8858             ::std::mem::transmute(dwflags),
8859         ))
8860     }
8861     #[cfg(not(windows))]
8862     unimplemented!("Unsupported target OS");
8863 }
8864 #[cfg(feature = "Win32_Foundation")]
8865 #[inline]
PdhEnumObjectsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(szdatasource: Param0, szmachinename: Param1, mszobjectlist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i328866 pub unsafe fn PdhEnumObjectsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(szdatasource: Param0, szmachinename: Param1, mszobjectlist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i32 {
8867     #[cfg(windows)]
8868     {
8869         #[link(name = "windows")]
8870         extern "system" {
8871             fn PdhEnumObjectsA(szdatasource: super::super::Foundation::PSTR, szmachinename: super::super::Foundation::PSTR, mszobjectlist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32;
8872         }
8873         ::std::mem::transmute(PdhEnumObjectsA(szdatasource.into_param().abi(), szmachinename.into_param().abi(), ::std::mem::transmute(mszobjectlist), ::std::mem::transmute(pcchbuffersize), ::std::mem::transmute(dwdetaillevel), brefresh.into_param().abi()))
8874     }
8875     #[cfg(not(windows))]
8876     unimplemented!("Unsupported target OS");
8877 }
8878 #[cfg(feature = "Win32_Foundation")]
8879 #[inline]
PdhEnumObjectsHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(hdatasource: isize, szmachinename: Param1, mszobjectlist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i328880 pub unsafe fn PdhEnumObjectsHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(hdatasource: isize, szmachinename: Param1, mszobjectlist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i32 {
8881     #[cfg(windows)]
8882     {
8883         #[link(name = "windows")]
8884         extern "system" {
8885             fn PdhEnumObjectsHA(hdatasource: isize, szmachinename: super::super::Foundation::PSTR, mszobjectlist: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32;
8886         }
8887         ::std::mem::transmute(PdhEnumObjectsHA(::std::mem::transmute(hdatasource), szmachinename.into_param().abi(), ::std::mem::transmute(mszobjectlist), ::std::mem::transmute(pcchbuffersize), ::std::mem::transmute(dwdetaillevel), brefresh.into_param().abi()))
8888     }
8889     #[cfg(not(windows))]
8890     unimplemented!("Unsupported target OS");
8891 }
8892 #[cfg(feature = "Win32_Foundation")]
8893 #[inline]
PdhEnumObjectsHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(hdatasource: isize, szmachinename: Param1, mszobjectlist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i328894 pub unsafe fn PdhEnumObjectsHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(hdatasource: isize, szmachinename: Param1, mszobjectlist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i32 {
8895     #[cfg(windows)]
8896     {
8897         #[link(name = "windows")]
8898         extern "system" {
8899             fn PdhEnumObjectsHW(hdatasource: isize, szmachinename: super::super::Foundation::PWSTR, mszobjectlist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32;
8900         }
8901         ::std::mem::transmute(PdhEnumObjectsHW(::std::mem::transmute(hdatasource), szmachinename.into_param().abi(), ::std::mem::transmute(mszobjectlist), ::std::mem::transmute(pcchbuffersize), ::std::mem::transmute(dwdetaillevel), brefresh.into_param().abi()))
8902     }
8903     #[cfg(not(windows))]
8904     unimplemented!("Unsupported target OS");
8905 }
8906 #[cfg(feature = "Win32_Foundation")]
8907 #[inline]
PdhEnumObjectsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(szdatasource: Param0, szmachinename: Param1, mszobjectlist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i328908 pub unsafe fn PdhEnumObjectsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(szdatasource: Param0, szmachinename: Param1, mszobjectlist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: Param5) -> i32 {
8909     #[cfg(windows)]
8910     {
8911         #[link(name = "windows")]
8912         extern "system" {
8913             fn PdhEnumObjectsW(szdatasource: super::super::Foundation::PWSTR, szmachinename: super::super::Foundation::PWSTR, mszobjectlist: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwdetaillevel: PERF_DETAIL, brefresh: super::super::Foundation::BOOL) -> i32;
8914         }
8915         ::std::mem::transmute(PdhEnumObjectsW(szdatasource.into_param().abi(), szmachinename.into_param().abi(), ::std::mem::transmute(mszobjectlist), ::std::mem::transmute(pcchbuffersize), ::std::mem::transmute(dwdetaillevel), brefresh.into_param().abi()))
8916     }
8917     #[cfg(not(windows))]
8918     unimplemented!("Unsupported target OS");
8919 }
8920 #[cfg(feature = "Win32_Foundation")]
8921 #[inline]
PdhExpandCounterPathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szwildcardpath: Param0, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32) -> i328922 pub unsafe fn PdhExpandCounterPathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szwildcardpath: Param0, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32) -> i32 {
8923     #[cfg(windows)]
8924     {
8925         #[link(name = "windows")]
8926         extern "system" {
8927             fn PdhExpandCounterPathA(szwildcardpath: super::super::Foundation::PSTR, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32) -> i32;
8928         }
8929         ::std::mem::transmute(PdhExpandCounterPathA(szwildcardpath.into_param().abi(), ::std::mem::transmute(mszexpandedpathlist), ::std::mem::transmute(pcchpathlistlength)))
8930     }
8931     #[cfg(not(windows))]
8932     unimplemented!("Unsupported target OS");
8933 }
8934 #[cfg(feature = "Win32_Foundation")]
8935 #[inline]
PdhExpandCounterPathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szwildcardpath: Param0, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32) -> i328936 pub unsafe fn PdhExpandCounterPathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szwildcardpath: Param0, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32) -> i32 {
8937     #[cfg(windows)]
8938     {
8939         #[link(name = "windows")]
8940         extern "system" {
8941             fn PdhExpandCounterPathW(szwildcardpath: super::super::Foundation::PWSTR, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32) -> i32;
8942         }
8943         ::std::mem::transmute(PdhExpandCounterPathW(szwildcardpath.into_param().abi(), ::std::mem::transmute(mszexpandedpathlist), ::std::mem::transmute(pcchpathlistlength)))
8944     }
8945     #[cfg(not(windows))]
8946     unimplemented!("Unsupported target OS");
8947 }
8948 #[cfg(feature = "Win32_Foundation")]
8949 #[inline]
PdhExpandWildCardPathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i328950 pub unsafe fn PdhExpandWildCardPathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32 {
8951     #[cfg(windows)]
8952     {
8953         #[link(name = "windows")]
8954         extern "system" {
8955             fn PdhExpandWildCardPathA(szdatasource: super::super::Foundation::PSTR, szwildcardpath: super::super::Foundation::PSTR, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32;
8956         }
8957         ::std::mem::transmute(PdhExpandWildCardPathA(szdatasource.into_param().abi(), szwildcardpath.into_param().abi(), ::std::mem::transmute(mszexpandedpathlist), ::std::mem::transmute(pcchpathlistlength), ::std::mem::transmute(dwflags)))
8958     }
8959     #[cfg(not(windows))]
8960     unimplemented!("Unsupported target OS");
8961 }
8962 #[cfg(feature = "Win32_Foundation")]
8963 #[inline]
PdhExpandWildCardPathHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i328964 pub unsafe fn PdhExpandWildCardPathHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32 {
8965     #[cfg(windows)]
8966     {
8967         #[link(name = "windows")]
8968         extern "system" {
8969             fn PdhExpandWildCardPathHA(hdatasource: isize, szwildcardpath: super::super::Foundation::PSTR, mszexpandedpathlist: super::super::Foundation::PSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32;
8970         }
8971         ::std::mem::transmute(PdhExpandWildCardPathHA(::std::mem::transmute(hdatasource), szwildcardpath.into_param().abi(), ::std::mem::transmute(mszexpandedpathlist), ::std::mem::transmute(pcchpathlistlength), ::std::mem::transmute(dwflags)))
8972     }
8973     #[cfg(not(windows))]
8974     unimplemented!("Unsupported target OS");
8975 }
8976 #[cfg(feature = "Win32_Foundation")]
8977 #[inline]
PdhExpandWildCardPathHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i328978 pub unsafe fn PdhExpandWildCardPathHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32 {
8979     #[cfg(windows)]
8980     {
8981         #[link(name = "windows")]
8982         extern "system" {
8983             fn PdhExpandWildCardPathHW(hdatasource: isize, szwildcardpath: super::super::Foundation::PWSTR, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32;
8984         }
8985         ::std::mem::transmute(PdhExpandWildCardPathHW(::std::mem::transmute(hdatasource), szwildcardpath.into_param().abi(), ::std::mem::transmute(mszexpandedpathlist), ::std::mem::transmute(pcchpathlistlength), ::std::mem::transmute(dwflags)))
8986     }
8987     #[cfg(not(windows))]
8988     unimplemented!("Unsupported target OS");
8989 }
8990 #[cfg(feature = "Win32_Foundation")]
8991 #[inline]
PdhExpandWildCardPathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i328992 pub unsafe fn PdhExpandWildCardPathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, szwildcardpath: Param1, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32 {
8993     #[cfg(windows)]
8994     {
8995         #[link(name = "windows")]
8996         extern "system" {
8997             fn PdhExpandWildCardPathW(szdatasource: super::super::Foundation::PWSTR, szwildcardpath: super::super::Foundation::PWSTR, mszexpandedpathlist: super::super::Foundation::PWSTR, pcchpathlistlength: *mut u32, dwflags: u32) -> i32;
8998         }
8999         ::std::mem::transmute(PdhExpandWildCardPathW(szdatasource.into_param().abi(), szwildcardpath.into_param().abi(), ::std::mem::transmute(mszexpandedpathlist), ::std::mem::transmute(pcchpathlistlength), ::std::mem::transmute(dwflags)))
9000     }
9001     #[cfg(not(windows))]
9002     unimplemented!("Unsupported target OS");
9003 }
9004 #[cfg(feature = "Win32_Foundation")]
9005 #[inline]
PdhFormatFromRawValue(dwcountertype: u32, dwformat: PDH_FMT, ptimebase: *const i64, prawvalue1: *const PDH_RAW_COUNTER, prawvalue2: *const PDH_RAW_COUNTER, pfmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i329006 pub unsafe fn PdhFormatFromRawValue(dwcountertype: u32, dwformat: PDH_FMT, ptimebase: *const i64, prawvalue1: *const PDH_RAW_COUNTER, prawvalue2: *const PDH_RAW_COUNTER, pfmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32 {
9007     #[cfg(windows)]
9008     {
9009         #[link(name = "windows")]
9010         extern "system" {
9011             fn PdhFormatFromRawValue(dwcountertype: u32, dwformat: PDH_FMT, ptimebase: *const i64, prawvalue1: *const PDH_RAW_COUNTER, prawvalue2: *const PDH_RAW_COUNTER, pfmtvalue: *mut PDH_FMT_COUNTERVALUE) -> i32;
9012         }
9013         ::std::mem::transmute(PdhFormatFromRawValue(::std::mem::transmute(dwcountertype), ::std::mem::transmute(dwformat), ::std::mem::transmute(ptimebase), ::std::mem::transmute(prawvalue1), ::std::mem::transmute(prawvalue2), ::std::mem::transmute(pfmtvalue)))
9014     }
9015     #[cfg(not(windows))]
9016     unimplemented!("Unsupported target OS");
9017 }
9018 #[cfg(feature = "Win32_Foundation")]
9019 #[inline]
PdhGetCounterInfoA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(hcounter: isize, bretrieveexplaintext: Param1, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_A) -> i329020 pub unsafe fn PdhGetCounterInfoA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(hcounter: isize, bretrieveexplaintext: Param1, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_A) -> i32 {
9021     #[cfg(windows)]
9022     {
9023         #[link(name = "windows")]
9024         extern "system" {
9025             fn PdhGetCounterInfoA(hcounter: isize, bretrieveexplaintext: super::super::Foundation::BOOLEAN, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_A) -> i32;
9026         }
9027         ::std::mem::transmute(PdhGetCounterInfoA(::std::mem::transmute(hcounter), bretrieveexplaintext.into_param().abi(), ::std::mem::transmute(pdwbuffersize), ::std::mem::transmute(lpbuffer)))
9028     }
9029     #[cfg(not(windows))]
9030     unimplemented!("Unsupported target OS");
9031 }
9032 #[cfg(feature = "Win32_Foundation")]
9033 #[inline]
PdhGetCounterInfoW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(hcounter: isize, bretrieveexplaintext: Param1, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_W) -> i329034 pub unsafe fn PdhGetCounterInfoW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(hcounter: isize, bretrieveexplaintext: Param1, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_W) -> i32 {
9035     #[cfg(windows)]
9036     {
9037         #[link(name = "windows")]
9038         extern "system" {
9039             fn PdhGetCounterInfoW(hcounter: isize, bretrieveexplaintext: super::super::Foundation::BOOLEAN, pdwbuffersize: *mut u32, lpbuffer: *mut PDH_COUNTER_INFO_W) -> i32;
9040         }
9041         ::std::mem::transmute(PdhGetCounterInfoW(::std::mem::transmute(hcounter), bretrieveexplaintext.into_param().abi(), ::std::mem::transmute(pdwbuffersize), ::std::mem::transmute(lpbuffer)))
9042     }
9043     #[cfg(not(windows))]
9044     unimplemented!("Unsupported target OS");
9045 }
9046 #[inline]
PdhGetCounterTimeBase(hcounter: isize, ptimebase: *mut i64) -> i329047 pub unsafe fn PdhGetCounterTimeBase(hcounter: isize, ptimebase: *mut i64) -> i32 {
9048     #[cfg(windows)]
9049     {
9050         #[link(name = "windows")]
9051         extern "system" {
9052             fn PdhGetCounterTimeBase(hcounter: isize, ptimebase: *mut i64) -> i32;
9053         }
9054         ::std::mem::transmute(PdhGetCounterTimeBase(::std::mem::transmute(hcounter), ::std::mem::transmute(ptimebase)))
9055     }
9056     #[cfg(not(windows))]
9057     unimplemented!("Unsupported target OS");
9058 }
9059 #[cfg(feature = "Win32_Foundation")]
9060 #[inline]
PdhGetDataSourceTimeRangeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i329061 pub unsafe fn PdhGetDataSourceTimeRangeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32 {
9062     #[cfg(windows)]
9063     {
9064         #[link(name = "windows")]
9065         extern "system" {
9066             fn PdhGetDataSourceTimeRangeA(szdatasource: super::super::Foundation::PSTR, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32;
9067         }
9068         ::std::mem::transmute(PdhGetDataSourceTimeRangeA(szdatasource.into_param().abi(), ::std::mem::transmute(pdwnumentries), ::std::mem::transmute(pinfo), ::std::mem::transmute(pdwbuffersize)))
9069     }
9070     #[cfg(not(windows))]
9071     unimplemented!("Unsupported target OS");
9072 }
9073 #[inline]
PdhGetDataSourceTimeRangeH(hdatasource: isize, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i329074 pub unsafe fn PdhGetDataSourceTimeRangeH(hdatasource: isize, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32 {
9075     #[cfg(windows)]
9076     {
9077         #[link(name = "windows")]
9078         extern "system" {
9079             fn PdhGetDataSourceTimeRangeH(hdatasource: isize, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32;
9080         }
9081         ::std::mem::transmute(PdhGetDataSourceTimeRangeH(::std::mem::transmute(hdatasource), ::std::mem::transmute(pdwnumentries), ::std::mem::transmute(pinfo), ::std::mem::transmute(pdwbuffersize)))
9082     }
9083     #[cfg(not(windows))]
9084     unimplemented!("Unsupported target OS");
9085 }
9086 #[cfg(feature = "Win32_Foundation")]
9087 #[inline]
PdhGetDataSourceTimeRangeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i329088 pub unsafe fn PdhGetDataSourceTimeRangeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32 {
9089     #[cfg(windows)]
9090     {
9091         #[link(name = "windows")]
9092         extern "system" {
9093             fn PdhGetDataSourceTimeRangeW(szdatasource: super::super::Foundation::PWSTR, pdwnumentries: *mut u32, pinfo: *mut PDH_TIME_INFO, pdwbuffersize: *mut u32) -> i32;
9094         }
9095         ::std::mem::transmute(PdhGetDataSourceTimeRangeW(szdatasource.into_param().abi(), ::std::mem::transmute(pdwnumentries), ::std::mem::transmute(pinfo), ::std::mem::transmute(pdwbuffersize)))
9096     }
9097     #[cfg(not(windows))]
9098     unimplemented!("Unsupported target OS");
9099 }
9100 #[cfg(feature = "Win32_Foundation")]
9101 #[inline]
PdhGetDefaultPerfCounterA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i329102 pub unsafe fn PdhGetDefaultPerfCounterA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32 {
9103     #[cfg(windows)]
9104     {
9105         #[link(name = "windows")]
9106         extern "system" {
9107             fn PdhGetDefaultPerfCounterA(szdatasource: super::super::Foundation::PSTR, szmachinename: super::super::Foundation::PSTR, szobjectname: super::super::Foundation::PSTR, szdefaultcountername: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32;
9108         }
9109         ::std::mem::transmute(PdhGetDefaultPerfCounterA(szdatasource.into_param().abi(), szmachinename.into_param().abi(), szobjectname.into_param().abi(), ::std::mem::transmute(szdefaultcountername), ::std::mem::transmute(pcchbuffersize)))
9110     }
9111     #[cfg(not(windows))]
9112     unimplemented!("Unsupported target OS");
9113 }
9114 #[cfg(feature = "Win32_Foundation")]
9115 #[inline]
PdhGetDefaultPerfCounterHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i329116 pub unsafe fn PdhGetDefaultPerfCounterHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32 {
9117     #[cfg(windows)]
9118     {
9119         #[link(name = "windows")]
9120         extern "system" {
9121             fn PdhGetDefaultPerfCounterHA(hdatasource: isize, szmachinename: super::super::Foundation::PSTR, szobjectname: super::super::Foundation::PSTR, szdefaultcountername: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32;
9122         }
9123         ::std::mem::transmute(PdhGetDefaultPerfCounterHA(::std::mem::transmute(hdatasource), szmachinename.into_param().abi(), szobjectname.into_param().abi(), ::std::mem::transmute(szdefaultcountername), ::std::mem::transmute(pcchbuffersize)))
9124     }
9125     #[cfg(not(windows))]
9126     unimplemented!("Unsupported target OS");
9127 }
9128 #[cfg(feature = "Win32_Foundation")]
9129 #[inline]
PdhGetDefaultPerfCounterHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i329130 pub unsafe fn PdhGetDefaultPerfCounterHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32 {
9131     #[cfg(windows)]
9132     {
9133         #[link(name = "windows")]
9134         extern "system" {
9135             fn PdhGetDefaultPerfCounterHW(hdatasource: isize, szmachinename: super::super::Foundation::PWSTR, szobjectname: super::super::Foundation::PWSTR, szdefaultcountername: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32;
9136         }
9137         ::std::mem::transmute(PdhGetDefaultPerfCounterHW(::std::mem::transmute(hdatasource), szmachinename.into_param().abi(), szobjectname.into_param().abi(), ::std::mem::transmute(szdefaultcountername), ::std::mem::transmute(pcchbuffersize)))
9138     }
9139     #[cfg(not(windows))]
9140     unimplemented!("Unsupported target OS");
9141 }
9142 #[cfg(feature = "Win32_Foundation")]
9143 #[inline]
PdhGetDefaultPerfCounterW<'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>>(szdatasource: Param0, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i329144 pub unsafe fn PdhGetDefaultPerfCounterW<'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>>(szdatasource: Param0, szmachinename: Param1, szobjectname: Param2, szdefaultcountername: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32 {
9145     #[cfg(windows)]
9146     {
9147         #[link(name = "windows")]
9148         extern "system" {
9149             fn PdhGetDefaultPerfCounterW(szdatasource: super::super::Foundation::PWSTR, szmachinename: super::super::Foundation::PWSTR, szobjectname: super::super::Foundation::PWSTR, szdefaultcountername: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32;
9150         }
9151         ::std::mem::transmute(PdhGetDefaultPerfCounterW(szdatasource.into_param().abi(), szmachinename.into_param().abi(), szobjectname.into_param().abi(), ::std::mem::transmute(szdefaultcountername), ::std::mem::transmute(pcchbuffersize)))
9152     }
9153     #[cfg(not(windows))]
9154     unimplemented!("Unsupported target OS");
9155 }
9156 #[cfg(feature = "Win32_Foundation")]
9157 #[inline]
PdhGetDefaultPerfObjectA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i329158 pub unsafe fn PdhGetDefaultPerfObjectA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32 {
9159     #[cfg(windows)]
9160     {
9161         #[link(name = "windows")]
9162         extern "system" {
9163             fn PdhGetDefaultPerfObjectA(szdatasource: super::super::Foundation::PSTR, szmachinename: super::super::Foundation::PSTR, szdefaultobjectname: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32;
9164         }
9165         ::std::mem::transmute(PdhGetDefaultPerfObjectA(szdatasource.into_param().abi(), szmachinename.into_param().abi(), ::std::mem::transmute(szdefaultobjectname), ::std::mem::transmute(pcchbuffersize)))
9166     }
9167     #[cfg(not(windows))]
9168     unimplemented!("Unsupported target OS");
9169 }
9170 #[cfg(feature = "Win32_Foundation")]
9171 #[inline]
PdhGetDefaultPerfObjectHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i329172 pub unsafe fn PdhGetDefaultPerfObjectHA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32 {
9173     #[cfg(windows)]
9174     {
9175         #[link(name = "windows")]
9176         extern "system" {
9177             fn PdhGetDefaultPerfObjectHA(hdatasource: isize, szmachinename: super::super::Foundation::PSTR, szdefaultobjectname: super::super::Foundation::PSTR, pcchbuffersize: *mut u32) -> i32;
9178         }
9179         ::std::mem::transmute(PdhGetDefaultPerfObjectHA(::std::mem::transmute(hdatasource), szmachinename.into_param().abi(), ::std::mem::transmute(szdefaultobjectname), ::std::mem::transmute(pcchbuffersize)))
9180     }
9181     #[cfg(not(windows))]
9182     unimplemented!("Unsupported target OS");
9183 }
9184 #[cfg(feature = "Win32_Foundation")]
9185 #[inline]
PdhGetDefaultPerfObjectHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i329186 pub unsafe fn PdhGetDefaultPerfObjectHW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32 {
9187     #[cfg(windows)]
9188     {
9189         #[link(name = "windows")]
9190         extern "system" {
9191             fn PdhGetDefaultPerfObjectHW(hdatasource: isize, szmachinename: super::super::Foundation::PWSTR, szdefaultobjectname: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32;
9192         }
9193         ::std::mem::transmute(PdhGetDefaultPerfObjectHW(::std::mem::transmute(hdatasource), szmachinename.into_param().abi(), ::std::mem::transmute(szdefaultobjectname), ::std::mem::transmute(pcchbuffersize)))
9194     }
9195     #[cfg(not(windows))]
9196     unimplemented!("Unsupported target OS");
9197 }
9198 #[cfg(feature = "Win32_Foundation")]
9199 #[inline]
PdhGetDefaultPerfObjectW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i329200 pub unsafe fn PdhGetDefaultPerfObjectW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, szmachinename: Param1, szdefaultobjectname: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32 {
9201     #[cfg(windows)]
9202     {
9203         #[link(name = "windows")]
9204         extern "system" {
9205             fn PdhGetDefaultPerfObjectW(szdatasource: super::super::Foundation::PWSTR, szmachinename: super::super::Foundation::PWSTR, szdefaultobjectname: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32) -> i32;
9206         }
9207         ::std::mem::transmute(PdhGetDefaultPerfObjectW(szdatasource.into_param().abi(), szmachinename.into_param().abi(), ::std::mem::transmute(szdefaultobjectname), ::std::mem::transmute(pcchbuffersize)))
9208     }
9209     #[cfg(not(windows))]
9210     unimplemented!("Unsupported target OS");
9211 }
9212 #[inline]
PdhGetDllVersion(lpdwversion: *mut PDH_DLL_VERSION) -> i329213 pub unsafe fn PdhGetDllVersion(lpdwversion: *mut PDH_DLL_VERSION) -> i32 {
9214     #[cfg(windows)]
9215     {
9216         #[link(name = "windows")]
9217         extern "system" {
9218             fn PdhGetDllVersion(lpdwversion: *mut PDH_DLL_VERSION) -> i32;
9219         }
9220         ::std::mem::transmute(PdhGetDllVersion(::std::mem::transmute(lpdwversion)))
9221     }
9222     #[cfg(not(windows))]
9223     unimplemented!("Unsupported target OS");
9224 }
9225 #[cfg(feature = "Win32_Foundation")]
9226 #[inline]
PdhGetFormattedCounterArrayA(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_A) -> i329227 pub unsafe fn PdhGetFormattedCounterArrayA(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_A) -> i32 {
9228     #[cfg(windows)]
9229     {
9230         #[link(name = "windows")]
9231         extern "system" {
9232             fn PdhGetFormattedCounterArrayA(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_A) -> i32;
9233         }
9234         ::std::mem::transmute(PdhGetFormattedCounterArrayA(::std::mem::transmute(hcounter), ::std::mem::transmute(dwformat), ::std::mem::transmute(lpdwbuffersize), ::std::mem::transmute(lpdwitemcount), ::std::mem::transmute(itembuffer)))
9235     }
9236     #[cfg(not(windows))]
9237     unimplemented!("Unsupported target OS");
9238 }
9239 #[cfg(feature = "Win32_Foundation")]
9240 #[inline]
PdhGetFormattedCounterArrayW(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_W) -> i329241 pub unsafe fn PdhGetFormattedCounterArrayW(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_W) -> i32 {
9242     #[cfg(windows)]
9243     {
9244         #[link(name = "windows")]
9245         extern "system" {
9246             fn PdhGetFormattedCounterArrayW(hcounter: isize, dwformat: PDH_FMT, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_FMT_COUNTERVALUE_ITEM_W) -> i32;
9247         }
9248         ::std::mem::transmute(PdhGetFormattedCounterArrayW(::std::mem::transmute(hcounter), ::std::mem::transmute(dwformat), ::std::mem::transmute(lpdwbuffersize), ::std::mem::transmute(lpdwitemcount), ::std::mem::transmute(itembuffer)))
9249     }
9250     #[cfg(not(windows))]
9251     unimplemented!("Unsupported target OS");
9252 }
9253 #[cfg(feature = "Win32_Foundation")]
9254 #[inline]
PdhGetFormattedCounterValue(hcounter: isize, dwformat: PDH_FMT, lpdwtype: *mut u32, pvalue: *mut PDH_FMT_COUNTERVALUE) -> i329255 pub unsafe fn PdhGetFormattedCounterValue(hcounter: isize, dwformat: PDH_FMT, lpdwtype: *mut u32, pvalue: *mut PDH_FMT_COUNTERVALUE) -> i32 {
9256     #[cfg(windows)]
9257     {
9258         #[link(name = "windows")]
9259         extern "system" {
9260             fn PdhGetFormattedCounterValue(hcounter: isize, dwformat: PDH_FMT, lpdwtype: *mut u32, pvalue: *mut PDH_FMT_COUNTERVALUE) -> i32;
9261         }
9262         ::std::mem::transmute(PdhGetFormattedCounterValue(::std::mem::transmute(hcounter), ::std::mem::transmute(dwformat), ::std::mem::transmute(lpdwtype), ::std::mem::transmute(pvalue)))
9263     }
9264     #[cfg(not(windows))]
9265     unimplemented!("Unsupported target OS");
9266 }
9267 #[inline]
PdhGetLogFileSize(hlog: isize, llsize: *mut i64) -> i329268 pub unsafe fn PdhGetLogFileSize(hlog: isize, llsize: *mut i64) -> i32 {
9269     #[cfg(windows)]
9270     {
9271         #[link(name = "windows")]
9272         extern "system" {
9273             fn PdhGetLogFileSize(hlog: isize, llsize: *mut i64) -> i32;
9274         }
9275         ::std::mem::transmute(PdhGetLogFileSize(::std::mem::transmute(hlog), ::std::mem::transmute(llsize)))
9276     }
9277     #[cfg(not(windows))]
9278     unimplemented!("Unsupported target OS");
9279 }
9280 #[inline]
PdhGetLogSetGUID(hlog: isize, pguid: *mut ::windows::runtime::GUID, prunid: *mut i32) -> i329281 pub unsafe fn PdhGetLogSetGUID(hlog: isize, pguid: *mut ::windows::runtime::GUID, prunid: *mut i32) -> i32 {
9282     #[cfg(windows)]
9283     {
9284         #[link(name = "windows")]
9285         extern "system" {
9286             fn PdhGetLogSetGUID(hlog: isize, pguid: *mut ::windows::runtime::GUID, prunid: *mut i32) -> i32;
9287         }
9288         ::std::mem::transmute(PdhGetLogSetGUID(::std::mem::transmute(hlog), ::std::mem::transmute(pguid), ::std::mem::transmute(prunid)))
9289     }
9290     #[cfg(not(windows))]
9291     unimplemented!("Unsupported target OS");
9292 }
9293 #[cfg(feature = "Win32_Foundation")]
9294 #[inline]
PdhGetRawCounterArrayA(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_A) -> i329295 pub unsafe fn PdhGetRawCounterArrayA(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_A) -> i32 {
9296     #[cfg(windows)]
9297     {
9298         #[link(name = "windows")]
9299         extern "system" {
9300             fn PdhGetRawCounterArrayA(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_A) -> i32;
9301         }
9302         ::std::mem::transmute(PdhGetRawCounterArrayA(::std::mem::transmute(hcounter), ::std::mem::transmute(lpdwbuffersize), ::std::mem::transmute(lpdwitemcount), ::std::mem::transmute(itembuffer)))
9303     }
9304     #[cfg(not(windows))]
9305     unimplemented!("Unsupported target OS");
9306 }
9307 #[cfg(feature = "Win32_Foundation")]
9308 #[inline]
PdhGetRawCounterArrayW(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_W) -> i329309 pub unsafe fn PdhGetRawCounterArrayW(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_W) -> i32 {
9310     #[cfg(windows)]
9311     {
9312         #[link(name = "windows")]
9313         extern "system" {
9314             fn PdhGetRawCounterArrayW(hcounter: isize, lpdwbuffersize: *mut u32, lpdwitemcount: *mut u32, itembuffer: *mut PDH_RAW_COUNTER_ITEM_W) -> i32;
9315         }
9316         ::std::mem::transmute(PdhGetRawCounterArrayW(::std::mem::transmute(hcounter), ::std::mem::transmute(lpdwbuffersize), ::std::mem::transmute(lpdwitemcount), ::std::mem::transmute(itembuffer)))
9317     }
9318     #[cfg(not(windows))]
9319     unimplemented!("Unsupported target OS");
9320 }
9321 #[cfg(feature = "Win32_Foundation")]
9322 #[inline]
PdhGetRawCounterValue(hcounter: isize, lpdwtype: *mut u32, pvalue: *mut PDH_RAW_COUNTER) -> i329323 pub unsafe fn PdhGetRawCounterValue(hcounter: isize, lpdwtype: *mut u32, pvalue: *mut PDH_RAW_COUNTER) -> i32 {
9324     #[cfg(windows)]
9325     {
9326         #[link(name = "windows")]
9327         extern "system" {
9328             fn PdhGetRawCounterValue(hcounter: isize, lpdwtype: *mut u32, pvalue: *mut PDH_RAW_COUNTER) -> i32;
9329         }
9330         ::std::mem::transmute(PdhGetRawCounterValue(::std::mem::transmute(hcounter), ::std::mem::transmute(lpdwtype), ::std::mem::transmute(pvalue)))
9331     }
9332     #[cfg(not(windows))]
9333     unimplemented!("Unsupported target OS");
9334 }
9335 #[cfg(feature = "Win32_Foundation")]
9336 #[inline]
PdhIsRealTimeQuery(hquery: isize) -> super::super::Foundation::BOOL9337 pub unsafe fn PdhIsRealTimeQuery(hquery: isize) -> super::super::Foundation::BOOL {
9338     #[cfg(windows)]
9339     {
9340         #[link(name = "windows")]
9341         extern "system" {
9342             fn PdhIsRealTimeQuery(hquery: isize) -> super::super::Foundation::BOOL;
9343         }
9344         ::std::mem::transmute(PdhIsRealTimeQuery(::std::mem::transmute(hquery)))
9345     }
9346     #[cfg(not(windows))]
9347     unimplemented!("Unsupported target OS");
9348 }
9349 #[cfg(feature = "Win32_Foundation")]
9350 #[inline]
PdhLookupPerfIndexByNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szmachinename: Param0, sznamebuffer: Param1, pdwindex: *mut u32) -> i329351 pub unsafe fn PdhLookupPerfIndexByNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szmachinename: Param0, sznamebuffer: Param1, pdwindex: *mut u32) -> i32 {
9352     #[cfg(windows)]
9353     {
9354         #[link(name = "windows")]
9355         extern "system" {
9356             fn PdhLookupPerfIndexByNameA(szmachinename: super::super::Foundation::PSTR, sznamebuffer: super::super::Foundation::PSTR, pdwindex: *mut u32) -> i32;
9357         }
9358         ::std::mem::transmute(PdhLookupPerfIndexByNameA(szmachinename.into_param().abi(), sznamebuffer.into_param().abi(), ::std::mem::transmute(pdwindex)))
9359     }
9360     #[cfg(not(windows))]
9361     unimplemented!("Unsupported target OS");
9362 }
9363 #[cfg(feature = "Win32_Foundation")]
9364 #[inline]
PdhLookupPerfIndexByNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachinename: Param0, sznamebuffer: Param1, pdwindex: *mut u32) -> i329365 pub unsafe fn PdhLookupPerfIndexByNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachinename: Param0, sznamebuffer: Param1, pdwindex: *mut u32) -> i32 {
9366     #[cfg(windows)]
9367     {
9368         #[link(name = "windows")]
9369         extern "system" {
9370             fn PdhLookupPerfIndexByNameW(szmachinename: super::super::Foundation::PWSTR, sznamebuffer: super::super::Foundation::PWSTR, pdwindex: *mut u32) -> i32;
9371         }
9372         ::std::mem::transmute(PdhLookupPerfIndexByNameW(szmachinename.into_param().abi(), sznamebuffer.into_param().abi(), ::std::mem::transmute(pdwindex)))
9373     }
9374     #[cfg(not(windows))]
9375     unimplemented!("Unsupported target OS");
9376 }
9377 #[cfg(feature = "Win32_Foundation")]
9378 #[inline]
PdhLookupPerfNameByIndexA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szmachinename: Param0, dwnameindex: u32, sznamebuffer: super::super::Foundation::PSTR, pcchnamebuffersize: *mut u32) -> i329379 pub unsafe fn PdhLookupPerfNameByIndexA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szmachinename: Param0, dwnameindex: u32, sznamebuffer: super::super::Foundation::PSTR, pcchnamebuffersize: *mut u32) -> i32 {
9380     #[cfg(windows)]
9381     {
9382         #[link(name = "windows")]
9383         extern "system" {
9384             fn PdhLookupPerfNameByIndexA(szmachinename: super::super::Foundation::PSTR, dwnameindex: u32, sznamebuffer: super::super::Foundation::PSTR, pcchnamebuffersize: *mut u32) -> i32;
9385         }
9386         ::std::mem::transmute(PdhLookupPerfNameByIndexA(szmachinename.into_param().abi(), ::std::mem::transmute(dwnameindex), ::std::mem::transmute(sznamebuffer), ::std::mem::transmute(pcchnamebuffersize)))
9387     }
9388     #[cfg(not(windows))]
9389     unimplemented!("Unsupported target OS");
9390 }
9391 #[cfg(feature = "Win32_Foundation")]
9392 #[inline]
PdhLookupPerfNameByIndexW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachinename: Param0, dwnameindex: u32, sznamebuffer: super::super::Foundation::PWSTR, pcchnamebuffersize: *mut u32) -> i329393 pub unsafe fn PdhLookupPerfNameByIndexW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachinename: Param0, dwnameindex: u32, sznamebuffer: super::super::Foundation::PWSTR, pcchnamebuffersize: *mut u32) -> i32 {
9394     #[cfg(windows)]
9395     {
9396         #[link(name = "windows")]
9397         extern "system" {
9398             fn PdhLookupPerfNameByIndexW(szmachinename: super::super::Foundation::PWSTR, dwnameindex: u32, sznamebuffer: super::super::Foundation::PWSTR, pcchnamebuffersize: *mut u32) -> i32;
9399         }
9400         ::std::mem::transmute(PdhLookupPerfNameByIndexW(szmachinename.into_param().abi(), ::std::mem::transmute(dwnameindex), ::std::mem::transmute(sznamebuffer), ::std::mem::transmute(pcchnamebuffersize)))
9401     }
9402     #[cfg(not(windows))]
9403     unimplemented!("Unsupported target OS");
9404 }
9405 #[cfg(feature = "Win32_Foundation")]
9406 #[inline]
PdhMakeCounterPathA(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i329407 pub unsafe fn PdhMakeCounterPathA(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32 {
9408     #[cfg(windows)]
9409     {
9410         #[link(name = "windows")]
9411         extern "system" {
9412             fn PdhMakeCounterPathA(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_A, szfullpathbuffer: super::super::Foundation::PSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32;
9413         }
9414         ::std::mem::transmute(PdhMakeCounterPathA(::std::mem::transmute(pcounterpathelements), ::std::mem::transmute(szfullpathbuffer), ::std::mem::transmute(pcchbuffersize), ::std::mem::transmute(dwflags)))
9415     }
9416     #[cfg(not(windows))]
9417     unimplemented!("Unsupported target OS");
9418 }
9419 #[cfg(feature = "Win32_Foundation")]
9420 #[inline]
PdhMakeCounterPathW(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i329421 pub unsafe fn PdhMakeCounterPathW(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32 {
9422     #[cfg(windows)]
9423     {
9424         #[link(name = "windows")]
9425         extern "system" {
9426             fn PdhMakeCounterPathW(pcounterpathelements: *const PDH_COUNTER_PATH_ELEMENTS_W, szfullpathbuffer: super::super::Foundation::PWSTR, pcchbuffersize: *mut u32, dwflags: PDH_PATH_FLAGS) -> i32;
9427         }
9428         ::std::mem::transmute(PdhMakeCounterPathW(::std::mem::transmute(pcounterpathelements), ::std::mem::transmute(szfullpathbuffer), ::std::mem::transmute(pcchbuffersize), ::std::mem::transmute(dwflags)))
9429     }
9430     #[cfg(not(windows))]
9431     unimplemented!("Unsupported target OS");
9432 }
9433 #[cfg(feature = "Win32_Foundation")]
9434 #[inline]
PdhOpenLogA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szlogfilename: Param0, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: Param5, phlog: *mut isize) -> i329435 pub unsafe fn PdhOpenLogA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szlogfilename: Param0, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: Param5, phlog: *mut isize) -> i32 {
9436     #[cfg(windows)]
9437     {
9438         #[link(name = "windows")]
9439         extern "system" {
9440             fn PdhOpenLogA(szlogfilename: super::super::Foundation::PSTR, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: super::super::Foundation::PSTR, phlog: *mut isize) -> i32;
9441         }
9442         ::std::mem::transmute(PdhOpenLogA(szlogfilename.into_param().abi(), ::std::mem::transmute(dwaccessflags), ::std::mem::transmute(lpdwlogtype), ::std::mem::transmute(hquery), ::std::mem::transmute(dwmaxsize), szusercaption.into_param().abi(), ::std::mem::transmute(phlog)))
9443     }
9444     #[cfg(not(windows))]
9445     unimplemented!("Unsupported target OS");
9446 }
9447 #[cfg(feature = "Win32_Foundation")]
9448 #[inline]
PdhOpenLogW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szlogfilename: Param0, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: Param5, phlog: *mut isize) -> i329449 pub unsafe fn PdhOpenLogW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szlogfilename: Param0, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: Param5, phlog: *mut isize) -> i32 {
9450     #[cfg(windows)]
9451     {
9452         #[link(name = "windows")]
9453         extern "system" {
9454             fn PdhOpenLogW(szlogfilename: super::super::Foundation::PWSTR, dwaccessflags: PDH_LOG, lpdwlogtype: *mut PDH_LOG_TYPE, hquery: isize, dwmaxsize: u32, szusercaption: super::super::Foundation::PWSTR, phlog: *mut isize) -> i32;
9455         }
9456         ::std::mem::transmute(PdhOpenLogW(szlogfilename.into_param().abi(), ::std::mem::transmute(dwaccessflags), ::std::mem::transmute(lpdwlogtype), ::std::mem::transmute(hquery), ::std::mem::transmute(dwmaxsize), szusercaption.into_param().abi(), ::std::mem::transmute(phlog)))
9457     }
9458     #[cfg(not(windows))]
9459     unimplemented!("Unsupported target OS");
9460 }
9461 #[cfg(feature = "Win32_Foundation")]
9462 #[inline]
PdhOpenQueryA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, dwuserdata: usize, phquery: *mut isize) -> i329463 pub unsafe fn PdhOpenQueryA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0, dwuserdata: usize, phquery: *mut isize) -> i32 {
9464     #[cfg(windows)]
9465     {
9466         #[link(name = "windows")]
9467         extern "system" {
9468             fn PdhOpenQueryA(szdatasource: super::super::Foundation::PSTR, dwuserdata: usize, phquery: *mut isize) -> i32;
9469         }
9470         ::std::mem::transmute(PdhOpenQueryA(szdatasource.into_param().abi(), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phquery)))
9471     }
9472     #[cfg(not(windows))]
9473     unimplemented!("Unsupported target OS");
9474 }
9475 #[inline]
PdhOpenQueryH(hdatasource: isize, dwuserdata: usize, phquery: *mut isize) -> i329476 pub unsafe fn PdhOpenQueryH(hdatasource: isize, dwuserdata: usize, phquery: *mut isize) -> i32 {
9477     #[cfg(windows)]
9478     {
9479         #[link(name = "windows")]
9480         extern "system" {
9481             fn PdhOpenQueryH(hdatasource: isize, dwuserdata: usize, phquery: *mut isize) -> i32;
9482         }
9483         ::std::mem::transmute(PdhOpenQueryH(::std::mem::transmute(hdatasource), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phquery)))
9484     }
9485     #[cfg(not(windows))]
9486     unimplemented!("Unsupported target OS");
9487 }
9488 #[cfg(feature = "Win32_Foundation")]
9489 #[inline]
PdhOpenQueryW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, dwuserdata: usize, phquery: *mut isize) -> i329490 pub unsafe fn PdhOpenQueryW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0, dwuserdata: usize, phquery: *mut isize) -> i32 {
9491     #[cfg(windows)]
9492     {
9493         #[link(name = "windows")]
9494         extern "system" {
9495             fn PdhOpenQueryW(szdatasource: super::super::Foundation::PWSTR, dwuserdata: usize, phquery: *mut isize) -> i32;
9496         }
9497         ::std::mem::transmute(PdhOpenQueryW(szdatasource.into_param().abi(), ::std::mem::transmute(dwuserdata), ::std::mem::transmute(phquery)))
9498     }
9499     #[cfg(not(windows))]
9500     unimplemented!("Unsupported target OS");
9501 }
9502 #[cfg(feature = "Win32_Foundation")]
9503 #[inline]
PdhParseCounterPathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szfullpathbuffer: Param0, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_A, pdwbuffersize: *mut u32, dwflags: u32) -> i329504 pub unsafe fn PdhParseCounterPathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szfullpathbuffer: Param0, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_A, pdwbuffersize: *mut u32, dwflags: u32) -> i32 {
9505     #[cfg(windows)]
9506     {
9507         #[link(name = "windows")]
9508         extern "system" {
9509             fn PdhParseCounterPathA(szfullpathbuffer: super::super::Foundation::PSTR, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_A, pdwbuffersize: *mut u32, dwflags: u32) -> i32;
9510         }
9511         ::std::mem::transmute(PdhParseCounterPathA(szfullpathbuffer.into_param().abi(), ::std::mem::transmute(pcounterpathelements), ::std::mem::transmute(pdwbuffersize), ::std::mem::transmute(dwflags)))
9512     }
9513     #[cfg(not(windows))]
9514     unimplemented!("Unsupported target OS");
9515 }
9516 #[cfg(feature = "Win32_Foundation")]
9517 #[inline]
PdhParseCounterPathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfullpathbuffer: Param0, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_W, pdwbuffersize: *mut u32, dwflags: u32) -> i329518 pub unsafe fn PdhParseCounterPathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfullpathbuffer: Param0, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_W, pdwbuffersize: *mut u32, dwflags: u32) -> i32 {
9519     #[cfg(windows)]
9520     {
9521         #[link(name = "windows")]
9522         extern "system" {
9523             fn PdhParseCounterPathW(szfullpathbuffer: super::super::Foundation::PWSTR, pcounterpathelements: *mut PDH_COUNTER_PATH_ELEMENTS_W, pdwbuffersize: *mut u32, dwflags: u32) -> i32;
9524         }
9525         ::std::mem::transmute(PdhParseCounterPathW(szfullpathbuffer.into_param().abi(), ::std::mem::transmute(pcounterpathelements), ::std::mem::transmute(pdwbuffersize), ::std::mem::transmute(dwflags)))
9526     }
9527     #[cfg(not(windows))]
9528     unimplemented!("Unsupported target OS");
9529 }
9530 #[cfg(feature = "Win32_Foundation")]
9531 #[inline]
PdhParseInstanceNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szinstancestring: Param0, szinstancename: super::super::Foundation::PSTR, pcchinstancenamelength: *mut u32, szparentname: super::super::Foundation::PSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i329532 pub unsafe fn PdhParseInstanceNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szinstancestring: Param0, szinstancename: super::super::Foundation::PSTR, pcchinstancenamelength: *mut u32, szparentname: super::super::Foundation::PSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32 {
9533     #[cfg(windows)]
9534     {
9535         #[link(name = "windows")]
9536         extern "system" {
9537             fn PdhParseInstanceNameA(szinstancestring: super::super::Foundation::PSTR, szinstancename: super::super::Foundation::PSTR, pcchinstancenamelength: *mut u32, szparentname: super::super::Foundation::PSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32;
9538         }
9539         ::std::mem::transmute(PdhParseInstanceNameA(szinstancestring.into_param().abi(), ::std::mem::transmute(szinstancename), ::std::mem::transmute(pcchinstancenamelength), ::std::mem::transmute(szparentname), ::std::mem::transmute(pcchparentnamelength), ::std::mem::transmute(lpindex)))
9540     }
9541     #[cfg(not(windows))]
9542     unimplemented!("Unsupported target OS");
9543 }
9544 #[cfg(feature = "Win32_Foundation")]
9545 #[inline]
PdhParseInstanceNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szinstancestring: Param0, szinstancename: super::super::Foundation::PWSTR, pcchinstancenamelength: *mut u32, szparentname: super::super::Foundation::PWSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i329546 pub unsafe fn PdhParseInstanceNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szinstancestring: Param0, szinstancename: super::super::Foundation::PWSTR, pcchinstancenamelength: *mut u32, szparentname: super::super::Foundation::PWSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32 {
9547     #[cfg(windows)]
9548     {
9549         #[link(name = "windows")]
9550         extern "system" {
9551             fn PdhParseInstanceNameW(szinstancestring: super::super::Foundation::PWSTR, szinstancename: super::super::Foundation::PWSTR, pcchinstancenamelength: *mut u32, szparentname: super::super::Foundation::PWSTR, pcchparentnamelength: *mut u32, lpindex: *mut u32) -> i32;
9552         }
9553         ::std::mem::transmute(PdhParseInstanceNameW(szinstancestring.into_param().abi(), ::std::mem::transmute(szinstancename), ::std::mem::transmute(pcchinstancenamelength), ::std::mem::transmute(szparentname), ::std::mem::transmute(pcchparentnamelength), ::std::mem::transmute(lpindex)))
9554     }
9555     #[cfg(not(windows))]
9556     unimplemented!("Unsupported target OS");
9557 }
9558 #[cfg(feature = "Win32_Foundation")]
9559 #[inline]
PdhReadRawLogRecord<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::FILETIME>>(hlog: isize, ftrecord: Param1, prawlogrecord: *mut PDH_RAW_LOG_RECORD, pdwbufferlength: *mut u32) -> i329560 pub unsafe fn PdhReadRawLogRecord<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::FILETIME>>(hlog: isize, ftrecord: Param1, prawlogrecord: *mut PDH_RAW_LOG_RECORD, pdwbufferlength: *mut u32) -> i32 {
9561     #[cfg(windows)]
9562     {
9563         #[link(name = "windows")]
9564         extern "system" {
9565             fn PdhReadRawLogRecord(hlog: isize, ftrecord: super::super::Foundation::FILETIME, prawlogrecord: *mut PDH_RAW_LOG_RECORD, pdwbufferlength: *mut u32) -> i32;
9566         }
9567         ::std::mem::transmute(PdhReadRawLogRecord(::std::mem::transmute(hlog), ftrecord.into_param().abi(), ::std::mem::transmute(prawlogrecord), ::std::mem::transmute(pdwbufferlength)))
9568     }
9569     #[cfg(not(windows))]
9570     unimplemented!("Unsupported target OS");
9571 }
9572 #[inline]
PdhRemoveCounter(hcounter: isize) -> i329573 pub unsafe fn PdhRemoveCounter(hcounter: isize) -> i32 {
9574     #[cfg(windows)]
9575     {
9576         #[link(name = "windows")]
9577         extern "system" {
9578             fn PdhRemoveCounter(hcounter: isize) -> i32;
9579         }
9580         ::std::mem::transmute(PdhRemoveCounter(::std::mem::transmute(hcounter)))
9581     }
9582     #[cfg(not(windows))]
9583     unimplemented!("Unsupported target OS");
9584 }
9585 #[cfg(feature = "Win32_Foundation")]
9586 #[inline]
PdhSelectDataSourceA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hwndowner: Param0, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: Param2, pcchbufferlength: *mut u32) -> i329587 pub unsafe fn PdhSelectDataSourceA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hwndowner: Param0, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: Param2, pcchbufferlength: *mut u32) -> i32 {
9588     #[cfg(windows)]
9589     {
9590         #[link(name = "windows")]
9591         extern "system" {
9592             fn PdhSelectDataSourceA(hwndowner: super::super::Foundation::HWND, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: super::super::Foundation::PSTR, pcchbufferlength: *mut u32) -> i32;
9593         }
9594         ::std::mem::transmute(PdhSelectDataSourceA(hwndowner.into_param().abi(), ::std::mem::transmute(dwflags), szdatasource.into_param().abi(), ::std::mem::transmute(pcchbufferlength)))
9595     }
9596     #[cfg(not(windows))]
9597     unimplemented!("Unsupported target OS");
9598 }
9599 #[cfg(feature = "Win32_Foundation")]
9600 #[inline]
PdhSelectDataSourceW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwndowner: Param0, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: Param2, pcchbufferlength: *mut u32) -> i329601 pub unsafe fn PdhSelectDataSourceW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwndowner: Param0, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: Param2, pcchbufferlength: *mut u32) -> i32 {
9602     #[cfg(windows)]
9603     {
9604         #[link(name = "windows")]
9605         extern "system" {
9606             fn PdhSelectDataSourceW(hwndowner: super::super::Foundation::HWND, dwflags: PDH_SELECT_DATA_SOURCE_FLAGS, szdatasource: super::super::Foundation::PWSTR, pcchbufferlength: *mut u32) -> i32;
9607         }
9608         ::std::mem::transmute(PdhSelectDataSourceW(hwndowner.into_param().abi(), ::std::mem::transmute(dwflags), szdatasource.into_param().abi(), ::std::mem::transmute(pcchbufferlength)))
9609     }
9610     #[cfg(not(windows))]
9611     unimplemented!("Unsupported target OS");
9612 }
9613 #[inline]
PdhSetCounterScaleFactor(hcounter: isize, lfactor: i32) -> i329614 pub unsafe fn PdhSetCounterScaleFactor(hcounter: isize, lfactor: i32) -> i32 {
9615     #[cfg(windows)]
9616     {
9617         #[link(name = "windows")]
9618         extern "system" {
9619             fn PdhSetCounterScaleFactor(hcounter: isize, lfactor: i32) -> i32;
9620         }
9621         ::std::mem::transmute(PdhSetCounterScaleFactor(::std::mem::transmute(hcounter), ::std::mem::transmute(lfactor)))
9622     }
9623     #[cfg(not(windows))]
9624     unimplemented!("Unsupported target OS");
9625 }
9626 #[inline]
PdhSetDefaultRealTimeDataSource(dwdatasourceid: REAL_TIME_DATA_SOURCE_ID_FLAGS) -> i329627 pub unsafe fn PdhSetDefaultRealTimeDataSource(dwdatasourceid: REAL_TIME_DATA_SOURCE_ID_FLAGS) -> i32 {
9628     #[cfg(windows)]
9629     {
9630         #[link(name = "windows")]
9631         extern "system" {
9632             fn PdhSetDefaultRealTimeDataSource(dwdatasourceid: REAL_TIME_DATA_SOURCE_ID_FLAGS) -> i32;
9633         }
9634         ::std::mem::transmute(PdhSetDefaultRealTimeDataSource(::std::mem::transmute(dwdatasourceid)))
9635     }
9636     #[cfg(not(windows))]
9637     unimplemented!("Unsupported target OS");
9638 }
9639 #[inline]
PdhSetLogSetRunID(hlog: isize, runid: i32) -> i329640 pub unsafe fn PdhSetLogSetRunID(hlog: isize, runid: i32) -> i32 {
9641     #[cfg(windows)]
9642     {
9643         #[link(name = "windows")]
9644         extern "system" {
9645             fn PdhSetLogSetRunID(hlog: isize, runid: i32) -> i32;
9646         }
9647         ::std::mem::transmute(PdhSetLogSetRunID(::std::mem::transmute(hlog), ::std::mem::transmute(runid)))
9648     }
9649     #[cfg(not(windows))]
9650     unimplemented!("Unsupported target OS");
9651 }
9652 #[inline]
PdhSetQueryTimeRange(hquery: isize, pinfo: *const PDH_TIME_INFO) -> i329653 pub unsafe fn PdhSetQueryTimeRange(hquery: isize, pinfo: *const PDH_TIME_INFO) -> i32 {
9654     #[cfg(windows)]
9655     {
9656         #[link(name = "windows")]
9657         extern "system" {
9658             fn PdhSetQueryTimeRange(hquery: isize, pinfo: *const PDH_TIME_INFO) -> i32;
9659         }
9660         ::std::mem::transmute(PdhSetQueryTimeRange(::std::mem::transmute(hquery), ::std::mem::transmute(pinfo)))
9661     }
9662     #[cfg(not(windows))]
9663     unimplemented!("Unsupported target OS");
9664 }
9665 #[cfg(feature = "Win32_Foundation")]
9666 #[inline]
PdhUpdateLogA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hlog: isize, szuserstring: Param1) -> i329667 pub unsafe fn PdhUpdateLogA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hlog: isize, szuserstring: Param1) -> i32 {
9668     #[cfg(windows)]
9669     {
9670         #[link(name = "windows")]
9671         extern "system" {
9672             fn PdhUpdateLogA(hlog: isize, szuserstring: super::super::Foundation::PSTR) -> i32;
9673         }
9674         ::std::mem::transmute(PdhUpdateLogA(::std::mem::transmute(hlog), szuserstring.into_param().abi()))
9675     }
9676     #[cfg(not(windows))]
9677     unimplemented!("Unsupported target OS");
9678 }
9679 #[inline]
PdhUpdateLogFileCatalog(hlog: isize) -> i329680 pub unsafe fn PdhUpdateLogFileCatalog(hlog: isize) -> i32 {
9681     #[cfg(windows)]
9682     {
9683         #[link(name = "windows")]
9684         extern "system" {
9685             fn PdhUpdateLogFileCatalog(hlog: isize) -> i32;
9686         }
9687         ::std::mem::transmute(PdhUpdateLogFileCatalog(::std::mem::transmute(hlog)))
9688     }
9689     #[cfg(not(windows))]
9690     unimplemented!("Unsupported target OS");
9691 }
9692 #[cfg(feature = "Win32_Foundation")]
9693 #[inline]
PdhUpdateLogW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hlog: isize, szuserstring: Param1) -> i329694 pub unsafe fn PdhUpdateLogW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hlog: isize, szuserstring: Param1) -> i32 {
9695     #[cfg(windows)]
9696     {
9697         #[link(name = "windows")]
9698         extern "system" {
9699             fn PdhUpdateLogW(hlog: isize, szuserstring: super::super::Foundation::PWSTR) -> i32;
9700         }
9701         ::std::mem::transmute(PdhUpdateLogW(::std::mem::transmute(hlog), szuserstring.into_param().abi()))
9702     }
9703     #[cfg(not(windows))]
9704     unimplemented!("Unsupported target OS");
9705 }
9706 #[cfg(feature = "Win32_Foundation")]
9707 #[inline]
PdhValidatePathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szfullpathbuffer: Param0) -> i329708 pub unsafe fn PdhValidatePathA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szfullpathbuffer: Param0) -> i32 {
9709     #[cfg(windows)]
9710     {
9711         #[link(name = "windows")]
9712         extern "system" {
9713             fn PdhValidatePathA(szfullpathbuffer: super::super::Foundation::PSTR) -> i32;
9714         }
9715         ::std::mem::transmute(PdhValidatePathA(szfullpathbuffer.into_param().abi()))
9716     }
9717     #[cfg(not(windows))]
9718     unimplemented!("Unsupported target OS");
9719 }
9720 #[cfg(feature = "Win32_Foundation")]
9721 #[inline]
PdhValidatePathExA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szfullpathbuffer: Param1) -> i329722 pub unsafe fn PdhValidatePathExA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hdatasource: isize, szfullpathbuffer: Param1) -> i32 {
9723     #[cfg(windows)]
9724     {
9725         #[link(name = "windows")]
9726         extern "system" {
9727             fn PdhValidatePathExA(hdatasource: isize, szfullpathbuffer: super::super::Foundation::PSTR) -> i32;
9728         }
9729         ::std::mem::transmute(PdhValidatePathExA(::std::mem::transmute(hdatasource), szfullpathbuffer.into_param().abi()))
9730     }
9731     #[cfg(not(windows))]
9732     unimplemented!("Unsupported target OS");
9733 }
9734 #[cfg(feature = "Win32_Foundation")]
9735 #[inline]
PdhValidatePathExW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szfullpathbuffer: Param1) -> i329736 pub unsafe fn PdhValidatePathExW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdatasource: isize, szfullpathbuffer: Param1) -> i32 {
9737     #[cfg(windows)]
9738     {
9739         #[link(name = "windows")]
9740         extern "system" {
9741             fn PdhValidatePathExW(hdatasource: isize, szfullpathbuffer: super::super::Foundation::PWSTR) -> i32;
9742         }
9743         ::std::mem::transmute(PdhValidatePathExW(::std::mem::transmute(hdatasource), szfullpathbuffer.into_param().abi()))
9744     }
9745     #[cfg(not(windows))]
9746     unimplemented!("Unsupported target OS");
9747 }
9748 #[cfg(feature = "Win32_Foundation")]
9749 #[inline]
PdhValidatePathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfullpathbuffer: Param0) -> i329750 pub unsafe fn PdhValidatePathW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfullpathbuffer: Param0) -> i32 {
9751     #[cfg(windows)]
9752     {
9753         #[link(name = "windows")]
9754         extern "system" {
9755             fn PdhValidatePathW(szfullpathbuffer: super::super::Foundation::PWSTR) -> i32;
9756         }
9757         ::std::mem::transmute(PdhValidatePathW(szfullpathbuffer.into_param().abi()))
9758     }
9759     #[cfg(not(windows))]
9760     unimplemented!("Unsupported target OS");
9761 }
9762 #[cfg(feature = "Win32_Foundation")]
9763 #[inline]
PdhVerifySQLDBA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0) -> i329764 pub unsafe fn PdhVerifySQLDBA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szdatasource: Param0) -> i32 {
9765     #[cfg(windows)]
9766     {
9767         #[link(name = "windows")]
9768         extern "system" {
9769             fn PdhVerifySQLDBA(szdatasource: super::super::Foundation::PSTR) -> i32;
9770         }
9771         ::std::mem::transmute(PdhVerifySQLDBA(szdatasource.into_param().abi()))
9772     }
9773     #[cfg(not(windows))]
9774     unimplemented!("Unsupported target OS");
9775 }
9776 #[cfg(feature = "Win32_Foundation")]
9777 #[inline]
PdhVerifySQLDBW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0) -> i329778 pub unsafe fn PdhVerifySQLDBW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szdatasource: Param0) -> i32 {
9779     #[cfg(windows)]
9780     {
9781         #[link(name = "windows")]
9782         extern "system" {
9783             fn PdhVerifySQLDBW(szdatasource: super::super::Foundation::PWSTR) -> i32;
9784         }
9785         ::std::mem::transmute(PdhVerifySQLDBW(szdatasource.into_param().abi()))
9786     }
9787     #[cfg(not(windows))]
9788     unimplemented!("Unsupported target OS");
9789 }
9790 #[inline]
PerfAddCounters<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounters: *const PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u329791 pub unsafe fn PerfAddCounters<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounters: *const PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32 {
9792     #[cfg(windows)]
9793     {
9794         #[link(name = "windows")]
9795         extern "system" {
9796             fn PerfAddCounters(hquery: PerfQueryHandle, pcounters: *const PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32;
9797         }
9798         ::std::mem::transmute(PerfAddCounters(hquery.into_param().abi(), ::std::mem::transmute(pcounters), ::std::mem::transmute(cbcounters)))
9799     }
9800     #[cfg(not(windows))]
9801     unimplemented!("Unsupported target OS");
9802 }
9803 #[cfg(feature = "Win32_Foundation")]
9804 #[inline]
PerfCloseQueryHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hquery: Param0) -> u329805 pub unsafe fn PerfCloseQueryHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hquery: Param0) -> u32 {
9806     #[cfg(windows)]
9807     {
9808         #[link(name = "windows")]
9809         extern "system" {
9810             fn PerfCloseQueryHandle(hquery: super::super::Foundation::HANDLE) -> u32;
9811         }
9812         ::std::mem::transmute(PerfCloseQueryHandle(hquery.into_param().abi()))
9813     }
9814     #[cfg(not(windows))]
9815     unimplemented!("Unsupported target OS");
9816 }
9817 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9818 #[repr(transparent)]
9819 pub struct PerfCounterDataType(pub i32);
9820 pub const PERF_ERROR_RETURN: PerfCounterDataType = PerfCounterDataType(0i32);
9821 pub const PERF_SINGLE_COUNTER: PerfCounterDataType = PerfCounterDataType(1i32);
9822 pub const PERF_MULTIPLE_COUNTERS: PerfCounterDataType = PerfCounterDataType(2i32);
9823 pub const PERF_MULTIPLE_INSTANCES: PerfCounterDataType = PerfCounterDataType(4i32);
9824 pub const PERF_COUNTERSET: PerfCounterDataType = PerfCounterDataType(6i32);
9825 impl ::std::convert::From<i32> for PerfCounterDataType {
from(value: i32) -> Self9826     fn from(value: i32) -> Self {
9827         Self(value)
9828     }
9829 }
9830 unsafe impl ::windows::runtime::Abi for PerfCounterDataType {
9831     type Abi = Self;
9832     type DefaultType = Self;
9833 }
9834 #[cfg(feature = "Win32_Foundation")]
9835 #[inline]
PerfCreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, PerfProviderHandle>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(providerhandle: Param0, countersetguid: *const ::windows::runtime::GUID, name: Param2, id: u32) -> *mut PERF_COUNTERSET_INSTANCE9836 pub unsafe fn PerfCreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, PerfProviderHandle>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(providerhandle: Param0, countersetguid: *const ::windows::runtime::GUID, name: Param2, id: u32) -> *mut PERF_COUNTERSET_INSTANCE {
9837     #[cfg(windows)]
9838     {
9839         #[link(name = "windows")]
9840         extern "system" {
9841             fn PerfCreateInstance(providerhandle: PerfProviderHandle, countersetguid: *const ::windows::runtime::GUID, name: super::super::Foundation::PWSTR, id: u32) -> *mut PERF_COUNTERSET_INSTANCE;
9842         }
9843         ::std::mem::transmute(PerfCreateInstance(providerhandle.into_param().abi(), ::std::mem::transmute(countersetguid), name.into_param().abi(), ::std::mem::transmute(id)))
9844     }
9845     #[cfg(not(windows))]
9846     unimplemented!("Unsupported target OS");
9847 }
9848 #[cfg(feature = "Win32_Foundation")]
9849 #[inline]
PerfDecrementULongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u329850 pub unsafe fn PerfDecrementULongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32 {
9851     #[cfg(windows)]
9852     {
9853         #[link(name = "windows")]
9854         extern "system" {
9855             fn PerfDecrementULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32;
9856         }
9857         ::std::mem::transmute(PerfDecrementULongCounterValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(value)))
9858     }
9859     #[cfg(not(windows))]
9860     unimplemented!("Unsupported target OS");
9861 }
9862 #[cfg(feature = "Win32_Foundation")]
9863 #[inline]
PerfDecrementULongLongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u329864 pub unsafe fn PerfDecrementULongLongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32 {
9865     #[cfg(windows)]
9866     {
9867         #[link(name = "windows")]
9868         extern "system" {
9869             fn PerfDecrementULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32;
9870         }
9871         ::std::mem::transmute(PerfDecrementULongLongCounterValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(value)))
9872     }
9873     #[cfg(not(windows))]
9874     unimplemented!("Unsupported target OS");
9875 }
9876 #[inline]
PerfDeleteCounters<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounters: *const PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u329877 pub unsafe fn PerfDeleteCounters<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounters: *const PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32 {
9878     #[cfg(windows)]
9879     {
9880         #[link(name = "windows")]
9881         extern "system" {
9882             fn PerfDeleteCounters(hquery: PerfQueryHandle, pcounters: *const PERF_COUNTER_IDENTIFIER, cbcounters: u32) -> u32;
9883         }
9884         ::std::mem::transmute(PerfDeleteCounters(hquery.into_param().abi(), ::std::mem::transmute(pcounters), ::std::mem::transmute(cbcounters)))
9885     }
9886     #[cfg(not(windows))]
9887     unimplemented!("Unsupported target OS");
9888 }
9889 #[inline]
PerfDeleteInstance<'a, Param0: ::windows::runtime::IntoParam<'a, PerfProviderHandle>>(provider: Param0, instanceblock: *const PERF_COUNTERSET_INSTANCE) -> u329890 pub unsafe fn PerfDeleteInstance<'a, Param0: ::windows::runtime::IntoParam<'a, PerfProviderHandle>>(provider: Param0, instanceblock: *const PERF_COUNTERSET_INSTANCE) -> u32 {
9891     #[cfg(windows)]
9892     {
9893         #[link(name = "windows")]
9894         extern "system" {
9895             fn PerfDeleteInstance(provider: PerfProviderHandle, instanceblock: *const PERF_COUNTERSET_INSTANCE) -> u32;
9896         }
9897         ::std::mem::transmute(PerfDeleteInstance(provider.into_param().abi(), ::std::mem::transmute(instanceblock)))
9898     }
9899     #[cfg(not(windows))]
9900     unimplemented!("Unsupported target OS");
9901 }
9902 #[cfg(feature = "Win32_Foundation")]
9903 #[inline]
PerfEnumerateCounterSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, pcountersetids: *mut ::windows::runtime::GUID, ccountersetids: u32, pccountersetidsactual: *mut u32) -> u329904 pub unsafe fn PerfEnumerateCounterSet<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, pcountersetids: *mut ::windows::runtime::GUID, ccountersetids: u32, pccountersetidsactual: *mut u32) -> u32 {
9905     #[cfg(windows)]
9906     {
9907         #[link(name = "windows")]
9908         extern "system" {
9909             fn PerfEnumerateCounterSet(szmachine: super::super::Foundation::PWSTR, pcountersetids: *mut ::windows::runtime::GUID, ccountersetids: u32, pccountersetidsactual: *mut u32) -> u32;
9910         }
9911         ::std::mem::transmute(PerfEnumerateCounterSet(szmachine.into_param().abi(), ::std::mem::transmute(pcountersetids), ::std::mem::transmute(ccountersetids), ::std::mem::transmute(pccountersetidsactual)))
9912     }
9913     #[cfg(not(windows))]
9914     unimplemented!("Unsupported target OS");
9915 }
9916 #[cfg(feature = "Win32_Foundation")]
9917 #[inline]
PerfEnumerateCounterSetInstances<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, pcountersetid: *const ::windows::runtime::GUID, pinstances: *mut PERF_INSTANCE_HEADER, cbinstances: u32, pcbinstancesactual: *mut u32) -> u329918 pub unsafe fn PerfEnumerateCounterSetInstances<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, pcountersetid: *const ::windows::runtime::GUID, pinstances: *mut PERF_INSTANCE_HEADER, cbinstances: u32, pcbinstancesactual: *mut u32) -> u32 {
9919     #[cfg(windows)]
9920     {
9921         #[link(name = "windows")]
9922         extern "system" {
9923             fn PerfEnumerateCounterSetInstances(szmachine: super::super::Foundation::PWSTR, pcountersetid: *const ::windows::runtime::GUID, pinstances: *mut PERF_INSTANCE_HEADER, cbinstances: u32, pcbinstancesactual: *mut u32) -> u32;
9924         }
9925         ::std::mem::transmute(PerfEnumerateCounterSetInstances(szmachine.into_param().abi(), ::std::mem::transmute(pcountersetid), ::std::mem::transmute(pinstances), ::std::mem::transmute(cbinstances), ::std::mem::transmute(pcbinstancesactual)))
9926     }
9927     #[cfg(not(windows))]
9928     unimplemented!("Unsupported target OS");
9929 }
9930 #[cfg(feature = "Win32_Foundation")]
9931 #[inline]
PerfIncrementULongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u329932 pub unsafe fn PerfIncrementULongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32 {
9933     #[cfg(windows)]
9934     {
9935         #[link(name = "windows")]
9936         extern "system" {
9937             fn PerfIncrementULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32;
9938         }
9939         ::std::mem::transmute(PerfIncrementULongCounterValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(value)))
9940     }
9941     #[cfg(not(windows))]
9942     unimplemented!("Unsupported target OS");
9943 }
9944 #[cfg(feature = "Win32_Foundation")]
9945 #[inline]
PerfIncrementULongLongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u329946 pub unsafe fn PerfIncrementULongLongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32 {
9947     #[cfg(windows)]
9948     {
9949         #[link(name = "windows")]
9950         extern "system" {
9951             fn PerfIncrementULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32;
9952         }
9953         ::std::mem::transmute(PerfIncrementULongLongCounterValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(value)))
9954     }
9955     #[cfg(not(windows))]
9956     unimplemented!("Unsupported target OS");
9957 }
9958 #[cfg(feature = "Win32_Foundation")]
9959 #[inline]
PerfOpenQueryHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, phquery: *mut PerfQueryHandle) -> u329960 pub unsafe fn PerfOpenQueryHandle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, phquery: *mut PerfQueryHandle) -> u32 {
9961     #[cfg(windows)]
9962     {
9963         #[link(name = "windows")]
9964         extern "system" {
9965             fn PerfOpenQueryHandle(szmachine: super::super::Foundation::PWSTR, phquery: *mut PerfQueryHandle) -> u32;
9966         }
9967         ::std::mem::transmute(PerfOpenQueryHandle(szmachine.into_param().abi(), ::std::mem::transmute(phquery)))
9968     }
9969     #[cfg(not(windows))]
9970     unimplemented!("Unsupported target OS");
9971 }
9972 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
9973 #[repr(transparent)]
9974 pub struct PerfProviderHandle(pub isize);
9975 impl ::std::default::Default for PerfProviderHandle {
default() -> Self9976     fn default() -> Self {
9977         unsafe { ::std::mem::zeroed() }
9978     }
9979 }
9980 unsafe impl ::windows::runtime::Handle for PerfProviderHandle {}
9981 unsafe impl ::windows::runtime::Abi for PerfProviderHandle {
9982     type Abi = Self;
9983     type DefaultType = Self;
9984 }
9985 #[cfg(feature = "Win32_Foundation")]
9986 #[inline]
PerfQueryCounterData<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounterblock: *mut PERF_DATA_HEADER, cbcounterblock: u32, pcbcounterblockactual: *mut u32) -> u329987 pub unsafe fn PerfQueryCounterData<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounterblock: *mut PERF_DATA_HEADER, cbcounterblock: u32, pcbcounterblockactual: *mut u32) -> u32 {
9988     #[cfg(windows)]
9989     {
9990         #[link(name = "windows")]
9991         extern "system" {
9992             fn PerfQueryCounterData(hquery: PerfQueryHandle, pcounterblock: *mut PERF_DATA_HEADER, cbcounterblock: u32, pcbcounterblockactual: *mut u32) -> u32;
9993         }
9994         ::std::mem::transmute(PerfQueryCounterData(hquery.into_param().abi(), ::std::mem::transmute(pcounterblock), ::std::mem::transmute(cbcounterblock), ::std::mem::transmute(pcbcounterblockactual)))
9995     }
9996     #[cfg(not(windows))]
9997     unimplemented!("Unsupported target OS");
9998 }
9999 #[inline]
PerfQueryCounterInfo<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32, pcbcountersactual: *mut u32) -> u3210000 pub unsafe fn PerfQueryCounterInfo<'a, Param0: ::windows::runtime::IntoParam<'a, PerfQueryHandle>>(hquery: Param0, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32, pcbcountersactual: *mut u32) -> u32 {
10001     #[cfg(windows)]
10002     {
10003         #[link(name = "windows")]
10004         extern "system" {
10005             fn PerfQueryCounterInfo(hquery: PerfQueryHandle, pcounters: *mut PERF_COUNTER_IDENTIFIER, cbcounters: u32, pcbcountersactual: *mut u32) -> u32;
10006         }
10007         ::std::mem::transmute(PerfQueryCounterInfo(hquery.into_param().abi(), ::std::mem::transmute(pcounters), ::std::mem::transmute(cbcounters), ::std::mem::transmute(pcbcountersactual)))
10008     }
10009     #[cfg(not(windows))]
10010     unimplemented!("Unsupported target OS");
10011 }
10012 #[cfg(feature = "Win32_Foundation")]
10013 #[inline]
PerfQueryCounterSetRegistrationInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, pcountersetid: *const ::windows::runtime::GUID, requestcode: PerfRegInfoType, requestlangid: u32, pbreginfo: *mut u8, cbreginfo: u32, pcbreginfoactual: *mut u32) -> u3210014 pub unsafe fn PerfQueryCounterSetRegistrationInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szmachine: Param0, pcountersetid: *const ::windows::runtime::GUID, requestcode: PerfRegInfoType, requestlangid: u32, pbreginfo: *mut u8, cbreginfo: u32, pcbreginfoactual: *mut u32) -> u32 {
10015     #[cfg(windows)]
10016     {
10017         #[link(name = "windows")]
10018         extern "system" {
10019             fn PerfQueryCounterSetRegistrationInfo(szmachine: super::super::Foundation::PWSTR, pcountersetid: *const ::windows::runtime::GUID, requestcode: PerfRegInfoType, requestlangid: u32, pbreginfo: *mut u8, cbreginfo: u32, pcbreginfoactual: *mut u32) -> u32;
10020         }
10021         ::std::mem::transmute(PerfQueryCounterSetRegistrationInfo(szmachine.into_param().abi(), ::std::mem::transmute(pcountersetid), ::std::mem::transmute(requestcode), ::std::mem::transmute(requestlangid), ::std::mem::transmute(pbreginfo), ::std::mem::transmute(cbreginfo), ::std::mem::transmute(pcbreginfoactual)))
10022     }
10023     #[cfg(not(windows))]
10024     unimplemented!("Unsupported target OS");
10025 }
10026 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
10027 #[repr(transparent)]
10028 pub struct PerfQueryHandle(pub isize);
10029 impl ::std::default::Default for PerfQueryHandle {
default() -> Self10030     fn default() -> Self {
10031         unsafe { ::std::mem::zeroed() }
10032     }
10033 }
10034 unsafe impl ::windows::runtime::Handle for PerfQueryHandle {}
10035 unsafe impl ::windows::runtime::Abi for PerfQueryHandle {
10036     type Abi = Self;
10037     type DefaultType = Self;
10038 }
10039 #[cfg(feature = "Win32_Foundation")]
10040 #[inline]
PerfQueryInstance<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(providerhandle: Param0, countersetguid: *const ::windows::runtime::GUID, name: Param2, id: u32) -> *mut PERF_COUNTERSET_INSTANCE10041 pub unsafe fn PerfQueryInstance<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(providerhandle: Param0, countersetguid: *const ::windows::runtime::GUID, name: Param2, id: u32) -> *mut PERF_COUNTERSET_INSTANCE {
10042     #[cfg(windows)]
10043     {
10044         #[link(name = "windows")]
10045         extern "system" {
10046             fn PerfQueryInstance(providerhandle: super::super::Foundation::HANDLE, countersetguid: *const ::windows::runtime::GUID, name: super::super::Foundation::PWSTR, id: u32) -> *mut PERF_COUNTERSET_INSTANCE;
10047         }
10048         ::std::mem::transmute(PerfQueryInstance(providerhandle.into_param().abi(), ::std::mem::transmute(countersetguid), name.into_param().abi(), ::std::mem::transmute(id)))
10049     }
10050     #[cfg(not(windows))]
10051     unimplemented!("Unsupported target OS");
10052 }
10053 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10054 #[repr(transparent)]
10055 pub struct PerfRegInfoType(pub i32);
10056 pub const PERF_REG_COUNTERSET_STRUCT: PerfRegInfoType = PerfRegInfoType(1i32);
10057 pub const PERF_REG_COUNTER_STRUCT: PerfRegInfoType = PerfRegInfoType(2i32);
10058 pub const PERF_REG_COUNTERSET_NAME_STRING: PerfRegInfoType = PerfRegInfoType(3i32);
10059 pub const PERF_REG_COUNTERSET_HELP_STRING: PerfRegInfoType = PerfRegInfoType(4i32);
10060 pub const PERF_REG_COUNTER_NAME_STRINGS: PerfRegInfoType = PerfRegInfoType(5i32);
10061 pub const PERF_REG_COUNTER_HELP_STRINGS: PerfRegInfoType = PerfRegInfoType(6i32);
10062 pub const PERF_REG_PROVIDER_NAME: PerfRegInfoType = PerfRegInfoType(7i32);
10063 pub const PERF_REG_PROVIDER_GUID: PerfRegInfoType = PerfRegInfoType(8i32);
10064 pub const PERF_REG_COUNTERSET_ENGLISH_NAME: PerfRegInfoType = PerfRegInfoType(9i32);
10065 pub const PERF_REG_COUNTER_ENGLISH_NAMES: PerfRegInfoType = PerfRegInfoType(10i32);
10066 impl ::std::convert::From<i32> for PerfRegInfoType {
from(value: i32) -> Self10067     fn from(value: i32) -> Self {
10068         Self(value)
10069     }
10070 }
10071 unsafe impl ::windows::runtime::Abi for PerfRegInfoType {
10072     type Abi = Self;
10073     type DefaultType = Self;
10074 }
10075 #[cfg(feature = "Win32_Foundation")]
10076 #[inline]
PerfSetCounterRefValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, address: *const ::std::ffi::c_void) -> u3210077 pub unsafe fn PerfSetCounterRefValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, address: *const ::std::ffi::c_void) -> u32 {
10078     #[cfg(windows)]
10079     {
10080         #[link(name = "windows")]
10081         extern "system" {
10082             fn PerfSetCounterRefValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, address: *const ::std::ffi::c_void) -> u32;
10083         }
10084         ::std::mem::transmute(PerfSetCounterRefValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(address)))
10085     }
10086     #[cfg(not(windows))]
10087     unimplemented!("Unsupported target OS");
10088 }
10089 #[cfg(feature = "Win32_Foundation")]
10090 #[inline]
PerfSetCounterSetInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(providerhandle: Param0, template: *mut PERF_COUNTERSET_INFO, templatesize: u32) -> u3210091 pub unsafe fn PerfSetCounterSetInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(providerhandle: Param0, template: *mut PERF_COUNTERSET_INFO, templatesize: u32) -> u32 {
10092     #[cfg(windows)]
10093     {
10094         #[link(name = "windows")]
10095         extern "system" {
10096             fn PerfSetCounterSetInfo(providerhandle: super::super::Foundation::HANDLE, template: *mut PERF_COUNTERSET_INFO, templatesize: u32) -> u32;
10097         }
10098         ::std::mem::transmute(PerfSetCounterSetInfo(providerhandle.into_param().abi(), ::std::mem::transmute(template), ::std::mem::transmute(templatesize)))
10099     }
10100     #[cfg(not(windows))]
10101     unimplemented!("Unsupported target OS");
10102 }
10103 #[cfg(feature = "Win32_Foundation")]
10104 #[inline]
PerfSetULongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u3210105 pub unsafe fn PerfSetULongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32 {
10106     #[cfg(windows)]
10107     {
10108         #[link(name = "windows")]
10109         extern "system" {
10110             fn PerfSetULongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u32) -> u32;
10111         }
10112         ::std::mem::transmute(PerfSetULongCounterValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(value)))
10113     }
10114     #[cfg(not(windows))]
10115     unimplemented!("Unsupported target OS");
10116 }
10117 #[cfg(feature = "Win32_Foundation")]
10118 #[inline]
PerfSetULongLongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u3210119 pub unsafe fn PerfSetULongLongCounterValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(provider: Param0, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32 {
10120     #[cfg(windows)]
10121     {
10122         #[link(name = "windows")]
10123         extern "system" {
10124             fn PerfSetULongLongCounterValue(provider: super::super::Foundation::HANDLE, instance: *mut PERF_COUNTERSET_INSTANCE, counterid: u32, value: u64) -> u32;
10125         }
10126         ::std::mem::transmute(PerfSetULongLongCounterValue(provider.into_param().abi(), ::std::mem::transmute(instance), ::std::mem::transmute(counterid), ::std::mem::transmute(value)))
10127     }
10128     #[cfg(not(windows))]
10129     unimplemented!("Unsupported target OS");
10130 }
10131 #[inline]
PerfStartProvider(providerguid: *const ::windows::runtime::GUID, controlcallback: ::std::option::Option<PERFLIBREQUEST>, phprovider: *mut PerfProviderHandle) -> u3210132 pub unsafe fn PerfStartProvider(providerguid: *const ::windows::runtime::GUID, controlcallback: ::std::option::Option<PERFLIBREQUEST>, phprovider: *mut PerfProviderHandle) -> u32 {
10133     #[cfg(windows)]
10134     {
10135         #[link(name = "windows")]
10136         extern "system" {
10137             fn PerfStartProvider(providerguid: *const ::windows::runtime::GUID, controlcallback: ::windows::runtime::RawPtr, phprovider: *mut PerfProviderHandle) -> u32;
10138         }
10139         ::std::mem::transmute(PerfStartProvider(::std::mem::transmute(providerguid), ::std::mem::transmute(controlcallback), ::std::mem::transmute(phprovider)))
10140     }
10141     #[cfg(not(windows))]
10142     unimplemented!("Unsupported target OS");
10143 }
10144 #[inline]
PerfStartProviderEx(providerguid: *const ::windows::runtime::GUID, providercontext: *const PERF_PROVIDER_CONTEXT, provider: *mut PerfProviderHandle) -> u3210145 pub unsafe fn PerfStartProviderEx(providerguid: *const ::windows::runtime::GUID, providercontext: *const PERF_PROVIDER_CONTEXT, provider: *mut PerfProviderHandle) -> u32 {
10146     #[cfg(windows)]
10147     {
10148         #[link(name = "windows")]
10149         extern "system" {
10150             fn PerfStartProviderEx(providerguid: *const ::windows::runtime::GUID, providercontext: *const ::std::mem::ManuallyDrop<PERF_PROVIDER_CONTEXT>, provider: *mut PerfProviderHandle) -> u32;
10151         }
10152         ::std::mem::transmute(PerfStartProviderEx(::std::mem::transmute(providerguid), ::std::mem::transmute(providercontext), ::std::mem::transmute(provider)))
10153     }
10154     #[cfg(not(windows))]
10155     unimplemented!("Unsupported target OS");
10156 }
10157 #[inline]
PerfStopProvider<'a, Param0: ::windows::runtime::IntoParam<'a, PerfProviderHandle>>(providerhandle: Param0) -> u3210158 pub unsafe fn PerfStopProvider<'a, Param0: ::windows::runtime::IntoParam<'a, PerfProviderHandle>>(providerhandle: Param0) -> u32 {
10159     #[cfg(windows)]
10160     {
10161         #[link(name = "windows")]
10162         extern "system" {
10163             fn PerfStopProvider(providerhandle: PerfProviderHandle) -> u32;
10164         }
10165         ::std::mem::transmute(PerfStopProvider(providerhandle.into_param().abi()))
10166     }
10167     #[cfg(not(windows))]
10168     unimplemented!("Unsupported target OS");
10169 }
10170 #[cfg(feature = "Win32_Foundation")]
10171 #[inline]
QueryPerformanceCounter(lpperformancecount: *mut i64) -> super::super::Foundation::BOOL10172 pub unsafe fn QueryPerformanceCounter(lpperformancecount: *mut i64) -> super::super::Foundation::BOOL {
10173     #[cfg(windows)]
10174     {
10175         #[link(name = "windows")]
10176         extern "system" {
10177             fn QueryPerformanceCounter(lpperformancecount: *mut i64) -> super::super::Foundation::BOOL;
10178         }
10179         ::std::mem::transmute(QueryPerformanceCounter(::std::mem::transmute(lpperformancecount)))
10180     }
10181     #[cfg(not(windows))]
10182     unimplemented!("Unsupported target OS");
10183 }
10184 #[cfg(feature = "Win32_Foundation")]
10185 #[inline]
QueryPerformanceFrequency(lpfrequency: *mut i64) -> super::super::Foundation::BOOL10186 pub unsafe fn QueryPerformanceFrequency(lpfrequency: *mut i64) -> super::super::Foundation::BOOL {
10187     #[cfg(windows)]
10188     {
10189         #[link(name = "windows")]
10190         extern "system" {
10191             fn QueryPerformanceFrequency(lpfrequency: *mut i64) -> super::super::Foundation::BOOL;
10192         }
10193         ::std::mem::transmute(QueryPerformanceFrequency(::std::mem::transmute(lpfrequency)))
10194     }
10195     #[cfg(not(windows))]
10196     unimplemented!("Unsupported target OS");
10197 }
10198 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10199 #[repr(transparent)]
10200 pub struct REAL_TIME_DATA_SOURCE_ID_FLAGS(pub u32);
10201 pub const DATA_SOURCE_REGISTRY: REAL_TIME_DATA_SOURCE_ID_FLAGS = REAL_TIME_DATA_SOURCE_ID_FLAGS(1u32);
10202 pub const DATA_SOURCE_WBEM: REAL_TIME_DATA_SOURCE_ID_FLAGS = REAL_TIME_DATA_SOURCE_ID_FLAGS(4u32);
10203 impl ::std::convert::From<u32> for REAL_TIME_DATA_SOURCE_ID_FLAGS {
from(value: u32) -> Self10204     fn from(value: u32) -> Self {
10205         Self(value)
10206     }
10207 }
10208 unsafe impl ::windows::runtime::Abi for REAL_TIME_DATA_SOURCE_ID_FLAGS {
10209     type Abi = Self;
10210     type DefaultType = Self;
10211 }
10212 impl ::std::ops::BitOr for REAL_TIME_DATA_SOURCE_ID_FLAGS {
10213     type Output = Self;
bitor(self, rhs: Self) -> Self10214     fn bitor(self, rhs: Self) -> Self {
10215         Self(self.0 | rhs.0)
10216     }
10217 }
10218 impl ::std::ops::BitAnd for REAL_TIME_DATA_SOURCE_ID_FLAGS {
10219     type Output = Self;
bitand(self, rhs: Self) -> Self10220     fn bitand(self, rhs: Self) -> Self {
10221         Self(self.0 & rhs.0)
10222     }
10223 }
10224 impl ::std::ops::BitOrAssign for REAL_TIME_DATA_SOURCE_ID_FLAGS {
bitor_assign(&mut self, rhs: Self)10225     fn bitor_assign(&mut self, rhs: Self) {
10226         self.0.bitor_assign(rhs.0)
10227     }
10228 }
10229 impl ::std::ops::BitAndAssign for REAL_TIME_DATA_SOURCE_ID_FLAGS {
bitand_assign(&mut self, rhs: Self)10230     fn bitand_assign(&mut self, rhs: Self) {
10231         self.0.bitand_assign(rhs.0)
10232     }
10233 }
10234 impl ::std::ops::Not for REAL_TIME_DATA_SOURCE_ID_FLAGS {
10235     type Output = Self;
not(self) -> Self10236     fn not(self) -> Self {
10237         Self(self.0.not())
10238     }
10239 }
10240 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10241 #[repr(transparent)]
10242 pub struct ReportValueTypeConstants(pub i32);
10243 pub const sysmonDefaultValue: ReportValueTypeConstants = ReportValueTypeConstants(0i32);
10244 pub const sysmonCurrentValue: ReportValueTypeConstants = ReportValueTypeConstants(1i32);
10245 pub const sysmonAverage: ReportValueTypeConstants = ReportValueTypeConstants(2i32);
10246 pub const sysmonMinimum: ReportValueTypeConstants = ReportValueTypeConstants(3i32);
10247 pub const sysmonMaximum: ReportValueTypeConstants = ReportValueTypeConstants(4i32);
10248 impl ::std::convert::From<i32> for ReportValueTypeConstants {
from(value: i32) -> Self10249     fn from(value: i32) -> Self {
10250         Self(value)
10251     }
10252 }
10253 unsafe impl ::windows::runtime::Abi for ReportValueTypeConstants {
10254     type Abi = Self;
10255     type DefaultType = Self;
10256 }
10257 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10258 #[repr(transparent)]
10259 pub struct ResourcePolicy(pub i32);
10260 pub const plaDeleteLargest: ResourcePolicy = ResourcePolicy(0i32);
10261 pub const plaDeleteOldest: ResourcePolicy = ResourcePolicy(1i32);
10262 impl ::std::convert::From<i32> for ResourcePolicy {
from(value: i32) -> Self10263     fn from(value: i32) -> Self {
10264         Self(value)
10265     }
10266 }
10267 unsafe impl ::windows::runtime::Abi for ResourcePolicy {
10268     type Abi = Self;
10269     type DefaultType = Self;
10270 }
10271 #[cfg(feature = "Win32_Foundation")]
10272 #[inline]
RestorePerfRegistryFromFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfilename: Param0, szlangid: Param1) -> u3210273 pub unsafe fn RestorePerfRegistryFromFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szfilename: Param0, szlangid: Param1) -> u32 {
10274     #[cfg(windows)]
10275     {
10276         #[link(name = "windows")]
10277         extern "system" {
10278             fn RestorePerfRegistryFromFileW(szfilename: super::super::Foundation::PWSTR, szlangid: super::super::Foundation::PWSTR) -> u32;
10279         }
10280         ::std::mem::transmute(RestorePerfRegistryFromFileW(szfilename.into_param().abi(), szlangid.into_param().abi()))
10281     }
10282     #[cfg(not(windows))]
10283     unimplemented!("Unsupported target OS");
10284 }
10285 pub const S_PDH: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(81159000, 50337, 16795, [128, 35, 35, 183, 57, 2, 222, 44]);
10286 pub const ServerDataCollectorSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946865, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10287 pub const ServerDataCollectorSetCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946866, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10288 #[cfg(feature = "Win32_Foundation")]
10289 #[inline]
SetServiceAsTrustedA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szreserved: Param0, szservicename: Param1) -> u3210290 pub unsafe fn SetServiceAsTrustedA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(szreserved: Param0, szservicename: Param1) -> u32 {
10291     #[cfg(windows)]
10292     {
10293         #[link(name = "windows")]
10294         extern "system" {
10295             fn SetServiceAsTrustedA(szreserved: super::super::Foundation::PSTR, szservicename: super::super::Foundation::PSTR) -> u32;
10296         }
10297         ::std::mem::transmute(SetServiceAsTrustedA(szreserved.into_param().abi(), szservicename.into_param().abi()))
10298     }
10299     #[cfg(not(windows))]
10300     unimplemented!("Unsupported target OS");
10301 }
10302 #[cfg(feature = "Win32_Foundation")]
10303 #[inline]
SetServiceAsTrustedW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szreserved: Param0, szservicename: Param1) -> u3210304 pub unsafe fn SetServiceAsTrustedW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(szreserved: Param0, szservicename: Param1) -> u32 {
10305     #[cfg(windows)]
10306     {
10307         #[link(name = "windows")]
10308         extern "system" {
10309             fn SetServiceAsTrustedW(szreserved: super::super::Foundation::PWSTR, szservicename: super::super::Foundation::PWSTR) -> u32;
10310         }
10311         ::std::mem::transmute(SetServiceAsTrustedW(szreserved.into_param().abi(), szservicename.into_param().abi()))
10312     }
10313     #[cfg(not(windows))]
10314     unimplemented!("Unsupported target OS");
10315 }
10316 pub const SourcePropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(217262753, 30065, 4560, [147, 196, 0, 170, 0, 163, 221, 234]);
10317 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10318 #[repr(transparent)]
10319 pub struct StreamMode(pub i32);
10320 pub const plaFile: StreamMode = StreamMode(1i32);
10321 pub const plaRealTime: StreamMode = StreamMode(2i32);
10322 pub const plaBoth: StreamMode = StreamMode(3i32);
10323 pub const plaBuffering: StreamMode = StreamMode(4i32);
10324 impl ::std::convert::From<i32> for StreamMode {
from(value: i32) -> Self10325     fn from(value: i32) -> Self {
10326         Self(value)
10327     }
10328 }
10329 unsafe impl ::windows::runtime::Abi for StreamMode {
10330     type Abi = Self;
10331     type DefaultType = Self;
10332 }
10333 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10334 #[repr(transparent)]
10335 pub struct SysmonBatchReason(pub i32);
10336 pub const sysmonBatchNone: SysmonBatchReason = SysmonBatchReason(0i32);
10337 pub const sysmonBatchAddFiles: SysmonBatchReason = SysmonBatchReason(1i32);
10338 pub const sysmonBatchAddCounters: SysmonBatchReason = SysmonBatchReason(2i32);
10339 pub const sysmonBatchAddFilesAutoCounters: SysmonBatchReason = SysmonBatchReason(3i32);
10340 impl ::std::convert::From<i32> for SysmonBatchReason {
from(value: i32) -> Self10341     fn from(value: i32) -> Self {
10342         Self(value)
10343     }
10344 }
10345 unsafe impl ::windows::runtime::Abi for SysmonBatchReason {
10346     type Abi = Self;
10347     type DefaultType = Self;
10348 }
10349 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10350 #[repr(transparent)]
10351 pub struct SysmonDataType(pub i32);
10352 pub const sysmonDataAvg: SysmonDataType = SysmonDataType(1i32);
10353 pub const sysmonDataMin: SysmonDataType = SysmonDataType(2i32);
10354 pub const sysmonDataMax: SysmonDataType = SysmonDataType(3i32);
10355 pub const sysmonDataTime: SysmonDataType = SysmonDataType(4i32);
10356 pub const sysmonDataCount: SysmonDataType = SysmonDataType(5i32);
10357 impl ::std::convert::From<i32> for SysmonDataType {
from(value: i32) -> Self10358     fn from(value: i32) -> Self {
10359         Self(value)
10360     }
10361 }
10362 unsafe impl ::windows::runtime::Abi for SysmonDataType {
10363     type Abi = Self;
10364     type DefaultType = Self;
10365 }
10366 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10367 #[repr(transparent)]
10368 pub struct SysmonFileType(pub i32);
10369 pub const sysmonFileHtml: SysmonFileType = SysmonFileType(1i32);
10370 pub const sysmonFileReport: SysmonFileType = SysmonFileType(2i32);
10371 pub const sysmonFileCsv: SysmonFileType = SysmonFileType(3i32);
10372 pub const sysmonFileTsv: SysmonFileType = SysmonFileType(4i32);
10373 pub const sysmonFileBlg: SysmonFileType = SysmonFileType(5i32);
10374 pub const sysmonFileRetiredBlg: SysmonFileType = SysmonFileType(6i32);
10375 pub const sysmonFileGif: SysmonFileType = SysmonFileType(7i32);
10376 impl ::std::convert::From<i32> for SysmonFileType {
from(value: i32) -> Self10377     fn from(value: i32) -> Self {
10378         Self(value)
10379     }
10380 }
10381 unsafe impl ::windows::runtime::Abi for SysmonFileType {
10382     type Abi = Self;
10383     type DefaultType = Self;
10384 }
10385 pub const SystemDataCollectorSet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946886, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10386 pub const SystemDataCollectorSetCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946887, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10387 pub const SystemMonitor: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3302152416, 53725, 4558, [148, 15, 0, 128, 41, 0, 67, 71]);
10388 pub const SystemMonitor2: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2133874572, 24376, 17938, [172, 254, 110, 208, 76, 123, 122, 248]);
10389 pub const TraceDataProvider: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946835, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10390 pub const TraceDataProviderCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946833, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10391 pub const TraceSession: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946844, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10392 pub const TraceSessionCollection: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58946864, 2443, 4568, [148, 20, 80, 80, 84, 80, 48, 48]);
10393 #[cfg(feature = "Win32_Foundation")]
10394 #[inline]
UnloadPerfCounterTextStringsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u3210395 pub unsafe fn UnloadPerfCounterTextStringsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u32 {
10396     #[cfg(windows)]
10397     {
10398         #[link(name = "windows")]
10399         extern "system" {
10400             fn UnloadPerfCounterTextStringsA(lpcommandline: super::super::Foundation::PSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32;
10401         }
10402         ::std::mem::transmute(UnloadPerfCounterTextStringsA(lpcommandline.into_param().abi(), bquietmodearg.into_param().abi()))
10403     }
10404     #[cfg(not(windows))]
10405     unimplemented!("Unsupported target OS");
10406 }
10407 #[cfg(feature = "Win32_Foundation")]
10408 #[inline]
UnloadPerfCounterTextStringsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u3210409 pub unsafe fn UnloadPerfCounterTextStringsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpcommandline: Param0, bquietmodearg: Param1) -> u32 {
10410     #[cfg(windows)]
10411     {
10412         #[link(name = "windows")]
10413         extern "system" {
10414             fn UnloadPerfCounterTextStringsW(lpcommandline: super::super::Foundation::PWSTR, bquietmodearg: super::super::Foundation::BOOL) -> u32;
10415         }
10416         ::std::mem::transmute(UnloadPerfCounterTextStringsW(lpcommandline.into_param().abi(), bquietmodearg.into_param().abi()))
10417     }
10418     #[cfg(not(windows))]
10419     unimplemented!("Unsupported target OS");
10420 }
10421 #[cfg(feature = "Win32_Foundation")]
10422 #[inline]
UpdatePerfNameFilesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(sznewctrfilepath: Param0, sznewhlpfilepath: Param1, szlanguageid: Param2, dwflags: usize) -> u3210423 pub unsafe fn UpdatePerfNameFilesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(sznewctrfilepath: Param0, sznewhlpfilepath: Param1, szlanguageid: Param2, dwflags: usize) -> u32 {
10424     #[cfg(windows)]
10425     {
10426         #[link(name = "windows")]
10427         extern "system" {
10428             fn UpdatePerfNameFilesA(sznewctrfilepath: super::super::Foundation::PSTR, sznewhlpfilepath: super::super::Foundation::PSTR, szlanguageid: super::super::Foundation::PSTR, dwflags: usize) -> u32;
10429         }
10430         ::std::mem::transmute(UpdatePerfNameFilesA(sznewctrfilepath.into_param().abi(), sznewhlpfilepath.into_param().abi(), szlanguageid.into_param().abi(), ::std::mem::transmute(dwflags)))
10431     }
10432     #[cfg(not(windows))]
10433     unimplemented!("Unsupported target OS");
10434 }
10435 #[cfg(feature = "Win32_Foundation")]
10436 #[inline]
UpdatePerfNameFilesW<'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>>(sznewctrfilepath: Param0, sznewhlpfilepath: Param1, szlanguageid: Param2, dwflags: usize) -> u3210437 pub unsafe fn UpdatePerfNameFilesW<'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>>(sznewctrfilepath: Param0, sznewhlpfilepath: Param1, szlanguageid: Param2, dwflags: usize) -> u32 {
10438     #[cfg(windows)]
10439     {
10440         #[link(name = "windows")]
10441         extern "system" {
10442             fn UpdatePerfNameFilesW(sznewctrfilepath: super::super::Foundation::PWSTR, sznewhlpfilepath: super::super::Foundation::PWSTR, szlanguageid: super::super::Foundation::PWSTR, dwflags: usize) -> u32;
10443         }
10444         ::std::mem::transmute(UpdatePerfNameFilesW(sznewctrfilepath.into_param().abi(), sznewhlpfilepath.into_param().abi(), szlanguageid.into_param().abi(), ::std::mem::transmute(dwflags)))
10445     }
10446     #[cfg(not(windows))]
10447     unimplemented!("Unsupported target OS");
10448 }
10449 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10450 #[repr(transparent)]
10451 pub struct ValueMapType(pub i32);
10452 pub const plaIndex: ValueMapType = ValueMapType(1i32);
10453 pub const plaFlag: ValueMapType = ValueMapType(2i32);
10454 pub const plaFlagArray: ValueMapType = ValueMapType(3i32);
10455 pub const plaValidation: ValueMapType = ValueMapType(4i32);
10456 impl ::std::convert::From<i32> for ValueMapType {
from(value: i32) -> Self10457     fn from(value: i32) -> Self {
10458         Self(value)
10459     }
10460 }
10461 unsafe impl ::windows::runtime::Abi for ValueMapType {
10462     type Abi = Self;
10463     type DefaultType = Self;
10464 }
10465 pub const WINPERF_LOG_DEBUG: u32 = 2u32;
10466 pub const WINPERF_LOG_NONE: u32 = 0u32;
10467 pub const WINPERF_LOG_USER: u32 = 1u32;
10468 pub const WINPERF_LOG_VERBOSE: u32 = 3u32;
10469 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10470 #[repr(transparent)]
10471 pub struct WeekDays(pub i32);
10472 pub const plaRunOnce: WeekDays = WeekDays(0i32);
10473 pub const plaSunday: WeekDays = WeekDays(1i32);
10474 pub const plaMonday: WeekDays = WeekDays(2i32);
10475 pub const plaTuesday: WeekDays = WeekDays(4i32);
10476 pub const plaWednesday: WeekDays = WeekDays(8i32);
10477 pub const plaThursday: WeekDays = WeekDays(16i32);
10478 pub const plaFriday: WeekDays = WeekDays(32i32);
10479 pub const plaSaturday: WeekDays = WeekDays(64i32);
10480 pub const plaEveryday: WeekDays = WeekDays(127i32);
10481 impl ::std::convert::From<i32> for WeekDays {
from(value: i32) -> Self10482     fn from(value: i32) -> Self {
10483         Self(value)
10484     }
10485 }
10486 unsafe impl ::windows::runtime::Abi for WeekDays {
10487     type Abi = Self;
10488     type DefaultType = Self;
10489 }
10490 #[repr(transparent)]
10491 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10492 pub struct _ICounterItemUnion(::windows::runtime::IUnknown);
10493 impl _ICounterItemUnion {
Value(&self) -> ::windows::runtime::Result<f64>10494     pub unsafe fn Value(&self) -> ::windows::runtime::Result<f64> {
10495         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10496         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
10497     }
SetColor(&self, color: u32) -> ::windows::runtime::Result<()>10498     pub unsafe fn SetColor(&self, color: u32) -> ::windows::runtime::Result<()> {
10499         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
10500     }
Color(&self) -> ::windows::runtime::Result<u32>10501     pub unsafe fn Color(&self) -> ::windows::runtime::Result<u32> {
10502         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10503         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10504     }
SetWidth(&self, iwidth: i32) -> ::windows::runtime::Result<()>10505     pub unsafe fn SetWidth(&self, iwidth: i32) -> ::windows::runtime::Result<()> {
10506         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iwidth)).ok()
10507     }
Width(&self) -> ::windows::runtime::Result<i32>10508     pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> {
10509         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10510         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10511     }
SetLineStyle(&self, ilinestyle: i32) -> ::windows::runtime::Result<()>10512     pub unsafe fn SetLineStyle(&self, ilinestyle: i32) -> ::windows::runtime::Result<()> {
10513         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ilinestyle)).ok()
10514     }
LineStyle(&self) -> ::windows::runtime::Result<i32>10515     pub unsafe fn LineStyle(&self) -> ::windows::runtime::Result<i32> {
10516         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10517         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10518     }
SetScaleFactor(&self, iscale: i32) -> ::windows::runtime::Result<()>10519     pub unsafe fn SetScaleFactor(&self, iscale: i32) -> ::windows::runtime::Result<()> {
10520         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iscale)).ok()
10521     }
ScaleFactor(&self) -> ::windows::runtime::Result<i32>10522     pub unsafe fn ScaleFactor(&self) -> ::windows::runtime::Result<i32> {
10523         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10524         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10525     }
10526     #[cfg(feature = "Win32_Foundation")]
Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10527     pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10528         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10529         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10530     }
GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()>10531     pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()> {
10532         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value), ::std::mem::transmute(status)).ok()
10533     }
GetStatistics(&self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()>10534     pub unsafe fn GetStatistics(&self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::Result<()> {
10535         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(max), ::std::mem::transmute(min), ::std::mem::transmute(avg), ::std::mem::transmute(status)).ok()
10536     }
SetSelected(&self, bstate: i16) -> ::windows::runtime::Result<()>10537     pub unsafe fn SetSelected(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10538         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10539     }
Selected(&self) -> ::windows::runtime::Result<i16>10540     pub unsafe fn Selected(&self) -> ::windows::runtime::Result<i16> {
10541         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10542         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10543     }
SetVisible(&self, bstate: i16) -> ::windows::runtime::Result<()>10544     pub unsafe fn SetVisible(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10545         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10546     }
Visible(&self) -> ::windows::runtime::Result<i16>10547     pub unsafe fn Visible(&self) -> ::windows::runtime::Result<i16> {
10548         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10549         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10550     }
10551     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> ::windows::runtime::Result<super::Com::VARIANT>10552     pub unsafe fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> ::windows::runtime::Result<super::Com::VARIANT> {
10553         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10554         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), ::std::mem::transmute(iwhich), &mut result__).from_abi::<super::Com::VARIANT>(result__)
10555     }
10556 }
10557 unsafe impl ::windows::runtime::Interface for _ICounterItemUnion {
10558     type Vtable = _ICounterItemUnion_abi;
10559     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3726273396, 37250, 19521, [142, 44, 36, 194, 205, 48, 238, 131]);
10560 }
10561 impl ::std::convert::From<_ICounterItemUnion> for ::windows::runtime::IUnknown {
from(value: _ICounterItemUnion) -> Self10562     fn from(value: _ICounterItemUnion) -> Self {
10563         unsafe { ::std::mem::transmute(value) }
10564     }
10565 }
10566 impl ::std::convert::From<&_ICounterItemUnion> for ::windows::runtime::IUnknown {
from(value: &_ICounterItemUnion) -> Self10567     fn from(value: &_ICounterItemUnion) -> Self {
10568         ::std::convert::From::from(::std::clone::Clone::clone(value))
10569     }
10570 }
10571 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _ICounterItemUnion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10572     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10573         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10574     }
10575 }
10576 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_ICounterItemUnion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10577     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10578         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10579     }
10580 }
10581 #[repr(C)]
10582 #[doc(hidden)]
10583 pub struct _ICounterItemUnion_abi(
10584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10587     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdblvalue: *mut f64) -> ::windows::runtime::HRESULT,
10588     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
10589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
10590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iwidth: i32) -> ::windows::runtime::HRESULT,
10591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
10592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ilinestyle: i32) -> ::windows::runtime::HRESULT,
10593     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
10594     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iscale: i32) -> ::windows::runtime::HRESULT,
10595     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
10596     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstrvalue: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10597     #[cfg(not(feature = "Win32_Foundation"))] usize,
10598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f64, status: *mut i32) -> ::windows::runtime::HRESULT,
10599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32) -> ::windows::runtime::HRESULT,
10600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
10601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
10602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
10603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
10604     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, iwhich: SysmonDataType, pvariant: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
10605     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
10606 );
10607 #[repr(transparent)]
10608 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10609 pub struct _ISystemMonitorUnion(::windows::runtime::IUnknown);
10610 impl _ISystemMonitorUnion {
Appearance(&self) -> ::windows::runtime::Result<i32>10611     pub unsafe fn Appearance(&self) -> ::windows::runtime::Result<i32> {
10612         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10613         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10614     }
SetAppearance(&self, iappearance: i32) -> ::windows::runtime::Result<()>10615     pub unsafe fn SetAppearance(&self, iappearance: i32) -> ::windows::runtime::Result<()> {
10616         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(iappearance)).ok()
10617     }
BackColor(&self) -> ::windows::runtime::Result<u32>10618     pub unsafe fn BackColor(&self) -> ::windows::runtime::Result<u32> {
10619         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10620         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10621     }
SetBackColor(&self, color: u32) -> ::windows::runtime::Result<()>10622     pub unsafe fn SetBackColor(&self, color: u32) -> ::windows::runtime::Result<()> {
10623         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
10624     }
BorderStyle(&self) -> ::windows::runtime::Result<i32>10625     pub unsafe fn BorderStyle(&self) -> ::windows::runtime::Result<i32> {
10626         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10627         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10628     }
SetBorderStyle(&self, iborderstyle: i32) -> ::windows::runtime::Result<()>10629     pub unsafe fn SetBorderStyle(&self, iborderstyle: i32) -> ::windows::runtime::Result<()> {
10630         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iborderstyle)).ok()
10631     }
ForeColor(&self) -> ::windows::runtime::Result<u32>10632     pub unsafe fn ForeColor(&self) -> ::windows::runtime::Result<u32> {
10633         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10634         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10635     }
SetForeColor(&self, color: u32) -> ::windows::runtime::Result<()>10636     pub unsafe fn SetForeColor(&self, color: u32) -> ::windows::runtime::Result<()> {
10637         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
10638     }
10639     #[cfg(feature = "Win32_System_Ole")]
Font(&self) -> ::windows::runtime::Result<super::Ole::IFontDisp>10640     pub unsafe fn Font(&self) -> ::windows::runtime::Result<super::Ole::IFontDisp> {
10641         let mut result__: <super::Ole::IFontDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10642         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::IFontDisp>(result__)
10643     }
10644     #[cfg(feature = "Win32_System_Ole")]
putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::IFontDisp>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>10645     pub unsafe fn putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::IFontDisp>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
10646         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
10647     }
Counters(&self) -> ::windows::runtime::Result<ICounters>10648     pub unsafe fn Counters(&self) -> ::windows::runtime::Result<ICounters> {
10649         let mut result__: <ICounters as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10650         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ICounters>(result__)
10651     }
SetShowVerticalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()>10652     pub unsafe fn SetShowVerticalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10653         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10654     }
ShowVerticalGrid(&self) -> ::windows::runtime::Result<i16>10655     pub unsafe fn ShowVerticalGrid(&self) -> ::windows::runtime::Result<i16> {
10656         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10657         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10658     }
SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()>10659     pub unsafe fn SetShowHorizontalGrid(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10660         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10661     }
ShowHorizontalGrid(&self) -> ::windows::runtime::Result<i16>10662     pub unsafe fn ShowHorizontalGrid(&self) -> ::windows::runtime::Result<i16> {
10663         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10664         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10665     }
SetShowLegend(&self, bstate: i16) -> ::windows::runtime::Result<()>10666     pub unsafe fn SetShowLegend(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10667         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10668     }
ShowLegend(&self) -> ::windows::runtime::Result<i16>10669     pub unsafe fn ShowLegend(&self) -> ::windows::runtime::Result<i16> {
10670         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10671         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10672     }
SetShowScaleLabels(&self, bstate: i16) -> ::windows::runtime::Result<()>10673     pub unsafe fn SetShowScaleLabels(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10674         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10675     }
ShowScaleLabels(&self) -> ::windows::runtime::Result<i16>10676     pub unsafe fn ShowScaleLabels(&self) -> ::windows::runtime::Result<i16> {
10677         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10678         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10679     }
SetShowValueBar(&self, bstate: i16) -> ::windows::runtime::Result<()>10680     pub unsafe fn SetShowValueBar(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10681         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10682     }
ShowValueBar(&self) -> ::windows::runtime::Result<i16>10683     pub unsafe fn ShowValueBar(&self) -> ::windows::runtime::Result<i16> {
10684         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10685         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10686     }
SetMaximumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()>10687     pub unsafe fn SetMaximumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
10688         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
10689     }
MaximumScale(&self) -> ::windows::runtime::Result<i32>10690     pub unsafe fn MaximumScale(&self) -> ::windows::runtime::Result<i32> {
10691         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10692         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10693     }
SetMinimumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()>10694     pub unsafe fn SetMinimumScale(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
10695         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
10696     }
MinimumScale(&self) -> ::windows::runtime::Result<i32>10697     pub unsafe fn MinimumScale(&self) -> ::windows::runtime::Result<i32> {
10698         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10699         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10700     }
SetUpdateInterval(&self, fvalue: f32) -> ::windows::runtime::Result<()>10701     pub unsafe fn SetUpdateInterval(&self, fvalue: f32) -> ::windows::runtime::Result<()> {
10702         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvalue)).ok()
10703     }
UpdateInterval(&self) -> ::windows::runtime::Result<f32>10704     pub unsafe fn UpdateInterval(&self) -> ::windows::runtime::Result<f32> {
10705         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10706         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
10707     }
SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::Result<()>10708     pub unsafe fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::Result<()> {
10709         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(edisplaytype)).ok()
10710     }
DisplayType(&self) -> ::windows::runtime::Result<DisplayTypeConstants>10711     pub unsafe fn DisplayType(&self) -> ::windows::runtime::Result<DisplayTypeConstants> {
10712         let mut result__: <DisplayTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10713         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DisplayTypeConstants>(result__)
10714     }
SetManualUpdate(&self, bstate: i16) -> ::windows::runtime::Result<()>10715     pub unsafe fn SetManualUpdate(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10716         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10717     }
ManualUpdate(&self) -> ::windows::runtime::Result<i16>10718     pub unsafe fn ManualUpdate(&self) -> ::windows::runtime::Result<i16> {
10719         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10720         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10721     }
10722     #[cfg(feature = "Win32_Foundation")]
SetGraphTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()>10723     pub unsafe fn SetGraphTitle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()> {
10724         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), bstitle.into_param().abi()).ok()
10725     }
10726     #[cfg(feature = "Win32_Foundation")]
GraphTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10727     pub unsafe fn GraphTitle(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10728         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10729         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10730     }
10731     #[cfg(feature = "Win32_Foundation")]
SetYAxisLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()>10732     pub unsafe fn SetYAxisLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstitle: Param0) -> ::windows::runtime::Result<()> {
10733         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), bstitle.into_param().abi()).ok()
10734     }
10735     #[cfg(feature = "Win32_Foundation")]
YAxisLabel(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10736     pub unsafe fn YAxisLabel(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10737         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10738         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10739     }
CollectSample(&self) -> ::windows::runtime::Result<()>10740     pub unsafe fn CollectSample(&self) -> ::windows::runtime::Result<()> {
10741         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self)).ok()
10742     }
UpdateGraph(&self) -> ::windows::runtime::Result<()>10743     pub unsafe fn UpdateGraph(&self) -> ::windows::runtime::Result<()> {
10744         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self)).ok()
10745     }
BrowseCounters(&self) -> ::windows::runtime::Result<()>10746     pub unsafe fn BrowseCounters(&self) -> ::windows::runtime::Result<()> {
10747         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
10748     }
DisplayProperties(&self) -> ::windows::runtime::Result<()>10749     pub unsafe fn DisplayProperties(&self) -> ::windows::runtime::Result<()> {
10750         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self)).ok()
10751     }
Counter(&self, iindex: i32) -> ::windows::runtime::Result<ICounterItem>10752     pub unsafe fn Counter(&self, iindex: i32) -> ::windows::runtime::Result<ICounterItem> {
10753         let mut result__: <ICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10754         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), &mut result__).from_abi::<ICounterItem>(result__)
10755     }
10756     #[cfg(feature = "Win32_Foundation")]
AddCounter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bspath: Param0) -> ::windows::runtime::Result<ICounterItem>10757     pub unsafe fn AddCounter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bspath: Param0) -> ::windows::runtime::Result<ICounterItem> {
10758         let mut result__: <ICounterItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10759         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), bspath.into_param().abi(), &mut result__).from_abi::<ICounterItem>(result__)
10760     }
DeleteCounter<'a, Param0: ::windows::runtime::IntoParam<'a, ICounterItem>>(&self, pctr: Param0) -> ::windows::runtime::Result<()>10761     pub unsafe fn DeleteCounter<'a, Param0: ::windows::runtime::IntoParam<'a, ICounterItem>>(&self, pctr: Param0) -> ::windows::runtime::Result<()> {
10762         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), pctr.into_param().abi()).ok()
10763     }
BackColorCtl(&self) -> ::windows::runtime::Result<u32>10764     pub unsafe fn BackColorCtl(&self) -> ::windows::runtime::Result<u32> {
10765         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10766         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10767     }
SetBackColorCtl(&self, color: u32) -> ::windows::runtime::Result<()>10768     pub unsafe fn SetBackColorCtl(&self, color: u32) -> ::windows::runtime::Result<()> {
10769         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
10770     }
10771     #[cfg(feature = "Win32_Foundation")]
SetLogFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bsfilename: Param0) -> ::windows::runtime::Result<()>10772     pub unsafe fn SetLogFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bsfilename: Param0) -> ::windows::runtime::Result<()> {
10773         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), bsfilename.into_param().abi()).ok()
10774     }
10775     #[cfg(feature = "Win32_Foundation")]
LogFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10776     pub unsafe fn LogFileName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10777         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10778         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10779     }
SetLogViewStart(&self, starttime: f64) -> ::windows::runtime::Result<()>10780     pub unsafe fn SetLogViewStart(&self, starttime: f64) -> ::windows::runtime::Result<()> {
10781         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime)).ok()
10782     }
LogViewStart(&self) -> ::windows::runtime::Result<f64>10783     pub unsafe fn LogViewStart(&self) -> ::windows::runtime::Result<f64> {
10784         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10785         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
10786     }
SetLogViewStop(&self, stoptime: f64) -> ::windows::runtime::Result<()>10787     pub unsafe fn SetLogViewStop(&self, stoptime: f64) -> ::windows::runtime::Result<()> {
10788         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(stoptime)).ok()
10789     }
LogViewStop(&self) -> ::windows::runtime::Result<f64>10790     pub unsafe fn LogViewStop(&self) -> ::windows::runtime::Result<f64> {
10791         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10792         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
10793     }
GridColor(&self) -> ::windows::runtime::Result<u32>10794     pub unsafe fn GridColor(&self) -> ::windows::runtime::Result<u32> {
10795         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10796         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10797     }
SetGridColor(&self, color: u32) -> ::windows::runtime::Result<()>10798     pub unsafe fn SetGridColor(&self, color: u32) -> ::windows::runtime::Result<()> {
10799         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
10800     }
TimeBarColor(&self) -> ::windows::runtime::Result<u32>10801     pub unsafe fn TimeBarColor(&self) -> ::windows::runtime::Result<u32> {
10802         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10803         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10804     }
SetTimeBarColor(&self, color: u32) -> ::windows::runtime::Result<()>10805     pub unsafe fn SetTimeBarColor(&self, color: u32) -> ::windows::runtime::Result<()> {
10806         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(color)).ok()
10807     }
Highlight(&self) -> ::windows::runtime::Result<i16>10808     pub unsafe fn Highlight(&self) -> ::windows::runtime::Result<i16> {
10809         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10810         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10811     }
SetHighlight(&self, bstate: i16) -> ::windows::runtime::Result<()>10812     pub unsafe fn SetHighlight(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10813         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10814     }
ShowToolbar(&self) -> ::windows::runtime::Result<i16>10815     pub unsafe fn ShowToolbar(&self) -> ::windows::runtime::Result<i16> {
10816         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10817         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10818     }
SetShowToolbar(&self, bstate: i16) -> ::windows::runtime::Result<()>10819     pub unsafe fn SetShowToolbar(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10820         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10821     }
Paste(&self) -> ::windows::runtime::Result<()>10822     pub unsafe fn Paste(&self) -> ::windows::runtime::Result<()> {
10823         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self)).ok()
10824     }
Copy(&self) -> ::windows::runtime::Result<()>10825     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<()> {
10826         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
10827     }
Reset(&self) -> ::windows::runtime::Result<()>10828     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
10829         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self)).ok()
10830     }
SetReadOnly(&self, bstate: i16) -> ::windows::runtime::Result<()>10831     pub unsafe fn SetReadOnly(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10832         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10833     }
ReadOnly(&self) -> ::windows::runtime::Result<i16>10834     pub unsafe fn ReadOnly(&self) -> ::windows::runtime::Result<i16> {
10835         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10836         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10837     }
SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::Result<()>10838     pub unsafe fn SetReportValueType(&self, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::Result<()> {
10839         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(ereportvaluetype)).ok()
10840     }
ReportValueType(&self) -> ::windows::runtime::Result<ReportValueTypeConstants>10841     pub unsafe fn ReportValueType(&self) -> ::windows::runtime::Result<ReportValueTypeConstants> {
10842         let mut result__: <ReportValueTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10843         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ReportValueTypeConstants>(result__)
10844     }
SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::runtime::Result<()>10845     pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10846         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10847     }
MonitorDuplicateInstances(&self) -> ::windows::runtime::Result<i16>10848     pub unsafe fn MonitorDuplicateInstances(&self) -> ::windows::runtime::Result<i16> {
10849         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10850         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10851     }
SetDisplayFilter(&self, ivalue: i32) -> ::windows::runtime::Result<()>10852     pub unsafe fn SetDisplayFilter(&self, ivalue: i32) -> ::windows::runtime::Result<()> {
10853         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(ivalue)).ok()
10854     }
DisplayFilter(&self) -> ::windows::runtime::Result<i32>10855     pub unsafe fn DisplayFilter(&self) -> ::windows::runtime::Result<i32> {
10856         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10857         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10858     }
LogFiles(&self) -> ::windows::runtime::Result<ILogFiles>10859     pub unsafe fn LogFiles(&self) -> ::windows::runtime::Result<ILogFiles> {
10860         let mut result__: <ILogFiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10861         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ILogFiles>(result__)
10862     }
SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::Result<()>10863     pub unsafe fn SetDataSourceType(&self, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::Result<()> {
10864         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(edatasourcetype)).ok()
10865     }
DataSourceType(&self) -> ::windows::runtime::Result<DataSourceTypeConstants>10866     pub unsafe fn DataSourceType(&self) -> ::windows::runtime::Result<DataSourceTypeConstants> {
10867         let mut result__: <DataSourceTypeConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10868         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DataSourceTypeConstants>(result__)
10869     }
10870     #[cfg(feature = "Win32_Foundation")]
SetSqlDsnName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqldsnname: Param0) -> ::windows::runtime::Result<()>10871     pub unsafe fn SetSqlDsnName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqldsnname: Param0) -> ::windows::runtime::Result<()> {
10872         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), bssqldsnname.into_param().abi()).ok()
10873     }
10874     #[cfg(feature = "Win32_Foundation")]
SqlDsnName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10875     pub unsafe fn SqlDsnName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10876         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10877         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10878     }
10879     #[cfg(feature = "Win32_Foundation")]
SetSqlLogSetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqllogsetname: Param0) -> ::windows::runtime::Result<()>10880     pub unsafe fn SetSqlLogSetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bssqllogsetname: Param0) -> ::windows::runtime::Result<()> {
10881         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), bssqllogsetname.into_param().abi()).ok()
10882     }
10883     #[cfg(feature = "Win32_Foundation")]
SqlLogSetName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10884     pub unsafe fn SqlLogSetName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10885         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10886         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10887     }
SetEnableDigitGrouping(&self, bstate: i16) -> ::windows::runtime::Result<()>10888     pub unsafe fn SetEnableDigitGrouping(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10889         (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10890     }
EnableDigitGrouping(&self) -> ::windows::runtime::Result<i16>10891     pub unsafe fn EnableDigitGrouping(&self) -> ::windows::runtime::Result<i16> {
10892         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10893         (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10894     }
SetEnableToolTips(&self, bstate: i16) -> ::windows::runtime::Result<()>10895     pub unsafe fn SetEnableToolTips(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10896         (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10897     }
EnableToolTips(&self) -> ::windows::runtime::Result<i16>10898     pub unsafe fn EnableToolTips(&self) -> ::windows::runtime::Result<i16> {
10899         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10900         (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10901     }
SetShowTimeAxisLabels(&self, bstate: i16) -> ::windows::runtime::Result<()>10902     pub unsafe fn SetShowTimeAxisLabels(&self, bstate: i16) -> ::windows::runtime::Result<()> {
10903         (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstate)).ok()
10904     }
ShowTimeAxisLabels(&self) -> ::windows::runtime::Result<i16>10905     pub unsafe fn ShowTimeAxisLabels(&self) -> ::windows::runtime::Result<i16> {
10906         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10907         (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10908     }
SetChartScroll(&self, bscroll: i16) -> ::windows::runtime::Result<()>10909     pub unsafe fn SetChartScroll(&self, bscroll: i16) -> ::windows::runtime::Result<()> {
10910         (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), ::std::mem::transmute(bscroll)).ok()
10911     }
ChartScroll(&self) -> ::windows::runtime::Result<i16>10912     pub unsafe fn ChartScroll(&self) -> ::windows::runtime::Result<i16> {
10913         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10914         (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
10915     }
SetDataPointCount(&self, inewcount: i32) -> ::windows::runtime::Result<()>10916     pub unsafe fn SetDataPointCount(&self, inewcount: i32) -> ::windows::runtime::Result<()> {
10917         (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), ::std::mem::transmute(inewcount)).ok()
10918     }
DataPointCount(&self) -> ::windows::runtime::Result<i32>10919     pub unsafe fn DataPointCount(&self) -> ::windows::runtime::Result<i32> {
10920         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10921         (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
10922     }
ScaleToFit(&self, bselectedcountersonly: i16) -> ::windows::runtime::Result<()>10923     pub unsafe fn ScaleToFit(&self, bselectedcountersonly: i16) -> ::windows::runtime::Result<()> {
10924         (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), ::std::mem::transmute(bselectedcountersonly)).ok()
10925     }
10926     #[cfg(feature = "Win32_Foundation")]
SaveAs<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType) -> ::windows::runtime::Result<()>10927     pub unsafe fn SaveAs<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType) -> ::windows::runtime::Result<()> {
10928         (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), bstrfilename.into_param().abi(), ::std::mem::transmute(esysmonfiletype)).ok()
10929     }
10930     #[cfg(feature = "Win32_Foundation")]
Relog<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType, ifilter: i32) -> ::windows::runtime::Result<()>10931     pub unsafe fn Relog<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfilename: Param0, esysmonfiletype: SysmonFileType, ifilter: i32) -> ::windows::runtime::Result<()> {
10932         (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), bstrfilename.into_param().abi(), ::std::mem::transmute(esysmonfiletype), ::std::mem::transmute(ifilter)).ok()
10933     }
ClearData(&self) -> ::windows::runtime::Result<()>10934     pub unsafe fn ClearData(&self) -> ::windows::runtime::Result<()> {
10935         (::windows::runtime::Interface::vtable(self).92)(::std::mem::transmute_copy(self)).ok()
10936     }
LogSourceStartTime(&self) -> ::windows::runtime::Result<f64>10937     pub unsafe fn LogSourceStartTime(&self) -> ::windows::runtime::Result<f64> {
10938         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10939         (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
10940     }
LogSourceStopTime(&self) -> ::windows::runtime::Result<f64>10941     pub unsafe fn LogSourceStopTime(&self) -> ::windows::runtime::Result<f64> {
10942         let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10943         (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__)
10944     }
SetLogViewRange(&self, starttime: f64, stoptime: f64) -> ::windows::runtime::Result<()>10945     pub unsafe fn SetLogViewRange(&self, starttime: f64, stoptime: f64) -> ::windows::runtime::Result<()> {
10946         (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime), ::std::mem::transmute(stoptime)).ok()
10947     }
GetLogViewRange(&self, starttime: *mut f64, stoptime: *mut f64) -> ::windows::runtime::Result<()>10948     pub unsafe fn GetLogViewRange(&self, starttime: *mut f64, stoptime: *mut f64) -> ::windows::runtime::Result<()> {
10949         (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), ::std::mem::transmute(starttime), ::std::mem::transmute(stoptime)).ok()
10950     }
BatchingLock(&self, flock: i16, ebatchreason: SysmonBatchReason) -> ::windows::runtime::Result<()>10951     pub unsafe fn BatchingLock(&self, flock: i16, ebatchreason: SysmonBatchReason) -> ::windows::runtime::Result<()> {
10952         (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self), ::std::mem::transmute(flock), ::std::mem::transmute(ebatchreason)).ok()
10953     }
10954     #[cfg(feature = "Win32_Foundation")]
LoadSettings<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsettingfilename: Param0) -> ::windows::runtime::Result<()>10955     pub unsafe fn LoadSettings<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsettingfilename: Param0) -> ::windows::runtime::Result<()> {
10956         (::windows::runtime::Interface::vtable(self).98)(::std::mem::transmute_copy(self), bstrsettingfilename.into_param().abi()).ok()
10957     }
10958 }
10959 unsafe impl ::windows::runtime::Interface for _ISystemMonitorUnion {
10960     type Vtable = _ISystemMonitorUnion_abi;
10961     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3366417208, 9823, 19941, [170, 37, 199, 218, 28, 229, 168, 244]);
10962 }
10963 impl ::std::convert::From<_ISystemMonitorUnion> for ::windows::runtime::IUnknown {
from(value: _ISystemMonitorUnion) -> Self10964     fn from(value: _ISystemMonitorUnion) -> Self {
10965         unsafe { ::std::mem::transmute(value) }
10966     }
10967 }
10968 impl ::std::convert::From<&_ISystemMonitorUnion> for ::windows::runtime::IUnknown {
from(value: &_ISystemMonitorUnion) -> Self10969     fn from(value: &_ISystemMonitorUnion) -> Self {
10970         ::std::convert::From::from(::std::clone::Clone::clone(value))
10971     }
10972 }
10973 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _ISystemMonitorUnion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10974     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10975         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10976     }
10977 }
10978 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_ISystemMonitorUnion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10979     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10980         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10981     }
10982 }
10983 #[repr(C)]
10984 #[doc(hidden)]
10985 pub struct _ISystemMonitorUnion_abi(
10986     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10987     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10988     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iappearance: *mut i32) -> ::windows::runtime::HRESULT,
10990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iappearance: i32) -> ::windows::runtime::HRESULT,
10991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
10992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
10993     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iborderstyle: *mut i32) -> ::windows::runtime::HRESULT,
10994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iborderstyle: i32) -> ::windows::runtime::HRESULT,
10995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
10996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
10997     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10998     #[cfg(not(feature = "Win32_System_Ole"))] usize,
10999     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11000     #[cfg(not(feature = "Win32_System_Ole"))] usize,
11001     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppicounters: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11002     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11003     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11004     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11005     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11006     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11007     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11009     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11010     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11011     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11012     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
11013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
11014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
11015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
11016     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvalue: f32) -> ::windows::runtime::HRESULT,
11017     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfvalue: *mut f32) -> ::windows::runtime::HRESULT,
11018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, edisplaytype: DisplayTypeConstants) -> ::windows::runtime::HRESULT,
11019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pedisplaytype: *mut DisplayTypeConstants) -> ::windows::runtime::HRESULT,
11020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11022     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11023     #[cfg(not(feature = "Win32_Foundation"))] usize,
11024     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11025     #[cfg(not(feature = "Win32_Foundation"))] usize,
11026     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11027     #[cfg(not(feature = "Win32_Foundation"))] usize,
11028     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11029     #[cfg(not(feature = "Win32_Foundation"))] usize,
11030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: i32, ppicounter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11035     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bspath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppicounter: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11036     #[cfg(not(feature = "Win32_Foundation"))] usize,
11037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctr: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
11039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
11040     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11041     #[cfg(not(feature = "Win32_Foundation"))] usize,
11042     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsfilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11043     #[cfg(not(feature = "Win32_Foundation"))] usize,
11044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: f64) -> ::windows::runtime::HRESULT,
11045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: *mut f64) -> ::windows::runtime::HRESULT,
11046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stoptime: f64) -> ::windows::runtime::HRESULT,
11047     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stoptime: *mut f64) -> ::windows::runtime::HRESULT,
11048     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
11049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
11050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
11051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, color: u32) -> ::windows::runtime::HRESULT,
11052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ereportvaluetype: ReportValueTypeConstants) -> ::windows::runtime::HRESULT,
11062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pereportvaluetype: *mut ReportValueTypeConstants) -> ::windows::runtime::HRESULT,
11063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ivalue: i32) -> ::windows::runtime::HRESULT,
11066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pivalue: *mut i32) -> ::windows::runtime::HRESULT,
11067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppilogfiles: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, edatasourcetype: DataSourceTypeConstants) -> ::windows::runtime::HRESULT,
11069     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pedatasourcetype: *mut DataSourceTypeConstants) -> ::windows::runtime::HRESULT,
11070     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqldsnname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11071     #[cfg(not(feature = "Win32_Foundation"))] usize,
11072     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqldsnname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11073     #[cfg(not(feature = "Win32_Foundation"))] usize,
11074     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqllogsetname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11075     #[cfg(not(feature = "Win32_Foundation"))] usize,
11076     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bssqllogsetname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11077     #[cfg(not(feature = "Win32_Foundation"))] usize,
11078     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11079     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11080     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11081     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11082     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstate: i16) -> ::windows::runtime::HRESULT,
11083     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstate: *mut i16) -> ::windows::runtime::HRESULT,
11084     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bscroll: i16) -> ::windows::runtime::HRESULT,
11085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbscroll: *mut i16) -> ::windows::runtime::HRESULT,
11086     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inewcount: i32) -> ::windows::runtime::HRESULT,
11087     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pidatapointcount: *mut i32) -> ::windows::runtime::HRESULT,
11088     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bselectedcountersonly: i16) -> ::windows::runtime::HRESULT,
11089     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, esysmonfiletype: SysmonFileType) -> ::windows::runtime::HRESULT,
11090     #[cfg(not(feature = "Win32_Foundation"))] usize,
11091     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, esysmonfiletype: SysmonFileType, ifilter: i32) -> ::windows::runtime::HRESULT,
11092     #[cfg(not(feature = "Win32_Foundation"))] usize,
11093     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11094     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdate: *mut f64) -> ::windows::runtime::HRESULT,
11095     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdate: *mut f64) -> ::windows::runtime::HRESULT,
11096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: f64, stoptime: f64) -> ::windows::runtime::HRESULT,
11097     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, starttime: *mut f64, stoptime: *mut f64) -> ::windows::runtime::HRESULT,
11098     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: i16, ebatchreason: SysmonBatchReason) -> ::windows::runtime::HRESULT,
11099     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsettingfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
11100     #[cfg(not(feature = "Win32_Foundation"))] usize,
11101 );
11102