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