1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 pub const BlockRange: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3037186599, 8708, 4573, [150, 106, 0, 26, 160, 27, 188, 88]);
3 pub const BlockRangeList: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3037186600, 8708, 4573, [150, 106, 0, 26, 160, 27, 188, 88]);
4 pub const BootOptions: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904974, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
5 pub const CATID_SMTP_DNSRESOLVERRECORDSINK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3171631974, 36355, 4562, [148, 246, 0, 192, 79, 121, 241, 214]);
6 pub const CATID_SMTP_DSN: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(582309681, 62968, 19747, [189, 143, 135, 181, 35, 113, 167, 58]);
7 pub const CATID_SMTP_GET_AUX_DOMAIN_INFO_FLAGS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2231318154, 64179, 17367, [188, 223, 105, 44, 91, 70, 230, 177]);
8 pub const CATID_SMTP_LOG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2479924536, 11294, 19304, [167, 201, 215, 58, 138, 166, 238, 151]);
9 pub const CATID_SMTP_MAXMSGSIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3958462942, 42622, 4562, [148, 247, 0, 192, 79, 121, 241, 214]);
10 pub const CATID_SMTP_MSGTRACKLOG: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3336524458, 32176, 4562, [148, 244, 0, 192, 79, 121, 241, 214]);
11 pub const CATID_SMTP_ON_BEFORE_DATA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653650, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
12 pub const CATID_SMTP_ON_INBOUND_COMMAND: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653645, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
13 pub const CATID_SMTP_ON_MESSAGE_START: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653648, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
14 pub const CATID_SMTP_ON_PER_RECIPIENT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653649, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
15 pub const CATID_SMTP_ON_SERVER_RESPONSE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653646, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
16 pub const CATID_SMTP_ON_SESSION_END: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653651, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
17 pub const CATID_SMTP_ON_SESSION_START: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4133653647, 3422, 4562, [170, 104, 0, 192, 79, 163, 91, 130]);
18 pub const CATID_SMTP_STORE_DRIVER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1494702160, 58675, 4561, [170, 103, 0, 192, 79, 163, 69, 246]);
19 pub const CATID_SMTP_TRANSPORT_CATEGORIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2516734627, 2618, 4562, [158, 0, 0, 192, 79, 163, 34, 186]);
20 pub const CATID_SMTP_TRANSPORT_POSTCATEGORIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1987155540, 1446, 4562, [157, 253, 0, 192, 79, 163, 34, 186]);
21 pub const CATID_SMTP_TRANSPORT_PRECATEGORIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2746022669, 33791, 4562, [158, 20, 0, 192, 79, 163, 34, 186]);
22 pub const CATID_SMTP_TRANSPORT_ROUTER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(674509001, 6224, 4562, [158, 3, 0, 192, 79, 163, 34, 186]);
23 pub const CATID_SMTP_TRANSPORT_SUBMISSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4282165795, 185, 4562, [157, 251, 0, 192, 79, 163, 34, 186]);
24 pub const CLSID_SmtpCat: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2990290359, 37401, 4562, [158, 23, 0, 192, 79, 163, 34, 186]);
25 #[inline]
CloseIMsgSession(lpmsgsess: *mut _MSGSESS)26 pub unsafe fn CloseIMsgSession(lpmsgsess: *mut _MSGSESS) {
27 #[cfg(windows)]
28 {
29 #[link(name = "windows")]
30 extern "system" {
31 fn CloseIMsgSession(lpmsgsess: *mut _MSGSESS);
32 }
33 ::std::mem::transmute(CloseIMsgSession(::std::mem::transmute(lpmsgsess)))
34 }
35 #[cfg(not(windows))]
36 unimplemented!("Unsupported target OS");
37 }
38 #[repr(transparent)]
39 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
40 pub struct DDiscFormat2DataEvents(::windows::runtime::IUnknown);
41 impl DDiscFormat2DataEvents {
42 #[cfg(feature = "Win32_System_Ole_Automation")]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()>43 pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()> {
44 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), progress.into_param().abi()).ok()
45 }
46 }
47 unsafe impl ::windows::runtime::Interface for DDiscFormat2DataEvents {
48 type Vtable = DDiscFormat2DataEvents_abi;
49 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801532, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
50 }
51 impl ::std::convert::From<DDiscFormat2DataEvents> for ::windows::runtime::IUnknown {
from(value: DDiscFormat2DataEvents) -> Self52 fn from(value: DDiscFormat2DataEvents) -> Self {
53 unsafe { ::std::mem::transmute(value) }
54 }
55 }
56 impl ::std::convert::From<&DDiscFormat2DataEvents> for ::windows::runtime::IUnknown {
from(value: &DDiscFormat2DataEvents) -> Self57 fn from(value: &DDiscFormat2DataEvents) -> Self {
58 ::std::convert::From::from(::std::clone::Clone::clone(value))
59 }
60 }
61 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DDiscFormat2DataEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>62 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
63 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
64 }
65 }
66 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DDiscFormat2DataEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>67 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
68 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
69 }
70 }
71 #[cfg(feature = "Win32_System_Ole_Automation")]
72 impl ::std::convert::From<DDiscFormat2DataEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: DDiscFormat2DataEvents) -> Self73 fn from(value: DDiscFormat2DataEvents) -> Self {
74 unsafe { ::std::mem::transmute(value) }
75 }
76 }
77 #[cfg(feature = "Win32_System_Ole_Automation")]
78 impl ::std::convert::From<&DDiscFormat2DataEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &DDiscFormat2DataEvents) -> Self79 fn from(value: &DDiscFormat2DataEvents) -> Self {
80 ::std::convert::From::from(::std::clone::Clone::clone(value))
81 }
82 }
83 #[cfg(feature = "Win32_System_Ole_Automation")]
84 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DDiscFormat2DataEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>85 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
86 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
87 }
88 }
89 #[cfg(feature = "Win32_System_Ole_Automation")]
90 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DDiscFormat2DataEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>91 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
92 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
93 }
94 }
95 #[repr(C)]
96 #[doc(hidden)]
97 pub struct DDiscFormat2DataEvents_abi(
98 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
99 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
100 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
102 #[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,
103 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
104 #[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,
105 #[cfg(not(feature = "Win32_Foundation"))] usize,
106 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
107 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
108 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
109 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, progress: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
110 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
111 );
112 #[repr(transparent)]
113 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
114 pub struct DDiscFormat2EraseEvents(::windows::runtime::IUnknown);
115 impl DDiscFormat2EraseEvents {
116 #[cfg(feature = "Win32_System_Ole_Automation")]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, elapsedseconds: i32, estimatedtotalseconds: i32) -> ::windows::runtime::Result<()>117 pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, elapsedseconds: i32, estimatedtotalseconds: i32) -> ::windows::runtime::Result<()> {
118 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), ::std::mem::transmute(elapsedseconds), ::std::mem::transmute(estimatedtotalseconds)).ok()
119 }
120 }
121 unsafe impl ::windows::runtime::Interface for DDiscFormat2EraseEvents {
122 type Vtable = DDiscFormat2EraseEvents_abi;
123 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801530, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
124 }
125 impl ::std::convert::From<DDiscFormat2EraseEvents> for ::windows::runtime::IUnknown {
from(value: DDiscFormat2EraseEvents) -> Self126 fn from(value: DDiscFormat2EraseEvents) -> Self {
127 unsafe { ::std::mem::transmute(value) }
128 }
129 }
130 impl ::std::convert::From<&DDiscFormat2EraseEvents> for ::windows::runtime::IUnknown {
from(value: &DDiscFormat2EraseEvents) -> Self131 fn from(value: &DDiscFormat2EraseEvents) -> Self {
132 ::std::convert::From::from(::std::clone::Clone::clone(value))
133 }
134 }
135 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DDiscFormat2EraseEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>136 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
137 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
138 }
139 }
140 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DDiscFormat2EraseEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>141 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
142 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
143 }
144 }
145 #[cfg(feature = "Win32_System_Ole_Automation")]
146 impl ::std::convert::From<DDiscFormat2EraseEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: DDiscFormat2EraseEvents) -> Self147 fn from(value: DDiscFormat2EraseEvents) -> Self {
148 unsafe { ::std::mem::transmute(value) }
149 }
150 }
151 #[cfg(feature = "Win32_System_Ole_Automation")]
152 impl ::std::convert::From<&DDiscFormat2EraseEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &DDiscFormat2EraseEvents) -> Self153 fn from(value: &DDiscFormat2EraseEvents) -> Self {
154 ::std::convert::From::from(::std::clone::Clone::clone(value))
155 }
156 }
157 #[cfg(feature = "Win32_System_Ole_Automation")]
158 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DDiscFormat2EraseEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>159 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
160 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
161 }
162 }
163 #[cfg(feature = "Win32_System_Ole_Automation")]
164 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DDiscFormat2EraseEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>165 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
166 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
167 }
168 }
169 #[repr(C)]
170 #[doc(hidden)]
171 pub struct DDiscFormat2EraseEvents_abi(
172 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
173 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
174 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
175 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
176 #[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,
177 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
178 #[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,
179 #[cfg(not(feature = "Win32_Foundation"))] usize,
180 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
182 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
183 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, elapsedseconds: i32, estimatedtotalseconds: i32) -> ::windows::runtime::HRESULT,
184 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
185 );
186 #[repr(transparent)]
187 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
188 pub struct DDiscFormat2RawCDEvents(::windows::runtime::IUnknown);
189 impl DDiscFormat2RawCDEvents {
190 #[cfg(feature = "Win32_System_Ole_Automation")]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()>191 pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()> {
192 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), progress.into_param().abi()).ok()
193 }
194 }
195 unsafe impl ::windows::runtime::Interface for DDiscFormat2RawCDEvents {
196 type Vtable = DDiscFormat2RawCDEvents_abi;
197 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801538, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
198 }
199 impl ::std::convert::From<DDiscFormat2RawCDEvents> for ::windows::runtime::IUnknown {
from(value: DDiscFormat2RawCDEvents) -> Self200 fn from(value: DDiscFormat2RawCDEvents) -> Self {
201 unsafe { ::std::mem::transmute(value) }
202 }
203 }
204 impl ::std::convert::From<&DDiscFormat2RawCDEvents> for ::windows::runtime::IUnknown {
from(value: &DDiscFormat2RawCDEvents) -> Self205 fn from(value: &DDiscFormat2RawCDEvents) -> Self {
206 ::std::convert::From::from(::std::clone::Clone::clone(value))
207 }
208 }
209 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DDiscFormat2RawCDEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>210 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
211 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
212 }
213 }
214 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DDiscFormat2RawCDEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>215 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
216 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
217 }
218 }
219 #[cfg(feature = "Win32_System_Ole_Automation")]
220 impl ::std::convert::From<DDiscFormat2RawCDEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: DDiscFormat2RawCDEvents) -> Self221 fn from(value: DDiscFormat2RawCDEvents) -> Self {
222 unsafe { ::std::mem::transmute(value) }
223 }
224 }
225 #[cfg(feature = "Win32_System_Ole_Automation")]
226 impl ::std::convert::From<&DDiscFormat2RawCDEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &DDiscFormat2RawCDEvents) -> Self227 fn from(value: &DDiscFormat2RawCDEvents) -> Self {
228 ::std::convert::From::from(::std::clone::Clone::clone(value))
229 }
230 }
231 #[cfg(feature = "Win32_System_Ole_Automation")]
232 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DDiscFormat2RawCDEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>233 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
234 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
235 }
236 }
237 #[cfg(feature = "Win32_System_Ole_Automation")]
238 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DDiscFormat2RawCDEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>239 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
240 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
241 }
242 }
243 #[repr(C)]
244 #[doc(hidden)]
245 pub struct DDiscFormat2RawCDEvents_abi(
246 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
248 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
249 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
250 #[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,
251 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
252 #[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,
253 #[cfg(not(feature = "Win32_Foundation"))] usize,
254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
256 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
257 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, progress: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
258 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
259 );
260 #[repr(transparent)]
261 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
262 pub struct DDiscFormat2TrackAtOnceEvents(::windows::runtime::IUnknown);
263 impl DDiscFormat2TrackAtOnceEvents {
264 #[cfg(feature = "Win32_System_Ole_Automation")]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()>265 pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()> {
266 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), progress.into_param().abi()).ok()
267 }
268 }
269 unsafe impl ::windows::runtime::Interface for DDiscFormat2TrackAtOnceEvents {
270 type Vtable = DDiscFormat2TrackAtOnceEvents_abi;
271 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801535, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
272 }
273 impl ::std::convert::From<DDiscFormat2TrackAtOnceEvents> for ::windows::runtime::IUnknown {
from(value: DDiscFormat2TrackAtOnceEvents) -> Self274 fn from(value: DDiscFormat2TrackAtOnceEvents) -> Self {
275 unsafe { ::std::mem::transmute(value) }
276 }
277 }
278 impl ::std::convert::From<&DDiscFormat2TrackAtOnceEvents> for ::windows::runtime::IUnknown {
from(value: &DDiscFormat2TrackAtOnceEvents) -> Self279 fn from(value: &DDiscFormat2TrackAtOnceEvents) -> Self {
280 ::std::convert::From::from(::std::clone::Clone::clone(value))
281 }
282 }
283 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DDiscFormat2TrackAtOnceEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>284 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
285 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
286 }
287 }
288 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DDiscFormat2TrackAtOnceEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>289 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
290 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
291 }
292 }
293 #[cfg(feature = "Win32_System_Ole_Automation")]
294 impl ::std::convert::From<DDiscFormat2TrackAtOnceEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: DDiscFormat2TrackAtOnceEvents) -> Self295 fn from(value: DDiscFormat2TrackAtOnceEvents) -> Self {
296 unsafe { ::std::mem::transmute(value) }
297 }
298 }
299 #[cfg(feature = "Win32_System_Ole_Automation")]
300 impl ::std::convert::From<&DDiscFormat2TrackAtOnceEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &DDiscFormat2TrackAtOnceEvents) -> Self301 fn from(value: &DDiscFormat2TrackAtOnceEvents) -> Self {
302 ::std::convert::From::from(::std::clone::Clone::clone(value))
303 }
304 }
305 #[cfg(feature = "Win32_System_Ole_Automation")]
306 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DDiscFormat2TrackAtOnceEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>307 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
308 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
309 }
310 }
311 #[cfg(feature = "Win32_System_Ole_Automation")]
312 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DDiscFormat2TrackAtOnceEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>313 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
314 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
315 }
316 }
317 #[repr(C)]
318 #[doc(hidden)]
319 pub struct DDiscFormat2TrackAtOnceEvents_abi(
320 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
321 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
322 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
323 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
324 #[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,
325 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
326 #[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,
327 #[cfg(not(feature = "Win32_Foundation"))] usize,
328 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
329 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
330 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
331 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, progress: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
332 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
333 );
334 #[repr(transparent)]
335 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
336 pub struct DDiscMaster2Events(::windows::runtime::IUnknown);
337 impl DDiscMaster2Events {
338 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
NotifyDeviceAdded<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, uniqueid: Param1) -> ::windows::runtime::Result<()>339 pub unsafe fn NotifyDeviceAdded<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, uniqueid: Param1) -> ::windows::runtime::Result<()> {
340 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), uniqueid.into_param().abi()).ok()
341 }
342 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
NotifyDeviceRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, uniqueid: Param1) -> ::windows::runtime::Result<()>343 pub unsafe fn NotifyDeviceRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, uniqueid: Param1) -> ::windows::runtime::Result<()> {
344 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), object.into_param().abi(), uniqueid.into_param().abi()).ok()
345 }
346 }
347 unsafe impl ::windows::runtime::Interface for DDiscMaster2Events {
348 type Vtable = DDiscMaster2Events_abi;
349 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801521, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
350 }
351 impl ::std::convert::From<DDiscMaster2Events> for ::windows::runtime::IUnknown {
from(value: DDiscMaster2Events) -> Self352 fn from(value: DDiscMaster2Events) -> Self {
353 unsafe { ::std::mem::transmute(value) }
354 }
355 }
356 impl ::std::convert::From<&DDiscMaster2Events> for ::windows::runtime::IUnknown {
from(value: &DDiscMaster2Events) -> Self357 fn from(value: &DDiscMaster2Events) -> Self {
358 ::std::convert::From::from(::std::clone::Clone::clone(value))
359 }
360 }
361 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DDiscMaster2Events {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>362 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
363 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
364 }
365 }
366 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DDiscMaster2Events {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>367 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
368 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
369 }
370 }
371 #[cfg(feature = "Win32_System_Ole_Automation")]
372 impl ::std::convert::From<DDiscMaster2Events> for super::super::System::Ole::Automation::IDispatch {
from(value: DDiscMaster2Events) -> Self373 fn from(value: DDiscMaster2Events) -> Self {
374 unsafe { ::std::mem::transmute(value) }
375 }
376 }
377 #[cfg(feature = "Win32_System_Ole_Automation")]
378 impl ::std::convert::From<&DDiscMaster2Events> for super::super::System::Ole::Automation::IDispatch {
from(value: &DDiscMaster2Events) -> Self379 fn from(value: &DDiscMaster2Events) -> Self {
380 ::std::convert::From::from(::std::clone::Clone::clone(value))
381 }
382 }
383 #[cfg(feature = "Win32_System_Ole_Automation")]
384 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DDiscMaster2Events {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>385 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
386 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
387 }
388 }
389 #[cfg(feature = "Win32_System_Ole_Automation")]
390 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DDiscMaster2Events {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>391 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
392 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
393 }
394 }
395 #[repr(C)]
396 #[doc(hidden)]
397 pub struct DDiscMaster2Events_abi(
398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
402 #[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,
403 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
404 #[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,
405 #[cfg(not(feature = "Win32_Foundation"))] usize,
406 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
407 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
408 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
409 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, uniqueid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
410 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
411 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, uniqueid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
412 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
413 );
414 #[repr(transparent)]
415 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
416 pub struct DFileSystemImageEvents(::windows::runtime::IUnknown);
417 impl DFileSystemImageEvents {
418 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, currentfile: Param1, copiedsectors: i32, totalsectors: i32) -> ::windows::runtime::Result<()>419 pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, currentfile: Param1, copiedsectors: i32, totalsectors: i32) -> ::windows::runtime::Result<()> {
420 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), currentfile.into_param().abi(), ::std::mem::transmute(copiedsectors), ::std::mem::transmute(totalsectors)).ok()
421 }
422 }
423 unsafe impl ::windows::runtime::Interface for DFileSystemImageEvents {
424 type Vtable = DFileSystemImageEvents_abi;
425 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904991, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
426 }
427 impl ::std::convert::From<DFileSystemImageEvents> for ::windows::runtime::IUnknown {
from(value: DFileSystemImageEvents) -> Self428 fn from(value: DFileSystemImageEvents) -> Self {
429 unsafe { ::std::mem::transmute(value) }
430 }
431 }
432 impl ::std::convert::From<&DFileSystemImageEvents> for ::windows::runtime::IUnknown {
from(value: &DFileSystemImageEvents) -> Self433 fn from(value: &DFileSystemImageEvents) -> Self {
434 ::std::convert::From::from(::std::clone::Clone::clone(value))
435 }
436 }
437 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DFileSystemImageEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>438 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
439 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
440 }
441 }
442 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DFileSystemImageEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>443 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
444 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
445 }
446 }
447 #[cfg(feature = "Win32_System_Ole_Automation")]
448 impl ::std::convert::From<DFileSystemImageEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: DFileSystemImageEvents) -> Self449 fn from(value: DFileSystemImageEvents) -> Self {
450 unsafe { ::std::mem::transmute(value) }
451 }
452 }
453 #[cfg(feature = "Win32_System_Ole_Automation")]
454 impl ::std::convert::From<&DFileSystemImageEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &DFileSystemImageEvents) -> Self455 fn from(value: &DFileSystemImageEvents) -> Self {
456 ::std::convert::From::from(::std::clone::Clone::clone(value))
457 }
458 }
459 #[cfg(feature = "Win32_System_Ole_Automation")]
460 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DFileSystemImageEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>461 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
462 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
463 }
464 }
465 #[cfg(feature = "Win32_System_Ole_Automation")]
466 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DFileSystemImageEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>467 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
468 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
469 }
470 }
471 #[repr(C)]
472 #[doc(hidden)]
473 pub struct DFileSystemImageEvents_abi(
474 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
475 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
476 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
477 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
478 #[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,
479 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
480 #[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,
481 #[cfg(not(feature = "Win32_Foundation"))] usize,
482 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
483 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
484 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
485 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, currentfile: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, copiedsectors: i32, totalsectors: i32) -> ::windows::runtime::HRESULT,
486 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
487 );
488 #[repr(transparent)]
489 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
490 pub struct DFileSystemImageImportEvents(::windows::runtime::IUnknown);
491 impl DFileSystemImageImportEvents {
492 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
UpdateImport<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, filesystem: FsiFileSystems, currentitem: Param2, importeddirectoryitems: i32, totaldirectoryitems: i32, importedfileitems: i32, totalfileitems: i32) -> ::windows::runtime::Result<()>493 pub unsafe fn UpdateImport<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, object: Param0, filesystem: FsiFileSystems, currentitem: Param2, importeddirectoryitems: i32, totaldirectoryitems: i32, importedfileitems: i32, totalfileitems: i32) -> ::windows::runtime::Result<()> {
494 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), ::std::mem::transmute(filesystem), currentitem.into_param().abi(), ::std::mem::transmute(importeddirectoryitems), ::std::mem::transmute(totaldirectoryitems), ::std::mem::transmute(importedfileitems), ::std::mem::transmute(totalfileitems)).ok()
495 }
496 }
497 unsafe impl ::windows::runtime::Interface for DFileSystemImageImportEvents {
498 type Vtable = DFileSystemImageImportEvents_abi;
499 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3529257209, 16519, 17254, [158, 36, 229, 91, 226, 134, 66, 75]);
500 }
501 impl ::std::convert::From<DFileSystemImageImportEvents> for ::windows::runtime::IUnknown {
from(value: DFileSystemImageImportEvents) -> Self502 fn from(value: DFileSystemImageImportEvents) -> Self {
503 unsafe { ::std::mem::transmute(value) }
504 }
505 }
506 impl ::std::convert::From<&DFileSystemImageImportEvents> for ::windows::runtime::IUnknown {
from(value: &DFileSystemImageImportEvents) -> Self507 fn from(value: &DFileSystemImageImportEvents) -> Self {
508 ::std::convert::From::from(::std::clone::Clone::clone(value))
509 }
510 }
511 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DFileSystemImageImportEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>512 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
513 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
514 }
515 }
516 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DFileSystemImageImportEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>517 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
518 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
519 }
520 }
521 #[cfg(feature = "Win32_System_Ole_Automation")]
522 impl ::std::convert::From<DFileSystemImageImportEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: DFileSystemImageImportEvents) -> Self523 fn from(value: DFileSystemImageImportEvents) -> Self {
524 unsafe { ::std::mem::transmute(value) }
525 }
526 }
527 #[cfg(feature = "Win32_System_Ole_Automation")]
528 impl ::std::convert::From<&DFileSystemImageImportEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &DFileSystemImageImportEvents) -> Self529 fn from(value: &DFileSystemImageImportEvents) -> Self {
530 ::std::convert::From::from(::std::clone::Clone::clone(value))
531 }
532 }
533 #[cfg(feature = "Win32_System_Ole_Automation")]
534 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DFileSystemImageImportEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>535 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
536 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
537 }
538 }
539 #[cfg(feature = "Win32_System_Ole_Automation")]
540 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DFileSystemImageImportEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>541 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
542 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
543 }
544 }
545 #[repr(C)]
546 #[doc(hidden)]
547 pub struct DFileSystemImageImportEvents_abi(
548 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
549 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
550 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
551 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
552 #[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,
553 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
554 #[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,
555 #[cfg(not(feature = "Win32_Foundation"))] usize,
556 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
557 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
558 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
559 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, filesystem: FsiFileSystems, currentitem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, importeddirectoryitems: i32, totaldirectoryitems: i32, importedfileitems: i32, totalfileitems: i32) -> ::windows::runtime::HRESULT,
560 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
561 );
562 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
563 #[repr(transparent)]
564 pub struct DISC_RECORDER_STATE_FLAGS(pub u32);
565 pub const RECORDER_BURNING: DISC_RECORDER_STATE_FLAGS = DISC_RECORDER_STATE_FLAGS(2u32);
566 pub const RECORDER_DOING_NOTHING: DISC_RECORDER_STATE_FLAGS = DISC_RECORDER_STATE_FLAGS(0u32);
567 pub const RECORDER_OPENED: DISC_RECORDER_STATE_FLAGS = DISC_RECORDER_STATE_FLAGS(1u32);
568 impl ::std::convert::From<u32> for DISC_RECORDER_STATE_FLAGS {
from(value: u32) -> Self569 fn from(value: u32) -> Self {
570 Self(value)
571 }
572 }
573 unsafe impl ::windows::runtime::Abi for DISC_RECORDER_STATE_FLAGS {
574 type Abi = Self;
575 type DefaultType = Self;
576 }
577 impl ::std::ops::BitOr for DISC_RECORDER_STATE_FLAGS {
578 type Output = Self;
bitor(self, rhs: Self) -> Self579 fn bitor(self, rhs: Self) -> Self {
580 Self(self.0 | rhs.0)
581 }
582 }
583 impl ::std::ops::BitAnd for DISC_RECORDER_STATE_FLAGS {
584 type Output = Self;
bitand(self, rhs: Self) -> Self585 fn bitand(self, rhs: Self) -> Self {
586 Self(self.0 & rhs.0)
587 }
588 }
589 impl ::std::ops::BitOrAssign for DISC_RECORDER_STATE_FLAGS {
bitor_assign(&mut self, rhs: Self)590 fn bitor_assign(&mut self, rhs: Self) {
591 self.0.bitor_assign(rhs.0)
592 }
593 }
594 impl ::std::ops::BitAndAssign for DISC_RECORDER_STATE_FLAGS {
bitand_assign(&mut self, rhs: Self)595 fn bitand_assign(&mut self, rhs: Self) {
596 self.0.bitand_assign(rhs.0)
597 }
598 }
599 impl ::std::ops::Not for DISC_RECORDER_STATE_FLAGS {
600 type Output = Self;
not(self) -> Self601 fn not(self) -> Self {
602 Self(self.0.not())
603 }
604 }
605 pub const DISPID_DDISCFORMAT2DATAEVENTS_UPDATE: u32 = 512u32;
606 pub const DISPID_DDISCFORMAT2RAWCDEVENTS_UPDATE: u32 = 512u32;
607 pub const DISPID_DDISCFORMAT2TAOEVENTS_UPDATE: u32 = 512u32;
608 pub const DISPID_DDISCMASTER2EVENTS_DEVICEADDED: u32 = 256u32;
609 pub const DISPID_DDISCMASTER2EVENTS_DEVICEREMOVED: u32 = 257u32;
610 pub const DISPID_DFILESYSTEMIMAGEEVENTS_UPDATE: u32 = 256u32;
611 pub const DISPID_DFILESYSTEMIMAGEIMPORTEVENTS_UPDATEIMPORT: u32 = 257u32;
612 pub const DISPID_DWRITEENGINE2EVENTS_UPDATE: u32 = 256u32;
613 pub const DISPID_IBLOCKRANGELIST_BLOCKRANGES: u32 = 256u32;
614 pub const DISPID_IBLOCKRANGE_ENDLBA: u32 = 257u32;
615 pub const DISPID_IBLOCKRANGE_STARTLBA: u32 = 256u32;
616 pub const DISPID_IDISCFORMAT2DATAEVENTARGS_CURRENTACTION: u32 = 771u32;
617 pub const DISPID_IDISCFORMAT2DATAEVENTARGS_ELAPSEDTIME: u32 = 768u32;
618 pub const DISPID_IDISCFORMAT2DATAEVENTARGS_ESTIMATEDREMAININGTIME: u32 = 769u32;
619 pub const DISPID_IDISCFORMAT2DATAEVENTARGS_ESTIMATEDTOTALTIME: u32 = 770u32;
620 pub const DISPID_IDISCFORMAT2DATA_BUFFERUNDERRUNFREEDISABLED: u32 = 257u32;
621 pub const DISPID_IDISCFORMAT2DATA_CANCELWRITE: u32 = 513u32;
622 pub const DISPID_IDISCFORMAT2DATA_CLIENTNAME: u32 = 272u32;
623 pub const DISPID_IDISCFORMAT2DATA_CURRENTMEDIASTATUS: u32 = 262u32;
624 pub const DISPID_IDISCFORMAT2DATA_CURRENTMEDIATYPE: u32 = 271u32;
625 pub const DISPID_IDISCFORMAT2DATA_CURRENTROTATIONTYPEISPURECAV: u32 = 276u32;
626 pub const DISPID_IDISCFORMAT2DATA_CURRENTWRITESPEED: u32 = 275u32;
627 pub const DISPID_IDISCFORMAT2DATA_DISABLEDVDCOMPATIBILITYMODE: u32 = 270u32;
628 pub const DISPID_IDISCFORMAT2DATA_FORCEMEDIATOBECLOSED: u32 = 269u32;
629 pub const DISPID_IDISCFORMAT2DATA_FORCEOVERWRITE: u32 = 279u32;
630 pub const DISPID_IDISCFORMAT2DATA_FREESECTORS: u32 = 265u32;
631 pub const DISPID_IDISCFORMAT2DATA_LASTSECTOROFPREVIOUSSESSION: u32 = 268u32;
632 pub const DISPID_IDISCFORMAT2DATA_MUTLISESSIONINTERFACES: u32 = 280u32;
633 pub const DISPID_IDISCFORMAT2DATA_NEXTWRITABLEADDRESS: u32 = 266u32;
634 pub const DISPID_IDISCFORMAT2DATA_POSTGAPALREADYINIMAGE: u32 = 260u32;
635 pub const DISPID_IDISCFORMAT2DATA_RECORDER: u32 = 256u32;
636 pub const DISPID_IDISCFORMAT2DATA_REQUESTEDROTATIONTYPEISPURECAV: u32 = 274u32;
637 pub const DISPID_IDISCFORMAT2DATA_REQUESTEDWRITESPEED: u32 = 273u32;
638 pub const DISPID_IDISCFORMAT2DATA_SETWRITESPEED: u32 = 514u32;
639 pub const DISPID_IDISCFORMAT2DATA_STARTSECTOROFPREVIOUSSESSION: u32 = 267u32;
640 pub const DISPID_IDISCFORMAT2DATA_SUPPORTEDWRITESPEEDDESCRIPTORS: u32 = 278u32;
641 pub const DISPID_IDISCFORMAT2DATA_SUPPORTEDWRITESPEEDS: u32 = 277u32;
642 pub const DISPID_IDISCFORMAT2DATA_TOTALSECTORS: u32 = 264u32;
643 pub const DISPID_IDISCFORMAT2DATA_WRITE: u32 = 512u32;
644 pub const DISPID_IDISCFORMAT2DATA_WRITEPROTECTSTATUS: u32 = 263u32;
645 pub const DISPID_IDISCFORMAT2ERASEEVENTS_UPDATE: u32 = 512u32;
646 pub const DISPID_IDISCFORMAT2ERASE_CLIENTNAME: u32 = 259u32;
647 pub const DISPID_IDISCFORMAT2ERASE_ERASEMEDIA: u32 = 513u32;
648 pub const DISPID_IDISCFORMAT2ERASE_FULLERASE: u32 = 257u32;
649 pub const DISPID_IDISCFORMAT2ERASE_MEDIATYPE: u32 = 258u32;
650 pub const DISPID_IDISCFORMAT2ERASE_RECORDER: u32 = 256u32;
651 pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_CURRENTACTION: u32 = 769u32;
652 pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_CURRENTTRACKNUMBER: u32 = 768u32;
653 pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_ELAPSEDTIME: u32 = 768u32;
654 pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_ESTIMATEDREMAININGTIME: u32 = 769u32;
655 pub const DISPID_IDISCFORMAT2RAWCDEVENTARGS_ESTIMATEDTOTALTIME: u32 = 770u32;
656 pub const DISPID_IDISCFORMAT2RAWCD_BUFFERUNDERRUNFREEDISABLED: u32 = 258u32;
657 pub const DISPID_IDISCFORMAT2RAWCD_CANCELWRITE: u32 = 515u32;
658 pub const DISPID_IDISCFORMAT2RAWCD_CLIENTNAME: u32 = 266u32;
659 pub const DISPID_IDISCFORMAT2RAWCD_CURRENTMEDIATYPE: u32 = 261u32;
660 pub const DISPID_IDISCFORMAT2RAWCD_CURRENTROTATIONTYPEISPURECAV: u32 = 270u32;
661 pub const DISPID_IDISCFORMAT2RAWCD_CURRENTWRITESPEED: u32 = 269u32;
662 pub const DISPID_IDISCFORMAT2RAWCD_LASTPOSSIBLESTARTOFLEADOUT: u32 = 260u32;
663 pub const DISPID_IDISCFORMAT2RAWCD_PREPAREMEDIA: u32 = 512u32;
664 pub const DISPID_IDISCFORMAT2RAWCD_RECORDER: u32 = 256u32;
665 pub const DISPID_IDISCFORMAT2RAWCD_RELEASEMEDIA: u32 = 516u32;
666 pub const DISPID_IDISCFORMAT2RAWCD_REQUESTEDDATASECTORTYPE: u32 = 265u32;
667 pub const DISPID_IDISCFORMAT2RAWCD_REQUESTEDROTATIONTYPEISPURECAV: u32 = 268u32;
668 pub const DISPID_IDISCFORMAT2RAWCD_REQUESTEDWRITESPEED: u32 = 267u32;
669 pub const DISPID_IDISCFORMAT2RAWCD_SETWRITESPEED: u32 = 517u32;
670 pub const DISPID_IDISCFORMAT2RAWCD_STARTOFNEXTSESSION: u32 = 259u32;
671 pub const DISPID_IDISCFORMAT2RAWCD_SUPPORTEDDATASECTORTYPES: u32 = 264u32;
672 pub const DISPID_IDISCFORMAT2RAWCD_SUPPORTEDWRITESPEEDDESCRIPTORS: u32 = 272u32;
673 pub const DISPID_IDISCFORMAT2RAWCD_SUPPORTEDWRITESPEEDS: u32 = 271u32;
674 pub const DISPID_IDISCFORMAT2RAWCD_WRITEMEDIA: u32 = 513u32;
675 pub const DISPID_IDISCFORMAT2RAWCD_WRITEMEDIAWITHVALIDATION: u32 = 514u32;
676 pub const DISPID_IDISCFORMAT2TAOEVENTARGS_CURRENTACTION: u32 = 769u32;
677 pub const DISPID_IDISCFORMAT2TAOEVENTARGS_CURRENTTRACKNUMBER: u32 = 768u32;
678 pub const DISPID_IDISCFORMAT2TAOEVENTARGS_ELAPSEDTIME: u32 = 770u32;
679 pub const DISPID_IDISCFORMAT2TAOEVENTARGS_ESTIMATEDREMAININGTIME: u32 = 771u32;
680 pub const DISPID_IDISCFORMAT2TAOEVENTARGS_ESTIMATEDTOTALTIME: u32 = 772u32;
681 pub const DISPID_IDISCFORMAT2TAO_ADDAUDIOTRACK: u32 = 513u32;
682 pub const DISPID_IDISCFORMAT2TAO_BUFFERUNDERRUNFREEDISABLED: u32 = 258u32;
683 pub const DISPID_IDISCFORMAT2TAO_CANCELADDTRACK: u32 = 514u32;
684 pub const DISPID_IDISCFORMAT2TAO_CLIENTNAME: u32 = 270u32;
685 pub const DISPID_IDISCFORMAT2TAO_CURRENTMEDIATYPE: u32 = 267u32;
686 pub const DISPID_IDISCFORMAT2TAO_CURRENTROTATIONTYPEISPURECAV: u32 = 274u32;
687 pub const DISPID_IDISCFORMAT2TAO_CURRENTWRITESPEED: u32 = 273u32;
688 pub const DISPID_IDISCFORMAT2TAO_DONOTFINALIZEMEDIA: u32 = 263u32;
689 pub const DISPID_IDISCFORMAT2TAO_EXPECTEDTABLEOFCONTENTS: u32 = 266u32;
690 pub const DISPID_IDISCFORMAT2TAO_FINISHMEDIA: u32 = 515u32;
691 pub const DISPID_IDISCFORMAT2TAO_FREESECTORSONMEDIA: u32 = 261u32;
692 pub const DISPID_IDISCFORMAT2TAO_NUMBEROFEXISTINGTRACKS: u32 = 259u32;
693 pub const DISPID_IDISCFORMAT2TAO_PREPAREMEDIA: u32 = 512u32;
694 pub const DISPID_IDISCFORMAT2TAO_RECORDER: u32 = 256u32;
695 pub const DISPID_IDISCFORMAT2TAO_REQUESTEDROTATIONTYPEISPURECAV: u32 = 272u32;
696 pub const DISPID_IDISCFORMAT2TAO_REQUESTEDWRITESPEED: u32 = 271u32;
697 pub const DISPID_IDISCFORMAT2TAO_SETWRITESPEED: u32 = 516u32;
698 pub const DISPID_IDISCFORMAT2TAO_SUPPORTEDWRITESPEEDDESCRIPTORS: u32 = 276u32;
699 pub const DISPID_IDISCFORMAT2TAO_SUPPORTEDWRITESPEEDS: u32 = 275u32;
700 pub const DISPID_IDISCFORMAT2TAO_TOTALSECTORSONMEDIA: u32 = 260u32;
701 pub const DISPID_IDISCFORMAT2TAO_USEDSECTORSONMEDIA: u32 = 262u32;
702 pub const DISPID_IDISCFORMAT2_MEDIAHEURISTICALLYBLANK: u32 = 1793u32;
703 pub const DISPID_IDISCFORMAT2_MEDIAPHYSICALLYBLANK: u32 = 1792u32;
704 pub const DISPID_IDISCFORMAT2_MEDIASUPPORTED: u32 = 2049u32;
705 pub const DISPID_IDISCFORMAT2_RECORDERSUPPORTED: u32 = 2048u32;
706 pub const DISPID_IDISCFORMAT2_SUPPORTEDMEDIATYPES: u32 = 1794u32;
707 pub const DISPID_IDISCRECORDER2_ACQUIREEXCLUSIVEACCESS: u32 = 258u32;
708 pub const DISPID_IDISCRECORDER2_ACTIVEDISCRECORDER: u32 = 0u32;
709 pub const DISPID_IDISCRECORDER2_CLOSETRAY: u32 = 257u32;
710 pub const DISPID_IDISCRECORDER2_CURRENTFEATUREPAGES: u32 = 521u32;
711 pub const DISPID_IDISCRECORDER2_CURRENTPROFILES: u32 = 523u32;
712 pub const DISPID_IDISCRECORDER2_DEVICECANLOADMEDIA: u32 = 518u32;
713 pub const DISPID_IDISCRECORDER2_DISABLEMCN: u32 = 260u32;
714 pub const DISPID_IDISCRECORDER2_EJECTMEDIA: u32 = 256u32;
715 pub const DISPID_IDISCRECORDER2_ENABLEMCN: u32 = 261u32;
716 pub const DISPID_IDISCRECORDER2_EXCLUSIVEACCESSOWNER: u32 = 525u32;
717 pub const DISPID_IDISCRECORDER2_INITIALIZEDISCRECORDER: u32 = 262u32;
718 pub const DISPID_IDISCRECORDER2_LEGACYDEVICENUMBER: u32 = 519u32;
719 pub const DISPID_IDISCRECORDER2_PRODUCTID: u32 = 514u32;
720 pub const DISPID_IDISCRECORDER2_PRODUCTREVISION: u32 = 515u32;
721 pub const DISPID_IDISCRECORDER2_RELEASEEXCLUSIVEACCESS: u32 = 259u32;
722 pub const DISPID_IDISCRECORDER2_SUPPORTEDFEATUREPAGES: u32 = 520u32;
723 pub const DISPID_IDISCRECORDER2_SUPPORTEDMODEPAGES: u32 = 524u32;
724 pub const DISPID_IDISCRECORDER2_SUPPORTEDPROFILES: u32 = 522u32;
725 pub const DISPID_IDISCRECORDER2_VENDORID: u32 = 513u32;
726 pub const DISPID_IDISCRECORDER2_VOLUMENAME: u32 = 516u32;
727 pub const DISPID_IDISCRECORDER2_VOLUMEPATHNAMES: u32 = 517u32;
728 pub const DISPID_IMULTISESSION_FIRSTDATASESSION: u32 = 512u32;
729 pub const DISPID_IMULTISESSION_FREESECTORS: u32 = 516u32;
730 pub const DISPID_IMULTISESSION_IMPORTRECORDER: u32 = 258u32;
731 pub const DISPID_IMULTISESSION_INUSE: u32 = 257u32;
732 pub const DISPID_IMULTISESSION_LASTSECTOROFPREVIOUSSESSION: u32 = 514u32;
733 pub const DISPID_IMULTISESSION_LASTWRITTENADDRESS: u32 = 518u32;
734 pub const DISPID_IMULTISESSION_NEXTWRITABLEADDRESS: u32 = 515u32;
735 pub const DISPID_IMULTISESSION_SECTORSONMEDIA: u32 = 519u32;
736 pub const DISPID_IMULTISESSION_STARTSECTOROFPREVIOUSSESSION: u32 = 513u32;
737 pub const DISPID_IMULTISESSION_SUPPORTEDONCURRENTMEDIA: u32 = 256u32;
738 pub const DISPID_IMULTISESSION_WRITEUNITSIZE: u32 = 517u32;
739 pub const DISPID_IRAWCDIMAGECREATOR_ADDSPECIALPREGAP: u32 = 514u32;
740 pub const DISPID_IRAWCDIMAGECREATOR_ADDSUBCODERWGENERATOR: u32 = 515u32;
741 pub const DISPID_IRAWCDIMAGECREATOR_ADDTRACK: u32 = 513u32;
742 pub const DISPID_IRAWCDIMAGECREATOR_CREATERESULTIMAGE: u32 = 512u32;
743 pub const DISPID_IRAWCDIMAGECREATOR_DISABLEGAPLESSAUDIO: u32 = 259u32;
744 pub const DISPID_IRAWCDIMAGECREATOR_EXPECTEDTABLEOFCONTENTS: u32 = 265u32;
745 pub const DISPID_IRAWCDIMAGECREATOR_MEDIACATALOGNUMBER: u32 = 260u32;
746 pub const DISPID_IRAWCDIMAGECREATOR_NUMBEROFEXISTINGTRACKS: u32 = 263u32;
747 pub const DISPID_IRAWCDIMAGECREATOR_RESULTINGIMAGETYPE: u32 = 256u32;
748 pub const DISPID_IRAWCDIMAGECREATOR_STARTINGTRACKNUMBER: u32 = 261u32;
749 pub const DISPID_IRAWCDIMAGECREATOR_STARTOFLEADOUT: u32 = 257u32;
750 pub const DISPID_IRAWCDIMAGECREATOR_STARTOFLEADOUTLIMIT: u32 = 258u32;
751 pub const DISPID_IRAWCDIMAGECREATOR_TRACKINFO: u32 = 262u32;
752 pub const DISPID_IRAWCDIMAGECREATOR_USEDSECTORSONDISC: u32 = 264u32;
753 pub const DISPID_IRAWCDTRACKINFO_AUDIOHASPREEMPHASIS: u32 = 262u32;
754 pub const DISPID_IRAWCDTRACKINFO_DIGITALAUDIOCOPYSETTING: u32 = 261u32;
755 pub const DISPID_IRAWCDTRACKINFO_ISRC: u32 = 260u32;
756 pub const DISPID_IRAWCDTRACKINFO_SECTORCOUNT: u32 = 257u32;
757 pub const DISPID_IRAWCDTRACKINFO_SECTORTYPE: u32 = 259u32;
758 pub const DISPID_IRAWCDTRACKINFO_STARTINGLBA: u32 = 256u32;
759 pub const DISPID_IRAWCDTRACKINFO_TRACKNUMBER: u32 = 258u32;
760 pub const DISPID_IWRITEENGINE2EVENTARGS_FREESYSTEMBUFFER: u32 = 264u32;
761 pub const DISPID_IWRITEENGINE2EVENTARGS_LASTREADLBA: u32 = 258u32;
762 pub const DISPID_IWRITEENGINE2EVENTARGS_LASTWRITTENLBA: u32 = 259u32;
763 pub const DISPID_IWRITEENGINE2EVENTARGS_SECTORCOUNT: u32 = 257u32;
764 pub const DISPID_IWRITEENGINE2EVENTARGS_STARTLBA: u32 = 256u32;
765 pub const DISPID_IWRITEENGINE2EVENTARGS_TOTALDEVICEBUFFER: u32 = 260u32;
766 pub const DISPID_IWRITEENGINE2EVENTARGS_TOTALSYSTEMBUFFER: u32 = 262u32;
767 pub const DISPID_IWRITEENGINE2EVENTARGS_USEDDEVICEBUFFER: u32 = 261u32;
768 pub const DISPID_IWRITEENGINE2EVENTARGS_USEDSYSTEMBUFFER: u32 = 263u32;
769 pub const DISPID_IWRITEENGINE2_BYTESPERSECTOR: u32 = 260u32;
770 pub const DISPID_IWRITEENGINE2_CANCELWRITE: u32 = 513u32;
771 pub const DISPID_IWRITEENGINE2_DISCRECORDER: u32 = 256u32;
772 pub const DISPID_IWRITEENGINE2_ENDINGSECTORSPERSECOND: u32 = 259u32;
773 pub const DISPID_IWRITEENGINE2_STARTINGSECTORSPERSECOND: u32 = 258u32;
774 pub const DISPID_IWRITEENGINE2_USESTREAMINGWRITE12: u32 = 257u32;
775 pub const DISPID_IWRITEENGINE2_WRITEINPROGRESS: u32 = 261u32;
776 pub const DISPID_IWRITEENGINE2_WRITESECTION: u32 = 512u32;
777 #[repr(transparent)]
778 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
779 pub struct DWriteEngine2Events(::windows::runtime::IUnknown);
780 impl DWriteEngine2Events {
781 #[cfg(feature = "Win32_System_Ole_Automation")]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()>782 pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch>>(&self, object: Param0, progress: Param1) -> ::windows::runtime::Result<()> {
783 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), object.into_param().abi(), progress.into_param().abi()).ok()
784 }
785 }
786 unsafe impl ::windows::runtime::Interface for DWriteEngine2Events {
787 type Vtable = DWriteEngine2Events_abi;
788 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801527, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
789 }
790 impl ::std::convert::From<DWriteEngine2Events> for ::windows::runtime::IUnknown {
from(value: DWriteEngine2Events) -> Self791 fn from(value: DWriteEngine2Events) -> Self {
792 unsafe { ::std::mem::transmute(value) }
793 }
794 }
795 impl ::std::convert::From<&DWriteEngine2Events> for ::windows::runtime::IUnknown {
from(value: &DWriteEngine2Events) -> Self796 fn from(value: &DWriteEngine2Events) -> Self {
797 ::std::convert::From::from(::std::clone::Clone::clone(value))
798 }
799 }
800 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DWriteEngine2Events {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>801 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
802 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
803 }
804 }
805 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DWriteEngine2Events {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>806 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
807 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
808 }
809 }
810 #[cfg(feature = "Win32_System_Ole_Automation")]
811 impl ::std::convert::From<DWriteEngine2Events> for super::super::System::Ole::Automation::IDispatch {
from(value: DWriteEngine2Events) -> Self812 fn from(value: DWriteEngine2Events) -> Self {
813 unsafe { ::std::mem::transmute(value) }
814 }
815 }
816 #[cfg(feature = "Win32_System_Ole_Automation")]
817 impl ::std::convert::From<&DWriteEngine2Events> for super::super::System::Ole::Automation::IDispatch {
from(value: &DWriteEngine2Events) -> Self818 fn from(value: &DWriteEngine2Events) -> Self {
819 ::std::convert::From::from(::std::clone::Clone::clone(value))
820 }
821 }
822 #[cfg(feature = "Win32_System_Ole_Automation")]
823 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for DWriteEngine2Events {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>824 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
825 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
826 }
827 }
828 #[cfg(feature = "Win32_System_Ole_Automation")]
829 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &DWriteEngine2Events {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>830 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
831 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
832 }
833 }
834 #[repr(C)]
835 #[doc(hidden)]
836 pub struct DWriteEngine2Events_abi(
837 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
838 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
839 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
840 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
841 #[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,
842 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
843 #[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,
844 #[cfg(not(feature = "Win32_Foundation"))] usize,
845 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
846 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
847 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
848 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, object: ::windows::runtime::RawPtr, progress: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
849 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
850 );
851 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
852 #[repr(transparent)]
853 pub struct EmulationType(pub i32);
854 pub const EmulationNone: EmulationType = EmulationType(0i32);
855 pub const Emulation12MFloppy: EmulationType = EmulationType(1i32);
856 pub const Emulation144MFloppy: EmulationType = EmulationType(2i32);
857 pub const Emulation288MFloppy: EmulationType = EmulationType(3i32);
858 pub const EmulationHardDisk: EmulationType = EmulationType(4i32);
859 impl ::std::convert::From<i32> for EmulationType {
from(value: i32) -> Self860 fn from(value: i32) -> Self {
861 Self(value)
862 }
863 }
864 unsafe impl ::windows::runtime::Abi for EmulationType {
865 type Abi = Self;
866 type DefaultType = Self;
867 }
868 pub const EnumFsiItems: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904966, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
869 pub const EnumProgressItems: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904970, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
870 pub const FileSystemImageResult: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904972, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
871 pub const FsiDirectoryItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904968, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
872 pub const FsiFileItem: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904967, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
873 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
874 #[repr(transparent)]
875 pub struct FsiFileSystems(pub i32);
876 pub const FsiFileSystemNone: FsiFileSystems = FsiFileSystems(0i32);
877 pub const FsiFileSystemISO9660: FsiFileSystems = FsiFileSystems(1i32);
878 pub const FsiFileSystemJoliet: FsiFileSystems = FsiFileSystems(2i32);
879 pub const FsiFileSystemUDF: FsiFileSystems = FsiFileSystems(4i32);
880 pub const FsiFileSystemUnknown: FsiFileSystems = FsiFileSystems(1073741824i32);
881 impl ::std::convert::From<i32> for FsiFileSystems {
from(value: i32) -> Self882 fn from(value: i32) -> Self {
883 Self(value)
884 }
885 }
886 unsafe impl ::windows::runtime::Abi for FsiFileSystems {
887 type Abi = Self;
888 type DefaultType = Self;
889 }
890 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
891 #[repr(transparent)]
892 pub struct FsiItemType(pub i32);
893 pub const FsiItemNotFound: FsiItemType = FsiItemType(0i32);
894 pub const FsiItemDirectory: FsiItemType = FsiItemType(1i32);
895 pub const FsiItemFile: FsiItemType = FsiItemType(2i32);
896 impl ::std::convert::From<i32> for FsiItemType {
from(value: i32) -> Self897 fn from(value: i32) -> Self {
898 Self(value)
899 }
900 }
901 unsafe impl ::windows::runtime::Abi for FsiItemType {
902 type Abi = Self;
903 type DefaultType = Self;
904 }
905 pub const FsiNamedStreams: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3333880045, 27929, 17588, [181, 57, 177, 89, 183, 147, 163, 45]);
906 pub const FsiStream: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904973, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
907 pub const GUID_SMTPSVC_SOURCE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(456918630, 58480, 4561, [170, 103, 0, 192, 79, 163, 69, 246]);
908 pub const GUID_SMTP_SOURCE_TYPE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4217750748, 58472, 4561, [170, 103, 0, 192, 79, 163, 69, 246]);
909 #[cfg(feature = "Win32_System_AddressBook")]
910 #[inline]
GetAttribIMsgOnIStg(lpobject: *mut ::std::ffi::c_void, lpproptagarray: *mut super::super::System::AddressBook::SPropTagArray, lpppropattrarray: *mut *mut SPropAttrArray) -> ::windows::runtime::Result<()>911 pub unsafe fn GetAttribIMsgOnIStg(lpobject: *mut ::std::ffi::c_void, lpproptagarray: *mut super::super::System::AddressBook::SPropTagArray, lpppropattrarray: *mut *mut SPropAttrArray) -> ::windows::runtime::Result<()> {
912 #[cfg(windows)]
913 {
914 #[link(name = "windows")]
915 extern "system" {
916 fn GetAttribIMsgOnIStg(lpobject: *mut ::std::ffi::c_void, lpproptagarray: *mut super::super::System::AddressBook::SPropTagArray, lpppropattrarray: *mut *mut SPropAttrArray) -> ::windows::runtime::HRESULT;
917 }
918 GetAttribIMsgOnIStg(::std::mem::transmute(lpobject), ::std::mem::transmute(lpproptagarray), ::std::mem::transmute(lpppropattrarray)).ok()
919 }
920 #[cfg(not(windows))]
921 unimplemented!("Unsupported target OS");
922 }
923 #[repr(transparent)]
924 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
925 pub struct IBlockRange(::windows::runtime::IUnknown);
926 impl IBlockRange {
StartLba(&self) -> ::windows::runtime::Result<i32>927 pub unsafe fn StartLba(&self) -> ::windows::runtime::Result<i32> {
928 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
929 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
930 }
EndLba(&self) -> ::windows::runtime::Result<i32>931 pub unsafe fn EndLba(&self) -> ::windows::runtime::Result<i32> {
932 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
933 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
934 }
935 }
936 unsafe impl ::windows::runtime::Interface for IBlockRange {
937 type Vtable = IBlockRange_abi;
938 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3037186597, 8708, 4573, [150, 106, 0, 26, 160, 27, 188, 88]);
939 }
940 impl ::std::convert::From<IBlockRange> for ::windows::runtime::IUnknown {
from(value: IBlockRange) -> Self941 fn from(value: IBlockRange) -> Self {
942 unsafe { ::std::mem::transmute(value) }
943 }
944 }
945 impl ::std::convert::From<&IBlockRange> for ::windows::runtime::IUnknown {
from(value: &IBlockRange) -> Self946 fn from(value: &IBlockRange) -> Self {
947 ::std::convert::From::from(::std::clone::Clone::clone(value))
948 }
949 }
950 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IBlockRange {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>951 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
952 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
953 }
954 }
955 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IBlockRange {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>956 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
957 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
958 }
959 }
960 #[cfg(feature = "Win32_System_Ole_Automation")]
961 impl ::std::convert::From<IBlockRange> for super::super::System::Ole::Automation::IDispatch {
from(value: IBlockRange) -> Self962 fn from(value: IBlockRange) -> Self {
963 unsafe { ::std::mem::transmute(value) }
964 }
965 }
966 #[cfg(feature = "Win32_System_Ole_Automation")]
967 impl ::std::convert::From<&IBlockRange> for super::super::System::Ole::Automation::IDispatch {
from(value: &IBlockRange) -> Self968 fn from(value: &IBlockRange) -> Self {
969 ::std::convert::From::from(::std::clone::Clone::clone(value))
970 }
971 }
972 #[cfg(feature = "Win32_System_Ole_Automation")]
973 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IBlockRange {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>974 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
975 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
976 }
977 }
978 #[cfg(feature = "Win32_System_Ole_Automation")]
979 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IBlockRange {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>980 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
981 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
982 }
983 }
984 #[repr(C)]
985 #[doc(hidden)]
986 pub struct IBlockRange_abi(
987 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
988 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
989 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
990 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
991 #[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,
992 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
993 #[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,
994 #[cfg(not(feature = "Win32_Foundation"))] usize,
995 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
996 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
997 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
998 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
999 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1000 );
1001 #[repr(transparent)]
1002 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1003 pub struct IBlockRangeList(::windows::runtime::IUnknown);
1004 impl IBlockRangeList {
1005 #[cfg(feature = "Win32_System_Com")]
BlockRanges(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1006 pub unsafe fn BlockRanges(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1007 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1008 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1009 }
1010 }
1011 unsafe impl ::windows::runtime::Interface for IBlockRangeList {
1012 type Vtable = IBlockRangeList_abi;
1013 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3037186598, 8708, 4573, [150, 106, 0, 26, 160, 27, 188, 88]);
1014 }
1015 impl ::std::convert::From<IBlockRangeList> for ::windows::runtime::IUnknown {
from(value: IBlockRangeList) -> Self1016 fn from(value: IBlockRangeList) -> Self {
1017 unsafe { ::std::mem::transmute(value) }
1018 }
1019 }
1020 impl ::std::convert::From<&IBlockRangeList> for ::windows::runtime::IUnknown {
from(value: &IBlockRangeList) -> Self1021 fn from(value: &IBlockRangeList) -> Self {
1022 ::std::convert::From::from(::std::clone::Clone::clone(value))
1023 }
1024 }
1025 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IBlockRangeList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1026 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1027 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1028 }
1029 }
1030 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IBlockRangeList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1031 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1032 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1033 }
1034 }
1035 #[cfg(feature = "Win32_System_Ole_Automation")]
1036 impl ::std::convert::From<IBlockRangeList> for super::super::System::Ole::Automation::IDispatch {
from(value: IBlockRangeList) -> Self1037 fn from(value: IBlockRangeList) -> Self {
1038 unsafe { ::std::mem::transmute(value) }
1039 }
1040 }
1041 #[cfg(feature = "Win32_System_Ole_Automation")]
1042 impl ::std::convert::From<&IBlockRangeList> for super::super::System::Ole::Automation::IDispatch {
from(value: &IBlockRangeList) -> Self1043 fn from(value: &IBlockRangeList) -> Self {
1044 ::std::convert::From::from(::std::clone::Clone::clone(value))
1045 }
1046 }
1047 #[cfg(feature = "Win32_System_Ole_Automation")]
1048 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IBlockRangeList {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1049 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1050 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
1051 }
1052 }
1053 #[cfg(feature = "Win32_System_Ole_Automation")]
1054 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IBlockRangeList {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1055 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1056 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1057 }
1058 }
1059 #[repr(C)]
1060 #[doc(hidden)]
1061 pub struct IBlockRangeList_abi(
1062 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1063 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1066 #[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,
1067 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1068 #[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,
1069 #[cfg(not(feature = "Win32_Foundation"))] usize,
1070 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1071 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1072 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1073 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1074 #[cfg(not(feature = "Win32_System_Com"))] usize,
1075 );
1076 #[repr(transparent)]
1077 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1078 pub struct IBootOptions(::windows::runtime::IUnknown);
1079 impl IBootOptions {
1080 #[cfg(feature = "Win32_System_Com")]
BootImage(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream>1081 pub unsafe fn BootImage(&self) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
1082 let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1083 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
1084 }
1085 #[cfg(feature = "Win32_Foundation")]
Manufacturer(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1086 pub unsafe fn Manufacturer(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1087 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1088 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1089 }
1090 #[cfg(feature = "Win32_Foundation")]
SetManufacturer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()>1091 pub unsafe fn SetManufacturer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
1092 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
1093 }
PlatformId(&self) -> ::windows::runtime::Result<PlatformId>1094 pub unsafe fn PlatformId(&self) -> ::windows::runtime::Result<PlatformId> {
1095 let mut result__: <PlatformId as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1096 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PlatformId>(result__)
1097 }
SetPlatformId(&self, newval: PlatformId) -> ::windows::runtime::Result<()>1098 pub unsafe fn SetPlatformId(&self, newval: PlatformId) -> ::windows::runtime::Result<()> {
1099 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
1100 }
Emulation(&self) -> ::windows::runtime::Result<EmulationType>1101 pub unsafe fn Emulation(&self) -> ::windows::runtime::Result<EmulationType> {
1102 let mut result__: <EmulationType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1103 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<EmulationType>(result__)
1104 }
SetEmulation(&self, newval: EmulationType) -> ::windows::runtime::Result<()>1105 pub unsafe fn SetEmulation(&self, newval: EmulationType) -> ::windows::runtime::Result<()> {
1106 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
1107 }
ImageSize(&self) -> ::windows::runtime::Result<u32>1108 pub unsafe fn ImageSize(&self) -> ::windows::runtime::Result<u32> {
1109 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1110 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1111 }
1112 #[cfg(feature = "Win32_System_Com")]
AssignBootImage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, newval: Param0) -> ::windows::runtime::Result<()>1113 pub unsafe fn AssignBootImage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
1114 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
1115 }
1116 }
1117 unsafe impl ::windows::runtime::Interface for IBootOptions {
1118 type Vtable = IBootOptions_abi;
1119 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904980, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
1120 }
1121 impl ::std::convert::From<IBootOptions> for ::windows::runtime::IUnknown {
from(value: IBootOptions) -> Self1122 fn from(value: IBootOptions) -> Self {
1123 unsafe { ::std::mem::transmute(value) }
1124 }
1125 }
1126 impl ::std::convert::From<&IBootOptions> for ::windows::runtime::IUnknown {
from(value: &IBootOptions) -> Self1127 fn from(value: &IBootOptions) -> Self {
1128 ::std::convert::From::from(::std::clone::Clone::clone(value))
1129 }
1130 }
1131 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IBootOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1132 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1133 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1134 }
1135 }
1136 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IBootOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1137 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1138 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1139 }
1140 }
1141 #[cfg(feature = "Win32_System_Ole_Automation")]
1142 impl ::std::convert::From<IBootOptions> for super::super::System::Ole::Automation::IDispatch {
from(value: IBootOptions) -> Self1143 fn from(value: IBootOptions) -> Self {
1144 unsafe { ::std::mem::transmute(value) }
1145 }
1146 }
1147 #[cfg(feature = "Win32_System_Ole_Automation")]
1148 impl ::std::convert::From<&IBootOptions> for super::super::System::Ole::Automation::IDispatch {
from(value: &IBootOptions) -> Self1149 fn from(value: &IBootOptions) -> Self {
1150 ::std::convert::From::from(::std::clone::Clone::clone(value))
1151 }
1152 }
1153 #[cfg(feature = "Win32_System_Ole_Automation")]
1154 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IBootOptions {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1155 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1156 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
1157 }
1158 }
1159 #[cfg(feature = "Win32_System_Ole_Automation")]
1160 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IBootOptions {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1161 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1162 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1163 }
1164 }
1165 #[repr(C)]
1166 #[doc(hidden)]
1167 pub struct IBootOptions_abi(
1168 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1169 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1170 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1171 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1172 #[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,
1173 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1174 #[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,
1175 #[cfg(not(feature = "Win32_Foundation"))] usize,
1176 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1177 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1178 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1179 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1180 #[cfg(not(feature = "Win32_System_Com"))] usize,
1181 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1182 #[cfg(not(feature = "Win32_Foundation"))] usize,
1183 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1184 #[cfg(not(feature = "Win32_Foundation"))] usize,
1185 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut PlatformId) -> ::windows::runtime::HRESULT,
1186 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: PlatformId) -> ::windows::runtime::HRESULT,
1187 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut EmulationType) -> ::windows::runtime::HRESULT,
1188 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: EmulationType) -> ::windows::runtime::HRESULT,
1189 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut u32) -> ::windows::runtime::HRESULT,
1190 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1191 #[cfg(not(feature = "Win32_System_Com"))] usize,
1192 );
1193 #[repr(transparent)]
1194 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1195 pub struct IBurnVerification(::windows::runtime::IUnknown);
1196 impl IBurnVerification {
SetBurnVerificationLevel(&self, value: IMAPI_BURN_VERIFICATION_LEVEL) -> ::windows::runtime::Result<()>1197 pub unsafe fn SetBurnVerificationLevel(&self, value: IMAPI_BURN_VERIFICATION_LEVEL) -> ::windows::runtime::Result<()> {
1198 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1199 }
BurnVerificationLevel(&self) -> ::windows::runtime::Result<IMAPI_BURN_VERIFICATION_LEVEL>1200 pub unsafe fn BurnVerificationLevel(&self) -> ::windows::runtime::Result<IMAPI_BURN_VERIFICATION_LEVEL> {
1201 let mut result__: <IMAPI_BURN_VERIFICATION_LEVEL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1202 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_BURN_VERIFICATION_LEVEL>(result__)
1203 }
1204 }
1205 unsafe impl ::windows::runtime::Interface for IBurnVerification {
1206 type Vtable = IBurnVerification_abi;
1207 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3539982388, 38283, 17005, [132, 112, 42, 19, 135, 156, 106, 145]);
1208 }
1209 impl ::std::convert::From<IBurnVerification> for ::windows::runtime::IUnknown {
from(value: IBurnVerification) -> Self1210 fn from(value: IBurnVerification) -> Self {
1211 unsafe { ::std::mem::transmute(value) }
1212 }
1213 }
1214 impl ::std::convert::From<&IBurnVerification> for ::windows::runtime::IUnknown {
from(value: &IBurnVerification) -> Self1215 fn from(value: &IBurnVerification) -> Self {
1216 ::std::convert::From::from(::std::clone::Clone::clone(value))
1217 }
1218 }
1219 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IBurnVerification {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1220 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1221 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1222 }
1223 }
1224 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IBurnVerification {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1225 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1226 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1227 }
1228 }
1229 #[repr(C)]
1230 #[doc(hidden)]
1231 pub struct IBurnVerification_abi(
1232 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1233 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1234 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1235 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: IMAPI_BURN_VERIFICATION_LEVEL) -> ::windows::runtime::HRESULT,
1236 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_BURN_VERIFICATION_LEVEL) -> ::windows::runtime::HRESULT,
1237 );
1238 #[repr(transparent)]
1239 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1240 pub struct IDiscFormat2(::windows::runtime::IUnknown);
1241 impl IDiscFormat2 {
IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1242 pub unsafe fn IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1243 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1244 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1245 }
IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1246 pub unsafe fn IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1247 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1248 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1249 }
MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16>1250 pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1251 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1252 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1253 }
MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16>1254 pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1255 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1256 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1257 }
1258 #[cfg(feature = "Win32_System_Com")]
SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1259 pub unsafe fn SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1260 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1261 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1262 }
1263 }
1264 unsafe impl ::windows::runtime::Interface for IDiscFormat2 {
1265 type Vtable = IDiscFormat2_abi;
1266 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801554, 36708, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
1267 }
1268 impl ::std::convert::From<IDiscFormat2> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2) -> Self1269 fn from(value: IDiscFormat2) -> Self {
1270 unsafe { ::std::mem::transmute(value) }
1271 }
1272 }
1273 impl ::std::convert::From<&IDiscFormat2> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2) -> Self1274 fn from(value: &IDiscFormat2) -> Self {
1275 ::std::convert::From::from(::std::clone::Clone::clone(value))
1276 }
1277 }
1278 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1279 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1280 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1281 }
1282 }
1283 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1284 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1285 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1286 }
1287 }
1288 #[cfg(feature = "Win32_System_Ole_Automation")]
1289 impl ::std::convert::From<IDiscFormat2> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2) -> Self1290 fn from(value: IDiscFormat2) -> Self {
1291 unsafe { ::std::mem::transmute(value) }
1292 }
1293 }
1294 #[cfg(feature = "Win32_System_Ole_Automation")]
1295 impl ::std::convert::From<&IDiscFormat2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2) -> Self1296 fn from(value: &IDiscFormat2) -> Self {
1297 ::std::convert::From::from(::std::clone::Clone::clone(value))
1298 }
1299 }
1300 #[cfg(feature = "Win32_System_Ole_Automation")]
1301 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1302 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1303 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
1304 }
1305 }
1306 #[cfg(feature = "Win32_System_Ole_Automation")]
1307 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1308 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1309 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1310 }
1311 }
1312 #[repr(C)]
1313 #[doc(hidden)]
1314 pub struct IDiscFormat2_abi(
1315 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1316 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1317 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1318 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1319 #[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,
1320 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1321 #[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,
1322 #[cfg(not(feature = "Win32_Foundation"))] usize,
1323 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1324 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1325 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1326 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1327 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1328 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1329 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1330 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1331 #[cfg(not(feature = "Win32_System_Com"))] usize,
1332 );
1333 #[repr(transparent)]
1334 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1335 pub struct IDiscFormat2Data(::windows::runtime::IUnknown);
1336 impl IDiscFormat2Data {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1337 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1338 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1339 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1340 }
1341 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>1342 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
1343 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1344 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
1345 }
1346 #[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<()>1347 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<()> {
1348 (::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()
1349 }
1350 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1351 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1352 (::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()
1353 }
IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1354 pub unsafe fn IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1355 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1356 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1357 }
IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1358 pub unsafe fn IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1359 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1360 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1361 }
MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16>1362 pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1363 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1364 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1365 }
MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16>1366 pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1367 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1368 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1369 }
1370 #[cfg(feature = "Win32_System_Com")]
SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1371 pub unsafe fn SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1372 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1373 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1374 }
SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()>1375 pub unsafe fn SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1376 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
1377 }
Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2>1378 pub unsafe fn Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2> {
1379 let mut result__: <IDiscRecorder2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1380 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDiscRecorder2>(result__)
1381 }
SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::runtime::Result<()>1382 pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::runtime::Result<()> {
1383 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1384 }
BufferUnderrunFreeDisabled(&self) -> ::windows::runtime::Result<i16>1385 pub unsafe fn BufferUnderrunFreeDisabled(&self) -> ::windows::runtime::Result<i16> {
1386 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1387 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1388 }
SetPostgapAlreadyInImage(&self, value: i16) -> ::windows::runtime::Result<()>1389 pub unsafe fn SetPostgapAlreadyInImage(&self, value: i16) -> ::windows::runtime::Result<()> {
1390 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1391 }
PostgapAlreadyInImage(&self) -> ::windows::runtime::Result<i16>1392 pub unsafe fn PostgapAlreadyInImage(&self) -> ::windows::runtime::Result<i16> {
1393 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1394 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1395 }
CurrentMediaStatus(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_DATA_MEDIA_STATE>1396 pub unsafe fn CurrentMediaStatus(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_DATA_MEDIA_STATE> {
1397 let mut result__: <IMAPI_FORMAT2_DATA_MEDIA_STATE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1398 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_FORMAT2_DATA_MEDIA_STATE>(result__)
1399 }
WriteProtectStatus(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_WRITE_PROTECT_STATE>1400 pub unsafe fn WriteProtectStatus(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_WRITE_PROTECT_STATE> {
1401 let mut result__: <IMAPI_MEDIA_WRITE_PROTECT_STATE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1402 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_MEDIA_WRITE_PROTECT_STATE>(result__)
1403 }
TotalSectorsOnMedia(&self) -> ::windows::runtime::Result<i32>1404 pub unsafe fn TotalSectorsOnMedia(&self) -> ::windows::runtime::Result<i32> {
1405 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1406 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1407 }
FreeSectorsOnMedia(&self) -> ::windows::runtime::Result<i32>1408 pub unsafe fn FreeSectorsOnMedia(&self) -> ::windows::runtime::Result<i32> {
1409 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1410 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1411 }
NextWritableAddress(&self) -> ::windows::runtime::Result<i32>1412 pub unsafe fn NextWritableAddress(&self) -> ::windows::runtime::Result<i32> {
1413 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1414 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1415 }
StartAddressOfPreviousSession(&self) -> ::windows::runtime::Result<i32>1416 pub unsafe fn StartAddressOfPreviousSession(&self) -> ::windows::runtime::Result<i32> {
1417 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1418 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1419 }
LastWrittenAddressOfPreviousSession(&self) -> ::windows::runtime::Result<i32>1420 pub unsafe fn LastWrittenAddressOfPreviousSession(&self) -> ::windows::runtime::Result<i32> {
1421 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1422 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1423 }
SetForceMediaToBeClosed(&self, value: i16) -> ::windows::runtime::Result<()>1424 pub unsafe fn SetForceMediaToBeClosed(&self, value: i16) -> ::windows::runtime::Result<()> {
1425 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1426 }
ForceMediaToBeClosed(&self) -> ::windows::runtime::Result<i16>1427 pub unsafe fn ForceMediaToBeClosed(&self) -> ::windows::runtime::Result<i16> {
1428 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1429 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1430 }
SetDisableConsumerDvdCompatibilityMode(&self, value: i16) -> ::windows::runtime::Result<()>1431 pub unsafe fn SetDisableConsumerDvdCompatibilityMode(&self, value: i16) -> ::windows::runtime::Result<()> {
1432 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1433 }
DisableConsumerDvdCompatibilityMode(&self) -> ::windows::runtime::Result<i16>1434 pub unsafe fn DisableConsumerDvdCompatibilityMode(&self) -> ::windows::runtime::Result<i16> {
1435 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1436 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1437 }
CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE>1438 pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE> {
1439 let mut result__: <IMAPI_MEDIA_PHYSICAL_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1440 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_MEDIA_PHYSICAL_TYPE>(result__)
1441 }
1442 #[cfg(feature = "Win32_Foundation")]
SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()>1443 pub unsafe fn SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1444 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
1445 }
1446 #[cfg(feature = "Win32_Foundation")]
ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1447 pub unsafe fn ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1448 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1449 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1450 }
RequestedWriteSpeed(&self) -> ::windows::runtime::Result<i32>1451 pub unsafe fn RequestedWriteSpeed(&self) -> ::windows::runtime::Result<i32> {
1452 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1453 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1454 }
RequestedRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16>1455 pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16> {
1456 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1457 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1458 }
CurrentWriteSpeed(&self) -> ::windows::runtime::Result<i32>1459 pub unsafe fn CurrentWriteSpeed(&self) -> ::windows::runtime::Result<i32> {
1460 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1461 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1462 }
CurrentRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16>1463 pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16> {
1464 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1465 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1466 }
1467 #[cfg(feature = "Win32_System_Com")]
SupportedWriteSpeeds(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1468 pub unsafe fn SupportedWriteSpeeds(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1469 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1470 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1471 }
1472 #[cfg(feature = "Win32_System_Com")]
SupportedWriteSpeedDescriptors(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1473 pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1474 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1475 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1476 }
SetForceOverwrite(&self, value: i16) -> ::windows::runtime::Result<()>1477 pub unsafe fn SetForceOverwrite(&self, value: i16) -> ::windows::runtime::Result<()> {
1478 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1479 }
ForceOverwrite(&self) -> ::windows::runtime::Result<i16>1480 pub unsafe fn ForceOverwrite(&self) -> ::windows::runtime::Result<i16> {
1481 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1482 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1483 }
1484 #[cfg(feature = "Win32_System_Com")]
MultisessionInterfaces(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1485 pub unsafe fn MultisessionInterfaces(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1486 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1487 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1488 }
1489 #[cfg(feature = "Win32_System_Com")]
Write<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0) -> ::windows::runtime::Result<()>1490 pub unsafe fn Write<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0) -> ::windows::runtime::Result<()> {
1491 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), data.into_param().abi()).ok()
1492 }
CancelWrite(&self) -> ::windows::runtime::Result<()>1493 pub unsafe fn CancelWrite(&self) -> ::windows::runtime::Result<()> {
1494 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self)).ok()
1495 }
SetWriteSpeed(&self, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::Result<()>1496 pub unsafe fn SetWriteSpeed(&self, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::Result<()> {
1497 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(requestedsectorspersecond), ::std::mem::transmute(rotationtypeispurecav)).ok()
1498 }
1499 }
1500 unsafe impl ::windows::runtime::Interface for IDiscFormat2Data {
1501 type Vtable = IDiscFormat2Data_abi;
1502 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801555, 40804, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
1503 }
1504 impl ::std::convert::From<IDiscFormat2Data> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2Data) -> Self1505 fn from(value: IDiscFormat2Data) -> Self {
1506 unsafe { ::std::mem::transmute(value) }
1507 }
1508 }
1509 impl ::std::convert::From<&IDiscFormat2Data> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2Data) -> Self1510 fn from(value: &IDiscFormat2Data) -> Self {
1511 ::std::convert::From::from(::std::clone::Clone::clone(value))
1512 }
1513 }
1514 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2Data {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1515 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1516 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1517 }
1518 }
1519 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2Data {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1520 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1521 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1522 }
1523 }
1524 impl ::std::convert::From<IDiscFormat2Data> for IDiscFormat2 {
from(value: IDiscFormat2Data) -> Self1525 fn from(value: IDiscFormat2Data) -> Self {
1526 unsafe { ::std::mem::transmute(value) }
1527 }
1528 }
1529 impl ::std::convert::From<&IDiscFormat2Data> for IDiscFormat2 {
from(value: &IDiscFormat2Data) -> Self1530 fn from(value: &IDiscFormat2Data) -> Self {
1531 ::std::convert::From::from(::std::clone::Clone::clone(value))
1532 }
1533 }
1534 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for IDiscFormat2Data {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>1535 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
1536 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(self))
1537 }
1538 }
1539 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for &IDiscFormat2Data {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>1540 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
1541 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(::std::clone::Clone::clone(self)))
1542 }
1543 }
1544 #[cfg(feature = "Win32_System_Ole_Automation")]
1545 impl ::std::convert::From<IDiscFormat2Data> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2Data) -> Self1546 fn from(value: IDiscFormat2Data) -> Self {
1547 unsafe { ::std::mem::transmute(value) }
1548 }
1549 }
1550 #[cfg(feature = "Win32_System_Ole_Automation")]
1551 impl ::std::convert::From<&IDiscFormat2Data> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2Data) -> Self1552 fn from(value: &IDiscFormat2Data) -> Self {
1553 ::std::convert::From::from(::std::clone::Clone::clone(value))
1554 }
1555 }
1556 #[cfg(feature = "Win32_System_Ole_Automation")]
1557 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2Data {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1558 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1559 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
1560 }
1561 }
1562 #[cfg(feature = "Win32_System_Ole_Automation")]
1563 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2Data {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1564 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1565 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1566 }
1567 }
1568 #[repr(C)]
1569 #[doc(hidden)]
1570 pub struct IDiscFormat2Data_abi(
1571 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1572 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1573 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1574 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1575 #[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,
1576 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1577 #[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,
1578 #[cfg(not(feature = "Win32_Foundation"))] usize,
1579 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1580 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1581 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1582 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1583 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1584 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1585 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1586 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1587 #[cfg(not(feature = "Win32_System_Com"))] usize,
1588 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1589 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1590 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
1591 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
1593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_FORMAT2_DATA_MEDIA_STATE) -> ::windows::runtime::HRESULT,
1595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_MEDIA_WRITE_PROTECT_STATE) -> ::windows::runtime::HRESULT,
1596 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1597 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1598 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1599 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1600 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
1602 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1603 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
1604 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1605 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::HRESULT,
1606 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1607 #[cfg(not(feature = "Win32_Foundation"))] usize,
1608 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1609 #[cfg(not(feature = "Win32_Foundation"))] usize,
1610 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1611 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1612 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1613 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1614 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedspeeds: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1615 #[cfg(not(feature = "Win32_System_Com"))] usize,
1616 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedspeeddescriptors: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1617 #[cfg(not(feature = "Win32_System_Com"))] usize,
1618 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
1619 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1620 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1621 #[cfg(not(feature = "Win32_System_Com"))] usize,
1622 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1623 #[cfg(not(feature = "Win32_System_Com"))] usize,
1624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1625 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::HRESULT,
1626 );
1627 #[repr(transparent)]
1628 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1629 pub struct IDiscFormat2DataEventArgs(::windows::runtime::IUnknown);
1630 impl IDiscFormat2DataEventArgs {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1631 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1632 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1633 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1634 }
1635 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>1636 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
1637 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1638 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
1639 }
1640 #[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<()>1641 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<()> {
1642 (::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()
1643 }
1644 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1645 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1646 (::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()
1647 }
StartLba(&self) -> ::windows::runtime::Result<i32>1648 pub unsafe fn StartLba(&self) -> ::windows::runtime::Result<i32> {
1649 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1650 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1651 }
SectorCount(&self) -> ::windows::runtime::Result<i32>1652 pub unsafe fn SectorCount(&self) -> ::windows::runtime::Result<i32> {
1653 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1654 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1655 }
LastReadLba(&self) -> ::windows::runtime::Result<i32>1656 pub unsafe fn LastReadLba(&self) -> ::windows::runtime::Result<i32> {
1657 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1658 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1659 }
LastWrittenLba(&self) -> ::windows::runtime::Result<i32>1660 pub unsafe fn LastWrittenLba(&self) -> ::windows::runtime::Result<i32> {
1661 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1662 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1663 }
TotalSystemBuffer(&self) -> ::windows::runtime::Result<i32>1664 pub unsafe fn TotalSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
1665 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1666 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1667 }
UsedSystemBuffer(&self) -> ::windows::runtime::Result<i32>1668 pub unsafe fn UsedSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
1669 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1670 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1671 }
FreeSystemBuffer(&self) -> ::windows::runtime::Result<i32>1672 pub unsafe fn FreeSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
1673 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1674 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1675 }
ElapsedTime(&self) -> ::windows::runtime::Result<i32>1676 pub unsafe fn ElapsedTime(&self) -> ::windows::runtime::Result<i32> {
1677 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1678 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1679 }
RemainingTime(&self) -> ::windows::runtime::Result<i32>1680 pub unsafe fn RemainingTime(&self) -> ::windows::runtime::Result<i32> {
1681 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1682 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1683 }
TotalTime(&self) -> ::windows::runtime::Result<i32>1684 pub unsafe fn TotalTime(&self) -> ::windows::runtime::Result<i32> {
1685 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1686 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1687 }
CurrentAction(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_DATA_WRITE_ACTION>1688 pub unsafe fn CurrentAction(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_DATA_WRITE_ACTION> {
1689 let mut result__: <IMAPI_FORMAT2_DATA_WRITE_ACTION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1690 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_FORMAT2_DATA_WRITE_ACTION>(result__)
1691 }
1692 }
1693 unsafe impl ::windows::runtime::Interface for IDiscFormat2DataEventArgs {
1694 type Vtable = IDiscFormat2DataEventArgs_abi;
1695 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801533, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
1696 }
1697 impl ::std::convert::From<IDiscFormat2DataEventArgs> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2DataEventArgs) -> Self1698 fn from(value: IDiscFormat2DataEventArgs) -> Self {
1699 unsafe { ::std::mem::transmute(value) }
1700 }
1701 }
1702 impl ::std::convert::From<&IDiscFormat2DataEventArgs> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2DataEventArgs) -> Self1703 fn from(value: &IDiscFormat2DataEventArgs) -> Self {
1704 ::std::convert::From::from(::std::clone::Clone::clone(value))
1705 }
1706 }
1707 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2DataEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1708 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1709 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1710 }
1711 }
1712 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2DataEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1713 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1714 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1715 }
1716 }
1717 impl ::std::convert::From<IDiscFormat2DataEventArgs> for IWriteEngine2EventArgs {
from(value: IDiscFormat2DataEventArgs) -> Self1718 fn from(value: IDiscFormat2DataEventArgs) -> Self {
1719 unsafe { ::std::mem::transmute(value) }
1720 }
1721 }
1722 impl ::std::convert::From<&IDiscFormat2DataEventArgs> for IWriteEngine2EventArgs {
from(value: &IDiscFormat2DataEventArgs) -> Self1723 fn from(value: &IDiscFormat2DataEventArgs) -> Self {
1724 ::std::convert::From::from(::std::clone::Clone::clone(value))
1725 }
1726 }
1727 impl<'a> ::windows::runtime::IntoParam<'a, IWriteEngine2EventArgs> for IDiscFormat2DataEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs>1728 fn into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs> {
1729 ::windows::runtime::Param::Owned(::std::convert::Into::<IWriteEngine2EventArgs>::into(self))
1730 }
1731 }
1732 impl<'a> ::windows::runtime::IntoParam<'a, IWriteEngine2EventArgs> for &IDiscFormat2DataEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs>1733 fn into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs> {
1734 ::windows::runtime::Param::Owned(::std::convert::Into::<IWriteEngine2EventArgs>::into(::std::clone::Clone::clone(self)))
1735 }
1736 }
1737 #[cfg(feature = "Win32_System_Ole_Automation")]
1738 impl ::std::convert::From<IDiscFormat2DataEventArgs> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2DataEventArgs) -> Self1739 fn from(value: IDiscFormat2DataEventArgs) -> Self {
1740 unsafe { ::std::mem::transmute(value) }
1741 }
1742 }
1743 #[cfg(feature = "Win32_System_Ole_Automation")]
1744 impl ::std::convert::From<&IDiscFormat2DataEventArgs> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2DataEventArgs) -> Self1745 fn from(value: &IDiscFormat2DataEventArgs) -> Self {
1746 ::std::convert::From::from(::std::clone::Clone::clone(value))
1747 }
1748 }
1749 #[cfg(feature = "Win32_System_Ole_Automation")]
1750 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2DataEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1751 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1752 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
1753 }
1754 }
1755 #[cfg(feature = "Win32_System_Ole_Automation")]
1756 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2DataEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1757 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1758 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1759 }
1760 }
1761 #[repr(C)]
1762 #[doc(hidden)]
1763 pub struct IDiscFormat2DataEventArgs_abi(
1764 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1765 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1766 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1767 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1768 #[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,
1769 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1770 #[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,
1771 #[cfg(not(feature = "Win32_Foundation"))] usize,
1772 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1773 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1774 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1775 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1776 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1777 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1778 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1779 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1780 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1781 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1782 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1783 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1784 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1785 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_FORMAT2_DATA_WRITE_ACTION) -> ::windows::runtime::HRESULT,
1786 );
1787 #[repr(transparent)]
1788 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1789 pub struct IDiscFormat2Erase(::windows::runtime::IUnknown);
1790 impl IDiscFormat2Erase {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1791 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1792 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1793 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1794 }
1795 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>1796 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
1797 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1798 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
1799 }
1800 #[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<()>1801 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<()> {
1802 (::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()
1803 }
1804 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1805 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1806 (::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()
1807 }
IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1808 pub unsafe fn IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1809 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1810 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1811 }
IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1812 pub unsafe fn IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1813 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1814 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1815 }
MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16>1816 pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1817 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1818 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1819 }
MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16>1820 pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1821 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1822 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1823 }
1824 #[cfg(feature = "Win32_System_Com")]
SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1825 pub unsafe fn SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1826 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1827 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
1828 }
SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()>1829 pub unsafe fn SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1830 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
1831 }
Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2>1832 pub unsafe fn Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2> {
1833 let mut result__: <IDiscRecorder2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1834 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDiscRecorder2>(result__)
1835 }
SetFullErase(&self, value: i16) -> ::windows::runtime::Result<()>1836 pub unsafe fn SetFullErase(&self, value: i16) -> ::windows::runtime::Result<()> {
1837 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1838 }
FullErase(&self) -> ::windows::runtime::Result<i16>1839 pub unsafe fn FullErase(&self) -> ::windows::runtime::Result<i16> {
1840 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1841 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1842 }
CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE>1843 pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE> {
1844 let mut result__: <IMAPI_MEDIA_PHYSICAL_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1845 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_MEDIA_PHYSICAL_TYPE>(result__)
1846 }
1847 #[cfg(feature = "Win32_Foundation")]
SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()>1848 pub unsafe fn SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
1849 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
1850 }
1851 #[cfg(feature = "Win32_Foundation")]
ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1852 pub unsafe fn ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1853 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1854 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1855 }
EraseMedia(&self) -> ::windows::runtime::Result<()>1856 pub unsafe fn EraseMedia(&self) -> ::windows::runtime::Result<()> {
1857 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok()
1858 }
1859 }
1860 unsafe impl ::windows::runtime::Interface for IDiscFormat2Erase {
1861 type Vtable = IDiscFormat2Erase_abi;
1862 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801558, 36708, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
1863 }
1864 impl ::std::convert::From<IDiscFormat2Erase> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2Erase) -> Self1865 fn from(value: IDiscFormat2Erase) -> Self {
1866 unsafe { ::std::mem::transmute(value) }
1867 }
1868 }
1869 impl ::std::convert::From<&IDiscFormat2Erase> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2Erase) -> Self1870 fn from(value: &IDiscFormat2Erase) -> Self {
1871 ::std::convert::From::from(::std::clone::Clone::clone(value))
1872 }
1873 }
1874 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2Erase {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1875 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1876 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1877 }
1878 }
1879 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2Erase {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1880 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1881 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1882 }
1883 }
1884 impl ::std::convert::From<IDiscFormat2Erase> for IDiscFormat2 {
from(value: IDiscFormat2Erase) -> Self1885 fn from(value: IDiscFormat2Erase) -> Self {
1886 unsafe { ::std::mem::transmute(value) }
1887 }
1888 }
1889 impl ::std::convert::From<&IDiscFormat2Erase> for IDiscFormat2 {
from(value: &IDiscFormat2Erase) -> Self1890 fn from(value: &IDiscFormat2Erase) -> Self {
1891 ::std::convert::From::from(::std::clone::Clone::clone(value))
1892 }
1893 }
1894 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for IDiscFormat2Erase {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>1895 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
1896 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(self))
1897 }
1898 }
1899 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for &IDiscFormat2Erase {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>1900 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
1901 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(::std::clone::Clone::clone(self)))
1902 }
1903 }
1904 #[cfg(feature = "Win32_System_Ole_Automation")]
1905 impl ::std::convert::From<IDiscFormat2Erase> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2Erase) -> Self1906 fn from(value: IDiscFormat2Erase) -> Self {
1907 unsafe { ::std::mem::transmute(value) }
1908 }
1909 }
1910 #[cfg(feature = "Win32_System_Ole_Automation")]
1911 impl ::std::convert::From<&IDiscFormat2Erase> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2Erase) -> Self1912 fn from(value: &IDiscFormat2Erase) -> Self {
1913 ::std::convert::From::from(::std::clone::Clone::clone(value))
1914 }
1915 }
1916 #[cfg(feature = "Win32_System_Ole_Automation")]
1917 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2Erase {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1918 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1919 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
1920 }
1921 }
1922 #[cfg(feature = "Win32_System_Ole_Automation")]
1923 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2Erase {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1924 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
1925 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1926 }
1927 }
1928 #[repr(C)]
1929 #[doc(hidden)]
1930 pub struct IDiscFormat2Erase_abi(
1931 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1932 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1933 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1934 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1935 #[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,
1936 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1937 #[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,
1938 #[cfg(not(feature = "Win32_Foundation"))] usize,
1939 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1940 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1941 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1942 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1945 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1946 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
1947 #[cfg(not(feature = "Win32_System_Com"))] usize,
1948 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1949 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1950 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
1951 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
1952 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::HRESULT,
1953 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1954 #[cfg(not(feature = "Win32_Foundation"))] usize,
1955 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1956 #[cfg(not(feature = "Win32_Foundation"))] usize,
1957 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1958 );
1959 #[repr(transparent)]
1960 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1961 pub struct IDiscFormat2RawCD(::windows::runtime::IUnknown);
1962 impl IDiscFormat2RawCD {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1963 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1964 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1965 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1966 }
1967 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>1968 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
1969 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1970 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
1971 }
1972 #[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<()>1973 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<()> {
1974 (::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()
1975 }
1976 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1977 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1978 (::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()
1979 }
IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1980 pub unsafe fn IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1981 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1982 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1983 }
IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>1984 pub unsafe fn IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
1985 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1986 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
1987 }
MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16>1988 pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1989 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1990 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1991 }
MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16>1992 pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16> {
1993 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1994 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1995 }
1996 #[cfg(feature = "Win32_System_Com")]
SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>1997 pub unsafe fn SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
1998 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1999 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2000 }
PrepareMedia(&self) -> ::windows::runtime::Result<()>2001 pub unsafe fn PrepareMedia(&self) -> ::windows::runtime::Result<()> {
2002 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
2003 }
2004 #[cfg(feature = "Win32_System_Com")]
WriteMedia<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0) -> ::windows::runtime::Result<()>2005 pub unsafe fn WriteMedia<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0) -> ::windows::runtime::Result<()> {
2006 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), data.into_param().abi()).ok()
2007 }
2008 #[cfg(feature = "Win32_System_Com")]
WriteMedia2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0, streamleadinsectors: i32) -> ::windows::runtime::Result<()>2009 pub unsafe fn WriteMedia2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0, streamleadinsectors: i32) -> ::windows::runtime::Result<()> {
2010 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), data.into_param().abi(), ::std::mem::transmute(streamleadinsectors)).ok()
2011 }
CancelWrite(&self) -> ::windows::runtime::Result<()>2012 pub unsafe fn CancelWrite(&self) -> ::windows::runtime::Result<()> {
2013 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
2014 }
ReleaseMedia(&self) -> ::windows::runtime::Result<()>2015 pub unsafe fn ReleaseMedia(&self) -> ::windows::runtime::Result<()> {
2016 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok()
2017 }
SetWriteSpeed(&self, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::Result<()>2018 pub unsafe fn SetWriteSpeed(&self, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::Result<()> {
2019 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(requestedsectorspersecond), ::std::mem::transmute(rotationtypeispurecav)).ok()
2020 }
SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()>2021 pub unsafe fn SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2022 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
2023 }
Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2>2024 pub unsafe fn Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2> {
2025 let mut result__: <IDiscRecorder2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2026 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDiscRecorder2>(result__)
2027 }
SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::runtime::Result<()>2028 pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::runtime::Result<()> {
2029 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2030 }
BufferUnderrunFreeDisabled(&self) -> ::windows::runtime::Result<i16>2031 pub unsafe fn BufferUnderrunFreeDisabled(&self) -> ::windows::runtime::Result<i16> {
2032 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2033 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2034 }
StartOfNextSession(&self) -> ::windows::runtime::Result<i32>2035 pub unsafe fn StartOfNextSession(&self) -> ::windows::runtime::Result<i32> {
2036 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2037 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2038 }
LastPossibleStartOfLeadout(&self) -> ::windows::runtime::Result<i32>2039 pub unsafe fn LastPossibleStartOfLeadout(&self) -> ::windows::runtime::Result<i32> {
2040 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2041 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2042 }
CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE>2043 pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE> {
2044 let mut result__: <IMAPI_MEDIA_PHYSICAL_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2045 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_MEDIA_PHYSICAL_TYPE>(result__)
2046 }
2047 #[cfg(feature = "Win32_System_Com")]
SupportedSectorTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2048 pub unsafe fn SupportedSectorTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2049 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2050 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2051 }
SetRequestedSectorType(&self, value: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> ::windows::runtime::Result<()>2052 pub unsafe fn SetRequestedSectorType(&self, value: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> ::windows::runtime::Result<()> {
2053 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2054 }
RequestedSectorType(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE>2055 pub unsafe fn RequestedSectorType(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE> {
2056 let mut result__: <IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2057 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE>(result__)
2058 }
2059 #[cfg(feature = "Win32_Foundation")]
SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()>2060 pub unsafe fn SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2061 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
2062 }
2063 #[cfg(feature = "Win32_Foundation")]
ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2064 pub unsafe fn ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2065 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2066 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2067 }
RequestedWriteSpeed(&self) -> ::windows::runtime::Result<i32>2068 pub unsafe fn RequestedWriteSpeed(&self) -> ::windows::runtime::Result<i32> {
2069 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2070 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2071 }
RequestedRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16>2072 pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16> {
2073 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2074 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2075 }
CurrentWriteSpeed(&self) -> ::windows::runtime::Result<i32>2076 pub unsafe fn CurrentWriteSpeed(&self) -> ::windows::runtime::Result<i32> {
2077 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2078 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2079 }
CurrentRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16>2080 pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16> {
2081 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2082 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2083 }
2084 #[cfg(feature = "Win32_System_Com")]
SupportedWriteSpeeds(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2085 pub unsafe fn SupportedWriteSpeeds(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2086 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2087 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2088 }
2089 #[cfg(feature = "Win32_System_Com")]
SupportedWriteSpeedDescriptors(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2090 pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2091 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2092 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2093 }
2094 }
2095 unsafe impl ::windows::runtime::Interface for IDiscFormat2RawCD {
2096 type Vtable = IDiscFormat2RawCD_abi;
2097 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801557, 36708, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
2098 }
2099 impl ::std::convert::From<IDiscFormat2RawCD> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2RawCD) -> Self2100 fn from(value: IDiscFormat2RawCD) -> Self {
2101 unsafe { ::std::mem::transmute(value) }
2102 }
2103 }
2104 impl ::std::convert::From<&IDiscFormat2RawCD> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2RawCD) -> Self2105 fn from(value: &IDiscFormat2RawCD) -> Self {
2106 ::std::convert::From::from(::std::clone::Clone::clone(value))
2107 }
2108 }
2109 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2RawCD {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2110 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2111 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2112 }
2113 }
2114 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2RawCD {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2115 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2116 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2117 }
2118 }
2119 impl ::std::convert::From<IDiscFormat2RawCD> for IDiscFormat2 {
from(value: IDiscFormat2RawCD) -> Self2120 fn from(value: IDiscFormat2RawCD) -> Self {
2121 unsafe { ::std::mem::transmute(value) }
2122 }
2123 }
2124 impl ::std::convert::From<&IDiscFormat2RawCD> for IDiscFormat2 {
from(value: &IDiscFormat2RawCD) -> Self2125 fn from(value: &IDiscFormat2RawCD) -> Self {
2126 ::std::convert::From::from(::std::clone::Clone::clone(value))
2127 }
2128 }
2129 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for IDiscFormat2RawCD {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>2130 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
2131 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(self))
2132 }
2133 }
2134 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for &IDiscFormat2RawCD {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>2135 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
2136 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(::std::clone::Clone::clone(self)))
2137 }
2138 }
2139 #[cfg(feature = "Win32_System_Ole_Automation")]
2140 impl ::std::convert::From<IDiscFormat2RawCD> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2RawCD) -> Self2141 fn from(value: IDiscFormat2RawCD) -> Self {
2142 unsafe { ::std::mem::transmute(value) }
2143 }
2144 }
2145 #[cfg(feature = "Win32_System_Ole_Automation")]
2146 impl ::std::convert::From<&IDiscFormat2RawCD> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2RawCD) -> Self2147 fn from(value: &IDiscFormat2RawCD) -> Self {
2148 ::std::convert::From::from(::std::clone::Clone::clone(value))
2149 }
2150 }
2151 #[cfg(feature = "Win32_System_Ole_Automation")]
2152 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2RawCD {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2153 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2154 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2155 }
2156 }
2157 #[cfg(feature = "Win32_System_Ole_Automation")]
2158 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2RawCD {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2159 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2160 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2161 }
2162 }
2163 #[repr(C)]
2164 #[doc(hidden)]
2165 pub struct IDiscFormat2RawCD_abi(
2166 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2167 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2168 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2169 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2170 #[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,
2171 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2172 #[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,
2173 #[cfg(not(feature = "Win32_Foundation"))] usize,
2174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2175 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2176 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2177 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2178 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2179 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2180 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2181 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2182 #[cfg(not(feature = "Win32_System_Com"))] usize,
2183 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2184 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2185 #[cfg(not(feature = "Win32_System_Com"))] usize,
2186 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: ::windows::runtime::RawPtr, streamleadinsectors: i32) -> ::windows::runtime::HRESULT,
2187 #[cfg(not(feature = "Win32_System_Com"))] usize,
2188 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2189 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2190 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::HRESULT,
2191 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2192 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2193 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
2194 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2195 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2196 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2197 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::HRESULT,
2198 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2199 #[cfg(not(feature = "Win32_System_Com"))] usize,
2200 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> ::windows::runtime::HRESULT,
2201 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> ::windows::runtime::HRESULT,
2202 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2203 #[cfg(not(feature = "Win32_Foundation"))] usize,
2204 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2205 #[cfg(not(feature = "Win32_Foundation"))] usize,
2206 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2207 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2208 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2209 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2210 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedspeeds: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2211 #[cfg(not(feature = "Win32_System_Com"))] usize,
2212 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedspeeddescriptors: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2213 #[cfg(not(feature = "Win32_System_Com"))] usize,
2214 );
2215 #[repr(transparent)]
2216 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2217 pub struct IDiscFormat2RawCDEventArgs(::windows::runtime::IUnknown);
2218 impl IDiscFormat2RawCDEventArgs {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2219 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
2220 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2221 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2222 }
2223 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>2224 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
2225 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2226 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
2227 }
2228 #[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<()>2229 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<()> {
2230 (::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()
2231 }
2232 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2233 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
2234 (::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()
2235 }
StartLba(&self) -> ::windows::runtime::Result<i32>2236 pub unsafe fn StartLba(&self) -> ::windows::runtime::Result<i32> {
2237 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2238 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2239 }
SectorCount(&self) -> ::windows::runtime::Result<i32>2240 pub unsafe fn SectorCount(&self) -> ::windows::runtime::Result<i32> {
2241 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2242 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2243 }
LastReadLba(&self) -> ::windows::runtime::Result<i32>2244 pub unsafe fn LastReadLba(&self) -> ::windows::runtime::Result<i32> {
2245 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2246 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2247 }
LastWrittenLba(&self) -> ::windows::runtime::Result<i32>2248 pub unsafe fn LastWrittenLba(&self) -> ::windows::runtime::Result<i32> {
2249 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2250 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2251 }
TotalSystemBuffer(&self) -> ::windows::runtime::Result<i32>2252 pub unsafe fn TotalSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
2253 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2254 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2255 }
UsedSystemBuffer(&self) -> ::windows::runtime::Result<i32>2256 pub unsafe fn UsedSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
2257 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2258 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2259 }
FreeSystemBuffer(&self) -> ::windows::runtime::Result<i32>2260 pub unsafe fn FreeSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
2261 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2262 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2263 }
CurrentAction(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_RAW_CD_WRITE_ACTION>2264 pub unsafe fn CurrentAction(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_RAW_CD_WRITE_ACTION> {
2265 let mut result__: <IMAPI_FORMAT2_RAW_CD_WRITE_ACTION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2266 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_FORMAT2_RAW_CD_WRITE_ACTION>(result__)
2267 }
ElapsedTime(&self) -> ::windows::runtime::Result<i32>2268 pub unsafe fn ElapsedTime(&self) -> ::windows::runtime::Result<i32> {
2269 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2270 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2271 }
RemainingTime(&self) -> ::windows::runtime::Result<i32>2272 pub unsafe fn RemainingTime(&self) -> ::windows::runtime::Result<i32> {
2273 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2274 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2275 }
2276 }
2277 unsafe impl ::windows::runtime::Interface for IDiscFormat2RawCDEventArgs {
2278 type Vtable = IDiscFormat2RawCDEventArgs_abi;
2279 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801539, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
2280 }
2281 impl ::std::convert::From<IDiscFormat2RawCDEventArgs> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2RawCDEventArgs) -> Self2282 fn from(value: IDiscFormat2RawCDEventArgs) -> Self {
2283 unsafe { ::std::mem::transmute(value) }
2284 }
2285 }
2286 impl ::std::convert::From<&IDiscFormat2RawCDEventArgs> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2RawCDEventArgs) -> Self2287 fn from(value: &IDiscFormat2RawCDEventArgs) -> Self {
2288 ::std::convert::From::from(::std::clone::Clone::clone(value))
2289 }
2290 }
2291 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2RawCDEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2292 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2293 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2294 }
2295 }
2296 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2RawCDEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2297 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2298 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2299 }
2300 }
2301 impl ::std::convert::From<IDiscFormat2RawCDEventArgs> for IWriteEngine2EventArgs {
from(value: IDiscFormat2RawCDEventArgs) -> Self2302 fn from(value: IDiscFormat2RawCDEventArgs) -> Self {
2303 unsafe { ::std::mem::transmute(value) }
2304 }
2305 }
2306 impl ::std::convert::From<&IDiscFormat2RawCDEventArgs> for IWriteEngine2EventArgs {
from(value: &IDiscFormat2RawCDEventArgs) -> Self2307 fn from(value: &IDiscFormat2RawCDEventArgs) -> Self {
2308 ::std::convert::From::from(::std::clone::Clone::clone(value))
2309 }
2310 }
2311 impl<'a> ::windows::runtime::IntoParam<'a, IWriteEngine2EventArgs> for IDiscFormat2RawCDEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs>2312 fn into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs> {
2313 ::windows::runtime::Param::Owned(::std::convert::Into::<IWriteEngine2EventArgs>::into(self))
2314 }
2315 }
2316 impl<'a> ::windows::runtime::IntoParam<'a, IWriteEngine2EventArgs> for &IDiscFormat2RawCDEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs>2317 fn into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs> {
2318 ::windows::runtime::Param::Owned(::std::convert::Into::<IWriteEngine2EventArgs>::into(::std::clone::Clone::clone(self)))
2319 }
2320 }
2321 #[cfg(feature = "Win32_System_Ole_Automation")]
2322 impl ::std::convert::From<IDiscFormat2RawCDEventArgs> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2RawCDEventArgs) -> Self2323 fn from(value: IDiscFormat2RawCDEventArgs) -> Self {
2324 unsafe { ::std::mem::transmute(value) }
2325 }
2326 }
2327 #[cfg(feature = "Win32_System_Ole_Automation")]
2328 impl ::std::convert::From<&IDiscFormat2RawCDEventArgs> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2RawCDEventArgs) -> Self2329 fn from(value: &IDiscFormat2RawCDEventArgs) -> Self {
2330 ::std::convert::From::from(::std::clone::Clone::clone(value))
2331 }
2332 }
2333 #[cfg(feature = "Win32_System_Ole_Automation")]
2334 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2RawCDEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2335 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2336 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2337 }
2338 }
2339 #[cfg(feature = "Win32_System_Ole_Automation")]
2340 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2RawCDEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2341 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2342 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2343 }
2344 }
2345 #[repr(C)]
2346 #[doc(hidden)]
2347 pub struct IDiscFormat2RawCDEventArgs_abi(
2348 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2349 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2350 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2352 #[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,
2353 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2354 #[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,
2355 #[cfg(not(feature = "Win32_Foundation"))] usize,
2356 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2357 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2358 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2359 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2360 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2361 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2362 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2363 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2364 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2365 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2366 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_FORMAT2_RAW_CD_WRITE_ACTION) -> ::windows::runtime::HRESULT,
2367 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2368 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2369 );
2370 #[repr(transparent)]
2371 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2372 pub struct IDiscFormat2TrackAtOnce(::windows::runtime::IUnknown);
2373 impl IDiscFormat2TrackAtOnce {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2374 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
2375 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2376 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2377 }
2378 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>2379 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
2380 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2381 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
2382 }
2383 #[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<()>2384 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<()> {
2385 (::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()
2386 }
2387 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2388 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
2389 (::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()
2390 }
IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>2391 pub unsafe fn IsRecorderSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
2392 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2393 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
2394 }
IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16>2395 pub unsafe fn IsCurrentMediaSupported<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, recorder: Param0) -> ::windows::runtime::Result<i16> {
2396 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2397 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), recorder.into_param().abi(), &mut result__).from_abi::<i16>(result__)
2398 }
MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16>2399 pub unsafe fn MediaPhysicallyBlank(&self) -> ::windows::runtime::Result<i16> {
2400 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2401 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2402 }
MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16>2403 pub unsafe fn MediaHeuristicallyBlank(&self) -> ::windows::runtime::Result<i16> {
2404 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2405 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2406 }
2407 #[cfg(feature = "Win32_System_Com")]
SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2408 pub unsafe fn SupportedMediaTypes(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2409 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2410 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2411 }
PrepareMedia(&self) -> ::windows::runtime::Result<()>2412 pub unsafe fn PrepareMedia(&self) -> ::windows::runtime::Result<()> {
2413 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
2414 }
2415 #[cfg(feature = "Win32_System_Com")]
AddAudioTrack<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0) -> ::windows::runtime::Result<()>2416 pub unsafe fn AddAudioTrack<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, data: Param0) -> ::windows::runtime::Result<()> {
2417 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), data.into_param().abi()).ok()
2418 }
CancelAddTrack(&self) -> ::windows::runtime::Result<()>2419 pub unsafe fn CancelAddTrack(&self) -> ::windows::runtime::Result<()> {
2420 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
2421 }
ReleaseMedia(&self) -> ::windows::runtime::Result<()>2422 pub unsafe fn ReleaseMedia(&self) -> ::windows::runtime::Result<()> {
2423 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
2424 }
SetWriteSpeed(&self, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::Result<()>2425 pub unsafe fn SetWriteSpeed(&self, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::Result<()> {
2426 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(requestedsectorspersecond), ::std::mem::transmute(rotationtypeispurecav)).ok()
2427 }
SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()>2428 pub unsafe fn SetRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2429 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
2430 }
Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2>2431 pub unsafe fn Recorder(&self) -> ::windows::runtime::Result<IDiscRecorder2> {
2432 let mut result__: <IDiscRecorder2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2433 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDiscRecorder2>(result__)
2434 }
SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::runtime::Result<()>2435 pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: i16) -> ::windows::runtime::Result<()> {
2436 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2437 }
BufferUnderrunFreeDisabled(&self) -> ::windows::runtime::Result<i16>2438 pub unsafe fn BufferUnderrunFreeDisabled(&self) -> ::windows::runtime::Result<i16> {
2439 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2440 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2441 }
NumberOfExistingTracks(&self) -> ::windows::runtime::Result<i32>2442 pub unsafe fn NumberOfExistingTracks(&self) -> ::windows::runtime::Result<i32> {
2443 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2444 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2445 }
TotalSectorsOnMedia(&self) -> ::windows::runtime::Result<i32>2446 pub unsafe fn TotalSectorsOnMedia(&self) -> ::windows::runtime::Result<i32> {
2447 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2448 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2449 }
FreeSectorsOnMedia(&self) -> ::windows::runtime::Result<i32>2450 pub unsafe fn FreeSectorsOnMedia(&self) -> ::windows::runtime::Result<i32> {
2451 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2452 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2453 }
UsedSectorsOnMedia(&self) -> ::windows::runtime::Result<i32>2454 pub unsafe fn UsedSectorsOnMedia(&self) -> ::windows::runtime::Result<i32> {
2455 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2456 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2457 }
SetDoNotFinalizeMedia(&self, value: i16) -> ::windows::runtime::Result<()>2458 pub unsafe fn SetDoNotFinalizeMedia(&self, value: i16) -> ::windows::runtime::Result<()> {
2459 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2460 }
DoNotFinalizeMedia(&self) -> ::windows::runtime::Result<i16>2461 pub unsafe fn DoNotFinalizeMedia(&self) -> ::windows::runtime::Result<i16> {
2462 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2463 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2464 }
2465 #[cfg(feature = "Win32_System_Com")]
ExpectedTableOfContents(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2466 pub unsafe fn ExpectedTableOfContents(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2467 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2468 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2469 }
CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE>2470 pub unsafe fn CurrentPhysicalMediaType(&self) -> ::windows::runtime::Result<IMAPI_MEDIA_PHYSICAL_TYPE> {
2471 let mut result__: <IMAPI_MEDIA_PHYSICAL_TYPE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2472 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_MEDIA_PHYSICAL_TYPE>(result__)
2473 }
2474 #[cfg(feature = "Win32_Foundation")]
SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()>2475 pub unsafe fn SetClientName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, value: Param0) -> ::windows::runtime::Result<()> {
2476 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), value.into_param().abi()).ok()
2477 }
2478 #[cfg(feature = "Win32_Foundation")]
ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2479 pub unsafe fn ClientName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2480 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2481 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2482 }
RequestedWriteSpeed(&self) -> ::windows::runtime::Result<i32>2483 pub unsafe fn RequestedWriteSpeed(&self) -> ::windows::runtime::Result<i32> {
2484 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2485 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2486 }
RequestedRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16>2487 pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16> {
2488 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2489 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2490 }
CurrentWriteSpeed(&self) -> ::windows::runtime::Result<i32>2491 pub unsafe fn CurrentWriteSpeed(&self) -> ::windows::runtime::Result<i32> {
2492 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2493 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2494 }
CurrentRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16>2495 pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> ::windows::runtime::Result<i16> {
2496 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2497 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2498 }
2499 #[cfg(feature = "Win32_System_Com")]
SupportedWriteSpeeds(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2500 pub unsafe fn SupportedWriteSpeeds(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2501 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2502 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2503 }
2504 #[cfg(feature = "Win32_System_Com")]
SupportedWriteSpeedDescriptors(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>2505 pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
2506 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2507 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
2508 }
2509 }
2510 unsafe impl ::windows::runtime::Interface for IDiscFormat2TrackAtOnce {
2511 type Vtable = IDiscFormat2TrackAtOnce_abi;
2512 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801556, 36708, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
2513 }
2514 impl ::std::convert::From<IDiscFormat2TrackAtOnce> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2TrackAtOnce) -> Self2515 fn from(value: IDiscFormat2TrackAtOnce) -> Self {
2516 unsafe { ::std::mem::transmute(value) }
2517 }
2518 }
2519 impl ::std::convert::From<&IDiscFormat2TrackAtOnce> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2TrackAtOnce) -> Self2520 fn from(value: &IDiscFormat2TrackAtOnce) -> Self {
2521 ::std::convert::From::from(::std::clone::Clone::clone(value))
2522 }
2523 }
2524 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2TrackAtOnce {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2525 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2526 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2527 }
2528 }
2529 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2TrackAtOnce {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2530 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2531 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2532 }
2533 }
2534 impl ::std::convert::From<IDiscFormat2TrackAtOnce> for IDiscFormat2 {
from(value: IDiscFormat2TrackAtOnce) -> Self2535 fn from(value: IDiscFormat2TrackAtOnce) -> Self {
2536 unsafe { ::std::mem::transmute(value) }
2537 }
2538 }
2539 impl ::std::convert::From<&IDiscFormat2TrackAtOnce> for IDiscFormat2 {
from(value: &IDiscFormat2TrackAtOnce) -> Self2540 fn from(value: &IDiscFormat2TrackAtOnce) -> Self {
2541 ::std::convert::From::from(::std::clone::Clone::clone(value))
2542 }
2543 }
2544 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for IDiscFormat2TrackAtOnce {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>2545 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
2546 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(self))
2547 }
2548 }
2549 impl<'a> ::windows::runtime::IntoParam<'a, IDiscFormat2> for &IDiscFormat2TrackAtOnce {
into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2>2550 fn into_param(self) -> ::windows::runtime::Param<'a, IDiscFormat2> {
2551 ::windows::runtime::Param::Owned(::std::convert::Into::<IDiscFormat2>::into(::std::clone::Clone::clone(self)))
2552 }
2553 }
2554 #[cfg(feature = "Win32_System_Ole_Automation")]
2555 impl ::std::convert::From<IDiscFormat2TrackAtOnce> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2TrackAtOnce) -> Self2556 fn from(value: IDiscFormat2TrackAtOnce) -> Self {
2557 unsafe { ::std::mem::transmute(value) }
2558 }
2559 }
2560 #[cfg(feature = "Win32_System_Ole_Automation")]
2561 impl ::std::convert::From<&IDiscFormat2TrackAtOnce> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2TrackAtOnce) -> Self2562 fn from(value: &IDiscFormat2TrackAtOnce) -> Self {
2563 ::std::convert::From::from(::std::clone::Clone::clone(value))
2564 }
2565 }
2566 #[cfg(feature = "Win32_System_Ole_Automation")]
2567 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2TrackAtOnce {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2568 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2569 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2570 }
2571 }
2572 #[cfg(feature = "Win32_System_Ole_Automation")]
2573 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2TrackAtOnce {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2574 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2575 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2576 }
2577 }
2578 #[repr(C)]
2579 #[doc(hidden)]
2580 pub struct IDiscFormat2TrackAtOnce_abi(
2581 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2582 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2583 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2584 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2585 #[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,
2586 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2587 #[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,
2588 #[cfg(not(feature = "Win32_Foundation"))] usize,
2589 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2590 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2591 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorder: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2596 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2597 #[cfg(not(feature = "Win32_System_Com"))] usize,
2598 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2599 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2600 #[cfg(not(feature = "Win32_System_Com"))] usize,
2601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2602 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2603 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestedsectorspersecond: i32, rotationtypeispurecav: i16) -> ::windows::runtime::HRESULT,
2604 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2605 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2606 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
2607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2609 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2610 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2611 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2612 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i16) -> ::windows::runtime::HRESULT,
2613 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2614 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2615 #[cfg(not(feature = "Win32_System_Com"))] usize,
2616 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::HRESULT,
2617 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2618 #[cfg(not(feature = "Win32_Foundation"))] usize,
2619 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2620 #[cfg(not(feature = "Win32_Foundation"))] usize,
2621 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2622 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2623 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2625 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedspeeds: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2626 #[cfg(not(feature = "Win32_System_Com"))] usize,
2627 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedspeeddescriptors: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2628 #[cfg(not(feature = "Win32_System_Com"))] usize,
2629 );
2630 #[repr(transparent)]
2631 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2632 pub struct IDiscFormat2TrackAtOnceEventArgs(::windows::runtime::IUnknown);
2633 impl IDiscFormat2TrackAtOnceEventArgs {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2634 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
2635 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2636 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2637 }
2638 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>2639 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
2640 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2641 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
2642 }
2643 #[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<()>2644 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<()> {
2645 (::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()
2646 }
2647 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2648 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
2649 (::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()
2650 }
StartLba(&self) -> ::windows::runtime::Result<i32>2651 pub unsafe fn StartLba(&self) -> ::windows::runtime::Result<i32> {
2652 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2653 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2654 }
SectorCount(&self) -> ::windows::runtime::Result<i32>2655 pub unsafe fn SectorCount(&self) -> ::windows::runtime::Result<i32> {
2656 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2657 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2658 }
LastReadLba(&self) -> ::windows::runtime::Result<i32>2659 pub unsafe fn LastReadLba(&self) -> ::windows::runtime::Result<i32> {
2660 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2661 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2662 }
LastWrittenLba(&self) -> ::windows::runtime::Result<i32>2663 pub unsafe fn LastWrittenLba(&self) -> ::windows::runtime::Result<i32> {
2664 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2665 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2666 }
TotalSystemBuffer(&self) -> ::windows::runtime::Result<i32>2667 pub unsafe fn TotalSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
2668 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2669 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2670 }
UsedSystemBuffer(&self) -> ::windows::runtime::Result<i32>2671 pub unsafe fn UsedSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
2672 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2673 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2674 }
FreeSystemBuffer(&self) -> ::windows::runtime::Result<i32>2675 pub unsafe fn FreeSystemBuffer(&self) -> ::windows::runtime::Result<i32> {
2676 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2677 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2678 }
CurrentTrackNumber(&self) -> ::windows::runtime::Result<i32>2679 pub unsafe fn CurrentTrackNumber(&self) -> ::windows::runtime::Result<i32> {
2680 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2681 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2682 }
CurrentAction(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_TAO_WRITE_ACTION>2683 pub unsafe fn CurrentAction(&self) -> ::windows::runtime::Result<IMAPI_FORMAT2_TAO_WRITE_ACTION> {
2684 let mut result__: <IMAPI_FORMAT2_TAO_WRITE_ACTION as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2685 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMAPI_FORMAT2_TAO_WRITE_ACTION>(result__)
2686 }
ElapsedTime(&self) -> ::windows::runtime::Result<i32>2687 pub unsafe fn ElapsedTime(&self) -> ::windows::runtime::Result<i32> {
2688 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2689 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2690 }
RemainingTime(&self) -> ::windows::runtime::Result<i32>2691 pub unsafe fn RemainingTime(&self) -> ::windows::runtime::Result<i32> {
2692 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2693 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2694 }
2695 }
2696 unsafe impl ::windows::runtime::Interface for IDiscFormat2TrackAtOnceEventArgs {
2697 type Vtable = IDiscFormat2TrackAtOnceEventArgs_abi;
2698 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801536, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
2699 }
2700 impl ::std::convert::From<IDiscFormat2TrackAtOnceEventArgs> for ::windows::runtime::IUnknown {
from(value: IDiscFormat2TrackAtOnceEventArgs) -> Self2701 fn from(value: IDiscFormat2TrackAtOnceEventArgs) -> Self {
2702 unsafe { ::std::mem::transmute(value) }
2703 }
2704 }
2705 impl ::std::convert::From<&IDiscFormat2TrackAtOnceEventArgs> for ::windows::runtime::IUnknown {
from(value: &IDiscFormat2TrackAtOnceEventArgs) -> Self2706 fn from(value: &IDiscFormat2TrackAtOnceEventArgs) -> Self {
2707 ::std::convert::From::from(::std::clone::Clone::clone(value))
2708 }
2709 }
2710 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscFormat2TrackAtOnceEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2711 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2712 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2713 }
2714 }
2715 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscFormat2TrackAtOnceEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2716 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2717 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2718 }
2719 }
2720 impl ::std::convert::From<IDiscFormat2TrackAtOnceEventArgs> for IWriteEngine2EventArgs {
from(value: IDiscFormat2TrackAtOnceEventArgs) -> Self2721 fn from(value: IDiscFormat2TrackAtOnceEventArgs) -> Self {
2722 unsafe { ::std::mem::transmute(value) }
2723 }
2724 }
2725 impl ::std::convert::From<&IDiscFormat2TrackAtOnceEventArgs> for IWriteEngine2EventArgs {
from(value: &IDiscFormat2TrackAtOnceEventArgs) -> Self2726 fn from(value: &IDiscFormat2TrackAtOnceEventArgs) -> Self {
2727 ::std::convert::From::from(::std::clone::Clone::clone(value))
2728 }
2729 }
2730 impl<'a> ::windows::runtime::IntoParam<'a, IWriteEngine2EventArgs> for IDiscFormat2TrackAtOnceEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs>2731 fn into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs> {
2732 ::windows::runtime::Param::Owned(::std::convert::Into::<IWriteEngine2EventArgs>::into(self))
2733 }
2734 }
2735 impl<'a> ::windows::runtime::IntoParam<'a, IWriteEngine2EventArgs> for &IDiscFormat2TrackAtOnceEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs>2736 fn into_param(self) -> ::windows::runtime::Param<'a, IWriteEngine2EventArgs> {
2737 ::windows::runtime::Param::Owned(::std::convert::Into::<IWriteEngine2EventArgs>::into(::std::clone::Clone::clone(self)))
2738 }
2739 }
2740 #[cfg(feature = "Win32_System_Ole_Automation")]
2741 impl ::std::convert::From<IDiscFormat2TrackAtOnceEventArgs> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscFormat2TrackAtOnceEventArgs) -> Self2742 fn from(value: IDiscFormat2TrackAtOnceEventArgs) -> Self {
2743 unsafe { ::std::mem::transmute(value) }
2744 }
2745 }
2746 #[cfg(feature = "Win32_System_Ole_Automation")]
2747 impl ::std::convert::From<&IDiscFormat2TrackAtOnceEventArgs> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscFormat2TrackAtOnceEventArgs) -> Self2748 fn from(value: &IDiscFormat2TrackAtOnceEventArgs) -> Self {
2749 ::std::convert::From::from(::std::clone::Clone::clone(value))
2750 }
2751 }
2752 #[cfg(feature = "Win32_System_Ole_Automation")]
2753 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscFormat2TrackAtOnceEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2754 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2755 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2756 }
2757 }
2758 #[cfg(feature = "Win32_System_Ole_Automation")]
2759 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscFormat2TrackAtOnceEventArgs {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2760 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2761 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2762 }
2763 }
2764 #[repr(C)]
2765 #[doc(hidden)]
2766 pub struct IDiscFormat2TrackAtOnceEventArgs_abi(
2767 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2768 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2769 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2770 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2771 #[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,
2772 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2773 #[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,
2774 #[cfg(not(feature = "Win32_Foundation"))] usize,
2775 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2776 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2777 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2778 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2779 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2780 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2781 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2782 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2783 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2784 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2785 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2786 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut IMAPI_FORMAT2_TAO_WRITE_ACTION) -> ::windows::runtime::HRESULT,
2787 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2788 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2789 );
2790 #[repr(transparent)]
2791 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2792 pub struct IDiscMaster(::windows::runtime::IUnknown);
2793 impl IDiscMaster {
Open(&self) -> ::windows::runtime::Result<()>2794 pub unsafe fn Open(&self) -> ::windows::runtime::Result<()> {
2795 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
2796 }
EnumDiscMasterFormats(&self) -> ::windows::runtime::Result<IEnumDiscMasterFormats>2797 pub unsafe fn EnumDiscMasterFormats(&self) -> ::windows::runtime::Result<IEnumDiscMasterFormats> {
2798 let mut result__: <IEnumDiscMasterFormats as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2799 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumDiscMasterFormats>(result__)
2800 }
GetActiveDiscMasterFormat(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>2801 pub unsafe fn GetActiveDiscMasterFormat(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
2802 let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2803 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
2804 }
SetActiveDiscMasterFormat(&self, riid: *const ::windows::runtime::GUID, ppunk: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>2805 pub unsafe fn SetActiveDiscMasterFormat(&self, riid: *const ::windows::runtime::GUID, ppunk: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
2806 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(ppunk)).ok()
2807 }
EnumDiscRecorders(&self) -> ::windows::runtime::Result<IEnumDiscRecorders>2808 pub unsafe fn EnumDiscRecorders(&self) -> ::windows::runtime::Result<IEnumDiscRecorders> {
2809 let mut result__: <IEnumDiscRecorders as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2810 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumDiscRecorders>(result__)
2811 }
GetActiveDiscRecorder(&self) -> ::windows::runtime::Result<IDiscRecorder>2812 pub unsafe fn GetActiveDiscRecorder(&self) -> ::windows::runtime::Result<IDiscRecorder> {
2813 let mut result__: <IDiscRecorder as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2814 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDiscRecorder>(result__)
2815 }
SetActiveDiscRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder>>(&self, precorder: Param0) -> ::windows::runtime::Result<()>2816 pub unsafe fn SetActiveDiscRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder>>(&self, precorder: Param0) -> ::windows::runtime::Result<()> {
2817 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), precorder.into_param().abi()).ok()
2818 }
ClearFormatContent(&self) -> ::windows::runtime::Result<()>2819 pub unsafe fn ClearFormatContent(&self) -> ::windows::runtime::Result<()> {
2820 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
2821 }
ProgressAdvise<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscMasterProgressEvents>>(&self, pevents: Param0) -> ::windows::runtime::Result<usize>2822 pub unsafe fn ProgressAdvise<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscMasterProgressEvents>>(&self, pevents: Param0) -> ::windows::runtime::Result<usize> {
2823 let mut result__: <usize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2824 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pevents.into_param().abi(), &mut result__).from_abi::<usize>(result__)
2825 }
ProgressUnadvise(&self, vcookie: usize) -> ::windows::runtime::Result<()>2826 pub unsafe fn ProgressUnadvise(&self, vcookie: usize) -> ::windows::runtime::Result<()> {
2827 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcookie)).ok()
2828 }
RecordDisc(&self, bsimulate: u8, bejectafterburn: u8) -> ::windows::runtime::Result<()>2829 pub unsafe fn RecordDisc(&self, bsimulate: u8, bejectafterburn: u8) -> ::windows::runtime::Result<()> {
2830 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(bsimulate), ::std::mem::transmute(bejectafterburn)).ok()
2831 }
Close(&self) -> ::windows::runtime::Result<()>2832 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
2833 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
2834 }
2835 }
2836 unsafe impl ::windows::runtime::Interface for IDiscMaster {
2837 type Vtable = IDiscMaster_abi;
2838 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1376569954, 20901, 4563, [145, 68, 0, 16, 75, 161, 28, 94]);
2839 }
2840 impl ::std::convert::From<IDiscMaster> for ::windows::runtime::IUnknown {
from(value: IDiscMaster) -> Self2841 fn from(value: IDiscMaster) -> Self {
2842 unsafe { ::std::mem::transmute(value) }
2843 }
2844 }
2845 impl ::std::convert::From<&IDiscMaster> for ::windows::runtime::IUnknown {
from(value: &IDiscMaster) -> Self2846 fn from(value: &IDiscMaster) -> Self {
2847 ::std::convert::From::from(::std::clone::Clone::clone(value))
2848 }
2849 }
2850 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscMaster {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2851 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2852 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2853 }
2854 }
2855 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscMaster {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2856 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2857 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2858 }
2859 }
2860 #[repr(C)]
2861 #[doc(hidden)]
2862 pub struct IDiscMaster_abi(
2863 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2864 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2865 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2866 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2867 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2868 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpiid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2869 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppunk: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
2870 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2871 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprecorder: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2872 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, precorder: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2873 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2874 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pevents: ::windows::runtime::RawPtr, pvcookie: *mut usize) -> ::windows::runtime::HRESULT,
2875 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcookie: usize) -> ::windows::runtime::HRESULT,
2876 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bsimulate: u8, bejectafterburn: u8) -> ::windows::runtime::HRESULT,
2877 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2878 );
2879 #[repr(transparent)]
2880 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2881 pub struct IDiscMaster2(::windows::runtime::IUnknown);
2882 impl IDiscMaster2 {
2883 #[cfg(feature = "Win32_System_Ole_Automation")]
_NewEnum(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IEnumVARIANT>2884 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IEnumVARIANT> {
2885 let mut result__: <super::super::System::Ole::Automation::IEnumVARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2886 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IEnumVARIANT>(result__)
2887 }
2888 #[cfg(feature = "Win32_Foundation")]
Item(&self, index: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2889 pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2890 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2891 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2892 }
Count(&self) -> ::windows::runtime::Result<i32>2893 pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2894 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2895 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2896 }
IsSupportedEnvironment(&self) -> ::windows::runtime::Result<i16>2897 pub unsafe fn IsSupportedEnvironment(&self) -> ::windows::runtime::Result<i16> {
2898 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2899 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2900 }
2901 }
2902 unsafe impl ::windows::runtime::Interface for IDiscMaster2 {
2903 type Vtable = IDiscMaster2_abi;
2904 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801520, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
2905 }
2906 impl ::std::convert::From<IDiscMaster2> for ::windows::runtime::IUnknown {
from(value: IDiscMaster2) -> Self2907 fn from(value: IDiscMaster2) -> Self {
2908 unsafe { ::std::mem::transmute(value) }
2909 }
2910 }
2911 impl ::std::convert::From<&IDiscMaster2> for ::windows::runtime::IUnknown {
from(value: &IDiscMaster2) -> Self2912 fn from(value: &IDiscMaster2) -> Self {
2913 ::std::convert::From::from(::std::clone::Clone::clone(value))
2914 }
2915 }
2916 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscMaster2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2917 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2918 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2919 }
2920 }
2921 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscMaster2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2922 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2923 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2924 }
2925 }
2926 #[cfg(feature = "Win32_System_Ole_Automation")]
2927 impl ::std::convert::From<IDiscMaster2> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscMaster2) -> Self2928 fn from(value: IDiscMaster2) -> Self {
2929 unsafe { ::std::mem::transmute(value) }
2930 }
2931 }
2932 #[cfg(feature = "Win32_System_Ole_Automation")]
2933 impl ::std::convert::From<&IDiscMaster2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscMaster2) -> Self2934 fn from(value: &IDiscMaster2) -> Self {
2935 ::std::convert::From::from(::std::clone::Clone::clone(value))
2936 }
2937 }
2938 #[cfg(feature = "Win32_System_Ole_Automation")]
2939 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscMaster2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2940 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2941 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2942 }
2943 }
2944 #[cfg(feature = "Win32_System_Ole_Automation")]
2945 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscMaster2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2946 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2947 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2948 }
2949 }
2950 #[repr(C)]
2951 #[doc(hidden)]
2952 pub struct IDiscMaster2_abi(
2953 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2954 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2955 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2956 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2957 #[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,
2958 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2959 #[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,
2960 #[cfg(not(feature = "Win32_Foundation"))] usize,
2961 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2963 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2964 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2965 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2966 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2967 #[cfg(not(feature = "Win32_Foundation"))] usize,
2968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2969 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
2970 );
2971 #[repr(transparent)]
2972 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2973 pub struct IDiscMasterProgressEvents(::windows::runtime::IUnknown);
2974 impl IDiscMasterProgressEvents {
QueryCancel(&self) -> ::windows::runtime::Result<u8>2975 pub unsafe fn QueryCancel(&self) -> ::windows::runtime::Result<u8> {
2976 let mut result__: <u8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2977 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u8>(result__)
2978 }
NotifyPnPActivity(&self) -> ::windows::runtime::Result<()>2979 pub unsafe fn NotifyPnPActivity(&self) -> ::windows::runtime::Result<()> {
2980 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2981 }
NotifyAddProgress(&self, ncompletedsteps: i32, ntotalsteps: i32) -> ::windows::runtime::Result<()>2982 pub unsafe fn NotifyAddProgress(&self, ncompletedsteps: i32, ntotalsteps: i32) -> ::windows::runtime::Result<()> {
2983 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncompletedsteps), ::std::mem::transmute(ntotalsteps)).ok()
2984 }
NotifyBlockProgress(&self, ncompleted: i32, ntotal: i32) -> ::windows::runtime::Result<()>2985 pub unsafe fn NotifyBlockProgress(&self, ncompleted: i32, ntotal: i32) -> ::windows::runtime::Result<()> {
2986 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncompleted), ::std::mem::transmute(ntotal)).ok()
2987 }
NotifyTrackProgress(&self, ncurrenttrack: i32, ntotaltracks: i32) -> ::windows::runtime::Result<()>2988 pub unsafe fn NotifyTrackProgress(&self, ncurrenttrack: i32, ntotaltracks: i32) -> ::windows::runtime::Result<()> {
2989 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncurrenttrack), ::std::mem::transmute(ntotaltracks)).ok()
2990 }
NotifyPreparingBurn(&self, nestimatedseconds: i32) -> ::windows::runtime::Result<()>2991 pub unsafe fn NotifyPreparingBurn(&self, nestimatedseconds: i32) -> ::windows::runtime::Result<()> {
2992 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(nestimatedseconds)).ok()
2993 }
NotifyClosingDisc(&self, nestimatedseconds: i32) -> ::windows::runtime::Result<()>2994 pub unsafe fn NotifyClosingDisc(&self, nestimatedseconds: i32) -> ::windows::runtime::Result<()> {
2995 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(nestimatedseconds)).ok()
2996 }
NotifyBurnComplete(&self, status: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>2997 pub unsafe fn NotifyBurnComplete(&self, status: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> {
2998 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(status)).ok()
2999 }
NotifyEraseComplete(&self, status: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>3000 pub unsafe fn NotifyEraseComplete(&self, status: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> {
3001 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(status)).ok()
3002 }
3003 }
3004 unsafe impl ::windows::runtime::Interface for IDiscMasterProgressEvents {
3005 type Vtable = IDiscMasterProgressEvents_abi;
3006 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3969798593, 20061, 4563, [145, 68, 0, 16, 75, 161, 28, 94]);
3007 }
3008 impl ::std::convert::From<IDiscMasterProgressEvents> for ::windows::runtime::IUnknown {
from(value: IDiscMasterProgressEvents) -> Self3009 fn from(value: IDiscMasterProgressEvents) -> Self {
3010 unsafe { ::std::mem::transmute(value) }
3011 }
3012 }
3013 impl ::std::convert::From<&IDiscMasterProgressEvents> for ::windows::runtime::IUnknown {
from(value: &IDiscMasterProgressEvents) -> Self3014 fn from(value: &IDiscMasterProgressEvents) -> Self {
3015 ::std::convert::From::from(::std::clone::Clone::clone(value))
3016 }
3017 }
3018 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscMasterProgressEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3019 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3020 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3021 }
3022 }
3023 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscMasterProgressEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3024 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3025 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3026 }
3027 }
3028 #[repr(C)]
3029 #[doc(hidden)]
3030 pub struct IDiscMasterProgressEvents_abi(
3031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3032 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3033 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3034 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbcancel: *mut u8) -> ::windows::runtime::HRESULT,
3035 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3036 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncompletedsteps: i32, ntotalsteps: i32) -> ::windows::runtime::HRESULT,
3037 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncompleted: i32, ntotal: i32) -> ::windows::runtime::HRESULT,
3038 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncurrenttrack: i32, ntotaltracks: i32) -> ::windows::runtime::HRESULT,
3039 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nestimatedseconds: i32) -> ::windows::runtime::HRESULT,
3040 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nestimatedseconds: i32) -> ::windows::runtime::HRESULT,
3041 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
3042 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
3043 );
3044 #[repr(transparent)]
3045 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3046 pub struct IDiscRecorder(::windows::runtime::IUnknown);
3047 impl IDiscRecorder {
Init(&self, pbyuniqueid: *const u8, nulidsize: u32, nuldrivenumber: u32) -> ::windows::runtime::Result<()>3048 pub unsafe fn Init(&self, pbyuniqueid: *const u8, nulidsize: u32, nuldrivenumber: u32) -> ::windows::runtime::Result<()> {
3049 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbyuniqueid), ::std::mem::transmute(nulidsize), ::std::mem::transmute(nuldrivenumber)).ok()
3050 }
GetRecorderGUID(&self, pbyuniqueid: *mut u8, ulbuffersize: u32, pulreturnsizerequired: *mut u32) -> ::windows::runtime::Result<()>3051 pub unsafe fn GetRecorderGUID(&self, pbyuniqueid: *mut u8, ulbuffersize: u32, pulreturnsizerequired: *mut u32) -> ::windows::runtime::Result<()> {
3052 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbyuniqueid), ::std::mem::transmute(ulbuffersize), ::std::mem::transmute(pulreturnsizerequired)).ok()
3053 }
GetRecorderType(&self) -> ::windows::runtime::Result<RECORDER_TYPES>3054 pub unsafe fn GetRecorderType(&self) -> ::windows::runtime::Result<RECORDER_TYPES> {
3055 let mut result__: <RECORDER_TYPES as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3056 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<RECORDER_TYPES>(result__)
3057 }
3058 #[cfg(feature = "Win32_Foundation")]
GetDisplayNames(&self, pbstrvendorid: *mut super::super::Foundation::BSTR, pbstrproductid: *mut super::super::Foundation::BSTR, pbstrrevision: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3059 pub unsafe fn GetDisplayNames(&self, pbstrvendorid: *mut super::super::Foundation::BSTR, pbstrproductid: *mut super::super::Foundation::BSTR, pbstrrevision: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> {
3060 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrvendorid), ::std::mem::transmute(pbstrproductid), ::std::mem::transmute(pbstrrevision)).ok()
3061 }
3062 #[cfg(feature = "Win32_Foundation")]
GetBasePnPID(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3063 pub unsafe fn GetBasePnPID(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3064 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3065 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3066 }
3067 #[cfg(feature = "Win32_Foundation")]
GetPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3068 pub unsafe fn GetPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3069 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3070 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3071 }
3072 #[cfg(feature = "Win32_System_Com_StructuredStorage")]
GetRecorderProperties(&self) -> ::windows::runtime::Result<super::super::System::Com::StructuredStorage::IPropertyStorage>3073 pub unsafe fn GetRecorderProperties(&self) -> ::windows::runtime::Result<super::super::System::Com::StructuredStorage::IPropertyStorage> {
3074 let mut result__: <super::super::System::Com::StructuredStorage::IPropertyStorage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3075 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::StructuredStorage::IPropertyStorage>(result__)
3076 }
3077 #[cfg(feature = "Win32_System_Com_StructuredStorage")]
SetRecorderProperties<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::StructuredStorage::IPropertyStorage>>(&self, ppropstg: Param0) -> ::windows::runtime::Result<()>3078 pub unsafe fn SetRecorderProperties<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::StructuredStorage::IPropertyStorage>>(&self, ppropstg: Param0) -> ::windows::runtime::Result<()> {
3079 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ppropstg.into_param().abi()).ok()
3080 }
GetRecorderState(&self) -> ::windows::runtime::Result<DISC_RECORDER_STATE_FLAGS>3081 pub unsafe fn GetRecorderState(&self) -> ::windows::runtime::Result<DISC_RECORDER_STATE_FLAGS> {
3082 let mut result__: <DISC_RECORDER_STATE_FLAGS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3083 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<DISC_RECORDER_STATE_FLAGS>(result__)
3084 }
OpenExclusive(&self) -> ::windows::runtime::Result<()>3085 pub unsafe fn OpenExclusive(&self) -> ::windows::runtime::Result<()> {
3086 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3087 }
QueryMediaType(&self, fmediatype: *mut MEDIA_TYPES, fmediaflags: *mut MEDIA_FLAGS) -> ::windows::runtime::Result<()>3088 pub unsafe fn QueryMediaType(&self, fmediatype: *mut MEDIA_TYPES, fmediaflags: *mut MEDIA_FLAGS) -> ::windows::runtime::Result<()> {
3089 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(fmediatype), ::std::mem::transmute(fmediaflags)).ok()
3090 }
QueryMediaInfo(&self, pbsessions: *mut u8, pblasttrack: *mut u8, ulstartaddress: *mut u32, ulnextwritable: *mut u32, ulfreeblocks: *mut u32) -> ::windows::runtime::Result<()>3091 pub unsafe fn QueryMediaInfo(&self, pbsessions: *mut u8, pblasttrack: *mut u8, ulstartaddress: *mut u32, ulnextwritable: *mut u32, ulfreeblocks: *mut u32) -> ::windows::runtime::Result<()> {
3092 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbsessions), ::std::mem::transmute(pblasttrack), ::std::mem::transmute(ulstartaddress), ::std::mem::transmute(ulnextwritable), ::std::mem::transmute(ulfreeblocks)).ok()
3093 }
Eject(&self) -> ::windows::runtime::Result<()>3094 pub unsafe fn Eject(&self) -> ::windows::runtime::Result<()> {
3095 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
3096 }
Erase(&self, bfullerase: u8) -> ::windows::runtime::Result<()>3097 pub unsafe fn Erase(&self, bfullerase: u8) -> ::windows::runtime::Result<()> {
3098 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(bfullerase)).ok()
3099 }
Close(&self) -> ::windows::runtime::Result<()>3100 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
3101 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok()
3102 }
3103 }
3104 unsafe impl ::windows::runtime::Interface for IDiscRecorder {
3105 type Vtable = IDiscRecorder_abi;
3106 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2242680694, 51848, 19698, [137, 78, 9, 89, 140, 7, 138, 65]);
3107 }
3108 impl ::std::convert::From<IDiscRecorder> for ::windows::runtime::IUnknown {
from(value: IDiscRecorder) -> Self3109 fn from(value: IDiscRecorder) -> Self {
3110 unsafe { ::std::mem::transmute(value) }
3111 }
3112 }
3113 impl ::std::convert::From<&IDiscRecorder> for ::windows::runtime::IUnknown {
from(value: &IDiscRecorder) -> Self3114 fn from(value: &IDiscRecorder) -> Self {
3115 ::std::convert::From::from(::std::clone::Clone::clone(value))
3116 }
3117 }
3118 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscRecorder {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3119 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3120 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3121 }
3122 }
3123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscRecorder {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3124 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3125 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3126 }
3127 }
3128 #[repr(C)]
3129 #[doc(hidden)]
3130 pub struct IDiscRecorder_abi(
3131 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3132 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3133 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3134 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbyuniqueid: *const u8, nulidsize: u32, nuldrivenumber: u32) -> ::windows::runtime::HRESULT,
3135 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbyuniqueid: *mut u8, ulbuffersize: u32, pulreturnsizerequired: *mut u32) -> ::windows::runtime::HRESULT,
3136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ftypecode: *mut RECORDER_TYPES) -> ::windows::runtime::HRESULT,
3137 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrvendorid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrproductid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrrevision: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3138 #[cfg(not(feature = "Win32_Foundation"))] usize,
3139 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrbasepnpid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3140 #[cfg(not(feature = "Win32_Foundation"))] usize,
3141 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrpath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3142 #[cfg(not(feature = "Win32_Foundation"))] usize,
3143 #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppropstg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3144 #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize,
3145 #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppropstg: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3146 #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize,
3147 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puldevstateflags: *mut DISC_RECORDER_STATE_FLAGS) -> ::windows::runtime::HRESULT,
3148 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3149 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fmediatype: *mut MEDIA_TYPES, fmediaflags: *mut MEDIA_FLAGS) -> ::windows::runtime::HRESULT,
3150 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbsessions: *mut u8, pblasttrack: *mut u8, ulstartaddress: *mut u32, ulnextwritable: *mut u32, ulfreeblocks: *mut u32) -> ::windows::runtime::HRESULT,
3151 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3152 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bfullerase: u8) -> ::windows::runtime::HRESULT,
3153 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3154 );
3155 #[repr(transparent)]
3156 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3157 pub struct IDiscRecorder2(::windows::runtime::IUnknown);
3158 impl IDiscRecorder2 {
EjectMedia(&self) -> ::windows::runtime::Result<()>3159 pub unsafe fn EjectMedia(&self) -> ::windows::runtime::Result<()> {
3160 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
3161 }
CloseTray(&self) -> ::windows::runtime::Result<()>3162 pub unsafe fn CloseTray(&self) -> ::windows::runtime::Result<()> {
3163 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
3164 }
3165 #[cfg(feature = "Win32_Foundation")]
AcquireExclusiveAccess<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, force: i16, __midl__idiscrecorder20000: Param1) -> ::windows::runtime::Result<()>3166 pub unsafe fn AcquireExclusiveAccess<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, force: i16, __midl__idiscrecorder20000: Param1) -> ::windows::runtime::Result<()> {
3167 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(force), __midl__idiscrecorder20000.into_param().abi()).ok()
3168 }
ReleaseExclusiveAccess(&self) -> ::windows::runtime::Result<()>3169 pub unsafe fn ReleaseExclusiveAccess(&self) -> ::windows::runtime::Result<()> {
3170 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
3171 }
DisableMcn(&self) -> ::windows::runtime::Result<()>3172 pub unsafe fn DisableMcn(&self) -> ::windows::runtime::Result<()> {
3173 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
3174 }
EnableMcn(&self) -> ::windows::runtime::Result<()>3175 pub unsafe fn EnableMcn(&self) -> ::windows::runtime::Result<()> {
3176 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3177 }
3178 #[cfg(feature = "Win32_Foundation")]
InitializeDiscRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, recorderuniqueid: Param0) -> ::windows::runtime::Result<()>3179 pub unsafe fn InitializeDiscRecorder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, recorderuniqueid: Param0) -> ::windows::runtime::Result<()> {
3180 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), recorderuniqueid.into_param().abi()).ok()
3181 }
3182 #[cfg(feature = "Win32_Foundation")]
ActiveDiscRecorder(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3183 pub unsafe fn ActiveDiscRecorder(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3184 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3185 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3186 }
3187 #[cfg(feature = "Win32_Foundation")]
VendorId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3188 pub unsafe fn VendorId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3189 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3190 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3191 }
3192 #[cfg(feature = "Win32_Foundation")]
ProductId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3193 pub unsafe fn ProductId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3194 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3195 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3196 }
3197 #[cfg(feature = "Win32_Foundation")]
ProductRevision(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3198 pub unsafe fn ProductRevision(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3199 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3200 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3201 }
3202 #[cfg(feature = "Win32_Foundation")]
VolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3203 pub unsafe fn VolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3204 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3205 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3206 }
3207 #[cfg(feature = "Win32_System_Com")]
VolumePathNames(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3208 pub unsafe fn VolumePathNames(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3209 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3210 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3211 }
DeviceCanLoadMedia(&self) -> ::windows::runtime::Result<i16>3212 pub unsafe fn DeviceCanLoadMedia(&self) -> ::windows::runtime::Result<i16> {
3213 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3214 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3215 }
LegacyDeviceNumber(&self) -> ::windows::runtime::Result<i32>3216 pub unsafe fn LegacyDeviceNumber(&self) -> ::windows::runtime::Result<i32> {
3217 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3218 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3219 }
3220 #[cfg(feature = "Win32_System_Com")]
SupportedFeaturePages(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3221 pub unsafe fn SupportedFeaturePages(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3222 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3223 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3224 }
3225 #[cfg(feature = "Win32_System_Com")]
CurrentFeaturePages(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3226 pub unsafe fn CurrentFeaturePages(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3227 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3228 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3229 }
3230 #[cfg(feature = "Win32_System_Com")]
SupportedProfiles(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3231 pub unsafe fn SupportedProfiles(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3232 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3233 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3234 }
3235 #[cfg(feature = "Win32_System_Com")]
CurrentProfiles(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3236 pub unsafe fn CurrentProfiles(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3237 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3238 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3239 }
3240 #[cfg(feature = "Win32_System_Com")]
SupportedModePages(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3241 pub unsafe fn SupportedModePages(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3242 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3243 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3244 }
3245 #[cfg(feature = "Win32_Foundation")]
ExclusiveAccessOwner(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3246 pub unsafe fn ExclusiveAccessOwner(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3247 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3248 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3249 }
3250 }
3251 unsafe impl ::windows::runtime::Interface for IDiscRecorder2 {
3252 type Vtable = IDiscRecorder2_abi;
3253 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801523, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
3254 }
3255 impl ::std::convert::From<IDiscRecorder2> for ::windows::runtime::IUnknown {
from(value: IDiscRecorder2) -> Self3256 fn from(value: IDiscRecorder2) -> Self {
3257 unsafe { ::std::mem::transmute(value) }
3258 }
3259 }
3260 impl ::std::convert::From<&IDiscRecorder2> for ::windows::runtime::IUnknown {
from(value: &IDiscRecorder2) -> Self3261 fn from(value: &IDiscRecorder2) -> Self {
3262 ::std::convert::From::from(::std::clone::Clone::clone(value))
3263 }
3264 }
3265 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscRecorder2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3266 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3267 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3268 }
3269 }
3270 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscRecorder2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3271 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3272 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3273 }
3274 }
3275 #[cfg(feature = "Win32_System_Ole_Automation")]
3276 impl ::std::convert::From<IDiscRecorder2> for super::super::System::Ole::Automation::IDispatch {
from(value: IDiscRecorder2) -> Self3277 fn from(value: IDiscRecorder2) -> Self {
3278 unsafe { ::std::mem::transmute(value) }
3279 }
3280 }
3281 #[cfg(feature = "Win32_System_Ole_Automation")]
3282 impl ::std::convert::From<&IDiscRecorder2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IDiscRecorder2) -> Self3283 fn from(value: &IDiscRecorder2) -> Self {
3284 ::std::convert::From::from(::std::clone::Clone::clone(value))
3285 }
3286 }
3287 #[cfg(feature = "Win32_System_Ole_Automation")]
3288 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IDiscRecorder2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3289 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3290 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3291 }
3292 }
3293 #[cfg(feature = "Win32_System_Ole_Automation")]
3294 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IDiscRecorder2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3295 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3296 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3297 }
3298 }
3299 #[repr(C)]
3300 #[doc(hidden)]
3301 pub struct IDiscRecorder2_abi(
3302 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3303 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3304 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3305 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3306 #[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,
3307 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3308 #[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,
3309 #[cfg(not(feature = "Win32_Foundation"))] usize,
3310 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3311 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3312 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3313 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3314 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3315 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, force: i16, __midl__idiscrecorder20000: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3316 #[cfg(not(feature = "Win32_Foundation"))] usize,
3317 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3318 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3319 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3320 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recorderuniqueid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3321 #[cfg(not(feature = "Win32_Foundation"))] usize,
3322 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3323 #[cfg(not(feature = "Win32_Foundation"))] usize,
3324 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3325 #[cfg(not(feature = "Win32_Foundation"))] usize,
3326 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3327 #[cfg(not(feature = "Win32_Foundation"))] usize,
3328 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3329 #[cfg(not(feature = "Win32_Foundation"))] usize,
3330 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3331 #[cfg(not(feature = "Win32_Foundation"))] usize,
3332 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3333 #[cfg(not(feature = "Win32_System_Com"))] usize,
3334 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i16) -> ::windows::runtime::HRESULT,
3335 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, legacydevicenumber: *mut i32) -> ::windows::runtime::HRESULT,
3336 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3337 #[cfg(not(feature = "Win32_System_Com"))] usize,
3338 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3339 #[cfg(not(feature = "Win32_System_Com"))] usize,
3340 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3341 #[cfg(not(feature = "Win32_System_Com"))] usize,
3342 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3343 #[cfg(not(feature = "Win32_System_Com"))] usize,
3344 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3345 #[cfg(not(feature = "Win32_System_Com"))] usize,
3346 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3347 #[cfg(not(feature = "Win32_Foundation"))] usize,
3348 );
3349 #[repr(transparent)]
3350 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3351 pub struct IDiscRecorder2Ex(::windows::runtime::IUnknown);
3352 impl IDiscRecorder2Ex {
SendCommandNoData(&self, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32) -> ::windows::runtime::Result<()>3353 pub unsafe fn SendCommandNoData(&self, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32) -> ::windows::runtime::Result<()> {
3354 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(cdb), ::std::mem::transmute(cdbsize), ::std::mem::transmute(sensebuffer), ::std::mem::transmute(timeout)).ok()
3355 }
SendCommandSendDataToDevice(&self, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32, buffer: *const u8, buffersize: u32) -> ::windows::runtime::Result<()>3356 pub unsafe fn SendCommandSendDataToDevice(&self, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32, buffer: *const u8, buffersize: u32) -> ::windows::runtime::Result<()> {
3357 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(cdb), ::std::mem::transmute(cdbsize), ::std::mem::transmute(sensebuffer), ::std::mem::transmute(timeout), ::std::mem::transmute(buffer), ::std::mem::transmute(buffersize)).ok()
3358 }
SendCommandGetDataFromDevice(&self, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32, buffer: *mut u8, buffersize: u32, bufferfetched: *mut u32) -> ::windows::runtime::Result<()>3359 pub unsafe fn SendCommandGetDataFromDevice(&self, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32, buffer: *mut u8, buffersize: u32, bufferfetched: *mut u32) -> ::windows::runtime::Result<()> {
3360 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(cdb), ::std::mem::transmute(cdbsize), ::std::mem::transmute(sensebuffer), ::std::mem::transmute(timeout), ::std::mem::transmute(buffer), ::std::mem::transmute(buffersize), ::std::mem::transmute(bufferfetched)).ok()
3361 }
ReadDvdStructure(&self, format: u32, address: u32, layer: u32, agid: u32, data: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()>3362 pub unsafe fn ReadDvdStructure(&self, format: u32, address: u32, layer: u32, agid: u32, data: *mut *mut u8, count: *mut u32) -> ::windows::runtime::Result<()> {
3363 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(format), ::std::mem::transmute(address), ::std::mem::transmute(layer), ::std::mem::transmute(agid), ::std::mem::transmute(data), ::std::mem::transmute(count)).ok()
3364 }
SendDvdStructure(&self, format: u32, data: *const u8, count: u32) -> ::windows::runtime::Result<()>3365 pub unsafe fn SendDvdStructure(&self, format: u32, data: *const u8, count: u32) -> ::windows::runtime::Result<()> {
3366 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(format), ::std::mem::transmute(data), ::std::mem::transmute(count)).ok()
3367 }
GetAdapterDescriptor(&self, data: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()>3368 pub unsafe fn GetAdapterDescriptor(&self, data: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3369 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(data), ::std::mem::transmute(bytesize)).ok()
3370 }
GetDeviceDescriptor(&self, data: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()>3371 pub unsafe fn GetDeviceDescriptor(&self, data: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3372 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(data), ::std::mem::transmute(bytesize)).ok()
3373 }
GetDiscInformation(&self, discinformation: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()>3374 pub unsafe fn GetDiscInformation(&self, discinformation: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3375 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(discinformation), ::std::mem::transmute(bytesize)).ok()
3376 }
GetTrackInformation(&self, address: u32, addresstype: IMAPI_READ_TRACK_ADDRESS_TYPE, trackinformation: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()>3377 pub unsafe fn GetTrackInformation(&self, address: u32, addresstype: IMAPI_READ_TRACK_ADDRESS_TYPE, trackinformation: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3378 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(address), ::std::mem::transmute(addresstype), ::std::mem::transmute(trackinformation), ::std::mem::transmute(bytesize)).ok()
3379 }
3380 #[cfg(feature = "Win32_Foundation")]
GetFeaturePage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(&self, requestedfeature: IMAPI_FEATURE_PAGE_TYPE, currentfeatureonly: Param1, featuredata: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()>3381 pub unsafe fn GetFeaturePage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(&self, requestedfeature: IMAPI_FEATURE_PAGE_TYPE, currentfeatureonly: Param1, featuredata: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3382 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(requestedfeature), currentfeatureonly.into_param().abi(), ::std::mem::transmute(featuredata), ::std::mem::transmute(bytesize)).ok()
3383 }
GetModePage(&self, requestedmodepage: IMAPI_MODE_PAGE_TYPE, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagedata: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()>3384 pub unsafe fn GetModePage(&self, requestedmodepage: IMAPI_MODE_PAGE_TYPE, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagedata: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3385 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(requestedmodepage), ::std::mem::transmute(requesttype), ::std::mem::transmute(modepagedata), ::std::mem::transmute(bytesize)).ok()
3386 }
SetModePage(&self, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, data: *const u8, bytesize: u32) -> ::windows::runtime::Result<()>3387 pub unsafe fn SetModePage(&self, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, data: *const u8, bytesize: u32) -> ::windows::runtime::Result<()> {
3388 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(requesttype), ::std::mem::transmute(data), ::std::mem::transmute(bytesize)).ok()
3389 }
3390 #[cfg(feature = "Win32_Foundation")]
GetSupportedFeaturePages<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(&self, currentfeatureonly: Param0, featuredata: *mut *mut IMAPI_FEATURE_PAGE_TYPE, bytesize: *mut u32) -> ::windows::runtime::Result<()>3391 pub unsafe fn GetSupportedFeaturePages<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(&self, currentfeatureonly: Param0, featuredata: *mut *mut IMAPI_FEATURE_PAGE_TYPE, bytesize: *mut u32) -> ::windows::runtime::Result<()> {
3392 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), currentfeatureonly.into_param().abi(), ::std::mem::transmute(featuredata), ::std::mem::transmute(bytesize)).ok()
3393 }
3394 #[cfg(feature = "Win32_Foundation")]
GetSupportedProfiles<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(&self, currentonly: Param0, profiletypes: *mut *mut IMAPI_PROFILE_TYPE, validprofiles: *mut u32) -> ::windows::runtime::Result<()>3395 pub unsafe fn GetSupportedProfiles<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOLEAN>>(&self, currentonly: Param0, profiletypes: *mut *mut IMAPI_PROFILE_TYPE, validprofiles: *mut u32) -> ::windows::runtime::Result<()> {
3396 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), currentonly.into_param().abi(), ::std::mem::transmute(profiletypes), ::std::mem::transmute(validprofiles)).ok()
3397 }
GetSupportedModePages(&self, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagetypes: *mut *mut IMAPI_MODE_PAGE_TYPE, validpages: *mut u32) -> ::windows::runtime::Result<()>3398 pub unsafe fn GetSupportedModePages(&self, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagetypes: *mut *mut IMAPI_MODE_PAGE_TYPE, validpages: *mut u32) -> ::windows::runtime::Result<()> {
3399 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(requesttype), ::std::mem::transmute(modepagetypes), ::std::mem::transmute(validpages)).ok()
3400 }
GetByteAlignmentMask(&self) -> ::windows::runtime::Result<u32>3401 pub unsafe fn GetByteAlignmentMask(&self) -> ::windows::runtime::Result<u32> {
3402 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3403 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3404 }
GetMaximumNonPageAlignedTransferSize(&self) -> ::windows::runtime::Result<u32>3405 pub unsafe fn GetMaximumNonPageAlignedTransferSize(&self) -> ::windows::runtime::Result<u32> {
3406 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3407 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3408 }
GetMaximumPageAlignedTransferSize(&self) -> ::windows::runtime::Result<u32>3409 pub unsafe fn GetMaximumPageAlignedTransferSize(&self) -> ::windows::runtime::Result<u32> {
3410 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3411 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3412 }
3413 }
3414 unsafe impl ::windows::runtime::Interface for IDiscRecorder2Ex {
3415 type Vtable = IDiscRecorder2Ex_abi;
3416 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(657801522, 32612, 23311, [143, 0, 93, 119, 175, 190, 38, 30]);
3417 }
3418 impl ::std::convert::From<IDiscRecorder2Ex> for ::windows::runtime::IUnknown {
from(value: IDiscRecorder2Ex) -> Self3419 fn from(value: IDiscRecorder2Ex) -> Self {
3420 unsafe { ::std::mem::transmute(value) }
3421 }
3422 }
3423 impl ::std::convert::From<&IDiscRecorder2Ex> for ::windows::runtime::IUnknown {
from(value: &IDiscRecorder2Ex) -> Self3424 fn from(value: &IDiscRecorder2Ex) -> Self {
3425 ::std::convert::From::from(::std::clone::Clone::clone(value))
3426 }
3427 }
3428 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDiscRecorder2Ex {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3429 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3430 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3431 }
3432 }
3433 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDiscRecorder2Ex {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3434 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3435 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3436 }
3437 }
3438 #[repr(C)]
3439 #[doc(hidden)]
3440 pub struct IDiscRecorder2Ex_abi(
3441 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3442 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3443 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3444 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32) -> ::windows::runtime::HRESULT,
3445 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32, buffer: *const u8, buffersize: u32) -> ::windows::runtime::HRESULT,
3446 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cdb: *const u8, cdbsize: u32, sensebuffer: *mut u8, timeout: u32, buffer: *mut u8, buffersize: u32, bufferfetched: *mut u32) -> ::windows::runtime::HRESULT,
3447 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: u32, address: u32, layer: u32, agid: u32, data: *mut *mut u8, count: *mut u32) -> ::windows::runtime::HRESULT,
3448 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, format: u32, data: *const u8, count: u32) -> ::windows::runtime::HRESULT,
3449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3450 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3451 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discinformation: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, address: u32, addresstype: IMAPI_READ_TRACK_ADDRESS_TYPE, trackinformation: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3453 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestedfeature: IMAPI_FEATURE_PAGE_TYPE, currentfeatureonly: super::super::Foundation::BOOLEAN, featuredata: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3454 #[cfg(not(feature = "Win32_Foundation"))] usize,
3455 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requestedmodepage: IMAPI_MODE_PAGE_TYPE, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagedata: *mut *mut u8, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, data: *const u8, bytesize: u32) -> ::windows::runtime::HRESULT,
3457 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentfeatureonly: super::super::Foundation::BOOLEAN, featuredata: *mut *mut IMAPI_FEATURE_PAGE_TYPE, bytesize: *mut u32) -> ::windows::runtime::HRESULT,
3458 #[cfg(not(feature = "Win32_Foundation"))] usize,
3459 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentonly: super::super::Foundation::BOOLEAN, profiletypes: *mut *mut IMAPI_PROFILE_TYPE, validprofiles: *mut u32) -> ::windows::runtime::HRESULT,
3460 #[cfg(not(feature = "Win32_Foundation"))] usize,
3461 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, requesttype: IMAPI_MODE_PAGE_REQUEST_TYPE, modepagetypes: *mut *mut IMAPI_MODE_PAGE_TYPE, validpages: *mut u32) -> ::windows::runtime::HRESULT,
3462 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut u32) -> ::windows::runtime::HRESULT,
3463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut u32) -> ::windows::runtime::HRESULT,
3464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut u32) -> ::windows::runtime::HRESULT,
3465 );
3466 #[repr(transparent)]
3467 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3468 pub struct IEnumDiscMasterFormats(::windows::runtime::IUnknown);
3469 impl IEnumDiscMasterFormats {
Next(&self, cformats: u32, lpiidformatid: *mut ::windows::runtime::GUID, pcfetched: *mut u32) -> ::windows::runtime::Result<()>3470 pub unsafe fn Next(&self, cformats: u32, lpiidformatid: *mut ::windows::runtime::GUID, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
3471 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(cformats), ::std::mem::transmute(lpiidformatid), ::std::mem::transmute(pcfetched)).ok()
3472 }
Skip(&self, cformats: u32) -> ::windows::runtime::Result<()>3473 pub unsafe fn Skip(&self, cformats: u32) -> ::windows::runtime::Result<()> {
3474 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(cformats)).ok()
3475 }
Reset(&self) -> ::windows::runtime::Result<()>3476 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
3477 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3478 }
Clone(&self) -> ::windows::runtime::Result<IEnumDiscMasterFormats>3479 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumDiscMasterFormats> {
3480 let mut result__: <IEnumDiscMasterFormats as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3481 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumDiscMasterFormats>(result__)
3482 }
3483 }
3484 unsafe impl ::windows::runtime::Interface for IEnumDiscMasterFormats {
3485 type Vtable = IEnumDiscMasterFormats_abi;
3486 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3723773409, 21690, 4563, [145, 68, 0, 16, 75, 161, 28, 94]);
3487 }
3488 impl ::std::convert::From<IEnumDiscMasterFormats> for ::windows::runtime::IUnknown {
from(value: IEnumDiscMasterFormats) -> Self3489 fn from(value: IEnumDiscMasterFormats) -> Self {
3490 unsafe { ::std::mem::transmute(value) }
3491 }
3492 }
3493 impl ::std::convert::From<&IEnumDiscMasterFormats> for ::windows::runtime::IUnknown {
from(value: &IEnumDiscMasterFormats) -> Self3494 fn from(value: &IEnumDiscMasterFormats) -> Self {
3495 ::std::convert::From::from(::std::clone::Clone::clone(value))
3496 }
3497 }
3498 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumDiscMasterFormats {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3499 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3500 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3501 }
3502 }
3503 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumDiscMasterFormats {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3504 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3505 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3506 }
3507 }
3508 #[repr(C)]
3509 #[doc(hidden)]
3510 pub struct IEnumDiscMasterFormats_abi(
3511 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3512 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3513 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3514 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cformats: u32, lpiidformatid: *mut ::windows::runtime::GUID, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
3515 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cformats: u32) -> ::windows::runtime::HRESULT,
3516 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3517 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3518 );
3519 #[repr(transparent)]
3520 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3521 pub struct IEnumDiscRecorders(::windows::runtime::IUnknown);
3522 impl IEnumDiscRecorders {
Next(&self, crecorders: u32, pprecorder: *mut ::std::option::Option<IDiscRecorder>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>3523 pub unsafe fn Next(&self, crecorders: u32, pprecorder: *mut ::std::option::Option<IDiscRecorder>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
3524 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(crecorders), ::std::mem::transmute(pprecorder), ::std::mem::transmute(pcfetched)).ok()
3525 }
Skip(&self, crecorders: u32) -> ::windows::runtime::Result<()>3526 pub unsafe fn Skip(&self, crecorders: u32) -> ::windows::runtime::Result<()> {
3527 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(crecorders)).ok()
3528 }
Reset(&self) -> ::windows::runtime::Result<()>3529 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
3530 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3531 }
Clone(&self) -> ::windows::runtime::Result<IEnumDiscRecorders>3532 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumDiscRecorders> {
3533 let mut result__: <IEnumDiscRecorders as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3534 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumDiscRecorders>(result__)
3535 }
3536 }
3537 unsafe impl ::windows::runtime::Interface for IEnumDiscRecorders {
3538 type Vtable = IEnumDiscRecorders_abi;
3539 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2602115553, 21676, 4563, [145, 68, 0, 16, 75, 161, 28, 94]);
3540 }
3541 impl ::std::convert::From<IEnumDiscRecorders> for ::windows::runtime::IUnknown {
from(value: IEnumDiscRecorders) -> Self3542 fn from(value: IEnumDiscRecorders) -> Self {
3543 unsafe { ::std::mem::transmute(value) }
3544 }
3545 }
3546 impl ::std::convert::From<&IEnumDiscRecorders> for ::windows::runtime::IUnknown {
from(value: &IEnumDiscRecorders) -> Self3547 fn from(value: &IEnumDiscRecorders) -> Self {
3548 ::std::convert::From::from(::std::clone::Clone::clone(value))
3549 }
3550 }
3551 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumDiscRecorders {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3552 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3553 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3554 }
3555 }
3556 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumDiscRecorders {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3557 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3558 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3559 }
3560 }
3561 #[repr(C)]
3562 #[doc(hidden)]
3563 pub struct IEnumDiscRecorders_abi(
3564 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3565 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3566 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3567 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, crecorders: u32, pprecorder: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
3568 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, crecorders: u32) -> ::windows::runtime::HRESULT,
3569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3570 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3571 );
3572 #[repr(transparent)]
3573 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3574 pub struct IEnumFsiItems(::windows::runtime::IUnknown);
3575 impl IEnumFsiItems {
Next(&self, celt: u32, rgelt: *mut ::std::option::Option<IFsiItem>, pceltfetched: *mut u32) -> ::windows::runtime::Result<()>3576 pub unsafe fn Next(&self, celt: u32, rgelt: *mut ::std::option::Option<IFsiItem>, pceltfetched: *mut u32) -> ::windows::runtime::Result<()> {
3577 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt), ::std::mem::transmute(rgelt), ::std::mem::transmute(pceltfetched)).ok()
3578 }
Skip(&self, celt: u32) -> ::windows::runtime::Result<()>3579 pub unsafe fn Skip(&self, celt: u32) -> ::windows::runtime::Result<()> {
3580 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt)).ok()
3581 }
Reset(&self) -> ::windows::runtime::Result<()>3582 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
3583 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3584 }
Clone(&self) -> ::windows::runtime::Result<IEnumFsiItems>3585 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumFsiItems> {
3586 let mut result__: <IEnumFsiItems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3587 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumFsiItems>(result__)
3588 }
3589 }
3590 unsafe impl ::windows::runtime::Interface for IEnumFsiItems {
3591 type Vtable = IEnumFsiItems_abi;
3592 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904986, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
3593 }
3594 impl ::std::convert::From<IEnumFsiItems> for ::windows::runtime::IUnknown {
from(value: IEnumFsiItems) -> Self3595 fn from(value: IEnumFsiItems) -> Self {
3596 unsafe { ::std::mem::transmute(value) }
3597 }
3598 }
3599 impl ::std::convert::From<&IEnumFsiItems> for ::windows::runtime::IUnknown {
from(value: &IEnumFsiItems) -> Self3600 fn from(value: &IEnumFsiItems) -> Self {
3601 ::std::convert::From::from(::std::clone::Clone::clone(value))
3602 }
3603 }
3604 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumFsiItems {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3605 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3606 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3607 }
3608 }
3609 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumFsiItems {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3610 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3611 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3612 }
3613 }
3614 #[repr(C)]
3615 #[doc(hidden)]
3616 pub struct IEnumFsiItems_abi(
3617 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3618 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3619 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3620 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32, rgelt: *mut ::windows::runtime::RawPtr, pceltfetched: *mut u32) -> ::windows::runtime::HRESULT,
3621 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32) -> ::windows::runtime::HRESULT,
3622 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3623 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3624 );
3625 #[repr(transparent)]
3626 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3627 pub struct IEnumProgressItems(::windows::runtime::IUnknown);
3628 impl IEnumProgressItems {
Next(&self, celt: u32, rgelt: *mut ::std::option::Option<IProgressItem>, pceltfetched: *mut u32) -> ::windows::runtime::Result<()>3629 pub unsafe fn Next(&self, celt: u32, rgelt: *mut ::std::option::Option<IProgressItem>, pceltfetched: *mut u32) -> ::windows::runtime::Result<()> {
3630 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt), ::std::mem::transmute(rgelt), ::std::mem::transmute(pceltfetched)).ok()
3631 }
Skip(&self, celt: u32) -> ::windows::runtime::Result<()>3632 pub unsafe fn Skip(&self, celt: u32) -> ::windows::runtime::Result<()> {
3633 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt)).ok()
3634 }
Reset(&self) -> ::windows::runtime::Result<()>3635 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
3636 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3637 }
Clone(&self) -> ::windows::runtime::Result<IEnumProgressItems>3638 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumProgressItems> {
3639 let mut result__: <IEnumProgressItems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3640 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumProgressItems>(result__)
3641 }
3642 }
3643 unsafe impl ::windows::runtime::Interface for IEnumProgressItems {
3644 type Vtable = IEnumProgressItems_abi;
3645 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904982, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
3646 }
3647 impl ::std::convert::From<IEnumProgressItems> for ::windows::runtime::IUnknown {
from(value: IEnumProgressItems) -> Self3648 fn from(value: IEnumProgressItems) -> Self {
3649 unsafe { ::std::mem::transmute(value) }
3650 }
3651 }
3652 impl ::std::convert::From<&IEnumProgressItems> for ::windows::runtime::IUnknown {
from(value: &IEnumProgressItems) -> Self3653 fn from(value: &IEnumProgressItems) -> Self {
3654 ::std::convert::From::from(::std::clone::Clone::clone(value))
3655 }
3656 }
3657 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumProgressItems {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3658 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3659 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3660 }
3661 }
3662 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumProgressItems {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3663 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3664 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3665 }
3666 }
3667 #[repr(C)]
3668 #[doc(hidden)]
3669 pub struct IEnumProgressItems_abi(
3670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3673 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32, rgelt: *mut ::windows::runtime::RawPtr, pceltfetched: *mut u32) -> ::windows::runtime::HRESULT,
3674 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32) -> ::windows::runtime::HRESULT,
3675 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3676 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3677 );
3678 #[repr(transparent)]
3679 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3680 pub struct IFileSystemImage(::windows::runtime::IUnknown);
3681 impl IFileSystemImage {
Root(&self) -> ::windows::runtime::Result<IFsiDirectoryItem>3682 pub unsafe fn Root(&self) -> ::windows::runtime::Result<IFsiDirectoryItem> {
3683 let mut result__: <IFsiDirectoryItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3684 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFsiDirectoryItem>(result__)
3685 }
SessionStartBlock(&self) -> ::windows::runtime::Result<i32>3686 pub unsafe fn SessionStartBlock(&self) -> ::windows::runtime::Result<i32> {
3687 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3688 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3689 }
SetSessionStartBlock(&self, newval: i32) -> ::windows::runtime::Result<()>3690 pub unsafe fn SetSessionStartBlock(&self, newval: i32) -> ::windows::runtime::Result<()> {
3691 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3692 }
FreeMediaBlocks(&self) -> ::windows::runtime::Result<i32>3693 pub unsafe fn FreeMediaBlocks(&self) -> ::windows::runtime::Result<i32> {
3694 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3695 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3696 }
SetFreeMediaBlocks(&self, newval: i32) -> ::windows::runtime::Result<()>3697 pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> ::windows::runtime::Result<()> {
3698 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3699 }
SetMaxMediaBlocksFromDevice<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()>3700 pub unsafe fn SetMaxMediaBlocksFromDevice<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()> {
3701 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), discrecorder.into_param().abi()).ok()
3702 }
UsedBlocks(&self) -> ::windows::runtime::Result<i32>3703 pub unsafe fn UsedBlocks(&self) -> ::windows::runtime::Result<i32> {
3704 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3705 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3706 }
3707 #[cfg(feature = "Win32_Foundation")]
VolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3708 pub unsafe fn VolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3709 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3710 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3711 }
3712 #[cfg(feature = "Win32_Foundation")]
SetVolumeName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()>3713 pub unsafe fn SetVolumeName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
3714 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
3715 }
3716 #[cfg(feature = "Win32_Foundation")]
ImportedVolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3717 pub unsafe fn ImportedVolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3718 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3719 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3720 }
BootImageOptions(&self) -> ::windows::runtime::Result<IBootOptions>3721 pub unsafe fn BootImageOptions(&self) -> ::windows::runtime::Result<IBootOptions> {
3722 let mut result__: <IBootOptions as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3723 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IBootOptions>(result__)
3724 }
SetBootImageOptions<'a, Param0: ::windows::runtime::IntoParam<'a, IBootOptions>>(&self, newval: Param0) -> ::windows::runtime::Result<()>3725 pub unsafe fn SetBootImageOptions<'a, Param0: ::windows::runtime::IntoParam<'a, IBootOptions>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
3726 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
3727 }
FileCount(&self) -> ::windows::runtime::Result<i32>3728 pub unsafe fn FileCount(&self) -> ::windows::runtime::Result<i32> {
3729 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3730 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3731 }
DirectoryCount(&self) -> ::windows::runtime::Result<i32>3732 pub unsafe fn DirectoryCount(&self) -> ::windows::runtime::Result<i32> {
3733 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3734 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3735 }
3736 #[cfg(feature = "Win32_Foundation")]
WorkingDirectory(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3737 pub unsafe fn WorkingDirectory(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3738 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3739 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3740 }
3741 #[cfg(feature = "Win32_Foundation")]
SetWorkingDirectory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()>3742 pub unsafe fn SetWorkingDirectory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
3743 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
3744 }
ChangePoint(&self) -> ::windows::runtime::Result<i32>3745 pub unsafe fn ChangePoint(&self) -> ::windows::runtime::Result<i32> {
3746 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3747 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3748 }
StrictFileSystemCompliance(&self) -> ::windows::runtime::Result<i16>3749 pub unsafe fn StrictFileSystemCompliance(&self) -> ::windows::runtime::Result<i16> {
3750 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3751 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3752 }
SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::runtime::Result<()>3753 pub unsafe fn SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::runtime::Result<()> {
3754 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3755 }
UseRestrictedCharacterSet(&self) -> ::windows::runtime::Result<i16>3756 pub unsafe fn UseRestrictedCharacterSet(&self) -> ::windows::runtime::Result<i16> {
3757 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3758 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3759 }
SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::runtime::Result<()>3760 pub unsafe fn SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::runtime::Result<()> {
3761 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3762 }
FileSystemsToCreate(&self) -> ::windows::runtime::Result<FsiFileSystems>3763 pub unsafe fn FileSystemsToCreate(&self) -> ::windows::runtime::Result<FsiFileSystems> {
3764 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3765 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FsiFileSystems>(result__)
3766 }
SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::runtime::Result<()>3767 pub unsafe fn SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::runtime::Result<()> {
3768 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3769 }
FileSystemsSupported(&self) -> ::windows::runtime::Result<FsiFileSystems>3770 pub unsafe fn FileSystemsSupported(&self) -> ::windows::runtime::Result<FsiFileSystems> {
3771 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3772 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FsiFileSystems>(result__)
3773 }
SetUDFRevision(&self, newval: i32) -> ::windows::runtime::Result<()>3774 pub unsafe fn SetUDFRevision(&self, newval: i32) -> ::windows::runtime::Result<()> {
3775 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3776 }
UDFRevision(&self) -> ::windows::runtime::Result<i32>3777 pub unsafe fn UDFRevision(&self) -> ::windows::runtime::Result<i32> {
3778 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3779 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3780 }
3781 #[cfg(feature = "Win32_System_Com")]
UDFRevisionsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3782 pub unsafe fn UDFRevisionsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3783 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3784 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3785 }
ChooseImageDefaults<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()>3786 pub unsafe fn ChooseImageDefaults<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()> {
3787 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), discrecorder.into_param().abi()).ok()
3788 }
ChooseImageDefaultsForMediaType(&self, value: IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::Result<()>3789 pub unsafe fn ChooseImageDefaultsForMediaType(&self, value: IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::Result<()> {
3790 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3791 }
SetISO9660InterchangeLevel(&self, newval: i32) -> ::windows::runtime::Result<()>3792 pub unsafe fn SetISO9660InterchangeLevel(&self, newval: i32) -> ::windows::runtime::Result<()> {
3793 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3794 }
ISO9660InterchangeLevel(&self) -> ::windows::runtime::Result<i32>3795 pub unsafe fn ISO9660InterchangeLevel(&self) -> ::windows::runtime::Result<i32> {
3796 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3797 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3798 }
3799 #[cfg(feature = "Win32_System_Com")]
ISO9660InterchangeLevelsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3800 pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3801 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3802 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3803 }
CreateResultImage(&self) -> ::windows::runtime::Result<IFileSystemImageResult>3804 pub unsafe fn CreateResultImage(&self) -> ::windows::runtime::Result<IFileSystemImageResult> {
3805 let mut result__: <IFileSystemImageResult as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3806 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFileSystemImageResult>(result__)
3807 }
3808 #[cfg(feature = "Win32_Foundation")]
Exists<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fullpath: Param0) -> ::windows::runtime::Result<FsiItemType>3809 pub unsafe fn Exists<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fullpath: Param0) -> ::windows::runtime::Result<FsiItemType> {
3810 let mut result__: <FsiItemType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3811 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), fullpath.into_param().abi(), &mut result__).from_abi::<FsiItemType>(result__)
3812 }
3813 #[cfg(feature = "Win32_Foundation")]
CalculateDiscIdentifier(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3814 pub unsafe fn CalculateDiscIdentifier(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3815 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3816 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3817 }
IdentifyFileSystemsOnDisc<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<FsiFileSystems>3818 pub unsafe fn IdentifyFileSystemsOnDisc<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<FsiFileSystems> {
3819 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3820 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), discrecorder.into_param().abi(), &mut result__).from_abi::<FsiFileSystems>(result__)
3821 }
GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> ::windows::runtime::Result<FsiFileSystems>3822 pub unsafe fn GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> ::windows::runtime::Result<FsiFileSystems> {
3823 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3824 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(filesystems), &mut result__).from_abi::<FsiFileSystems>(result__)
3825 }
ImportFileSystem(&self) -> ::windows::runtime::Result<FsiFileSystems>3826 pub unsafe fn ImportFileSystem(&self) -> ::windows::runtime::Result<FsiFileSystems> {
3827 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3828 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FsiFileSystems>(result__)
3829 }
ImportSpecificFileSystem(&self, filesystemtouse: FsiFileSystems) -> ::windows::runtime::Result<()>3830 pub unsafe fn ImportSpecificFileSystem(&self, filesystemtouse: FsiFileSystems) -> ::windows::runtime::Result<()> {
3831 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(filesystemtouse)).ok()
3832 }
RollbackToChangePoint(&self, changepoint: i32) -> ::windows::runtime::Result<()>3833 pub unsafe fn RollbackToChangePoint(&self, changepoint: i32) -> ::windows::runtime::Result<()> {
3834 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(changepoint)).ok()
3835 }
LockInChangePoint(&self) -> ::windows::runtime::Result<()>3836 pub unsafe fn LockInChangePoint(&self) -> ::windows::runtime::Result<()> {
3837 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok()
3838 }
3839 #[cfg(feature = "Win32_Foundation")]
CreateDirectoryItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<IFsiDirectoryItem>3840 pub unsafe fn CreateDirectoryItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<IFsiDirectoryItem> {
3841 let mut result__: <IFsiDirectoryItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3842 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), name.into_param().abi(), &mut result__).from_abi::<IFsiDirectoryItem>(result__)
3843 }
3844 #[cfg(feature = "Win32_Foundation")]
CreateFileItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<IFsiFileItem>3845 pub unsafe fn CreateFileItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<IFsiFileItem> {
3846 let mut result__: <IFsiFileItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3847 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), name.into_param().abi(), &mut result__).from_abi::<IFsiFileItem>(result__)
3848 }
3849 #[cfg(feature = "Win32_Foundation")]
VolumeNameUDF(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3850 pub unsafe fn VolumeNameUDF(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3851 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3852 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3853 }
3854 #[cfg(feature = "Win32_Foundation")]
VolumeNameJoliet(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3855 pub unsafe fn VolumeNameJoliet(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3856 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3857 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3858 }
3859 #[cfg(feature = "Win32_Foundation")]
VolumeNameISO9660(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3860 pub unsafe fn VolumeNameISO9660(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3861 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3862 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3863 }
StageFiles(&self) -> ::windows::runtime::Result<i16>3864 pub unsafe fn StageFiles(&self) -> ::windows::runtime::Result<i16> {
3865 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3866 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3867 }
SetStageFiles(&self, newval: i16) -> ::windows::runtime::Result<()>3868 pub unsafe fn SetStageFiles(&self, newval: i16) -> ::windows::runtime::Result<()> {
3869 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3870 }
3871 #[cfg(feature = "Win32_System_Com")]
MultisessionInterfaces(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>3872 pub unsafe fn MultisessionInterfaces(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
3873 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3874 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
3875 }
3876 #[cfg(feature = "Win32_System_Com")]
SetMultisessionInterfaces(&self, newval: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()>3877 pub unsafe fn SetMultisessionInterfaces(&self, newval: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
3878 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3879 }
3880 }
3881 unsafe impl ::windows::runtime::Interface for IFileSystemImage {
3882 type Vtable = IFileSystemImage_abi;
3883 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(747904993, 38747, 22974, [169, 96, 154, 42, 38, 40, 83, 165]);
3884 }
3885 impl ::std::convert::From<IFileSystemImage> for ::windows::runtime::IUnknown {
from(value: IFileSystemImage) -> Self3886 fn from(value: IFileSystemImage) -> Self {
3887 unsafe { ::std::mem::transmute(value) }
3888 }
3889 }
3890 impl ::std::convert::From<&IFileSystemImage> for ::windows::runtime::IUnknown {
from(value: &IFileSystemImage) -> Self3891 fn from(value: &IFileSystemImage) -> Self {
3892 ::std::convert::From::from(::std::clone::Clone::clone(value))
3893 }
3894 }
3895 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFileSystemImage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3896 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3897 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3898 }
3899 }
3900 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFileSystemImage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3901 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3902 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3903 }
3904 }
3905 #[cfg(feature = "Win32_System_Ole_Automation")]
3906 impl ::std::convert::From<IFileSystemImage> for super::super::System::Ole::Automation::IDispatch {
from(value: IFileSystemImage) -> Self3907 fn from(value: IFileSystemImage) -> Self {
3908 unsafe { ::std::mem::transmute(value) }
3909 }
3910 }
3911 #[cfg(feature = "Win32_System_Ole_Automation")]
3912 impl ::std::convert::From<&IFileSystemImage> for super::super::System::Ole::Automation::IDispatch {
from(value: &IFileSystemImage) -> Self3913 fn from(value: &IFileSystemImage) -> Self {
3914 ::std::convert::From::from(::std::clone::Clone::clone(value))
3915 }
3916 }
3917 #[cfg(feature = "Win32_System_Ole_Automation")]
3918 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFileSystemImage {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3919 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3920 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3921 }
3922 }
3923 #[cfg(feature = "Win32_System_Ole_Automation")]
3924 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFileSystemImage {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3925 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3926 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3927 }
3928 }
3929 #[repr(C)]
3930 #[doc(hidden)]
3931 pub struct IFileSystemImage_abi(
3932 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3933 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3934 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3935 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3936 #[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,
3937 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3938 #[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,
3939 #[cfg(not(feature = "Win32_Foundation"))] usize,
3940 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3942 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3945 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i32) -> ::windows::runtime::HRESULT,
3946 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3947 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i32) -> ::windows::runtime::HRESULT,
3948 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discrecorder: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3949 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3950 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3951 #[cfg(not(feature = "Win32_Foundation"))] usize,
3952 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3953 #[cfg(not(feature = "Win32_Foundation"))] usize,
3954 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3955 #[cfg(not(feature = "Win32_Foundation"))] usize,
3956 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3957 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3958 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3959 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3960 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3961 #[cfg(not(feature = "Win32_Foundation"))] usize,
3962 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3963 #[cfg(not(feature = "Win32_Foundation"))] usize,
3964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
3966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
3967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
3968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
3969 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut FsiFileSystems) -> ::windows::runtime::HRESULT,
3970 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: FsiFileSystems) -> ::windows::runtime::HRESULT,
3971 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut FsiFileSystems) -> ::windows::runtime::HRESULT,
3972 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i32) -> ::windows::runtime::HRESULT,
3973 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3974 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3975 #[cfg(not(feature = "Win32_System_Com"))] usize,
3976 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discrecorder: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3977 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::HRESULT,
3978 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i32) -> ::windows::runtime::HRESULT,
3979 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3980 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3981 #[cfg(not(feature = "Win32_System_Com"))] usize,
3982 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resultstream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3983 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fullpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, itemtype: *mut FsiItemType) -> ::windows::runtime::HRESULT,
3984 #[cfg(not(feature = "Win32_Foundation"))] usize,
3985 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discidentifier: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3986 #[cfg(not(feature = "Win32_Foundation"))] usize,
3987 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, discrecorder: ::windows::runtime::RawPtr, filesystems: *mut FsiFileSystems) -> ::windows::runtime::HRESULT,
3988 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filesystems: FsiFileSystems, importdefault: *mut FsiFileSystems) -> ::windows::runtime::HRESULT,
3989 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, importedfilesystem: *mut FsiFileSystems) -> ::windows::runtime::HRESULT,
3990 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, filesystemtouse: FsiFileSystems) -> ::windows::runtime::HRESULT,
3991 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, changepoint: i32) -> ::windows::runtime::HRESULT,
3992 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3993 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, newitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3994 #[cfg(not(feature = "Win32_Foundation"))] usize,
3995 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, newitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3996 #[cfg(not(feature = "Win32_Foundation"))] usize,
3997 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3998 #[cfg(not(feature = "Win32_Foundation"))] usize,
3999 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4000 #[cfg(not(feature = "Win32_Foundation"))] usize,
4001 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4002 #[cfg(not(feature = "Win32_Foundation"))] usize,
4003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
4004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
4005 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut *mut super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
4006 #[cfg(not(feature = "Win32_System_Com"))] usize,
4007 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
4008 #[cfg(not(feature = "Win32_System_Com"))] usize,
4009 );
4010 #[repr(transparent)]
4011 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4012 pub struct IFileSystemImage2(::windows::runtime::IUnknown);
4013 impl IFileSystemImage2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4014 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
4015 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4016 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4017 }
4018 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>4019 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> {
4020 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4021 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__)
4022 }
4023 #[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<()>4024 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<()> {
4025 (::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()
4026 }
4027 #[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::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4028 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
4029 (::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()
4030 }
Root(&self) -> ::windows::runtime::Result<IFsiDirectoryItem>4031 pub unsafe fn Root(&self) -> ::windows::runtime::Result<IFsiDirectoryItem> {
4032 let mut result__: <IFsiDirectoryItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4033 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFsiDirectoryItem>(result__)
4034 }
SessionStartBlock(&self) -> ::windows::runtime::Result<i32>4035 pub unsafe fn SessionStartBlock(&self) -> ::windows::runtime::Result<i32> {
4036 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4037 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4038 }
SetSessionStartBlock(&self, newval: i32) -> ::windows::runtime::Result<()>4039 pub unsafe fn SetSessionStartBlock(&self, newval: i32) -> ::windows::runtime::Result<()> {
4040 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4041 }
FreeMediaBlocks(&self) -> ::windows::runtime::Result<i32>4042 pub unsafe fn FreeMediaBlocks(&self) -> ::windows::runtime::Result<i32> {
4043 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4044 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4045 }
SetFreeMediaBlocks(&self, newval: i32) -> ::windows::runtime::Result<()>4046 pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> ::windows::runtime::Result<()> {
4047 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4048 }
SetMaxMediaBlocksFromDevice<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()>4049 pub unsafe fn SetMaxMediaBlocksFromDevice<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()> {
4050 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), discrecorder.into_param().abi()).ok()
4051 }
UsedBlocks(&self) -> ::windows::runtime::Result<i32>4052 pub unsafe fn UsedBlocks(&self) -> ::windows::runtime::Result<i32> {
4053 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4054 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4055 }
4056 #[cfg(feature = "Win32_Foundation")]
VolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4057 pub unsafe fn VolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4058 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4059 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4060 }
4061 #[cfg(feature = "Win32_Foundation")]
SetVolumeName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()>4062 pub unsafe fn SetVolumeName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
4063 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
4064 }
4065 #[cfg(feature = "Win32_Foundation")]
ImportedVolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4066 pub unsafe fn ImportedVolumeName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4067 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4068 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4069 }
BootImageOptions(&self) -> ::windows::runtime::Result<IBootOptions>4070 pub unsafe fn BootImageOptions(&self) -> ::windows::runtime::Result<IBootOptions> {
4071 let mut result__: <IBootOptions as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4072 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IBootOptions>(result__)
4073 }
SetBootImageOptions<'a, Param0: ::windows::runtime::IntoParam<'a, IBootOptions>>(&self, newval: Param0) -> ::windows::runtime::Result<()>4074 pub unsafe fn SetBootImageOptions<'a, Param0: ::windows::runtime::IntoParam<'a, IBootOptions>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
4075 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
4076 }
FileCount(&self) -> ::windows::runtime::Result<i32>4077 pub unsafe fn FileCount(&self) -> ::windows::runtime::Result<i32> {
4078 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4079 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4080 }
DirectoryCount(&self) -> ::windows::runtime::Result<i32>4081 pub unsafe fn DirectoryCount(&self) -> ::windows::runtime::Result<i32> {
4082 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4083 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4084 }
4085 #[cfg(feature = "Win32_Foundation")]
WorkingDirectory(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4086 pub unsafe fn WorkingDirectory(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4087 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4088 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4089 }
4090 #[cfg(feature = "Win32_Foundation")]
SetWorkingDirectory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()>4091 pub unsafe fn SetWorkingDirectory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
4092 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
4093 }
ChangePoint(&self) -> ::windows::runtime::Result<i32>4094 pub unsafe fn ChangePoint(&self) -> ::windows::runtime::Result<i32> {
4095 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4096 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4097 }
StrictFileSystemCompliance(&self) -> ::windows::runtime::Result<i16>4098 pub unsafe fn StrictFileSystemCompliance(&self) -> ::windows::runtime::Result<i16> {
4099 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4100 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4101 }
SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::runtime::Result<()>4102 pub unsafe fn SetStrictFileSystemCompliance(&self, newval: i16) -> ::windows::runtime::Result<()> {
4103 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4104 }
UseRestrictedCharacterSet(&self) -> ::windows::runtime::Result<i16>4105 pub unsafe fn UseRestrictedCharacterSet(&self) -> ::windows::runtime::Result<i16> {
4106 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4107 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4108 }
SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::runtime::Result<()>4109 pub unsafe fn SetUseRestrictedCharacterSet(&self, newval: i16) -> ::windows::runtime::Result<()> {
4110 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4111 }
FileSystemsToCreate(&self) -> ::windows::runtime::Result<FsiFileSystems>4112 pub unsafe fn FileSystemsToCreate(&self) -> ::windows::runtime::Result<FsiFileSystems> {
4113 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4114 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FsiFileSystems>(result__)
4115 }
SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::runtime::Result<()>4116 pub unsafe fn SetFileSystemsToCreate(&self, newval: FsiFileSystems) -> ::windows::runtime::Result<()> {
4117 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4118 }
FileSystemsSupported(&self) -> ::windows::runtime::Result<FsiFileSystems>4119 pub unsafe fn FileSystemsSupported(&self) -> ::windows::runtime::Result<FsiFileSystems> {
4120 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4121 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FsiFileSystems>(result__)
4122 }
SetUDFRevision(&self, newval: i32) -> ::windows::runtime::Result<()>4123 pub unsafe fn SetUDFRevision(&self, newval: i32) -> ::windows::runtime::Result<()> {
4124 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4125 }
UDFRevision(&self) -> ::windows::runtime::Result<i32>4126 pub unsafe fn UDFRevision(&self) -> ::windows::runtime::Result<i32> {
4127 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4128 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4129 }
4130 #[cfg(feature = "Win32_System_Com")]
UDFRevisionsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>4131 pub unsafe fn UDFRevisionsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
4132 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4133 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
4134 }
ChooseImageDefaults<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()>4135 pub unsafe fn ChooseImageDefaults<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<()> {
4136 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), discrecorder.into_param().abi()).ok()
4137 }
ChooseImageDefaultsForMediaType(&self, value: IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::Result<()>4138 pub unsafe fn ChooseImageDefaultsForMediaType(&self, value: IMAPI_MEDIA_PHYSICAL_TYPE) -> ::windows::runtime::Result<()> {
4139 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4140 }
SetISO9660InterchangeLevel(&self, newval: i32) -> ::windows::runtime::Result<()>4141 pub unsafe fn SetISO9660InterchangeLevel(&self, newval: i32) -> ::windows::runtime::Result<()> {
4142 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
4143 }
ISO9660InterchangeLevel(&self) -> ::windows::runtime::Result<i32>4144 pub unsafe fn ISO9660InterchangeLevel(&self) -> ::windows::runtime::Result<i32> {
4145 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4146 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4147 }
4148 #[cfg(feature = "Win32_System_Com")]
ISO9660InterchangeLevelsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY>4149 pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> ::windows::runtime::Result<*mut super::super::System::Com::SAFEARRAY> {
4150 let mut result__: <*mut super::super::System::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4151 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::super::System::Com::SAFEARRAY>(result__)
4152 }
CreateResultImage(&self) -> ::windows::runtime::Result<IFileSystemImageResult>4153 pub unsafe fn CreateResultImage(&self) -> ::windows::runtime::Result<IFileSystemImageResult> {
4154 let mut result__: <IFileSystemImageResult as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4155 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFileSystemImageResult>(result__)
4156 }
4157 #[cfg(feature = "Win32_Foundation")]
Exists<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fullpath: Param0) -> ::windows::runtime::Result<FsiItemType>4158 pub unsafe fn Exists<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fullpath: Param0) -> ::windows::runtime::Result<FsiItemType> {
4159 let mut result__: <FsiItemType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4160 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), fullpath.into_param().abi(), &mut result__).from_abi::<FsiItemType>(result__)
4161 }
4162 #[cfg(feature = "Win32_Foundation")]
CalculateDiscIdentifier(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4163 pub unsafe fn CalculateDiscIdentifier(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4164 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4165 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4166 }
IdentifyFileSystemsOnDisc<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<FsiFileSystems>4167 pub unsafe fn IdentifyFileSystemsOnDisc<'a, Param0: ::windows::runtime::IntoParam<'a, IDiscRecorder2>>(&self, discrecorder: Param0) -> ::windows::runtime::Result<FsiFileSystems> {
4168 let mut result__: <FsiFileSystems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4169 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), discrecorder.into_param().abi(), &mut result__).from_abi::<FsiFileSystems>(result__)
4170 }
GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> ::windows::runtime::Result<FsiFileSystems>4171