From b905279ce0257509f5350723904b20612e7a510d Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 14 Dec 2023 08:29:52 -0600 Subject: [PATCH 1/2] bindgen --- .../impl/Foundation/Collections/Iterable.rs | 10 +++--- .../impl/Foundation/Collections/MapView.rs | 32 +++++++++---------- .../impl/Foundation/Collections/VectorView.rs | 12 +++---- crates/libs/bindgen/src/rust/writer.rs | 4 +-- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/Iterable.rs b/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/Iterable.rs index f004131c94..80533532bf 100644 --- a/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/Iterable.rs +++ b/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/Iterable.rs @@ -2,7 +2,7 @@ struct StockIterable where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone, + T::Default: Clone, { values: Vec, } @@ -10,7 +10,7 @@ where impl IIterable_Impl for StockIterable where T: ::windows_core::RuntimeType, - >::Default: Clone, + T::Default: Clone, { fn First(&self) -> ::windows_core::Result> { unsafe { @@ -29,7 +29,7 @@ where struct StockIterator where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone, + T::Default: Clone, { owner: IIterable, current: ::std::sync::atomic::AtomicUsize, @@ -38,7 +38,7 @@ where impl IIterator_Impl for StockIterator where T: ::windows_core::RuntimeType, - >::Default: Clone, + T::Default: Clone, { fn Current(&self) -> ::windows_core::Result { let owner: &StockIterable = unsafe { ::windows_core::AsImpl::as_impl(&self.owner) }; @@ -86,7 +86,7 @@ where impl ::core::convert::TryFrom> for IIterable where T: ::windows_core::RuntimeType, - >::Default: Clone, + T::Default: Clone, { type Error = ::windows_core::Error; fn try_from(values: Vec) -> ::windows_core::Result { diff --git a/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/MapView.rs b/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/MapView.rs index ec11504d54..7e82135442 100644 --- a/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/MapView.rs +++ b/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/MapView.rs @@ -3,8 +3,8 @@ struct StockMapView where K: ::windows_core::RuntimeType + 'static, V: ::windows_core::RuntimeType + 'static, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { map: std::collections::BTreeMap, } @@ -13,8 +13,8 @@ impl IIterable_Impl> for StockMapView where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { fn First(&self) -> ::windows_core::Result>> { unsafe { @@ -33,8 +33,8 @@ impl IMapView_Impl for StockMapView where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { fn Lookup(&self, key: &K::Default) -> ::windows_core::Result { let value = self @@ -65,8 +65,8 @@ struct StockMapViewIterator<'a, K, V> where K: ::windows_core::RuntimeType + 'static, V: ::windows_core::RuntimeType + 'static, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { _owner: IIterable>, current: ::std::sync::RwLock>, @@ -76,8 +76,8 @@ impl<'a, K, V> IIterator_Impl> for StockMapViewIterator<'a, where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { fn Current(&self) -> ::windows_core::Result> { let mut current = self.current.read().unwrap().clone().peekable(); @@ -134,8 +134,8 @@ struct StockKeyValuePair where K: ::windows_core::RuntimeType + 'static, V: ::windows_core::RuntimeType + 'static, - >::Default: Clone, - >::Default: Clone, + K::Default: Clone, + V::Default: Clone, { key: K::Default, value: V::Default, @@ -145,8 +145,8 @@ impl IKeyValuePair_Impl for StockKeyValuePair where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone, - >::Default: Clone, + K::Default: Clone, + V::Default: Clone, { fn Key(&self) -> ::windows_core::Result { K::from_default(&self.key) @@ -161,8 +161,8 @@ impl ::core::convert::TryFrom>::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { type Error = ::windows_core::Error; fn try_from( diff --git a/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/VectorView.rs b/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/VectorView.rs index f247cc16b2..279b62d7fe 100644 --- a/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/VectorView.rs +++ b/crates/libs/bindgen/src/rust/extensions/impl/Foundation/Collections/VectorView.rs @@ -2,7 +2,7 @@ struct StockVectorView where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { values: Vec, } @@ -10,7 +10,7 @@ where impl IIterable_Impl for StockVectorView where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { fn First(&self) -> ::windows_core::Result> { unsafe { @@ -28,7 +28,7 @@ where impl IVectorView_Impl for StockVectorView where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { fn GetAt(&self, index: u32) -> ::windows_core::Result { let item = self @@ -65,7 +65,7 @@ where struct StockVectorViewIterator where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { owner: IIterable, current: ::std::sync::atomic::AtomicUsize, @@ -74,7 +74,7 @@ where impl IIterator_Impl for StockVectorViewIterator where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { fn Current(&self) -> ::windows_core::Result { let owner: &StockVectorView = unsafe { ::windows_core::AsImpl::as_impl(&self.owner) }; @@ -122,7 +122,7 @@ where impl ::core::convert::TryFrom> for IVectorView where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { type Error = ::windows_core::Error; fn try_from(values: Vec) -> ::windows_core::Result { diff --git a/crates/libs/bindgen/src/rust/writer.rs b/crates/libs/bindgen/src/rust/writer.rs index 5e4572efc0..2b1f9e3e39 100644 --- a/crates/libs/bindgen/src/rust/writer.rs +++ b/crates/libs/bindgen/src/rust/writer.rs @@ -660,7 +660,7 @@ impl Writer { }; quote! { - .push_other(<#g as ::windows_core::RuntimeType>::SIGNATURE) + .push_other(#g::SIGNATURE) #semi } }); @@ -900,7 +900,7 @@ impl Writer { quote! { result__ as *mut _ as *mut _, } } metadata::SignatureKind::Query(query) | metadata::SignatureKind::QueryOptional(query) if query.guid == position => { - quote! { &::IID, } + quote! { &T::IID, } } _ => { let name = self.param_name(param.def); From 8af39f9bad3a1df8197e8a92d9a5a79314b5bad0 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 14 Dec 2023 08:29:59 -0600 Subject: [PATCH 2/2] code gen --- crates/libs/core/src/imp/com_bindings.rs | 6 +- .../Windows/Foundation/Collections/impl.rs | 54 +- .../src/Windows/Foundation/Collections/mod.rs | 24 +- .../windows/src/Windows/Foundation/mod.rs | 24 +- .../Win32/AI/MachineLearning/DirectML/mod.rs | 46 +- .../Windows/Win32/Devices/DeviceAccess/mod.rs | 2 +- .../Win32/Devices/FunctionDiscovery/mod.rs | 4 +- .../src/Windows/Win32/Graphics/DXCore/mod.rs | 12 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 4 +- .../Win32/Graphics/Direct3D/Dxc/mod.rs | 12 +- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 36 +- .../Win32/Graphics/Direct3D11on12/mod.rs | 12 +- .../Windows/Win32/Graphics/Direct3D12/mod.rs | 878 +++++++++--------- .../Win32/Graphics/DirectComposition/mod.rs | 10 +- .../Win32/Graphics/DirectManipulation/mod.rs | 36 +- .../Windows/Win32/Graphics/DirectWrite/mod.rs | 2 +- .../src/Windows/Win32/Graphics/Dxgi/mod.rs | 150 +-- .../src/Windows/Win32/Media/Audio/mod.rs | 20 +- .../Win32/Media/MediaFoundation/mod.rs | 170 ++-- .../Windows/Win32/Media/MediaPlayer/mod.rs | 46 +- .../src/Windows/Win32/Media/Speech/mod.rs | 2 +- .../NetworkDiagnosticsFramework/mod.rs | 2 +- .../Win32/Security/EnterpriseData/mod.rs | 26 +- .../Windows/Win32/Storage/Xps/Printing/mod.rs | 4 +- .../Windows/Win32/System/ClrHosting/mod.rs | 10 +- .../Windows/Win32/System/Com/Marshal/mod.rs | 2 +- .../Win32/System/Com/StructuredStorage/mod.rs | 4 +- .../src/Windows/Win32/System/Com/mod.rs | 32 +- .../Win32/System/ComponentServices/mod.rs | 6 +- .../Diagnostics/Debug/ActiveScript/mod.rs | 2 +- .../Diagnostics/Debug/Extensions/mod.rs | 4 +- .../DistributedTransactionCoordinator/mod.rs | 2 +- .../src/Windows/Win32/System/Ole/mod.rs | 12 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 2 +- .../src/Windows/Win32/System/Search/mod.rs | 46 +- .../Windows/Win32/System/WinRT/AllJoyn/mod.rs | 4 +- .../Win32/System/WinRT/Composition/mod.rs | 4 +- .../Win32/System/WinRT/CoreInputView/mod.rs | 2 +- .../Win32/System/WinRT/Direct3D11/mod.rs | 2 +- .../System/WinRT/Graphics/Capture/mod.rs | 4 +- .../System/WinRT/Graphics/Imaging/mod.rs | 6 +- .../Windows/Win32/System/WinRT/Media/mod.rs | 10 +- .../Win32/System/WinRT/Printing/mod.rs | 8 +- .../src/Windows/Win32/System/WinRT/mod.rs | 50 +- .../src/Windows/Win32/System/Wmi/mod.rs | 4 +- .../src/Windows/Win32/UI/Accessibility/mod.rs | 36 +- .../src/Windows/Win32/UI/Controls/mod.rs | 2 +- .../src/Windows/Win32/UI/Input/Ime/mod.rs | 2 +- .../src/Windows/Win32/UI/Input/Ink/mod.rs | 4 +- .../src/Windows/Win32/UI/Input/Radial/mod.rs | 6 +- .../src/Windows/Win32/UI/Shell/Common/mod.rs | 4 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 48 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 180 ++-- .../src/Windows/Win32/UI/TextServices/mod.rs | 2 +- .../Windows/Win32/Web/InternetExplorer/mod.rs | 6 +- crates/tests/riddle/src/generic_interfaces.rs | 12 +- crates/tests/standalone/src/b_calendar.rs | 6 +- crates/tests/standalone/src/b_uri.rs | 6 +- 58 files changed, 1056 insertions(+), 1056 deletions(-) diff --git a/crates/libs/core/src/imp/com_bindings.rs b/crates/libs/core/src/imp/com_bindings.rs index 2afa4f9152..e5c8355ac2 100644 --- a/crates/libs/core/src/imp/com_bindings.rs +++ b/crates/libs/core/src/imp/com_bindings.rs @@ -115,7 +115,7 @@ impl IAgileReference { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAgileReference, ::windows_core::IUnknown); @@ -796,7 +796,7 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanInto<::windows_core::IInspectable> for IReference {} impl ::windows_core::CanTryInto for IReference {} impl ::windows_core::RuntimeType for IReference { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IReference { type Vtable = IReference_Vtbl; @@ -879,7 +879,7 @@ impl IWeakReference { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IWeakReference, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs index e0672c4fbb..dd67726969 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs @@ -712,7 +712,7 @@ impl IVectorView_Vtbl { struct StockIterable where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone, + T::Default: Clone, { values: Vec, } @@ -720,7 +720,7 @@ where impl IIterable_Impl for StockIterable where T: ::windows_core::RuntimeType, - >::Default: Clone, + T::Default: Clone, { fn First(&self) -> ::windows_core::Result> { unsafe { @@ -735,7 +735,7 @@ where struct StockIterator where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone, + T::Default: Clone, { owner: IIterable, current: ::std::sync::atomic::AtomicUsize, @@ -744,7 +744,7 @@ where impl IIterator_Impl for StockIterator where T: ::windows_core::RuntimeType, - >::Default: Clone, + T::Default: Clone, { fn Current(&self) -> ::windows_core::Result { let owner: &StockIterable = unsafe { ::windows_core::AsImpl::as_impl(&self.owner) }; @@ -790,7 +790,7 @@ where impl ::core::convert::TryFrom> for IIterable where T: ::windows_core::RuntimeType, - >::Default: Clone, + T::Default: Clone, { type Error = ::windows_core::Error; fn try_from(values: Vec) -> ::windows_core::Result { @@ -803,8 +803,8 @@ struct StockMapView where K: ::windows_core::RuntimeType + 'static, V: ::windows_core::RuntimeType + 'static, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { map: std::collections::BTreeMap, } @@ -813,8 +813,8 @@ impl IIterable_Impl> for StockMapView where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { fn First(&self) -> ::windows_core::Result>> { unsafe { @@ -829,8 +829,8 @@ impl IMapView_Impl for StockMapView where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { fn Lookup(&self, key: &K::Default) -> ::windows_core::Result { let value = self.map.get(key).ok_or_else(|| ::windows_core::Error::from(::windows_core::imp::E_BOUNDS))?; @@ -854,8 +854,8 @@ struct StockMapViewIterator<'a, K, V> where K: ::windows_core::RuntimeType + 'static, V: ::windows_core::RuntimeType + 'static, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { _owner: IIterable>, current: ::std::sync::RwLock>, @@ -865,8 +865,8 @@ impl<'a, K, V> IIterator_Impl> for StockMapViewIterator<'a, where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { fn Current(&self) -> ::windows_core::Result> { let mut current = self.current.read().unwrap().clone().peekable(); @@ -913,8 +913,8 @@ struct StockKeyValuePair where K: ::windows_core::RuntimeType + 'static, V: ::windows_core::RuntimeType + 'static, - >::Default: Clone, - >::Default: Clone, + K::Default: Clone, + V::Default: Clone, { key: K::Default, value: V::Default, @@ -924,8 +924,8 @@ impl IKeyValuePair_Impl for StockKeyValuePair where K: ::windows_core::RuntimeType, V: ::windows_core::RuntimeType, - >::Default: Clone, - >::Default: Clone, + K::Default: Clone, + V::Default: Clone, { fn Key(&self) -> ::windows_core::Result { K::from_default(&self.key) @@ -939,8 +939,8 @@ impl ::core::convert::TryFrom>::Default: Clone + Ord, - >::Default: Clone, + K::Default: Clone + Ord, + V::Default: Clone, { type Error = ::windows_core::Error; fn try_from(map: std::collections::BTreeMap) -> ::windows_core::Result { @@ -952,7 +952,7 @@ where struct StockVectorView where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { values: Vec, } @@ -960,7 +960,7 @@ where impl IIterable_Impl for StockVectorView where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { fn First(&self) -> ::windows_core::Result> { unsafe { @@ -974,7 +974,7 @@ where impl IVectorView_Impl for StockVectorView where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { fn GetAt(&self, index: u32) -> ::windows_core::Result { let item = self.values.get(index as usize).ok_or_else(|| ::windows_core::Error::from(::windows_core::imp::E_BOUNDS))?; @@ -1008,7 +1008,7 @@ where struct StockVectorViewIterator where T: ::windows_core::RuntimeType + 'static, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { owner: IIterable, current: ::std::sync::atomic::AtomicUsize, @@ -1017,7 +1017,7 @@ where impl IIterator_Impl for StockVectorViewIterator where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { fn Current(&self) -> ::windows_core::Result { let owner: &StockVectorView = unsafe { ::windows_core::AsImpl::as_impl(&self.owner) }; @@ -1063,7 +1063,7 @@ where impl ::core::convert::TryFrom> for IVectorView where T: ::windows_core::RuntimeType, - >::Default: Clone + PartialEq, + T::Default: Clone + PartialEq, { type Error = ::windows_core::Error; fn try_from(values: Vec) -> ::windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index 847e10aa0f..f7392fce0d 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -15,7 +15,7 @@ impl IIterable { impl ::windows_core::CanInto<::windows_core::IUnknown> for IIterable {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IIterable {} impl ::windows_core::RuntimeType for IIterable { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{faa585ea-6214-4217-afda-7f46de5869b3}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{faa585ea-6214-4217-afda-7f46de5869b3}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IIterable { type Item = T; @@ -85,7 +85,7 @@ impl IIterator { impl ::windows_core::CanInto<::windows_core::IUnknown> for IIterator {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IIterator {} impl ::windows_core::RuntimeType for IIterator { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6a79e863-4300-459a-9966-cbb660963ee1}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6a79e863-4300-459a-9966-cbb660963ee1}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } impl ::core::iter::Iterator for IIterator { type Item = T; @@ -141,7 +141,7 @@ impl ::windows_core::CanInto<::windows_core::IUnknown> for IKeyValuePair {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IKeyValuePair {} impl ::windows_core::RuntimeType for IKeyValuePair { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{02b51929-c1c4-4a7e-8940-0312b5c18500}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{02b51929-c1c4-4a7e-8940-0312b5c18500}").push_slice(b";").push_other(K::SIGNATURE).push_slice(b";").push_other(V::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IKeyValuePair { type Vtable = IKeyValuePair_Vtbl; @@ -237,7 +237,7 @@ impl ::windows_core::CanInto<::windows_core::IInspectable> for IMap {} impl ::windows_core::CanTryInto>> for IMap {} impl ::windows_core::RuntimeType for IMap { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{3c2925fe-8519-45c1-aa79-197b6718c1c1}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{3c2925fe-8519-45c1-aa79-197b6718c1c1}").push_slice(b";").push_other(K::SIGNATURE).push_slice(b";").push_other(V::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IMap { type Item = IKeyValuePair; @@ -301,7 +301,7 @@ impl IMapChangedEventArgs { impl ::windows_core::CanInto<::windows_core::IUnknown> for IMapChangedEventArgs {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IMapChangedEventArgs {} impl ::windows_core::RuntimeType for IMapChangedEventArgs { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9939f4df-050a-4c0f-aa60-77075f9c4777}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9939f4df-050a-4c0f-aa60-77075f9c4777}").push_slice(b";").push_other(K::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IMapChangedEventArgs { type Vtable = IMapChangedEventArgs_Vtbl; @@ -370,7 +370,7 @@ impl ::windows_core::CanInto<::windows_core::IInspectable> for IMapView {} impl ::windows_core::CanTryInto>> for IMapView {} impl ::windows_core::RuntimeType for IMapView { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{e480ce40-a338-4ada-adcf-272272e48cb9}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{e480ce40-a338-4ada-adcf-272272e48cb9}").push_slice(b";").push_other(K::SIGNATURE).push_slice(b";").push_other(V::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IMapView { type Item = IKeyValuePair; @@ -497,7 +497,7 @@ impl ::windows_core::CanTryInto>> for IObservableMap {} impl ::windows_core::CanTryInto> for IObservableMap {} impl ::windows_core::RuntimeType for IObservableMap { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{65df2bf5-bf39-41b5-aebc-5a9d865e472b}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{65df2bf5-bf39-41b5-aebc-5a9d865e472b}").push_slice(b";").push_other(K::SIGNATURE).push_slice(b";").push_other(V::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IObservableMap { type Item = IKeyValuePair; @@ -640,7 +640,7 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanTryInto> for IObservableVector {} impl ::windows_core::CanTryInto> for IObservableVector {} impl ::windows_core::RuntimeType for IObservableVector { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{5917eb53-50b4-4a0d-b309-65862b3f1dbc}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{5917eb53-50b4-4a0d-b309-65862b3f1dbc}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } impl ::core::iter::IntoIterator for IObservableVector { type Item = T; @@ -870,7 +870,7 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanInto<::windows_core::IInspectable> for IVector {} impl ::windows_core::CanTryInto> for IVector {} impl ::windows_core::RuntimeType for IVector { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{913337e9-11a1-4345-a3a2-4e7f956e222d}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{913337e9-11a1-4345-a3a2-4e7f956e222d}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } pub struct VectorIterator { vector: ::core::option::Option>, @@ -1016,7 +1016,7 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanInto<::windows_core::IInspectable> for IVectorView {} impl ::windows_core::CanTryInto> for IVectorView {} impl ::windows_core::RuntimeType for IVectorView { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } pub struct VectorViewIterator { vector: ::core::option::Option>, @@ -1506,7 +1506,7 @@ unsafe impl::SIGNATURE); } impl ::windows_core::RuntimeType for MapChangedEventHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{179517f3-94ee-41f8-bddc-768a895544f3}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{179517f3-94ee-41f8-bddc-768a895544f3}").push_slice(b";").push_other(K::SIGNATURE).push_slice(b";").push_other(V::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -1591,7 +1591,7 @@ unsafe impl ::windows_core::ComInterfa const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } impl ::windows_core::RuntimeType for VectorChangedEventHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{0c051752-9fbf-4c70-aa0c-0e4c82d9a761}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{0c051752-9fbf-4c70-aa0c-0e4c82d9a761}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 9a7e872e9f..f55569ae2d 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -184,7 +184,7 @@ impl ::windows_core::CanInto<: impl ::windows_core::CanInto<::windows_core::IInspectable> for IAsyncActionWithProgress {} impl ::windows_core::CanTryInto for IAsyncActionWithProgress {} impl ::windows_core::RuntimeType for IAsyncActionWithProgress { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{1f6db258-e803-48a1-9546-eb7353398884}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{1f6db258-e803-48a1-9546-eb7353398884}").push_slice(b";").push_other(TProgress::SIGNATURE).push_slice(b")") }; } impl IAsyncActionWithProgress { pub fn get(&self) -> ::windows_core::Result<()> { @@ -352,7 +352,7 @@ impl ::windows_core::CanInto<::w impl ::windows_core::CanInto<::windows_core::IInspectable> for IAsyncOperation {} impl ::windows_core::CanTryInto for IAsyncOperation {} impl ::windows_core::RuntimeType for IAsyncOperation { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9fc2b0bb-e446-44e2-aa61-9cab8f636af2}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9fc2b0bb-e446-44e2-aa61-9cab8f636af2}").push_slice(b";").push_other(TResult::SIGNATURE).push_slice(b")") }; } impl IAsyncOperation { pub fn get(&self) -> ::windows_core::Result { @@ -479,7 +479,7 @@ impl ::windows_core::CanInto<::windows_core::IInspectable> for IAsyncOperationWithProgress {} impl ::windows_core::CanTryInto for IAsyncOperationWithProgress {} impl ::windows_core::RuntimeType for IAsyncOperationWithProgress { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{b5d036d7-e297-498f-ba60-0289e76e23dd}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{b5d036d7-e297-498f-ba60-0289e76e23dd}").push_slice(b";").push_other(TResult::SIGNATURE).push_slice(b";").push_other(TProgress::SIGNATURE).push_slice(b")") }; } impl IAsyncOperationWithProgress { pub fn get(&self) -> ::windows_core::Result { @@ -1298,7 +1298,7 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanInto<::windows_core::IInspectable> for IReference {} impl ::windows_core::CanTryInto for IReference {} impl ::windows_core::RuntimeType for IReference { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IReference { type Vtable = IReference_Vtbl; @@ -1550,7 +1550,7 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanInto<::windows_core::IInspectable> for IReferenceArray {} impl ::windows_core::CanTryInto for IReferenceArray {} impl ::windows_core::RuntimeType for IReferenceArray { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17707-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17707-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IReferenceArray { type Vtable = IReferenceArray_Vtbl; @@ -2889,7 +2889,7 @@ unsafe impl ::windows_core::Co const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } impl ::windows_core::RuntimeType for AsyncActionProgressHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6d844858-0cff-4590-ae89-95a5a5c8b4b8}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6d844858-0cff-4590-ae89-95a5a5c8b4b8}").push_slice(b";").push_other(TProgress::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -2971,7 +2971,7 @@ unsafe impl ::windows_core::Co const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } impl ::windows_core::RuntimeType for AsyncActionWithProgressCompletedHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9c029f91-cc84-44fd-ac26-0a6c4e555281}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9c029f91-cc84-44fd-ac26-0a6c4e555281}").push_slice(b";").push_other(TProgress::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3053,7 +3053,7 @@ unsafe impl ::windows_core::ComI const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } impl ::windows_core::RuntimeType for AsyncOperationCompletedHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{fcdcf02c-e5d8-4478-915a-4d90b74b83a5}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{fcdcf02c-e5d8-4478-915a-4d90b74b83a5}").push_slice(b";").push_other(TResult::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3139,7 +3139,7 @@ unsafe impl::SIGNATURE); } impl ::windows_core::RuntimeType for AsyncOperationProgressHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{55690902-0aab-421a-8778-f8ce5026d758}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{55690902-0aab-421a-8778-f8ce5026d758}").push_slice(b";").push_other(TResult::SIGNATURE).push_slice(b";").push_other(TProgress::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3226,7 +3226,7 @@ unsafe impl::SIGNATURE); } impl ::windows_core::RuntimeType for AsyncOperationWithProgressCompletedHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{e85df41d-6aa7-46e3-a8e2-f009d840c627}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{e85df41d-6aa7-46e3-a8e2-f009d840c627}").push_slice(b";").push_other(TResult::SIGNATURE).push_slice(b";").push_other(TProgress::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3380,7 +3380,7 @@ unsafe impl ::windows_core::ComInterfa const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } impl ::windows_core::RuntimeType for EventHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9de1c535-6ae1-11e0-84e1-18a905bcc53f}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9de1c535-6ae1-11e0-84e1-18a905bcc53f}").push_slice(b";").push_other(T::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] @@ -3466,7 +3466,7 @@ unsafe impl::SIGNATURE); } impl ::windows_core::RuntimeType for TypedEventHandler { - const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9de1c534-6ae1-11e0-84e1-18a905bcc53f}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; + const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9de1c534-6ae1-11e0-84e1-18a905bcc53f}").push_slice(b";").push_other(TSender::SIGNATURE).push_slice(b";").push_other(TResult::SIGNATURE).push_slice(b")") }; } #[repr(C)] #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs index cfec506b9f..a1172b8efb 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs @@ -7,7 +7,7 @@ where T: ::windows_core::ComInterface, { ::windows_targets::link!("directml.dll" "system" fn DMLCreateDevice(d3d12device : * mut::core::ffi::c_void, flags : DML_CREATE_DEVICE_FLAGS, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); - DMLCreateDevice(d3d12device.into_param().abi(), flags, &::IID, result__ as *mut _ as *mut _).ok() + DMLCreateDevice(d3d12device.into_param().abi(), flags, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -18,7 +18,7 @@ where T: ::windows_core::ComInterface, { ::windows_targets::link!("directml.dll" "system" fn DMLCreateDevice1(d3d12device : * mut::core::ffi::c_void, flags : DML_CREATE_DEVICE_FLAGS, minimumfeaturelevel : DML_FEATURE_LEVEL, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); - DMLCreateDevice1(d3d12device.into_param().abi(), flags, minimumfeaturelevel, &::IID, result__ as *mut _ as *mut _).ok() + DMLCreateDevice1(d3d12device.into_param().abi(), flags, minimumfeaturelevel, &T::IID, result__ as *mut _ as *mut _).ok() } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] @@ -47,7 +47,7 @@ impl IDMLBindingTable { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn BindInputs(&self, bindings: ::core::option::Option<&[DML_BINDING_DESC]>) { (::windows_core::Interface::vtable(self).BindInputs)(::windows_core::Interface::as_raw(self), bindings.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(bindings.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) @@ -114,7 +114,7 @@ impl IDMLCommandRecorder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -170,7 +170,7 @@ impl IDMLCompiledOperator { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetBindingProperties(&self) -> DML_BINDING_PROPERTIES { let mut result__: DML_BINDING_PROPERTIES = ::core::mem::zeroed(); @@ -243,28 +243,28 @@ impl IDMLDevice { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateOperator)(::windows_core::Interface::as_raw(self), desc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateOperator)(::windows_core::Interface::as_raw(self), desc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CompileOperator(&self, op: P0, flags: DML_EXECUTION_FLAGS, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CompileOperator)(::windows_core::Interface::as_raw(self), op.into_param().abi(), flags, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CompileOperator)(::windows_core::Interface::as_raw(self), op.into_param().abi(), flags, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateOperatorInitializer(&self, operators: ::core::option::Option<&[::core::option::Option]>) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateOperatorInitializer)(::windows_core::Interface::as_raw(self), operators.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(operators.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateOperatorInitializer)(::windows_core::Interface::as_raw(self), operators.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(operators.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandRecorder(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCommandRecorder)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCommandRecorder)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -273,7 +273,7 @@ impl IDMLDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateBindingTable)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(desc.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateBindingTable)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(desc.unwrap_or(::std::ptr::null())), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Evict(&self, ppobjects: &[::core::option::Option]) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Evict)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() @@ -289,7 +289,7 @@ impl IDMLDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetParentDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetParentDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDMLDevice, ::windows_core::IUnknown, IDMLObject); @@ -346,28 +346,28 @@ impl IDMLDevice1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateOperator)(::windows_core::Interface::as_raw(self), desc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateOperator)(::windows_core::Interface::as_raw(self), desc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CompileOperator(&self, op: P0, flags: DML_EXECUTION_FLAGS, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CompileOperator)(::windows_core::Interface::as_raw(self), op.into_param().abi(), flags, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CompileOperator)(::windows_core::Interface::as_raw(self), op.into_param().abi(), flags, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateOperatorInitializer(&self, operators: ::core::option::Option<&[::core::option::Option]>) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateOperatorInitializer)(::windows_core::Interface::as_raw(self), operators.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(operators.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateOperatorInitializer)(::windows_core::Interface::as_raw(self), operators.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(operators.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandRecorder(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateCommandRecorder)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateCommandRecorder)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -376,7 +376,7 @@ impl IDMLDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateBindingTable)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(desc.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateBindingTable)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(desc.unwrap_or(::std::ptr::null())), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Evict(&self, ppobjects: &[::core::option::Option]) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Evict)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() @@ -392,13 +392,13 @@ impl IDMLDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParentDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParentDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CompileGraph(&self, desc: *const DML_GRAPH_DESC, flags: DML_EXECUTION_FLAGS, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CompileGraph)(::windows_core::Interface::as_raw(self), desc, flags, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CompileGraph)(::windows_core::Interface::as_raw(self), desc, flags, &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(IDMLDevice1, ::windows_core::IUnknown, IDMLObject, IDMLDevice); @@ -441,7 +441,7 @@ impl IDMLDeviceChild { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDMLDeviceChild, ::windows_core::IUnknown, IDMLObject); @@ -484,7 +484,7 @@ impl IDMLDispatchable { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetBindingProperties(&self) -> DML_BINDING_PROPERTIES { let mut result__: DML_BINDING_PROPERTIES = ::core::mem::zeroed(); @@ -571,7 +571,7 @@ impl IDMLOperator { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDMLOperator, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild); @@ -613,7 +613,7 @@ impl IDMLOperatorInitializer { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetBindingProperties(&self) -> DML_BINDING_PROPERTIES { let mut result__: DML_BINDING_PROPERTIES = ::core::mem::zeroed(); @@ -664,7 +664,7 @@ impl IDMLPageable { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDMLPageable, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild); diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs index 39abb8ff81..5021503563 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -25,7 +25,7 @@ impl ICreateDeviceAccessAsync { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetResult)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetResult)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICreateDeviceAccessAsync, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs index fb2ec0defe..7b6ca4d1da 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -318,7 +318,7 @@ impl IFunctionDiscoveryServiceProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Initialize)(::windows_core::Interface::as_raw(self), pifunctioninstance.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Initialize)(::windows_core::Interface::as_raw(self), pifunctioninstance.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscoveryServiceProvider, ::windows_core::IUnknown); @@ -351,7 +351,7 @@ impl IFunctionInstance { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetID(&self) -> ::windows_core::Result<*mut u16> { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs index 792af527b6..0a5d7a1f56 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -5,7 +5,7 @@ where { ::windows_targets::link!("dxcore.dll" "system" fn DXCoreCreateAdapterFactory(riid : *const ::windows_core::GUID, ppvfactory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DXCoreCreateAdapterFactory(&::IID, &mut result__).from_abi(result__) + DXCoreCreateAdapterFactory(&T::IID, &mut result__).from_abi(result__) } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] @@ -44,7 +44,7 @@ impl IDXCoreAdapter { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFactory)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFactory)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDXCoreAdapter, ::windows_core::IUnknown); @@ -78,14 +78,14 @@ impl IDXCoreAdapterFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateAdapterList)(::windows_core::Interface::as_raw(self), filterattributes.len().try_into().unwrap(), ::core::mem::transmute(filterattributes.as_ptr()), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateAdapterList)(::windows_core::Interface::as_raw(self), filterattributes.len().try_into().unwrap(), ::core::mem::transmute(filterattributes.as_ptr()), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapterByLuid(&self, adapterluid: *const super::super::Foundation::LUID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAdapterByLuid)(::windows_core::Interface::as_raw(self), adapterluid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAdapterByLuid)(::windows_core::Interface::as_raw(self), adapterluid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsNotificationTypeSupported(&self, notificationtype: DXCoreNotificationType) -> bool { (::windows_core::Interface::vtable(self).IsNotificationTypeSupported)(::windows_core::Interface::as_raw(self), notificationtype) @@ -127,7 +127,7 @@ impl IDXCoreAdapterList { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAdapter)(::windows_core::Interface::as_raw(self), index, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAdapter)(::windows_core::Interface::as_raw(self), index, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapterCount(&self) -> u32 { (::windows_core::Interface::vtable(self).GetAdapterCount)(::windows_core::Interface::as_raw(self)) @@ -140,7 +140,7 @@ impl IDXCoreAdapterList { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFactory)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFactory)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Sort(&self, preferences: &[DXCoreAdapterPreference]) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Sort)(::windows_core::Interface::as_raw(self), preferences.len().try_into().unwrap(), ::core::mem::transmute(preferences.as_ptr())).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs index 3c719e1e0e..4b6ebeb1cc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -44,7 +44,7 @@ where { ::windows_targets::link!("d2d1.dll" "system" fn D2D1CreateFactory(factorytype : D2D1_FACTORY_TYPE, riid : *const ::windows_core::GUID, pfactoryoptions : *const D2D1_FACTORY_OPTIONS, ppifactory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - D2D1CreateFactory(factorytype, &::IID, ::core::mem::transmute(pfactoryoptions.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) + D2D1CreateFactory(factorytype, &T::IID, ::core::mem::transmute(pfactoryoptions.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -14435,7 +14435,7 @@ impl ID2D1SvgElement { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAttributeValue)(::windows_core::Interface::as_raw(self), name.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAttributeValue)(::windows_core::Interface::as_raw(self), name.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAttributeValue2(&self, name: P0, r#type: D2D1_SVG_ATTRIBUTE_POD_TYPE, value: *mut ::core::ffi::c_void, valuesizeinbytes: u32) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs index cb7a590b5c..4030d9002a 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs @@ -5,7 +5,7 @@ where { ::windows_targets::link!("dxcompiler.dll" "system" fn DxcCreateInstance(rclsid : *const ::windows_core::GUID, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DxcCreateInstance(rclsid, &::IID, &mut result__).from_abi(result__) + DxcCreateInstance(rclsid, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -17,7 +17,7 @@ where { ::windows_targets::link!("dxcompiler.dll" "system" fn DxcCreateInstance2(pmalloc : * mut::core::ffi::c_void, rclsid : *const ::windows_core::GUID, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DxcCreateInstance2(pmalloc.into_param().abi(), rclsid, &::IID, &mut result__).from_abi(result__) + DxcCreateInstance2(pmalloc.into_param().abi(), rclsid, &T::IID, &mut result__).from_abi(result__) } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] @@ -291,14 +291,14 @@ impl IDxcCompiler3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Compile)(::windows_core::Interface::as_raw(self), psource, ::core::mem::transmute(parguments.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pincludehandler.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Compile)(::windows_core::Interface::as_raw(self), psource, ::core::mem::transmute(parguments.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pincludehandler.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Disassemble(&self, pobject: *const DxcBuffer) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Disassemble)(::windows_core::Interface::as_raw(self), pobject, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Disassemble)(::windows_core::Interface::as_raw(self), pobject, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDxcCompiler3, ::windows_core::IUnknown); @@ -451,7 +451,7 @@ impl IDxcExtraOutputs { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetOutput)(::windows_core::Interface::as_raw(self), uindex, &::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(ppoutputtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoutputname.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).GetOutput)(::windows_core::Interface::as_raw(self), uindex, &T::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(ppoutputtype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppoutputname.unwrap_or(::std::ptr::null_mut()))).ok() } } ::windows_core::imp::interface_hierarchy!(IDxcExtraOutputs, ::windows_core::IUnknown); @@ -900,7 +900,7 @@ impl IDxcResult { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetOutput)(::windows_core::Interface::as_raw(self), dxcoutkind, &::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(ppoutputname)).ok() + (::windows_core::Interface::vtable(self).GetOutput)(::windows_core::Interface::as_raw(self), dxcoutkind, &T::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(ppoutputname)).ok() } pub unsafe fn GetNumOutputs(&self) -> u32 { (::windows_core::Interface::vtable(self).GetNumOutputs)(::windows_core::Interface::as_raw(self)) diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs index b04a174768..0be787675d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -957,7 +957,7 @@ impl ID3D11Device { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1250,7 +1250,7 @@ impl ID3D11Device1 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1334,7 +1334,7 @@ impl ID3D11Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenSharedResourceByName(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows_core::Result where @@ -1342,7 +1342,7 @@ impl ID3D11Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D11Device1, ::windows_core::IUnknown, ID3D11Device); @@ -1515,7 +1515,7 @@ impl ID3D11Device2 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1599,7 +1599,7 @@ impl ID3D11Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenSharedResourceByName(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows_core::Result where @@ -1607,7 +1607,7 @@ impl ID3D11Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetImmediateContext2(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1797,7 +1797,7 @@ impl ID3D11Device3 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1881,7 +1881,7 @@ impl ID3D11Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenSharedResourceByName(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows_core::Result where @@ -1889,7 +1889,7 @@ impl ID3D11Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetImmediateContext2(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -2158,7 +2158,7 @@ impl ID3D11Device4 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2242,7 +2242,7 @@ impl ID3D11Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenSharedResourceByName(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows_core::Result where @@ -2250,7 +2250,7 @@ impl ID3D11Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetImmediateContext2(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -2505,7 +2505,7 @@ impl ID3D11Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenSharedResource)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2589,7 +2589,7 @@ impl ID3D11Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResource1)(::windows_core::Interface::as_raw(self), hresource.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenSharedResourceByName(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows_core::Result where @@ -2597,7 +2597,7 @@ impl ID3D11Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResourceByName)(::windows_core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetImmediateContext2(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -2694,13 +2694,13 @@ impl ID3D11Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).OpenSharedFence)(::windows_core::Interface::as_raw(self), hfence.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).OpenSharedFence)(::windows_core::Interface::as_raw(self), hfence.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateFence(&self, initialvalue: u64, flags: D3D11_FENCE_FLAG, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D11Device5, ::windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs index 1839d2ca44..cb9112f8d1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs @@ -31,7 +31,7 @@ impl ID3D11On12Device { P0: ::windows_core::IntoParam<::windows_core::IUnknown>, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateWrappedResource)(::windows_core::Interface::as_raw(self), presource12.into_param().abi(), pflags11, instate, outstate, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateWrappedResource)(::windows_core::Interface::as_raw(self), presource12.into_param().abi(), pflags11, instate, outstate, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`"] #[cfg(feature = "Win32_Graphics_Direct3D11")] @@ -81,7 +81,7 @@ impl ID3D11On12Device1 { P0: ::windows_core::IntoParam<::windows_core::IUnknown>, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateWrappedResource)(::windows_core::Interface::as_raw(self), presource12.into_param().abi(), pflags11, instate, outstate, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateWrappedResource)(::windows_core::Interface::as_raw(self), presource12.into_param().abi(), pflags11, instate, outstate, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`"] #[cfg(feature = "Win32_Graphics_Direct3D11")] @@ -98,7 +98,7 @@ impl ID3D11On12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetD3D12Device)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetD3D12Device)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D11On12Device1, ::windows_core::IUnknown, ID3D11On12Device); @@ -127,7 +127,7 @@ impl ID3D11On12Device2 { P0: ::windows_core::IntoParam<::windows_core::IUnknown>, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateWrappedResource)(::windows_core::Interface::as_raw(self), presource12.into_param().abi(), pflags11, instate, outstate, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateWrappedResource)(::windows_core::Interface::as_raw(self), presource12.into_param().abi(), pflags11, instate, outstate, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`"] #[cfg(feature = "Win32_Graphics_Direct3D11")] @@ -144,7 +144,7 @@ impl ID3D11On12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetD3D12Device)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetD3D12Device)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D11", feature = "Win32_Graphics_Direct3D12"))] @@ -155,7 +155,7 @@ impl ID3D11On12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).UnwrapUnderlyingResource)(::windows_core::Interface::as_raw(self), presource11.into_param().abi(), pcommandqueue.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).UnwrapUnderlyingResource)(::windows_core::Interface::as_raw(self), presource11.into_param().abi(), pcommandqueue.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D11", feature = "Win32_Graphics_Direct3D12"))] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs index d70ab49883..537930c50b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -7,7 +7,7 @@ where T: ::windows_core::ComInterface, { ::windows_targets::link!("d3d12.dll" "system" fn D3D12CreateDevice(padapter : * mut::core::ffi::c_void, minimumfeaturelevel : super::Direct3D:: D3D_FEATURE_LEVEL, riid : *const ::windows_core::GUID, ppdevice : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); - D3D12CreateDevice(padapter.into_param().abi(), minimumfeaturelevel, &::IID, result__ as *mut _ as *mut _).ok() + D3D12CreateDevice(padapter.into_param().abi(), minimumfeaturelevel, &T::IID, result__ as *mut _ as *mut _).ok() } #[inline] pub unsafe fn D3D12CreateRootSignatureDeserializer(psrcdata: *const ::core::ffi::c_void, srcdatasizeinbytes: usize, prootsignaturedeserializerinterface: *const ::windows_core::GUID, pprootsignaturedeserializer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -30,7 +30,7 @@ where T: ::windows_core::ComInterface, { ::windows_targets::link!("d3d12.dll" "system" fn D3D12GetDebugInterface(riid : *const ::windows_core::GUID, ppvdebug : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); - D3D12GetDebugInterface(&::IID, result__ as *mut _ as *mut _).ok() + D3D12GetDebugInterface(&T::IID, result__ as *mut _ as *mut _).ok() } #[inline] pub unsafe fn D3D12GetInterface(rclsid: *const ::windows_core::GUID, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -38,7 +38,7 @@ where T: ::windows_core::ComInterface, { ::windows_targets::link!("d3d12.dll" "system" fn D3D12GetInterface(rclsid : *const ::windows_core::GUID, riid : *const ::windows_core::GUID, ppvdebug : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); - D3D12GetInterface(rclsid, &::IID, result__ as *mut _ as *mut _).ok() + D3D12GetInterface(rclsid, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -80,7 +80,7 @@ impl ID3D12CommandAllocator { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Reset)(::windows_core::Interface::as_raw(self)).ok() @@ -127,7 +127,7 @@ impl ID3D12CommandList { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).GetType)(::windows_core::Interface::as_raw(self)) @@ -174,7 +174,7 @@ impl ID3D12CommandQueue { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn UpdateTileMappings(&self, presource: P0, numresourceregions: u32, presourceregionstartcoordinates: ::core::option::Option<*const D3D12_TILED_RESOURCE_COORDINATE>, presourceregionsizes: ::core::option::Option<*const D3D12_TILE_REGION_SIZE>, pheap: P1, numranges: u32, prangeflags: ::core::option::Option<*const D3D12_TILE_RANGE_FLAGS>, pheaprangestartoffsets: ::core::option::Option<*const u32>, prangetilecounts: ::core::option::Option<*const u32>, flags: D3D12_TILE_MAPPING_FLAGS) where @@ -290,7 +290,7 @@ impl ID3D12CommandSignature { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12CommandSignature, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -918,7 +918,7 @@ impl ID3D12DescriptorHeap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetDesc(&self) -> D3D12_DESCRIPTOR_HEAP_DESC { let mut result__: D3D12_DESCRIPTOR_HEAP_DESC = ::core::mem::zeroed(); @@ -983,14 +983,14 @@ impl ID3D12Device { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -999,14 +999,14 @@ impl ID3D12Device { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -1015,7 +1015,7 @@ impl ID3D12Device { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -1025,7 +1025,7 @@ impl ID3D12Device { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -1035,7 +1035,7 @@ impl ID3D12Device { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -1100,13 +1100,13 @@ impl ID3D12Device { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1115,7 +1115,7 @@ impl ID3D12Device { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1123,7 +1123,7 @@ impl ID3D12Device { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -1140,7 +1140,7 @@ impl ID3D12Device { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -1160,7 +1160,7 @@ impl ID3D12Device { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -1174,7 +1174,7 @@ impl ID3D12Device { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -1187,7 +1187,7 @@ impl ID3D12Device { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -1315,14 +1315,14 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1331,14 +1331,14 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -1347,7 +1347,7 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -1357,7 +1357,7 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -1367,7 +1367,7 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -1432,13 +1432,13 @@ impl ID3D12Device1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1447,7 +1447,7 @@ impl ID3D12Device1 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1455,7 +1455,7 @@ impl ID3D12Device1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -1472,7 +1472,7 @@ impl ID3D12Device1 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -1492,7 +1492,7 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -1506,7 +1506,7 @@ impl ID3D12Device1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -1519,7 +1519,7 @@ impl ID3D12Device1 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -1537,7 +1537,7 @@ impl ID3D12Device1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -1596,14 +1596,14 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1612,14 +1612,14 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -1628,7 +1628,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -1638,7 +1638,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -1648,7 +1648,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -1713,13 +1713,13 @@ impl ID3D12Device10 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1728,7 +1728,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1736,7 +1736,7 @@ impl ID3D12Device10 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -1753,7 +1753,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -1773,7 +1773,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -1787,7 +1787,7 @@ impl ID3D12Device10 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -1800,7 +1800,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -1818,7 +1818,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -1834,14 +1834,14 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -1849,7 +1849,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -1862,14 +1862,14 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1878,14 +1878,14 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1894,7 +1894,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1909,7 +1909,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -1925,14 +1925,14 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1954,14 +1954,14 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1977,7 +1977,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1986,7 +1986,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where @@ -2004,7 +2004,7 @@ impl ID3D12Device10 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() @@ -2014,7 +2014,7 @@ impl ID3D12Device10 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2023,7 +2023,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2032,7 +2032,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2041,7 +2041,7 @@ impl ID3D12Device10 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12Device10, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9); @@ -2100,14 +2100,14 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2116,14 +2116,14 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -2132,7 +2132,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -2142,7 +2142,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -2152,7 +2152,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -2217,13 +2217,13 @@ impl ID3D12Device11 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2232,7 +2232,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2240,7 +2240,7 @@ impl ID3D12Device11 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -2257,7 +2257,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -2277,7 +2277,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -2291,7 +2291,7 @@ impl ID3D12Device11 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -2304,7 +2304,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -2322,7 +2322,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -2338,14 +2338,14 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -2353,7 +2353,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -2366,14 +2366,14 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2382,14 +2382,14 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2398,7 +2398,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2413,7 +2413,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -2429,14 +2429,14 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2458,14 +2458,14 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2481,7 +2481,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2490,7 +2490,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where @@ -2508,7 +2508,7 @@ impl ID3D12Device11 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() @@ -2518,7 +2518,7 @@ impl ID3D12Device11 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2527,7 +2527,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2536,7 +2536,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2545,7 +2545,7 @@ impl ID3D12Device11 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSampler2(&self, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) @@ -2596,14 +2596,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2612,14 +2612,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -2628,7 +2628,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -2638,7 +2638,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -2648,7 +2648,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -2713,13 +2713,13 @@ impl ID3D12Device12 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2728,7 +2728,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2736,7 +2736,7 @@ impl ID3D12Device12 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -2753,7 +2753,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -2773,7 +2773,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -2787,7 +2787,7 @@ impl ID3D12Device12 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -2800,7 +2800,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -2818,7 +2818,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -2834,14 +2834,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -2849,7 +2849,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -2862,14 +2862,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2878,14 +2878,14 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2894,7 +2894,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2909,7 +2909,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -2925,14 +2925,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2954,14 +2954,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2977,7 +2977,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2986,7 +2986,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where @@ -3004,7 +3004,7 @@ impl ID3D12Device12 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() @@ -3014,7 +3014,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3023,7 +3023,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3032,7 +3032,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3041,7 +3041,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSampler2(&self, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) @@ -3102,14 +3102,14 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3118,14 +3118,14 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -3134,7 +3134,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -3144,7 +3144,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -3154,7 +3154,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -3219,13 +3219,13 @@ impl ID3D12Device13 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3234,7 +3234,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3242,7 +3242,7 @@ impl ID3D12Device13 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -3259,7 +3259,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -3279,7 +3279,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -3293,7 +3293,7 @@ impl ID3D12Device13 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -3306,7 +3306,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -3324,7 +3324,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -3340,14 +3340,14 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -3355,7 +3355,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -3368,14 +3368,14 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3384,14 +3384,14 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3400,7 +3400,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3415,7 +3415,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -3431,14 +3431,14 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3460,14 +3460,14 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3483,7 +3483,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3492,7 +3492,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where @@ -3510,7 +3510,7 @@ impl ID3D12Device13 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() @@ -3520,7 +3520,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3529,7 +3529,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3538,7 +3538,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3547,7 +3547,7 @@ impl ID3D12Device13 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSampler2(&self, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) @@ -3564,7 +3564,7 @@ impl ID3D12Device13 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenExistingHeapFromAddress1)(::windows_core::Interface::as_raw(self), paddress, size, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenExistingHeapFromAddress1)(::windows_core::Interface::as_raw(self), paddress, size, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12Device13, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11, ID3D12Device12); @@ -3612,14 +3612,14 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3628,14 +3628,14 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -3644,7 +3644,7 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -3654,7 +3654,7 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -3664,7 +3664,7 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -3729,13 +3729,13 @@ impl ID3D12Device2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3744,7 +3744,7 @@ impl ID3D12Device2 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3752,7 +3752,7 @@ impl ID3D12Device2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -3769,7 +3769,7 @@ impl ID3D12Device2 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -3789,7 +3789,7 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -3803,7 +3803,7 @@ impl ID3D12Device2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -3816,7 +3816,7 @@ impl ID3D12Device2 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -3834,7 +3834,7 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -3850,7 +3850,7 @@ impl ID3D12Device2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12Device2, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1); @@ -3898,14 +3898,14 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3914,14 +3914,14 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -3930,7 +3930,7 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -3940,7 +3940,7 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -3950,7 +3950,7 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -4015,13 +4015,13 @@ impl ID3D12Device3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4030,7 +4030,7 @@ impl ID3D12Device3 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4038,7 +4038,7 @@ impl ID3D12Device3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -4055,7 +4055,7 @@ impl ID3D12Device3 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -4075,7 +4075,7 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -4089,7 +4089,7 @@ impl ID3D12Device3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -4102,7 +4102,7 @@ impl ID3D12Device3 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -4120,7 +4120,7 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -4136,14 +4136,14 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -4151,7 +4151,7 @@ impl ID3D12Device3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -4207,14 +4207,14 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4223,14 +4223,14 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -4239,7 +4239,7 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -4249,7 +4249,7 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -4259,7 +4259,7 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -4324,13 +4324,13 @@ impl ID3D12Device4 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4339,7 +4339,7 @@ impl ID3D12Device4 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4347,7 +4347,7 @@ impl ID3D12Device4 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -4364,7 +4364,7 @@ impl ID3D12Device4 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -4384,7 +4384,7 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -4398,7 +4398,7 @@ impl ID3D12Device4 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -4411,7 +4411,7 @@ impl ID3D12Device4 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -4429,7 +4429,7 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -4445,14 +4445,14 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -4460,7 +4460,7 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -4473,14 +4473,14 @@ impl ID3D12Device4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4489,14 +4489,14 @@ impl ID3D12Device4 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4505,7 +4505,7 @@ impl ID3D12Device4 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4574,14 +4574,14 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4590,14 +4590,14 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -4606,7 +4606,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -4616,7 +4616,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -4626,7 +4626,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -4691,13 +4691,13 @@ impl ID3D12Device5 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4706,7 +4706,7 @@ impl ID3D12Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4714,7 +4714,7 @@ impl ID3D12Device5 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -4731,7 +4731,7 @@ impl ID3D12Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -4751,7 +4751,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -4765,7 +4765,7 @@ impl ID3D12Device5 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -4778,7 +4778,7 @@ impl ID3D12Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -4796,7 +4796,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -4812,14 +4812,14 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -4827,7 +4827,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -4840,14 +4840,14 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4856,14 +4856,14 @@ impl ID3D12Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4872,7 +4872,7 @@ impl ID3D12Device5 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4887,7 +4887,7 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -4903,14 +4903,14 @@ impl ID3D12Device5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4976,14 +4976,14 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4992,14 +4992,14 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -5008,7 +5008,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -5018,7 +5018,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -5028,7 +5028,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -5093,13 +5093,13 @@ impl ID3D12Device6 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5108,7 +5108,7 @@ impl ID3D12Device6 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5116,7 +5116,7 @@ impl ID3D12Device6 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -5133,7 +5133,7 @@ impl ID3D12Device6 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -5153,7 +5153,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -5167,7 +5167,7 @@ impl ID3D12Device6 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -5180,7 +5180,7 @@ impl ID3D12Device6 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -5198,7 +5198,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -5214,14 +5214,14 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -5229,7 +5229,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -5242,14 +5242,14 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5258,14 +5258,14 @@ impl ID3D12Device6 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5274,7 +5274,7 @@ impl ID3D12Device6 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5289,7 +5289,7 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -5305,14 +5305,14 @@ impl ID3D12Device6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5374,14 +5374,14 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5390,14 +5390,14 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -5406,7 +5406,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -5416,7 +5416,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -5426,7 +5426,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -5491,13 +5491,13 @@ impl ID3D12Device7 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5506,7 +5506,7 @@ impl ID3D12Device7 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5514,7 +5514,7 @@ impl ID3D12Device7 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -5531,7 +5531,7 @@ impl ID3D12Device7 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -5551,7 +5551,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -5565,7 +5565,7 @@ impl ID3D12Device7 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -5578,7 +5578,7 @@ impl ID3D12Device7 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -5596,7 +5596,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -5612,14 +5612,14 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -5627,7 +5627,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -5640,14 +5640,14 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5656,14 +5656,14 @@ impl ID3D12Device7 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5672,7 +5672,7 @@ impl ID3D12Device7 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5687,7 +5687,7 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -5703,14 +5703,14 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5732,14 +5732,14 @@ impl ID3D12Device7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12Device7, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6); @@ -5788,14 +5788,14 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5804,14 +5804,14 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -5820,7 +5820,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -5830,7 +5830,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -5840,7 +5840,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -5905,13 +5905,13 @@ impl ID3D12Device8 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5920,7 +5920,7 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -5928,7 +5928,7 @@ impl ID3D12Device8 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -5945,7 +5945,7 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -5965,7 +5965,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -5979,7 +5979,7 @@ impl ID3D12Device8 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -5992,7 +5992,7 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -6010,7 +6010,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -6026,14 +6026,14 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -6041,7 +6041,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -6054,14 +6054,14 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6070,14 +6070,14 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6086,7 +6086,7 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6101,7 +6101,7 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -6117,14 +6117,14 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6146,14 +6146,14 @@ impl ID3D12Device8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6169,7 +6169,7 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6178,7 +6178,7 @@ impl ID3D12Device8 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where @@ -6254,14 +6254,14 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6270,14 +6270,14 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -6286,7 +6286,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -6296,7 +6296,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) @@ -6306,7 +6306,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) @@ -6371,13 +6371,13 @@ impl ID3D12Device9 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6386,7 +6386,7 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6394,7 +6394,7 @@ impl ID3D12Device9 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -6411,7 +6411,7 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result where @@ -6431,7 +6431,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() @@ -6445,7 +6445,7 @@ impl ID3D12Device9 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> where @@ -6458,7 +6458,7 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where @@ -6476,7 +6476,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> where @@ -6492,14 +6492,14 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result where @@ -6507,7 +6507,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where @@ -6520,14 +6520,14 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6536,14 +6536,14 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6552,7 +6552,7 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6567,7 +6567,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) @@ -6583,14 +6583,14 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6612,14 +6612,14 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6635,7 +6635,7 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -6644,7 +6644,7 @@ impl ID3D12Device9 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where @@ -6662,7 +6662,7 @@ impl ID3D12Device9 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() @@ -6672,7 +6672,7 @@ impl ID3D12Device9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12Device9, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8); @@ -6718,7 +6718,7 @@ impl ID3D12DeviceChild { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceChild, ::windows_core::IUnknown, ID3D12Object); @@ -6758,7 +6758,7 @@ impl ID3D12DeviceConfiguration { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVersionedRootSignatureDeserializer)(::windows_core::Interface::as_raw(self), pblob, size, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVersionedRootSignatureDeserializer)(::windows_core::Interface::as_raw(self), pblob, size, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceConfiguration, ::windows_core::IUnknown); @@ -6803,7 +6803,7 @@ impl ID3D12DeviceFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetConfigurationInterface)(::windows_core::Interface::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetConfigurationInterface)(::windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnableExperimentalFeatures(&self, numfeatures: u32, piids: *const ::windows_core::GUID, pconfigurationstructs: ::core::option::Option<*const ::core::ffi::c_void>, pconfigurationstructsizes: ::core::option::Option<*const u32>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).EnableExperimentalFeatures)(::windows_core::Interface::as_raw(self), numfeatures, piids, ::core::mem::transmute(pconfigurationstructs.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pconfigurationstructsizes.unwrap_or(::std::ptr::null()))).ok() @@ -6815,7 +6815,7 @@ impl ID3D12DeviceFactory { P0: ::windows_core::IntoParam<::windows_core::IUnknown>, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).CreateDevice)(::windows_core::Interface::as_raw(self), adapter.into_param().abi(), featurelevel, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).CreateDevice)(::windows_core::Interface::as_raw(self), adapter.into_param().abi(), featurelevel, &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceFactory, ::windows_core::IUnknown); @@ -7078,7 +7078,7 @@ impl ID3D12Fence { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetCompletedValue(&self) -> u64 { (::windows_core::Interface::vtable(self).GetCompletedValue)(::windows_core::Interface::as_raw(self)) @@ -7136,7 +7136,7 @@ impl ID3D12Fence1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetCompletedValue(&self) -> u64 { (::windows_core::Interface::vtable(self).base__.GetCompletedValue)(::windows_core::Interface::as_raw(self)) @@ -7284,7 +7284,7 @@ impl ID3D12GraphicsCommandList { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -7619,7 +7619,7 @@ impl ID3D12GraphicsCommandList1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -7932,7 +7932,7 @@ impl ID3D12GraphicsCommandList2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -8240,7 +8240,7 @@ impl ID3D12GraphicsCommandList3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -8554,7 +8554,7 @@ impl ID3D12GraphicsCommandList4 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -8922,7 +8922,7 @@ impl ID3D12GraphicsCommandList5 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -9286,7 +9286,7 @@ impl ID3D12GraphicsCommandList6 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -9652,7 +9652,7 @@ impl ID3D12GraphicsCommandList7 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -10021,7 +10021,7 @@ impl ID3D12GraphicsCommandList8 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -10393,7 +10393,7 @@ impl ID3D12GraphicsCommandList9 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetType(&self) -> D3D12_COMMAND_LIST_TYPE { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetType)(::windows_core::Interface::as_raw(self)) @@ -10772,7 +10772,7 @@ impl ID3D12Heap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetDesc(&self) -> D3D12_HEAP_DESC { let mut result__: D3D12_HEAP_DESC = ::core::mem::zeroed(); @@ -10821,7 +10821,7 @@ impl ID3D12Heap1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetDesc(&self) -> D3D12_HEAP_DESC { let mut result__: D3D12_HEAP_DESC = ::core::mem::zeroed(); @@ -10832,7 +10832,7 @@ impl ID3D12Heap1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12Heap1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Heap); @@ -11254,7 +11254,7 @@ impl ID3D12LifetimeTracker { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn DestroyOwnedObject(&self, pobject: P0) -> ::windows_core::Result<()> where @@ -11327,7 +11327,7 @@ impl ID3D12MetaCommand { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetRequiredParameterResourceSize(&self, stage: D3D12_META_COMMAND_PARAMETER_STAGE, parameterindex: u32) -> u64 { (::windows_core::Interface::vtable(self).GetRequiredParameterResourceSize)(::windows_core::Interface::as_raw(self), stage, parameterindex) @@ -11415,7 +11415,7 @@ impl ID3D12Pageable { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12Pageable, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -11458,7 +11458,7 @@ impl ID3D12PipelineLibrary { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn StorePipeline(&self, pname: P0, ppipeline: P1) -> ::windows_core::Result<()> where @@ -11475,7 +11475,7 @@ impl ID3D12PipelineLibrary { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).LoadGraphicsPipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).LoadGraphicsPipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn LoadComputePipeline(&self, pname: P0, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where @@ -11483,7 +11483,7 @@ impl ID3D12PipelineLibrary { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).LoadComputePipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).LoadComputePipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSerializedSize(&self) -> usize { (::windows_core::Interface::vtable(self).GetSerializedSize)(::windows_core::Interface::as_raw(self)) @@ -11540,7 +11540,7 @@ impl ID3D12PipelineLibrary1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn StorePipeline(&self, pname: P0, ppipeline: P1) -> ::windows_core::Result<()> where @@ -11557,7 +11557,7 @@ impl ID3D12PipelineLibrary1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.LoadGraphicsPipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.LoadGraphicsPipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn LoadComputePipeline(&self, pname: P0, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where @@ -11565,7 +11565,7 @@ impl ID3D12PipelineLibrary1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.LoadComputePipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.LoadComputePipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSerializedSize(&self) -> usize { (::windows_core::Interface::vtable(self).base__.GetSerializedSize)(::windows_core::Interface::as_raw(self)) @@ -11579,7 +11579,7 @@ impl ID3D12PipelineLibrary1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).LoadPipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).LoadPipeline)(::windows_core::Interface::as_raw(self), pname.into_param().abi(), pdesc, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12PipelineLibrary); @@ -11623,7 +11623,7 @@ impl ID3D12PipelineState { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -11676,13 +11676,13 @@ impl ID3D12ProtectedResourceSession { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetStatusFence(&self, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetStatusFence)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetStatusFence)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetSessionStatus(&self) -> D3D12_PROTECTED_SESSION_STATUS { (::windows_core::Interface::vtable(self).base__.GetSessionStatus)(::windows_core::Interface::as_raw(self)) @@ -11734,13 +11734,13 @@ impl ID3D12ProtectedResourceSession1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetStatusFence(&self, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetStatusFence)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetStatusFence)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetSessionStatus(&self) -> D3D12_PROTECTED_SESSION_STATUS { (::windows_core::Interface::vtable(self).base__.base__.GetSessionStatus)(::windows_core::Interface::as_raw(self)) @@ -11797,13 +11797,13 @@ impl ID3D12ProtectedSession { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetStatusFence(&self, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetStatusFence)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetStatusFence)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetSessionStatus(&self) -> D3D12_PROTECTED_SESSION_STATUS { (::windows_core::Interface::vtable(self).GetSessionStatus)(::windows_core::Interface::as_raw(self)) @@ -11851,7 +11851,7 @@ impl ID3D12QueryHeap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12QueryHeap, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -11894,7 +11894,7 @@ impl ID3D12Resource { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn Map(&self, subresource: u32, preadrange: ::core::option::Option<*const D3D12_RANGE>, ppdata: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Map)(::windows_core::Interface::as_raw(self), subresource, ::core::mem::transmute(preadrange.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdata.unwrap_or(::std::ptr::null_mut()))).ok() @@ -11972,7 +11972,7 @@ impl ID3D12Resource1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn Map(&self, subresource: u32, preadrange: ::core::option::Option<*const D3D12_RANGE>, ppdata: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Map)(::windows_core::Interface::as_raw(self), subresource, ::core::mem::transmute(preadrange.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdata.unwrap_or(::std::ptr::null_mut()))).ok() @@ -12003,7 +12003,7 @@ impl ID3D12Resource1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12Resource1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource); @@ -12047,7 +12047,7 @@ impl ID3D12Resource2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn Map(&self, subresource: u32, preadrange: ::core::option::Option<*const D3D12_RANGE>, ppdata: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.Map)(::windows_core::Interface::as_raw(self), subresource, ::core::mem::transmute(preadrange.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdata.unwrap_or(::std::ptr::null_mut()))).ok() @@ -12078,7 +12078,7 @@ impl ID3D12Resource2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -12132,7 +12132,7 @@ impl ID3D12RootSignature { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12RootSignature, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -12214,7 +12214,7 @@ impl ID3D12SDKConfiguration1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateDeviceFactory)(::windows_core::Interface::as_raw(self), sdkversion, sdkpath.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateDeviceFactory)(::windows_core::Interface::as_raw(self), sdkversion, sdkpath.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn FreeUnusedSDKs(&self) { (::windows_core::Interface::vtable(self).FreeUnusedSDKs)(::windows_core::Interface::as_raw(self)) @@ -12262,7 +12262,7 @@ impl ID3D12ShaderCacheSession { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn FindValue(&self, pkey: *const ::core::ffi::c_void, keysize: u32, pvalue: *mut ::core::ffi::c_void, pvaluesize: *mut u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).FindValue)(::windows_core::Interface::as_raw(self), pkey, keysize, pvalue, pvaluesize).ok() @@ -12649,7 +12649,7 @@ impl ID3D12StateObject { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } ::windows_core::imp::interface_hierarchy!(ID3D12StateObject, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -12721,14 +12721,14 @@ impl ID3D12SwapChainAssistant { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetSwapChainObject)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetSwapChainObject)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentResourceAndCommandQueue(&self, riidresource: *const ::windows_core::GUID, ppvresource: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCurrentResourceAndCommandQueue)(::windows_core::Interface::as_raw(self), riidresource, ppvresource, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCurrentResourceAndCommandQueue)(::windows_core::Interface::as_raw(self), riidresource, ppvresource, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn InsertImplicitSync(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).InsertImplicitSync)(::windows_core::Interface::as_raw(self)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs index 4d60eb0d5d..ce391aad15 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -36,7 +36,7 @@ where { ::windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateDevice(dxgidevice : * mut::core::ffi::c_void, iid : *const ::windows_core::GUID, dcompositiondevice : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DCompositionCreateDevice(dxgidevice.into_param().abi(), &::IID, &mut result__).from_abi(result__) + DCompositionCreateDevice(dxgidevice.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn DCompositionCreateDevice2(renderingdevice: P0) -> ::windows_core::Result @@ -46,7 +46,7 @@ where { ::windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateDevice2(renderingdevice : * mut::core::ffi::c_void, iid : *const ::windows_core::GUID, dcompositiondevice : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DCompositionCreateDevice2(renderingdevice.into_param().abi(), &::IID, &mut result__).from_abi(result__) + DCompositionCreateDevice2(renderingdevice.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn DCompositionCreateDevice3(renderingdevice: P0) -> ::windows_core::Result @@ -56,7 +56,7 @@ where { ::windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateDevice3(renderingdevice : * mut::core::ffi::c_void, iid : *const ::windows_core::GUID, dcompositiondevice : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DCompositionCreateDevice3(renderingdevice.into_param().abi(), &::IID, &mut result__).from_abi(result__) + DCompositionCreateDevice3(renderingdevice.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Security\"`"] #[cfg(feature = "Win32_Security")] @@ -2202,7 +2202,7 @@ impl IDCompositionSurface { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &::IID, &mut result__, updateoffset).from_abi(result__) + (::windows_core::Interface::vtable(self).BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &T::IID, &mut result__, updateoffset).from_abi(result__) } pub unsafe fn EndDraw(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).EndDraw)(::windows_core::Interface::as_raw(self)).ok() @@ -2617,7 +2617,7 @@ impl IDCompositionVirtualSurface { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &::IID, &mut result__, updateoffset).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &T::IID, &mut result__, updateoffset).from_abi(result__) } pub unsafe fn EndDraw(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.EndDraw)(::windows_core::Interface::as_raw(self)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs index a0fba5221e..25be0b1448 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -131,13 +131,13 @@ impl IDirectManipulationContent { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetViewport)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetViewport)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetTag(&self, id: ::core::option::Option<*mut u32>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetTag)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).GetTag)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn SetTag(&self, object: P0, id: u32) -> ::windows_core::Result<()> where @@ -333,7 +333,7 @@ impl IDirectManipulationManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetUpdateManager)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetUpdateManager)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateViewport(&self, frameinfo: P0, window: P1) -> ::windows_core::Result where @@ -342,7 +342,7 @@ impl IDirectManipulationManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateViewport)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateViewport)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateContent(&self, frameinfo: P0, clsid: *const ::windows_core::GUID) -> ::windows_core::Result where @@ -350,7 +350,7 @@ impl IDirectManipulationManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateContent)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateContent)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), clsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationManager, ::windows_core::IUnknown); @@ -409,7 +409,7 @@ impl IDirectManipulationManager2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUpdateManager)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUpdateManager)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateViewport(&self, frameinfo: P0, window: P1) -> ::windows_core::Result where @@ -418,7 +418,7 @@ impl IDirectManipulationManager2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateViewport)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateViewport)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateContent(&self, frameinfo: P0, clsid: *const ::windows_core::GUID) -> ::windows_core::Result where @@ -426,14 +426,14 @@ impl IDirectManipulationManager2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateContent)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateContent)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), clsid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateBehavior(&self, clsid: *const ::windows_core::GUID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateBehavior)(::windows_core::Interface::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateBehavior)(::windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationManager2, ::windows_core::IUnknown, IDirectManipulationManager); @@ -483,7 +483,7 @@ impl IDirectManipulationManager3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetUpdateManager)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetUpdateManager)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateViewport(&self, frameinfo: P0, window: P1) -> ::windows_core::Result where @@ -492,7 +492,7 @@ impl IDirectManipulationManager3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateViewport)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateViewport)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateContent(&self, frameinfo: P0, clsid: *const ::windows_core::GUID) -> ::windows_core::Result where @@ -500,21 +500,21 @@ impl IDirectManipulationManager3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateContent)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateContent)(::windows_core::Interface::as_raw(self), frameinfo.into_param().abi(), clsid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateBehavior(&self, clsid: *const ::windows_core::GUID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateBehavior)(::windows_core::Interface::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateBehavior)(::windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetService(&self, clsid: *const ::windows_core::GUID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationManager3, ::windows_core::IUnknown, IDirectManipulationManager, IDirectManipulationManager2); @@ -668,7 +668,7 @@ impl IDirectManipulationViewport { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetTag)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).GetTag)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn SetTag(&self, object: P0, id: u32) -> ::windows_core::Result<()> where @@ -700,7 +700,7 @@ impl IDirectManipulationViewport { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPrimaryContent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPrimaryContent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn AddContent(&self, content: P0) -> ::windows_core::Result<()> where @@ -823,7 +823,7 @@ impl IDirectManipulationViewport2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.GetTag)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).base__.GetTag)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _, ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn SetTag(&self, object: P0, id: u32) -> ::windows_core::Result<()> where @@ -855,7 +855,7 @@ impl IDirectManipulationViewport2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetPrimaryContent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetPrimaryContent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn AddContent(&self, content: P0) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs index a60bfa5928..1c424b2a8d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -5,7 +5,7 @@ where { ::windows_targets::link!("dwrite.dll" "system" fn DWriteCreateFactory(factorytype : DWRITE_FACTORY_TYPE, iid : *const ::windows_core::GUID, factory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DWriteCreateFactory(factorytype, &::IID, &mut result__).from_abi(result__) + DWriteCreateFactory(factorytype, &T::IID, &mut result__).from_abi(result__) } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs index f0f1a4b6d8..017a5cbd75 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -8,7 +8,7 @@ where { ::windows_targets::link!("dxgi.dll" "system" fn CreateDXGIFactory(riid : *const ::windows_core::GUID, ppfactory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateDXGIFactory(&::IID, &mut result__).from_abi(result__) + CreateDXGIFactory(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CreateDXGIFactory1() -> ::windows_core::Result @@ -17,7 +17,7 @@ where { ::windows_targets::link!("dxgi.dll" "system" fn CreateDXGIFactory1(riid : *const ::windows_core::GUID, ppfactory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateDXGIFactory1(&::IID, &mut result__).from_abi(result__) + CreateDXGIFactory1(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CreateDXGIFactory2(flags: u32) -> ::windows_core::Result @@ -26,7 +26,7 @@ where { ::windows_targets::link!("dxgi.dll" "system" fn CreateDXGIFactory2(flags : u32, riid : *const ::windows_core::GUID, ppfactory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateDXGIFactory2(flags, &::IID, &mut result__).from_abi(result__) + CreateDXGIFactory2(flags, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn DXGIDeclareAdapterRemovalSupport() -> ::windows_core::Result<()> { @@ -45,7 +45,7 @@ where { ::windows_targets::link!("dxgi.dll" "system" fn DXGIGetDebugInterface1(flags : u32, riid : *const ::windows_core::GUID, pdebug : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DXGIGetDebugInterface1(flags, &::IID, &mut result__).from_abi(result__) + DXGIGetDebugInterface1(flags, &T::IID, &mut result__).from_abi(result__) } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] @@ -68,7 +68,7 @@ impl IDXGIAdapter { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -120,7 +120,7 @@ impl IDXGIAdapter1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -173,7 +173,7 @@ impl IDXGIAdapter2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -229,7 +229,7 @@ impl IDXGIAdapter3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -316,7 +316,7 @@ impl IDXGIAdapter4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumOutputs(&self, output: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -515,7 +515,7 @@ impl IDXGIDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapter(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -580,7 +580,7 @@ impl IDXGIDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapter(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -646,7 +646,7 @@ impl IDXGIDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapter(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -725,7 +725,7 @@ impl IDXGIDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapter(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -805,7 +805,7 @@ impl IDXGIDevice4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdapter(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -892,14 +892,14 @@ impl IDXGIDeviceSubObject { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDXGIDeviceSubObject, ::windows_core::IUnknown, IDXGIObject); @@ -968,7 +968,7 @@ impl IDXGIFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1043,7 +1043,7 @@ impl IDXGIFactory1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1119,7 +1119,7 @@ impl IDXGIFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1289,7 +1289,7 @@ impl IDXGIFactory3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1443,7 +1443,7 @@ impl IDXGIFactory4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1565,14 +1565,14 @@ impl IDXGIFactory4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumWarpAdapter(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory4, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3); @@ -1612,7 +1612,7 @@ impl IDXGIFactory5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1734,14 +1734,14 @@ impl IDXGIFactory5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumWarpAdapter(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: DXGI_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -1783,7 +1783,7 @@ impl IDXGIFactory6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1905,14 +1905,14 @@ impl IDXGIFactory6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumWarpAdapter(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: DXGI_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -1922,7 +1922,7 @@ impl IDXGIFactory6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).EnumAdapterByGpuPreference)(::windows_core::Interface::as_raw(self), adapter, gpupreference, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).EnumAdapterByGpuPreference)(::windows_core::Interface::as_raw(self), adapter, gpupreference, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory6, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5); @@ -1961,7 +1961,7 @@ impl IDXGIFactory7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumAdapters(&self, adapter: u32) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -2083,14 +2083,14 @@ impl IDXGIFactory7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.EnumAdapterByLuid)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(adapterluid), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumWarpAdapter(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.EnumWarpAdapter)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: DXGI_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() @@ -2100,7 +2100,7 @@ impl IDXGIFactory7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.EnumAdapterByGpuPreference)(::windows_core::Interface::as_raw(self), adapter, gpupreference, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.EnumAdapterByGpuPreference)(::windows_core::Interface::as_raw(self), adapter, gpupreference, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RegisterAdaptersChangedEvent(&self, hevent: P0) -> ::windows_core::Result where @@ -2380,14 +2380,14 @@ impl IDXGIKeyedMutex { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn AcquireSync(&self, key: u64, dwmilliseconds: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).AcquireSync)(::windows_core::Interface::as_raw(self), key, dwmilliseconds).ok() @@ -2433,7 +2433,7 @@ impl IDXGIObject { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDXGIObject, ::windows_core::IUnknown); @@ -2475,7 +2475,7 @@ impl IDXGIOutput { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -2604,7 +2604,7 @@ impl IDXGIOutput1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -2739,7 +2739,7 @@ impl IDXGIOutput2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -2868,7 +2868,7 @@ impl IDXGIOutput3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -3009,7 +3009,7 @@ impl IDXGIOutput4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -3159,7 +3159,7 @@ impl IDXGIOutput5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -3318,7 +3318,7 @@ impl IDXGIOutput6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Gdi"))] @@ -3487,7 +3487,7 @@ impl IDXGIOutputDuplication { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3563,14 +3563,14 @@ impl IDXGIResource { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSharedHandle(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -3627,14 +3627,14 @@ impl IDXGIResource1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSharedHandle(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -3705,14 +3705,14 @@ impl IDXGISurface { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3767,14 +3767,14 @@ impl IDXGISurface1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3840,14 +3840,14 @@ impl IDXGISurface2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3877,7 +3877,7 @@ impl IDXGISurface2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetResource)(::windows_core::Interface::as_raw(self), &::IID, &mut result__, psubresourceindex).from_abi(result__) + (::windows_core::Interface::vtable(self).GetResource)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__, psubresourceindex).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDXGISurface2, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface, IDXGISurface1); @@ -3916,14 +3916,14 @@ impl IDXGISwapChain { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present(&self, syncinterval: u32, flags: u32) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).Present)(::windows_core::Interface::as_raw(self), syncinterval, flags) @@ -3933,7 +3933,7 @@ impl IDXGISwapChain { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetFullscreenState(&self, fullscreen: P0, ptarget: P1) -> ::windows_core::Result<()> where @@ -4026,14 +4026,14 @@ impl IDXGISwapChain1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present(&self, syncinterval: u32, flags: u32) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.Present)(::windows_core::Interface::as_raw(self), syncinterval, flags) @@ -4043,7 +4043,7 @@ impl IDXGISwapChain1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetFullscreenState(&self, fullscreen: P0, ptarget: P1) -> ::windows_core::Result<()> where @@ -4100,7 +4100,7 @@ impl IDXGISwapChain1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCoreWindow)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCoreWindow)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present1(&self, syncinterval: u32, presentflags: u32, ppresentparameters: *const DXGI_PRESENT_PARAMETERS) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).Present1)(::windows_core::Interface::as_raw(self), syncinterval, presentflags, ppresentparameters) @@ -4189,14 +4189,14 @@ impl IDXGISwapChain2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present(&self, syncinterval: u32, flags: u32) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.base__.Present)(::windows_core::Interface::as_raw(self), syncinterval, flags) @@ -4206,7 +4206,7 @@ impl IDXGISwapChain2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetFullscreenState(&self, fullscreen: P0, ptarget: P1) -> ::windows_core::Result<()> where @@ -4263,7 +4263,7 @@ impl IDXGISwapChain2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetCoreWindow)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetCoreWindow)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present1(&self, syncinterval: u32, presentflags: u32, ppresentparameters: *const DXGI_PRESENT_PARAMETERS) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.Present1)(::windows_core::Interface::as_raw(self), syncinterval, presentflags, ppresentparameters) @@ -4358,14 +4358,14 @@ impl IDXGISwapChain3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present(&self, syncinterval: u32, flags: u32) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.base__.base__.Present)(::windows_core::Interface::as_raw(self), syncinterval, flags) @@ -4375,7 +4375,7 @@ impl IDXGISwapChain3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetFullscreenState(&self, fullscreen: P0, ptarget: P1) -> ::windows_core::Result<()> where @@ -4432,7 +4432,7 @@ impl IDXGISwapChain3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetCoreWindow)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetCoreWindow)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present1(&self, syncinterval: u32, presentflags: u32, ppresentparameters: *const DXGI_PRESENT_PARAMETERS) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.base__.Present1)(::windows_core::Interface::as_raw(self), syncinterval, presentflags, ppresentparameters) @@ -4552,14 +4552,14 @@ impl IDXGISwapChain4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetParent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present(&self, syncinterval: u32, flags: u32) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.base__.base__.base__.Present)(::windows_core::Interface::as_raw(self), syncinterval, flags) @@ -4569,7 +4569,7 @@ impl IDXGISwapChain4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetBuffer)(::windows_core::Interface::as_raw(self), buffer, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetFullscreenState(&self, fullscreen: P0, ptarget: P1) -> ::windows_core::Result<()> where @@ -4626,7 +4626,7 @@ impl IDXGISwapChain4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetCoreWindow)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetCoreWindow)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Present1(&self, syncinterval: u32, presentflags: u32, ppresentparameters: *const DXGI_PRESENT_PARAMETERS) -> ::windows_core::HRESULT { (::windows_core::Interface::vtable(self).base__.base__.base__.Present1)(::windows_core::Interface::as_raw(self), syncinterval, presentflags, ppresentparameters) diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs index f4bfb084ae..8b8d2b4ff5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -1439,7 +1439,7 @@ impl IAudioClient { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAudioClient, ::windows_core::IUnknown); @@ -1515,7 +1515,7 @@ impl IAudioClient2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -1595,7 +1595,7 @@ impl IAudioClient3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -2902,7 +2902,7 @@ impl IMMDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Activate)(::windows_core::Interface::as_raw(self), &::IID, dwclsctx, ::core::mem::transmute(pactivationparams.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Activate)(::windows_core::Interface::as_raw(self), &T::IID, dwclsctx, ::core::mem::transmute(pactivationparams.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -3399,7 +3399,7 @@ impl ISpatialAudioClient { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ActivateSpatialAudioStream)(::windows_core::Interface::as_raw(self), activationparams, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ActivateSpatialAudioStream)(::windows_core::Interface::as_raw(self), activationparams, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioClient, ::windows_core::IUnknown); @@ -3466,7 +3466,7 @@ impl ISpatialAudioClient2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.ActivateSpatialAudioStream)(::windows_core::Interface::as_raw(self), activationparams, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.ActivateSpatialAudioStream)(::windows_core::Interface::as_raw(self), activationparams, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -3927,7 +3927,7 @@ impl ISpatialAudioObjectRenderStream { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Start(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Start)(::windows_core::Interface::as_raw(self)).ok() @@ -3975,7 +3975,7 @@ impl ISpatialAudioObjectRenderStreamBase { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Start(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Start)(::windows_core::Interface::as_raw(self)).ok() @@ -4025,7 +4025,7 @@ impl ISpatialAudioObjectRenderStreamForHrtf { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Start(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Start)(::windows_core::Interface::as_raw(self)).ok() @@ -4073,7 +4073,7 @@ impl ISpatialAudioObjectRenderStreamForMetadata { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetService)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Start(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Start)(::windows_core::Interface::as_raw(self)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs index 5959a80ed6..adeff7b6b2 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -2192,7 +2192,7 @@ impl ID3D12VideoDecodeCommandList { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2382,7 +2382,7 @@ impl ID3D12VideoDecodeCommandList1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2543,7 +2543,7 @@ impl ID3D12VideoDecodeCommandList2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2736,7 +2736,7 @@ impl ID3D12VideoDecodeCommandList3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2926,7 +2926,7 @@ impl ID3D12VideoDecoder { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetDesc(&self) -> D3D12_VIDEO_DECODER_DESC { let mut result__: D3D12_VIDEO_DECODER_DESC = ::core::mem::zeroed(); @@ -2994,7 +2994,7 @@ impl ID3D12VideoDecoder1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetDesc(&self) -> D3D12_VIDEO_DECODER_DESC { let mut result__: D3D12_VIDEO_DECODER_DESC = ::core::mem::zeroed(); @@ -3005,7 +3005,7 @@ impl ID3D12VideoDecoder1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3068,7 +3068,7 @@ impl ID3D12VideoDecoderHeap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3141,7 +3141,7 @@ impl ID3D12VideoDecoderHeap1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3154,7 +3154,7 @@ impl ID3D12VideoDecoderHeap1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3190,7 +3190,7 @@ impl ID3D12VideoDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3199,7 +3199,7 @@ impl ID3D12VideoDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3208,7 +3208,7 @@ impl ID3D12VideoDevice { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice, ::windows_core::IUnknown); @@ -3247,7 +3247,7 @@ impl ID3D12VideoDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3256,7 +3256,7 @@ impl ID3D12VideoDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3265,7 +3265,7 @@ impl ID3D12VideoDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3275,7 +3275,7 @@ impl ID3D12VideoDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoMotionEstimator)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoMotionEstimator)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3285,7 +3285,7 @@ impl ID3D12VideoDevice1 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoMotionVectorHeap)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoMotionVectorHeap)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice1, ::windows_core::IUnknown, ID3D12VideoDevice); @@ -3322,7 +3322,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3331,7 +3331,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3340,7 +3340,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3350,7 +3350,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoMotionEstimator)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoMotionEstimator)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3360,7 +3360,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoMotionVectorHeap)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoMotionVectorHeap)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3370,7 +3370,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoDecoder1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoDecoder1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3380,7 +3380,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoDecoderHeap1)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoDecoderHeap1)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3390,7 +3390,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoProcessor1)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoProcessor1)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3400,7 +3400,7 @@ impl ID3D12VideoDevice2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoExtensionCommand)(::windows_core::Interface::as_raw(self), pdesc, pcreationparameters, creationparametersdatasizeinbytes, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoExtensionCommand)(::windows_core::Interface::as_raw(self), pdesc, pcreationparameters, creationparametersdatasizeinbytes, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3457,7 +3457,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateVideoDecoder)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3466,7 +3466,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateVideoDecoderHeap)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3475,7 +3475,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateVideoProcessor)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3485,7 +3485,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateVideoMotionEstimator)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateVideoMotionEstimator)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3495,7 +3495,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.CreateVideoMotionVectorHeap)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.CreateVideoMotionVectorHeap)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3505,7 +3505,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoDecoder1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoDecoder1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3515,7 +3515,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoDecoderHeap1)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoDecoderHeap1)(::windows_core::Interface::as_raw(self), pvideodecoderheapdesc, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3525,7 +3525,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoProcessor1)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoProcessor1)(::windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), ::core::mem::transmute(pinputstreamdescs.as_ptr()), pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3535,7 +3535,7 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateVideoExtensionCommand)(::windows_core::Interface::as_raw(self), pdesc, pcreationparameters, creationparametersdatasizeinbytes, pprotectedresourcesession.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateVideoExtensionCommand)(::windows_core::Interface::as_raw(self), pdesc, pcreationparameters, creationparametersdatasizeinbytes, pprotectedresourcesession.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3552,14 +3552,14 @@ impl ID3D12VideoDevice3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoEncoder)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoEncoder)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateVideoEncoderHeap(&self, pdesc: *const D3D12_VIDEO_ENCODER_HEAP_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateVideoEncoderHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateVideoEncoderHeap)(::windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice3, ::windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1, ID3D12VideoDevice2); @@ -3620,7 +3620,7 @@ impl ID3D12VideoEncodeCommandList { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3831,7 +3831,7 @@ impl ID3D12VideoEncodeCommandList1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4017,7 +4017,7 @@ impl ID3D12VideoEncodeCommandList2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4217,7 +4217,7 @@ impl ID3D12VideoEncodeCommandList3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4418,7 +4418,7 @@ impl ID3D12VideoEncoder { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetNodeMask(&self) -> u32 { (::windows_core::Interface::vtable(self).GetNodeMask)(::windows_core::Interface::as_raw(self)) @@ -4513,7 +4513,7 @@ impl ID3D12VideoEncoderHeap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetNodeMask(&self) -> u32 { (::windows_core::Interface::vtable(self).GetNodeMask)(::windows_core::Interface::as_raw(self)) @@ -4603,7 +4603,7 @@ impl ID3D12VideoExtensionCommand { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetDesc(&self) -> D3D12_VIDEO_EXTENSION_COMMAND_DESC { let mut result__: D3D12_VIDEO_EXTENSION_COMMAND_DESC = ::core::mem::zeroed(); @@ -4614,7 +4614,7 @@ impl ID3D12VideoExtensionCommand { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4678,7 +4678,7 @@ impl ID3D12VideoMotionEstimator { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4691,7 +4691,7 @@ impl ID3D12VideoMotionEstimator { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4758,7 +4758,7 @@ impl ID3D12VideoMotionVectorHeap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4771,7 +4771,7 @@ impl ID3D12VideoMotionVectorHeap { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4838,7 +4838,7 @@ impl ID3D12VideoProcessCommandList { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -5028,7 +5028,7 @@ impl ID3D12VideoProcessCommandList1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -5189,7 +5189,7 @@ impl ID3D12VideoProcessCommandList2 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -5382,7 +5382,7 @@ impl ID3D12VideoProcessCommandList3 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -5572,7 +5572,7 @@ impl ID3D12VideoProcessor { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetNodeMask(&self) -> u32 { (::windows_core::Interface::vtable(self).GetNodeMask)(::windows_core::Interface::as_raw(self)) @@ -5662,7 +5662,7 @@ impl ID3D12VideoProcessor1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetNodeMask(&self) -> u32 { (::windows_core::Interface::vtable(self).base__.GetNodeMask)(::windows_core::Interface::as_raw(self)) @@ -5686,7 +5686,7 @@ impl ID3D12VideoProcessor1 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).GetProtectedResourceSession)(::windows_core::Interface::as_raw(self), &T::IID, result__ as *mut _ as *mut _).ok() } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -7072,7 +7072,7 @@ impl IMFASFProfile { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -7359,7 +7359,7 @@ impl IMFASFStreamConfig { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -7669,7 +7669,7 @@ impl IMFActivate { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -7735,7 +7735,7 @@ impl IMFActivate { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ActivateObject)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ActivateObject)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShutdownObject(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).ShutdownObject)(::windows_core::Interface::as_raw(self)).ok() @@ -7927,7 +7927,7 @@ impl IMFAttributes { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -8110,7 +8110,7 @@ impl IMFAudioMediaType { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -8576,7 +8576,7 @@ impl IMFByteStreamProxyClassFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateByteStreamProxy)(::windows_core::Interface::as_raw(self), pbytestream.into_param().abi(), pattributes.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateByteStreamProxy)(::windows_core::Interface::as_raw(self), pbytestream.into_param().abi(), pattributes.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamProxyClassFactory, ::windows_core::IUnknown); @@ -8759,7 +8759,7 @@ impl IMFCameraControlDefaultsCollection { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -9092,7 +9092,7 @@ impl IMFCaptureEngineClassFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFCaptureEngineClassFactory, ::windows_core::IUnknown); @@ -10905,7 +10905,7 @@ impl IMFGetService { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetService)(::windows_core::Interface::as_raw(self), guidservice, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFGetService, ::windows_core::IUnknown); @@ -12602,7 +12602,7 @@ impl IMFMediaEvent { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -14172,7 +14172,7 @@ impl IMFMediaType { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -14924,7 +14924,7 @@ impl IMFOutputPolicy { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -15080,7 +15080,7 @@ impl IMFOutputSchema { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -15261,7 +15261,7 @@ impl IMFPMPHost { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateObjectByCLSID)(::windows_core::Interface::as_raw(self), clsid, pstream.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateObjectByCLSID)(::windows_core::Interface::as_raw(self), clsid, pstream.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFPMPHost, ::windows_core::IUnknown); @@ -15301,7 +15301,7 @@ impl IMFPMPHostApp { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ActivateClassById)(::windows_core::Interface::as_raw(self), id.into_param().abi(), pstream.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ActivateClassById)(::windows_core::Interface::as_raw(self), id.into_param().abi(), pstream.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFPMPHostApp, ::windows_core::IUnknown); @@ -15337,7 +15337,7 @@ impl IMFPMPServer { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateObjectByCLSID)(::windows_core::Interface::as_raw(self), clsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateObjectByCLSID)(::windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFPMPServer, ::windows_core::IUnknown); @@ -15984,7 +15984,7 @@ impl IMFPresentationDescriptor { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -16391,7 +16391,7 @@ impl IMFReadWriteClassFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstanceFromURL)(::windows_core::Interface::as_raw(self), clsid, pwszurl.into_param().abi(), pattributes.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstanceFromURL)(::windows_core::Interface::as_raw(self), clsid, pwszurl.into_param().abi(), pattributes.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateInstanceFromObject(&self, clsid: *const ::windows_core::GUID, punkobject: P0, pattributes: P1) -> ::windows_core::Result where @@ -16400,7 +16400,7 @@ impl IMFReadWriteClassFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstanceFromObject)(::windows_core::Interface::as_raw(self), clsid, punkobject.into_param().abi(), pattributes.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstanceFromObject)(::windows_core::Interface::as_raw(self), clsid, punkobject.into_param().abi(), pattributes.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IMFReadWriteClassFactory, ::windows_core::IUnknown); @@ -16787,7 +16787,7 @@ impl IMFSample { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -17720,7 +17720,7 @@ impl IMFSensorStream { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -18892,7 +18892,7 @@ impl IMFSpatialAudioSample { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -19105,7 +19105,7 @@ impl IMFStreamDescriptor { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -20197,7 +20197,7 @@ impl IMFTopology { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -20393,7 +20393,7 @@ impl IMFTopologyNode { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -21162,7 +21162,7 @@ impl IMFVideoMediaType { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -21959,7 +21959,7 @@ impl IMFVirtualCamera { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUnknown)(::windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs index dff8963f18..79e5b7da92 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -8907,7 +8907,7 @@ impl IXFeed { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn LastWriteTime(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -8956,7 +8956,7 @@ impl IXFeed { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItem)(::windows_core::Interface::as_raw(self), uiid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItem)(::windows_core::Interface::as_raw(self), uiid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn MarkAllItemsRead(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).MarkAllItemsRead)(::windows_core::Interface::as_raw(self)).ok() @@ -9044,7 +9044,7 @@ impl IXFeed { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetWatcher)(::windows_core::Interface::as_raw(self), scope, mask, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetWatcher)(::windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn UnreadItemCount(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9166,7 +9166,7 @@ impl IXFeed2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.Parent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.Parent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn LastWriteTime(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9215,7 +9215,7 @@ impl IXFeed2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetItem)(::windows_core::Interface::as_raw(self), uiid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetItem)(::windows_core::Interface::as_raw(self), uiid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn MarkAllItemsRead(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.MarkAllItemsRead)(::windows_core::Interface::as_raw(self)).ok() @@ -9303,7 +9303,7 @@ impl IXFeed2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetWatcher)(::windows_core::Interface::as_raw(self), scope, mask, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetWatcher)(::windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn UnreadItemCount(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9318,7 +9318,7 @@ impl IXFeed2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItemByEffectiveId)(::windows_core::Interface::as_raw(self), uieffectiveid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItemByEffectiveId)(::windows_core::Interface::as_raw(self), uieffectiveid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn LastItemDownloadTime(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9400,7 +9400,7 @@ impl IXFeedEnclosure { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn DownloadUrl(&self) -> ::windows_core::Result<::windows_core::PWSTR> { let mut result__ = ::std::mem::zeroed(); @@ -9539,7 +9539,7 @@ impl IXFeedFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFeed)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), pszurl.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFeed)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), pszurl.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateSubfolder(&self, pszname: P0) -> ::windows_core::Result where @@ -9547,7 +9547,7 @@ impl IXFeedFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateSubfolder)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateSubfolder)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ExistsFeed(&self, pszname: P0, pbfeedexists: *const super::super::Foundation::BOOL) -> ::windows_core::Result<()> where @@ -9567,7 +9567,7 @@ impl IXFeedFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFeed)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFeed)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSubfolder(&self, pszname: P0) -> ::windows_core::Result where @@ -9575,7 +9575,7 @@ impl IXFeedFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetSubfolder)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetSubfolder)(::windows_core::Interface::as_raw(self), pszname.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Delete)(::windows_core::Interface::as_raw(self)).ok() @@ -9605,7 +9605,7 @@ impl IXFeedFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsRoot(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9616,7 +9616,7 @@ impl IXFeedFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetWatcher)(::windows_core::Interface::as_raw(self), scope, mask, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetWatcher)(::windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn TotalUnreadItemCount(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9832,7 +9832,7 @@ impl IXFeedItem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Enclosure)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Enclosure)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsRead(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9853,7 +9853,7 @@ impl IXFeedItem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Parent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Delete)(::windows_core::Interface::as_raw(self)).ok() @@ -9946,7 +9946,7 @@ impl IXFeedItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.Enclosure)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.Enclosure)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsRead(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -9967,7 +9967,7 @@ impl IXFeedItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.Parent)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.Parent)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Delete)(::windows_core::Interface::as_raw(self)).ok() @@ -10015,7 +10015,7 @@ impl IXFeedsEnum { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Item)(::windows_core::Interface::as_raw(self), uiindex, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Item)(::windows_core::Interface::as_raw(self), uiindex, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IXFeedsEnum, ::windows_core::IUnknown); @@ -10041,7 +10041,7 @@ impl IXFeedsManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RootFolder)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RootFolder)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsSubscribed(&self, pszurl: P0) -> ::windows_core::Result where @@ -10063,7 +10063,7 @@ impl IXFeedsManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFeed)(::windows_core::Interface::as_raw(self), pszpath.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFeed)(::windows_core::Interface::as_raw(self), pszpath.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetFeedByUrl(&self, pszurl: P0) -> ::windows_core::Result where @@ -10071,7 +10071,7 @@ impl IXFeedsManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFeedByUrl)(::windows_core::Interface::as_raw(self), pszurl.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFeedByUrl)(::windows_core::Interface::as_raw(self), pszurl.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ExistsFolder(&self, pszpath: P0) -> ::windows_core::Result where @@ -10086,7 +10086,7 @@ impl IXFeedsManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFolder)(::windows_core::Interface::as_raw(self), pszpath.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFolder)(::windows_core::Interface::as_raw(self), pszpath.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn DeleteFeed(&self, pszpath: P0) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs index 05839d14d2..304c79164f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -2713,7 +2713,7 @@ impl ISpResourceManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetObject(&self, guidserviceid: *const ::windows_core::GUID, punkobject: P0) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 45cb401912..67b7b5615f 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -302,7 +302,7 @@ impl INetDiagHelperUtilFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateUtilityInstance)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateUtilityInstance)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(INetDiagHelperUtilFactory, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs index d076b8c849..95863affc3 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -104,7 +104,7 @@ impl IProtectionPolicyManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetForWindow(&self, appwindow: P0) -> ::windows_core::Result where @@ -112,7 +112,7 @@ impl IProtectionPolicyManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -139,7 +139,7 @@ impl IProtectionPolicyManagerInterop2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessForAppWithWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessForAppWithWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessWithAuditingInfoForWindowAsync(&self, appwindow: P0, sourceidentity: &::windows_core::HSTRING, targetidentity: &::windows_core::HSTRING, auditinfounk: P1) -> ::windows_core::Result where @@ -148,7 +148,7 @@ impl IProtectionPolicyManagerInterop2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessWithAuditingInfoForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), auditinfounk.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessWithAuditingInfoForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), auditinfounk.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessWithMessageForWindowAsync(&self, appwindow: P0, sourceidentity: &::windows_core::HSTRING, targetidentity: &::windows_core::HSTRING, auditinfounk: P1, messagefromapp: &::windows_core::HSTRING) -> ::windows_core::Result where @@ -157,7 +157,7 @@ impl IProtectionPolicyManagerInterop2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessWithMessageForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessWithMessageForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessForAppWithAuditingInfoForWindowAsync(&self, appwindow: P0, sourceidentity: &::windows_core::HSTRING, apppackagefamilyname: &::windows_core::HSTRING, auditinfounk: P1) -> ::windows_core::Result where @@ -166,7 +166,7 @@ impl IProtectionPolicyManagerInterop2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessForAppWithAuditingInfoForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessForAppWithAuditingInfoForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessForAppWithMessageForWindowAsync(&self, appwindow: P0, sourceidentity: &::windows_core::HSTRING, apppackagefamilyname: &::windows_core::HSTRING, auditinfounk: P1, messagefromapp: &::windows_core::HSTRING) -> ::windows_core::Result where @@ -175,7 +175,7 @@ impl IProtectionPolicyManagerInterop2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessForAppWithMessageForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessForAppWithMessageForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop2, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -206,7 +206,7 @@ impl IProtectionPolicyManagerInterop3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessWithBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessWithBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(targetidentity), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessForAppWithBehaviorForWindowAsync(&self, appwindow: P0, sourceidentity: &::windows_core::HSTRING, apppackagefamilyname: &::windows_core::HSTRING, auditinfounk: P1, messagefromapp: &::windows_core::HSTRING, behavior: u32) -> ::windows_core::Result where @@ -215,7 +215,7 @@ impl IProtectionPolicyManagerInterop3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessForAppWithBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessForAppWithBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(sourceidentity), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessToFilesForAppForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, apppackagefamilyname: &::windows_core::HSTRING, auditinfounk: P2) -> ::windows_core::Result where @@ -225,7 +225,7 @@ impl IProtectionPolicyManagerInterop3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessToFilesForAppForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessToFilesForAppForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, apppackagefamilyname: &::windows_core::HSTRING, auditinfounk: P2, messagefromapp: &::windows_core::HSTRING, behavior: u32) -> ::windows_core::Result where @@ -235,7 +235,7 @@ impl IProtectionPolicyManagerInterop3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), ::core::mem::transmute_copy(apppackagefamilyname), auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessToFilesForProcessForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, processid: u32, auditinfounk: P2) -> ::windows_core::Result where @@ -245,7 +245,7 @@ impl IProtectionPolicyManagerInterop3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessToFilesForProcessForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), processid, auditinfounk.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessToFilesForProcessForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), processid, auditinfounk.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, processid: u32, auditinfounk: P2, messagefromapp: &::windows_core::HSTRING, behavior: u32) -> ::windows_core::Result where @@ -255,7 +255,7 @@ impl IProtectionPolicyManagerInterop3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), processid, auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), sourceitemlistunk.into_param().abi(), processid, auditinfounk.into_param().abi(), ::core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop3, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs index d07622b9dc..6bcd2e2dd9 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs @@ -64,7 +64,7 @@ impl IPrintDocumentPackageTarget { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPackageTarget)(::windows_core::Interface::as_raw(self), guidtargettype, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPackageTarget)(::windows_core::Interface::as_raw(self), guidtargettype, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Cancel)(::windows_core::Interface::as_raw(self)).ok() @@ -98,7 +98,7 @@ impl IPrintDocumentPackageTarget2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetTargetIppPrintDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetTargetIppPrintDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget2, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs index 42d492ddba..c3d87cc2cc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs @@ -5,7 +5,7 @@ where { ::windows_targets::link!("mscoree.dll" "system" fn CLRCreateInstance(clsid : *const ::windows_core::GUID, riid : *const ::windows_core::GUID, ppinterface : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CLRCreateInstance(clsid, &::IID, &mut result__).from_abi(result__) + CLRCreateInstance(clsid, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CallFunctionShim(szdllname: P0, szfunctionname: P1, lpvargument1: *mut ::core::ffi::c_void, lpvargument2: *mut ::core::ffi::c_void, szversion: P2, pvreserved: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -793,7 +793,7 @@ impl ICLRMetaHost { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetRuntime)(::windows_core::Interface::as_raw(self), pwzversion.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetRuntime)(::windows_core::Interface::as_raw(self), pwzversion.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetVersionFromFile(&self, pwzfilepath: P0, pwzbuffer: ::windows_core::PWSTR, pcchbuffer: *mut u32) -> ::windows_core::Result<()> where @@ -824,7 +824,7 @@ impl ICLRMetaHost { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).QueryLegacyV2RuntimeBinding)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).QueryLegacyV2RuntimeBinding)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ExitProcess(&self, iexitcode: i32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).ExitProcess)(::windows_core::Interface::as_raw(self), iexitcode).ok() @@ -868,7 +868,7 @@ impl ICLRMetaHostPolicy { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetRequestedRuntime)(::windows_core::Interface::as_raw(self), dwpolicyflags, pwzbinary.into_param().abi(), pcfgstream.into_param().abi(), ::core::mem::transmute(pwzversion), pcchversion, ::core::mem::transmute(pwzimageversion), pcchimageversion, pdwconfigflags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetRequestedRuntime)(::windows_core::Interface::as_raw(self), dwpolicyflags, pwzbinary.into_param().abi(), pcfgstream.into_param().abi(), ::core::mem::transmute(pwzversion), pcchversion, ::core::mem::transmute(pwzimageversion), pcchimageversion, pdwconfigflags, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICLRMetaHostPolicy, ::windows_core::IUnknown); @@ -1136,7 +1136,7 @@ impl ICLRRuntimeInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetInterface)(::windows_core::Interface::as_raw(self), rclsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetInterface)(::windows_core::Interface::as_raw(self), rclsid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsLoadable(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs index 65f571d5b6..21855c69a9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs @@ -155,7 +155,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoUnmarshalInterface(pstm : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoUnmarshalInterface(pstm.into_param().abi(), &::IID, &mut result__).from_abi(result__) + CoUnmarshalInterface(pstm.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index a878c1898b..d3166bdc72 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -31,7 +31,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoGetInterfaceAndReleaseStream(pstm : * mut::core::ffi::c_void, iid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoGetInterfaceAndReleaseStream(pstm.into_param().abi(), &::IID, &mut result__).from_abi(result__) + CoGetInterfaceAndReleaseStream(pstm.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CreateILockBytesOnHGlobal(hglobal: P0, fdeleteonrelease: P1) -> ::windows_core::Result @@ -739,7 +739,7 @@ where { ::windows_targets::link!("propsys.dll" "system" fn PropVariantToWinRTPropertyValue(propvar : *const PROPVARIANT, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - PropVariantToWinRTPropertyValue(propvar, &::IID, &mut result__).from_abi(result__) + PropVariantToWinRTPropertyValue(propvar, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn ReadClassStg(pstg: P0) -> ::windows_core::Result<::windows_core::GUID> diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs index 8c266ba82a..1a48a645fb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -27,7 +27,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn BindMoniker(pmk : * mut::core::ffi::c_void, grfopt : u32, iidresult : *const ::windows_core::GUID, ppvresult : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - BindMoniker(pmk.into_param().abi(), grfopt, &::IID, &mut result__).from_abi(result__) + BindMoniker(pmk.into_param().abi(), grfopt, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CLSIDFromProgID(lpszprogid: P0) -> ::windows_core::Result<::windows_core::GUID> @@ -116,7 +116,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoCreateInstance(rclsid : *const ::windows_core::GUID, punkouter : * mut::core::ffi::c_void, dwclscontext : CLSCTX, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoCreateInstance(rclsid, punkouter.into_param().abi(), dwclscontext, &::IID, &mut result__).from_abi(result__) + CoCreateInstance(rclsid, punkouter.into_param().abi(), dwclscontext, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CoCreateInstanceEx(clsid: *const ::windows_core::GUID, punkouter: P0, dwclsctx: CLSCTX, pserverinfo: ::core::option::Option<*const COSERVERINFO>, presults: &mut [MULTI_QI]) -> ::windows_core::Result<()> @@ -216,7 +216,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoGetCallContext(riid : *const ::windows_core::GUID, ppinterface : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoGetCallContext(&::IID, &mut result__).from_abi(result__) + CoGetCallContext(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CoGetCallerTID() -> ::windows_core::Result { @@ -231,7 +231,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoGetCancelObject(dwthreadid : u32, iid : *const ::windows_core::GUID, ppunk : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoGetCancelObject(dwthreadid, &::IID, &mut result__).from_abi(result__) + CoGetCancelObject(dwthreadid, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CoGetClassObject(rclsid: *const ::windows_core::GUID, dwclscontext: CLSCTX, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result @@ -240,7 +240,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoGetClassObject(rclsid : *const ::windows_core::GUID, dwclscontext : u32, pvreserved : *const ::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoGetClassObject(rclsid, dwclscontext.0 as _, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) + CoGetClassObject(rclsid, dwclscontext.0 as _, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CoGetContextToken() -> ::windows_core::Result { @@ -273,7 +273,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoGetObject(pszname : ::windows_core::PCWSTR, pbindoptions : *const BIND_OPTS, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoGetObject(pszname.into_param().abi(), ::core::mem::transmute(pbindoptions.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) + CoGetObject(pszname.into_param().abi(), ::core::mem::transmute(pbindoptions.unwrap_or(::std::ptr::null())), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CoGetObjectContext() -> ::windows_core::Result @@ -282,7 +282,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CoGetObjectContext(riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CoGetObjectContext(&::IID, &mut result__).from_abi(result__) + CoGetObjectContext(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CoGetPSClsid(riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::GUID> { @@ -627,7 +627,7 @@ where { ::windows_targets::link!("ole32.dll" "system" fn CreateDataCache(punkouter : * mut::core::ffi::c_void, rclsid : *const ::windows_core::GUID, iid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateDataCache(punkouter.into_param().abi(), rclsid, &::IID, &mut result__).from_abi(result__) + CreateDataCache(punkouter.into_param().abi(), rclsid, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CreateFileMoniker(lpszpathname: P0) -> ::windows_core::Result @@ -1934,7 +1934,7 @@ impl IClassActivator { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetClassObject)(::windows_core::Interface::as_raw(self), rclsid, dwclasscontext, locale, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetClassObject)(::windows_core::Interface::as_raw(self), rclsid, dwclasscontext, locale, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IClassActivator, ::windows_core::IUnknown); @@ -1960,7 +1960,7 @@ impl IClassFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn LockServer(&self, flock: P0) -> ::windows_core::Result<()> where @@ -2958,7 +2958,7 @@ impl IMachineGlobalObjectTable { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), clsid, identifier.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), clsid, identifier.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RevokeObject(&self, token: P0) -> ::windows_core::Result<()> where @@ -3314,7 +3314,7 @@ impl IOplockStorage { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateStorageEx)(::windows_core::Interface::as_raw(self), pwcsname.into_param().abi(), grfmode, stgfmt, grfattrs, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateStorageEx)(::windows_core::Interface::as_raw(self), pwcsname.into_param().abi(), grfmode, stgfmt, grfattrs, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenStorageEx(&self, pwcsname: P0, grfmode: u32, stgfmt: u32, grfattrs: u32) -> ::windows_core::Result where @@ -3322,7 +3322,7 @@ impl IOplockStorage { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenStorageEx)(::windows_core::Interface::as_raw(self), pwcsname.into_param().abi(), grfmode, stgfmt, grfattrs, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenStorageEx)(::windows_core::Interface::as_raw(self), pwcsname.into_param().abi(), grfmode, stgfmt, grfattrs, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IOplockStorage, ::windows_core::IUnknown); @@ -4253,7 +4253,7 @@ impl IServiceProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).QueryService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).QueryService)(::windows_core::Interface::as_raw(self), guidservice, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IServiceProvider, ::windows_core::IUnknown); @@ -4713,7 +4713,7 @@ impl ITypeInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetMops(&self, memid: i32) -> ::windows_core::Result<::windows_core::BSTR> { let mut result__ = ::std::mem::zeroed(); @@ -4854,7 +4854,7 @@ impl ITypeInfo2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetMops(&self, memid: i32) -> ::windows_core::Result<::windows_core::BSTR> { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs index 6cd0137a7f..b15af1a8c9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -2615,7 +2615,7 @@ impl ICreateWithTipTransactionEx { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), bstrtipurl.into_param().abi(), rclsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), bstrtipurl.into_param().abi(), rclsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICreateWithTipTransactionEx, ::windows_core::IUnknown); @@ -2643,7 +2643,7 @@ impl ICreateWithTransactionEx { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), ptransaction.into_param().abi(), rclsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), ptransaction.into_param().abi(), rclsid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICreateWithTransactionEx, ::windows_core::IUnknown); @@ -5372,7 +5372,7 @@ impl ITransactionContextEx { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), rclsid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstance)(::windows_core::Interface::as_raw(self), rclsid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Commit(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Commit)(::windows_core::Interface::as_raw(self)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs index e1a2383733..d85d8ce625 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs @@ -71,7 +71,7 @@ impl IActiveScript { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetScriptSite)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetScriptSite)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetScriptState(&self, ss: SCRIPTSTATE) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).SetScriptState)(::windows_core::Interface::as_raw(self), ss).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index 94055a25ae..6652b77ab0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -30,7 +30,7 @@ where { ::windows_targets::link!("dbgeng.dll" "system" fn DebugCreate(interfaceid : *const ::windows_core::GUID, interface : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DebugCreate(&::IID, &mut result__).from_abi(result__) + DebugCreate(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn DebugCreateEx(dbgengoptions: u32) -> ::windows_core::Result @@ -39,7 +39,7 @@ where { ::windows_targets::link!("dbgeng.dll" "system" fn DebugCreateEx(interfaceid : *const ::windows_core::GUID, dbgengoptions : u32, interface : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - DebugCreateEx(&::IID, dbgengoptions, &mut result__).from_abi(result__) + DebugCreateEx(&T::IID, dbgengoptions, &mut result__).from_abi(result__) } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index 88eb2aca23..5e4509b315 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -1711,7 +1711,7 @@ impl ITransactionImport { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Import)(::windows_core::Interface::as_raw(self), rgbtransactioncookie.len().try_into().unwrap(), ::core::mem::transmute(rgbtransactioncookie.as_ptr()), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Import)(::windows_core::Interface::as_raw(self), rgbtransactioncookie.len().try_into().unwrap(), ::core::mem::transmute(rgbtransactioncookie.as_ptr()), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ITransactionImport, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs index b4de238c93..5f1780bb29 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -464,7 +464,7 @@ where { ::windows_targets::link!("oleaut32.dll" "system" fn OleCreatePictureIndirect(lppictdesc : *const PICTDESC, riid : *const ::windows_core::GUID, fown : super::super::Foundation:: BOOL, lplpvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - OleCreatePictureIndirect(lppictdesc, &::IID, fown.into_param().abi(), &mut result__).from_abi(result__) + OleCreatePictureIndirect(lppictdesc, &T::IID, fown.into_param().abi(), &mut result__).from_abi(result__) } #[inline] pub unsafe fn OleCreatePropertyFrame(hwndowner: P0, x: u32, y: u32, lpszcaption: P1, cobjects: u32, ppunk: *const ::core::option::Option<::windows_core::IUnknown>, cpages: u32, ppageclsid: *const ::windows_core::GUID, lcid: u32, dwreserved: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> @@ -3440,7 +3440,7 @@ impl IClassFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -3465,7 +3465,7 @@ impl IClassFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInstanceLic)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), punkreserved.into_param().abi(), &::IID, bstrkey.into_param().abi(), &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInstanceLic)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), punkreserved.into_param().abi(), &T::IID, bstrkey.into_param().abi(), &mut result__).from_abi(result__) } } #[cfg(feature = "Win32_System_Com")] @@ -4849,7 +4849,7 @@ impl IObjectWithSite { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetSite)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetSite)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IObjectWithSite, ::windows_core::IUnknown); @@ -6147,7 +6147,7 @@ impl IOleItemContainer { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), pszitem.into_param().abi(), dwspeedneeded, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), pszitem.into_param().abi(), dwspeedneeded, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -6158,7 +6158,7 @@ impl IOleItemContainer { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetObjectStorage)(::windows_core::Interface::as_raw(self), pszitem.into_param().abi(), pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetObjectStorage)(::windows_core::Interface::as_raw(self), pszitem.into_param().abi(), pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn IsRunning(&self, pszitem: P0) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs index 13ca627f2f..8a19331712 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -1189,7 +1189,7 @@ impl IRemoteSystemAdditionalInfoProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAdditionalInfo)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(deduplicationid), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAdditionalInfo)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(deduplicationid), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IRemoteSystemAdditionalInfoProvider, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs index 370c37e2ff..74defcb275 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -2467,7 +2467,7 @@ impl ICondition { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetSubConditions)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetSubConditions)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_System_Variant"))] @@ -2576,7 +2576,7 @@ impl ICondition2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetSubConditions)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetSubConditions)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_System_Variant"))] @@ -2760,7 +2760,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateTrueFalse)(::windows_core::Interface::as_raw(self), fval.into_param().abi(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateTrueFalse)(::windows_core::Interface::as_raw(self), fval.into_param().abi(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -2770,7 +2770,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateNegation)(::windows_core::Interface::as_raw(self), pcsub.into_param().abi(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateNegation)(::windows_core::Interface::as_raw(self), pcsub.into_param().abi(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Search_Common\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_Common"))] @@ -2780,7 +2780,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCompoundFromObjectArray)(::windows_core::Interface::as_raw(self), ct, poasubs.into_param().abi(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCompoundFromObjectArray)(::windows_core::Interface::as_raw(self), ct, poasubs.into_param().abi(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Search_Common\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common"))] @@ -2789,7 +2789,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCompoundFromArray)(::windows_core::Interface::as_raw(self), ct, ::core::mem::transmute(ppcondsubs.as_ptr()), ppcondsubs.len().try_into().unwrap(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCompoundFromArray)(::windows_core::Interface::as_raw(self), ct, ::core::mem::transmute(ppcondsubs.as_ptr()), ppcondsubs.len().try_into().unwrap(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Search_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2800,7 +2800,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateStringLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, pszvalue.into_param().abi(), pszlocalename.into_param().abi(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateStringLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, pszvalue.into_param().abi(), pszlocalename.into_param().abi(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Search_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2809,7 +2809,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateIntegerLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, lvalue, cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateIntegerLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, lvalue, cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Search_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2819,7 +2819,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateBooleanLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, fvalue.into_param().abi(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateBooleanLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, fvalue.into_param().abi(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Search_Common", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2833,7 +2833,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, propvar, pszsemantictype.into_param().abi(), pszlocalename.into_param().abi(), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), cco, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateLeaf)(::windows_core::Interface::as_raw(self), propkey, cop, propvar, pszsemantictype.into_param().abi(), pszlocalename.into_param().abi(), ppropertynameterm.into_param().abi(), poperationterm.into_param().abi(), pvalueterm.into_param().abi(), cco, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -2843,7 +2843,7 @@ impl IConditionFactory2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ResolveCondition)(::windows_core::Interface::as_raw(self), pc.into_param().abi(), sqro, ::core::mem::transmute(pstreferencetime.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ResolveCondition)(::windows_core::Interface::as_raw(self), pc.into_param().abi(), sqro, ::core::mem::transmute(pstreferencetime.unwrap_or(::std::ptr::null())), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IConditionFactory2, ::windows_core::IUnknown, IConditionFactory); @@ -3616,7 +3616,7 @@ impl IEntity { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Relationships)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Relationships)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetRelationship(&self, pszrelationname: P0) -> ::windows_core::Result where @@ -3630,14 +3630,14 @@ impl IEntity { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).MetaData)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).MetaData)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn NamedEntities(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).NamedEntities)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).NamedEntities)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetNamedEntity(&self, pszvalue: P0) -> ::windows_core::Result where @@ -4717,7 +4717,7 @@ impl IQueryParserManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateLoadedParser)(::windows_core::Interface::as_raw(self), pszcatalog.into_param().abi(), langidforkeywords, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateLoadedParser)(::windows_core::Interface::as_raw(self), pszcatalog.into_param().abi(), langidforkeywords, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn InitializeOptions(&self, funderstandnqs: P0, fautowildcard: P1, pqueryparser: P2) -> ::windows_core::Result<()> where @@ -4808,7 +4808,7 @@ impl IQuerySolution { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetErrors)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetErrors)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetLexicalData(&self, ppszinputstring: ::core::option::Option<*mut ::windows_core::PWSTR>, pptokens: ::core::option::Option<*mut ::core::option::Option>, plcid: ::core::option::Option<*mut u32>, ppwordbreaker: ::core::option::Option<*mut ::core::option::Option<::windows_core::IUnknown>>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetLexicalData)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ppszinputstring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pptokens.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plcid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppwordbreaker.unwrap_or(::std::ptr::null_mut()))).ok() @@ -4919,7 +4919,7 @@ impl IRelationship { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).MetaData)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).MetaData)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn DefaultPhrase(&self, ppszphrase: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).DefaultPhrase)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ppszphrase.unwrap_or(::std::ptr::null_mut()))).ok() @@ -6376,7 +6376,7 @@ impl ISchemaProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Entities)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Entities)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RootEntity(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -6394,7 +6394,7 @@ impl ISchemaProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).MetaData)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).MetaData)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn Localize(&self, lcid: u32, pschemalocalizersupport: P0) -> ::windows_core::Result<()> where @@ -6599,7 +6599,7 @@ impl ISearchCatalogManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItemsChangedSink)(::windows_core::Interface::as_raw(self), pisearchnotifyinlinesite.into_param().abi(), &::IID, &mut result__, pguidcatalogresetsignature, pguidcheckpointsignature, pdwlastcheckpointnumber).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItemsChangedSink)(::windows_core::Interface::as_raw(self), pisearchnotifyinlinesite.into_param().abi(), &T::IID, &mut result__, pguidcatalogresetsignature, pguidcheckpointsignature, pdwlastcheckpointnumber).from_abi(result__) } pub unsafe fn UnregisterViewForNotification(&self, dwcookie: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).UnregisterViewForNotification)(::windows_core::Interface::as_raw(self), dwcookie).ok() @@ -6779,7 +6779,7 @@ impl ISearchCatalogManager2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetItemsChangedSink)(::windows_core::Interface::as_raw(self), pisearchnotifyinlinesite.into_param().abi(), &::IID, &mut result__, pguidcatalogresetsignature, pguidcheckpointsignature, pdwlastcheckpointnumber).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetItemsChangedSink)(::windows_core::Interface::as_raw(self), pisearchnotifyinlinesite.into_param().abi(), &T::IID, &mut result__, pguidcatalogresetsignature, pguidcheckpointsignature, pdwlastcheckpointnumber).from_abi(result__) } pub unsafe fn UnregisterViewForNotification(&self, dwcookie: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.UnregisterViewForNotification)(::windows_core::Interface::as_raw(self), dwcookie).ok() @@ -7140,14 +7140,14 @@ impl ISearchLanguageSupport { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).LoadWordBreaker)(::windows_core::Interface::as_raw(self), lcid, &::IID, &mut result__, plcidused).from_abi(result__) + (::windows_core::Interface::vtable(self).LoadWordBreaker)(::windows_core::Interface::as_raw(self), lcid, &T::IID, &mut result__, plcidused).from_abi(result__) } pub unsafe fn LoadStemmer(&self, lcid: u32, plcidused: *mut u32) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).LoadStemmer)(::windows_core::Interface::as_raw(self), lcid, &::IID, &mut result__, plcidused).from_abi(result__) + (::windows_core::Interface::vtable(self).LoadStemmer)(::windows_core::Interface::as_raw(self), lcid, &T::IID, &mut result__, plcidused).from_abi(result__) } pub unsafe fn IsPrefixNormalized(&self, pwcsquerytoken: &[u16], pwcsdocumenttoken: &[u16]) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs index 86d9059a7d..314e89554c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs @@ -7,7 +7,7 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFromWin32Handle)(::windows_core::Interface::as_raw(self), win32handle, enableaboutdata, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFromWin32Handle)(::windows_core::Interface::as_raw(self), win32handle, enableaboutdata, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -54,7 +54,7 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFromWin32Handle)(::windows_core::Interface::as_raw(self), win32handle, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFromWin32Handle)(::windows_core::Interface::as_raw(self), win32handle, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectFactoryInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs index a8f44a154e..dd14b91dc8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs @@ -37,7 +37,7 @@ impl ICompositionDrawingSurfaceInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &::IID, &mut result__, updateoffset).from_abi(result__) + (::windows_core::Interface::vtable(self).BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &T::IID, &mut result__, updateoffset).from_abi(result__) } pub unsafe fn EndDraw(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).EndDraw)(::windows_core::Interface::as_raw(self)).ok() @@ -82,7 +82,7 @@ impl ICompositionDrawingSurfaceInterop2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &::IID, &mut result__, updateoffset).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.BeginDraw)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(updaterect.unwrap_or(::std::ptr::null())), &T::IID, &mut result__, updateoffset).from_abi(result__) } pub unsafe fn EndDraw(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.EndDraw)(::windows_core::Interface::as_raw(self)).ok() diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs index 11996c5847..89c0da8c3f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs @@ -8,7 +8,7 @@ impl ICoreFrameworkInputViewInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICoreFrameworkInputViewInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs index 75a7e39377..87763092e1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs @@ -29,7 +29,7 @@ impl IDirect3DDxgiInterfaceAccess { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetInterface)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetInterface)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDirect3DDxgiInterfaceAccess, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs index 34504c5066..76b7b6f084 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs @@ -8,7 +8,7 @@ impl IGraphicsCaptureItemInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] #[cfg(feature = "Win32_Graphics_Gdi")] @@ -18,7 +18,7 @@ impl IGraphicsCaptureItemInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateForMonitor)(::windows_core::Interface::as_raw(self), monitor.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateForMonitor)(::windows_core::Interface::as_raw(self), monitor.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IGraphicsCaptureItemInterop, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs index 76228577ea..61b2975154 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs @@ -7,7 +7,7 @@ impl ISoftwareBitmapNative { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetData)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetData)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISoftwareBitmapNative, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -36,7 +36,7 @@ impl ISoftwareBitmapNativeFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFromWICBitmap)(::windows_core::Interface::as_raw(self), data.into_param().abi(), forcereadonly.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFromWICBitmap)(::windows_core::Interface::as_raw(self), data.into_param().abi(), forcereadonly.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -47,7 +47,7 @@ impl ISoftwareBitmapNativeFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFromMF2DBuffer2)(::windows_core::Interface::as_raw(self), data.into_param().abi(), subtype, width, height, forcereadonly.into_param().abi(), ::core::mem::transmute(mindisplayaperture.unwrap_or(::std::ptr::null())), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFromMF2DBuffer2)(::windows_core::Interface::as_raw(self), data.into_param().abi(), subtype, width, height, forcereadonly.into_param().abi(), ::core::mem::transmute(mindisplayaperture.unwrap_or(::std::ptr::null())), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISoftwareBitmapNativeFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs index 6dee1d993a..c851f5955a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs @@ -7,7 +7,7 @@ impl IAudioFrameNative { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetData)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetData)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAudioFrameNative, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -36,7 +36,7 @@ impl IAudioFrameNativeFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFromMFSample)(::windows_core::Interface::as_raw(self), data.into_param().abi(), forcereadonly.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFromMFSample)(::windows_core::Interface::as_raw(self), data.into_param().abi(), forcereadonly.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAudioFrameNativeFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -64,14 +64,14 @@ impl IVideoFrameNative { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetData)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetData)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDevice(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetDevice)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IVideoFrameNative, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -102,7 +102,7 @@ impl IVideoFrameNativeFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateFromMFSample)(::windows_core::Interface::as_raw(self), data.into_param().abi(), subtype, width, height, forcereadonly.into_param().abi(), ::core::mem::transmute(mindisplayaperture.unwrap_or(::std::ptr::null())), device.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateFromMFSample)(::windows_core::Interface::as_raw(self), data.into_param().abi(), subtype, width, height, forcereadonly.into_param().abi(), ::core::mem::transmute(mindisplayaperture.unwrap_or(::std::ptr::null())), device.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IVideoFrameNativeFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs index e23bbf566a..bcdf326cc8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs @@ -8,7 +8,7 @@ impl IPrintManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowPrintUIForWindowAsync(&self, appwindow: P0) -> ::windows_core::Result where @@ -16,7 +16,7 @@ impl IPrintManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ShowPrintUIForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ShowPrintUIForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPrintManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -273,7 +273,7 @@ impl IPrinting3DManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowPrintUIForWindowAsync(&self, appwindow: P0) -> ::windows_core::Result where @@ -281,7 +281,7 @@ impl IPrinting3DManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ShowPrintUIForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ShowPrintUIForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPrinting3DManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs index c9127e0785..76509f481f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -56,7 +56,7 @@ where { ::windows_targets::link!("windows.ui.dll" "cdecl" fn CreateControlInput(riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateControlInput(&::IID, &mut result__).from_abi(result__) + CreateControlInput(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CreateControlInputEx(pcorewindow: P0) -> ::windows_core::Result @@ -66,7 +66,7 @@ where { ::windows_targets::link!("windows.ui.dll" "cdecl" fn CreateControlInputEx(pcorewindow : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateControlInputEx(pcorewindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + CreateControlInputEx(pcorewindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"System\"`"] #[cfg(feature = "System")] @@ -84,7 +84,7 @@ where { ::windows_targets::link!("api-ms-win-shcore-stream-winrt-l1-1-0.dll" "system" fn CreateRandomAccessStreamOnFile(filepath : ::windows_core::PCWSTR, accessmode : u32, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateRandomAccessStreamOnFile(filepath.into_param().abi(), accessmode, &::IID, &mut result__).from_abi(result__) + CreateRandomAccessStreamOnFile(filepath.into_param().abi(), accessmode, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -96,7 +96,7 @@ where { ::windows_targets::link!("api-ms-win-shcore-stream-winrt-l1-1-0.dll" "system" fn CreateRandomAccessStreamOverStream(stream : * mut::core::ffi::c_void, options : BSOS_OPTIONS, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateRandomAccessStreamOverStream(stream.into_param().abi(), options, &::IID, &mut result__).from_abi(result__) + CreateRandomAccessStreamOverStream(stream.into_param().abi(), options, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn CreateStreamOverRandomAccessStream(randomaccessstream: P0) -> ::windows_core::Result @@ -106,7 +106,7 @@ where { ::windows_targets::link!("api-ms-win-shcore-stream-winrt-l1-1-0.dll" "system" fn CreateStreamOverRandomAccessStream(randomaccessstream : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - CreateStreamOverRandomAccessStream(randomaccessstream.into_param().abi(), &::IID, &mut result__).from_abi(result__) + CreateStreamOverRandomAccessStream(randomaccessstream.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn GetRestrictedErrorInfo() -> ::windows_core::Result { @@ -187,7 +187,7 @@ where { ::windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetActivationFactory(activatableclassid : ::std::mem::MaybeUninit <::windows_core::HSTRING >, iid : *const ::windows_core::GUID, factory : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - RoGetActivationFactory(::core::mem::transmute_copy(activatableclassid), &::IID, &mut result__).from_abi(result__) + RoGetActivationFactory(::core::mem::transmute_copy(activatableclassid), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn RoGetAgileReference(options: AgileReferenceOptions, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result @@ -477,7 +477,7 @@ impl IAccountsSettingsPaneInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowManageAccountsForWindowAsync(&self, appwindow: P0) -> ::windows_core::Result where @@ -485,7 +485,7 @@ impl IAccountsSettingsPaneInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ShowManageAccountsForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ShowManageAccountsForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowAddAccountForWindowAsync(&self, appwindow: P0) -> ::windows_core::Result where @@ -493,7 +493,7 @@ impl IAccountsSettingsPaneInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ShowAddAccountForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ShowAddAccountForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAccountsSettingsPaneInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -542,7 +542,7 @@ impl IAgileReference { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAgileReference, ::windows_core::IUnknown); @@ -588,7 +588,7 @@ impl IAppServiceConnectionExtendedExecution { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenForExtendedExecutionAsync)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenForExtendedExecutionAsync)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IAppServiceConnectionExtendedExecution, ::windows_core::IUnknown); @@ -937,7 +937,7 @@ impl IDragDropManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDragDropManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -963,7 +963,7 @@ impl IHolographicSpaceInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IHolographicSpaceInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -989,7 +989,7 @@ impl IInputPaneInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IInputPaneInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1160,7 +1160,7 @@ impl IPlayToManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowPlayToUIForWindow(&self, appwindow: P0) -> ::windows_core::Result<()> where @@ -1243,7 +1243,7 @@ impl IShareWindowCommandSourceInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IShareWindowCommandSourceInterop, ::windows_core::IUnknown); @@ -1269,7 +1269,7 @@ impl ISpatialInteractionManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISpatialInteractionManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1295,7 +1295,7 @@ impl ISystemMediaTransportControlsInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISystemMediaTransportControlsInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1321,7 +1321,7 @@ impl IUIViewSettingsInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IUIViewSettingsInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1347,7 +1347,7 @@ impl IUserActivityInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateSessionForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateSessionForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IUserActivityInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1373,7 +1373,7 @@ impl IUserActivityRequestManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), window.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IUserActivityRequestManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1420,7 +1420,7 @@ impl IUserConsentVerifierInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestVerificationForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(message), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestVerificationForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), ::core::mem::transmute_copy(message), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IUserConsentVerifierInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -1445,7 +1445,7 @@ impl IWeakReference { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Resolve)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IWeakReference, ::windows_core::IUnknown); @@ -1494,7 +1494,7 @@ impl IWebAuthenticationCoreManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestTokenForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), request.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestTokenForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), request.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn RequestTokenWithWebAccountForWindowAsync(&self, appwindow: P0, request: P1, webaccount: P2) -> ::windows_core::Result where @@ -1504,7 +1504,7 @@ impl IWebAuthenticationCoreManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).RequestTokenWithWebAccountForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), request.into_param().abi(), webaccount.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).RequestTokenWithWebAccountForWindowAsync)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), request.into_param().abi(), webaccount.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IWebAuthenticationCoreManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index d556bad696..8efaf4d031 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -3530,7 +3530,7 @@ impl IWbemClientConnectionTransport { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Open)(::windows_core::Interface::as_raw(self), straddresstype.into_param().abi(), abbinaryaddress.len().try_into().unwrap(), ::core::mem::transmute(abbinaryaddress.as_ptr()), strobject.into_param().abi(), struser.into_param().abi(), strpassword.into_param().abi(), strlocale.into_param().abi(), lflags, pctx.into_param().abi(), &::IID, &mut result__, ::core::mem::transmute(pcallres)).from_abi(result__) + (::windows_core::Interface::vtable(self).Open)(::windows_core::Interface::as_raw(self), straddresstype.into_param().abi(), abbinaryaddress.len().try_into().unwrap(), ::core::mem::transmute(abbinaryaddress.as_ptr()), strobject.into_param().abi(), struser.into_param().abi(), strpassword.into_param().abi(), strlocale.into_param().abi(), lflags, pctx.into_param().abi(), &T::IID, &mut result__, ::core::mem::transmute(pcallres)).from_abi(result__) } pub unsafe fn OpenAsync(&self, straddresstype: P0, abbinaryaddress: &[u8], strobject: P1, struser: P2, strpassword: P3, strlocale: P4, lflags: i32, pctx: P5, riid: *const ::windows_core::GUID, presponsehandler: P6) -> ::windows_core::Result<()> where @@ -3664,7 +3664,7 @@ impl IWbemConnectorLogin { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ConnectorLogin)(::windows_core::Interface::as_raw(self), wsznetworkresource.into_param().abi(), wszpreferredlocale.into_param().abi(), lflags, pctx.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ConnectorLogin)(::windows_core::Interface::as_raw(self), wsznetworkresource.into_param().abi(), wszpreferredlocale.into_param().abi(), lflags, pctx.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IWbemConnectorLogin, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs index c906c15fa9..eae6b7a5f4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -6625,14 +6625,14 @@ impl IUIAutomationElement { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -7104,14 +7104,14 @@ impl IUIAutomationElement2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -7516,14 +7516,14 @@ impl IUIAutomationElement3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -7936,14 +7936,14 @@ impl IUIAutomationElement4 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -8413,14 +8413,14 @@ impl IUIAutomationElement5 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -8894,14 +8894,14 @@ impl IUIAutomationElement6 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -9381,14 +9381,14 @@ impl IUIAutomationElement7 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -9914,14 +9914,14 @@ impl IUIAutomationElement8 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); @@ -10449,14 +10449,14 @@ impl IUIAutomationElement9 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCurrentPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetCachedPatternAs)(::windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> ::windows_core::Result<::windows_core::IUnknown> { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs index f8b71bd1a0..a36c8d83e8 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -1256,7 +1256,7 @@ where { ::windows_targets::link!("comctl32.dll" "system" fn ImageList_CoCreateInstance(rclsid : *const ::windows_core::GUID, punkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - ImageList_CoCreateInstance(rclsid, punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + ImageList_CoCreateInstance(rclsid, punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn ImageList_Copy(himldst: P0, idst: i32, himlsrc: P1, isrc: i32, uflags: IMAGE_LIST_COPY_FLAGS) -> super::super::Foundation::BOOL diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs index a6e11984b9..fe6f51221f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -3164,7 +3164,7 @@ impl IFEClassFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateInstance)(::windows_core::Interface::as_raw(self), punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs index 9ae9ab7273..0cc4bd0e8d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs @@ -85,7 +85,7 @@ impl IInkDesktopHost { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateInkPresenter)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateInkPresenter)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateAndInitializeInkPresenter(&self, rootvisual: P0, width: f32, height: f32) -> ::windows_core::Result where @@ -93,7 +93,7 @@ impl IInkDesktopHost { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateAndInitializeInkPresenter)(::windows_core::Interface::as_raw(self), rootvisual.into_param().abi(), width, height, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateAndInitializeInkPresenter)(::windows_core::Interface::as_raw(self), rootvisual.into_param().abi(), width, height, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IInkDesktopHost, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs index f4344f495d..12429fd57c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs @@ -8,7 +8,7 @@ impl IRadialControllerConfigurationInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IRadialControllerConfigurationInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -34,7 +34,7 @@ impl IRadialControllerIndependentInputSourceInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IRadialControllerIndependentInputSourceInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); @@ -60,7 +60,7 @@ impl IRadialControllerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateForWindow)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IRadialControllerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs index 05af5c1a30..f272e33074 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs @@ -11,7 +11,7 @@ impl IObjectArray { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), uiindex, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), uiindex, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IObjectArray, ::windows_core::IUnknown); @@ -41,7 +41,7 @@ impl IObjectCollection { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetAt)(::windows_core::Interface::as_raw(self), uiindex, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetAt)(::windows_core::Interface::as_raw(self), uiindex, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn AddObject(&self, punk: P0) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 5e3383d7ee..62d04b0771 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -682,7 +682,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHGetPropertyStoreForWindow(hwnd : super::super::super::Foundation:: HWND, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetPropertyStoreForWindow(hwnd.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHGetPropertyStoreForWindow(hwnd.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -702,7 +702,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHGetPropertyStoreFromParsingName(pszpath : ::windows_core::PCWSTR, pbc : * mut::core::ffi::c_void, flags : GETPROPERTYSTOREFLAGS, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetPropertyStoreFromParsingName(pszpath.into_param().abi(), pbc.into_param().abi(), flags, &::IID, &mut result__).from_abi(result__) + SHGetPropertyStoreFromParsingName(pszpath.into_param().abi(), pbc.into_param().abi(), flags, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -744,7 +744,7 @@ impl ICreateObject { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateObject)(::windows_core::Interface::as_raw(self), clsid, punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateObject)(::windows_core::Interface::as_raw(self), clsid, punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICreateObject, ::windows_core::IUnknown); @@ -770,21 +770,21 @@ impl IDelayedPropertyStoreFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, punkfactory.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, punkfactory.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetPropertyStoreForKeys(&self, rgkeys: *const PROPERTYKEY, ckeys: u32, flags: GETPROPERTYSTOREFLAGS) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetPropertyStoreForKeys)(::windows_core::Interface::as_raw(self), rgkeys, ckeys, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetPropertyStoreForKeys)(::windows_core::Interface::as_raw(self), rgkeys, ckeys, flags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDelayedPropertyStore(&self, flags: GETPROPERTYSTOREFLAGS, dwstoreid: u32) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetDelayedPropertyStore)(::windows_core::Interface::as_raw(self), flags, dwstoreid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetDelayedPropertyStore)(::windows_core::Interface::as_raw(self), flags, dwstoreid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IDelayedPropertyStoreFactory, ::windows_core::IUnknown, IPropertyStoreFactory); @@ -1046,7 +1046,7 @@ impl IPropertyChangeArray { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), iindex, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), iindex, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn InsertAt(&self, iindex: u32, ppropchange: P0) -> ::windows_core::Result<()> where @@ -1173,7 +1173,7 @@ impl IPropertyDescription { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetEnumTypeList)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetEnumTypeList)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -1321,7 +1321,7 @@ impl IPropertyDescription2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -1443,7 +1443,7 @@ impl IPropertyDescriptionAliasInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -1466,14 +1466,14 @@ impl IPropertyDescriptionAliasInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetSortByAlias)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetSortByAlias)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetAdditionalSortByAliases(&self) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAdditionalSortByAliases)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAdditionalSortByAliases)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionAliasInfo, ::windows_core::IUnknown, IPropertyDescription); @@ -1503,7 +1503,7 @@ impl IPropertyDescriptionList { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), ielem, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), ielem, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionList, ::windows_core::IUnknown); @@ -1601,7 +1601,7 @@ impl IPropertyDescriptionRelatedPropertyInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -1625,7 +1625,7 @@ impl IPropertyDescriptionRelatedPropertyInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetRelatedProperty)(::windows_core::Interface::as_raw(self), pszrelationshipname.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetRelatedProperty)(::windows_core::Interface::as_raw(self), pszrelationshipname.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionRelatedPropertyInfo, ::windows_core::IUnknown, IPropertyDescription); @@ -1722,7 +1722,7 @@ impl IPropertyDescriptionSearchInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetEnumTypeList)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -1891,14 +1891,14 @@ impl IPropertyEnumTypeList { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), itype, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetAt)(::windows_core::Interface::as_raw(self), itype, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetConditionAt(&self, nindex: u32) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetConditionAt)(::windows_core::Interface::as_raw(self), nindex, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetConditionAt)(::windows_core::Interface::as_raw(self), nindex, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -2071,14 +2071,14 @@ impl IPropertyStoreFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, punkfactory.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, punkfactory.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetPropertyStoreForKeys(&self, rgkeys: *const PROPERTYKEY, ckeys: u32, flags: GETPROPERTYSTOREFLAGS) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyStoreForKeys)(::windows_core::Interface::as_raw(self), rgkeys, ckeys, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyStoreForKeys)(::windows_core::Interface::as_raw(self), rgkeys, ckeys, flags, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IPropertyStoreFactory, ::windows_core::IUnknown); @@ -2104,7 +2104,7 @@ impl IPropertySystem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyDescription)(::windows_core::Interface::as_raw(self), propkey, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyDescription)(::windows_core::Interface::as_raw(self), propkey, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetPropertyDescriptionByName(&self, pszcanonicalname: P0) -> ::windows_core::Result where @@ -2112,7 +2112,7 @@ impl IPropertySystem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyDescriptionByName)(::windows_core::Interface::as_raw(self), pszcanonicalname.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyDescriptionByName)(::windows_core::Interface::as_raw(self), pszcanonicalname.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetPropertyDescriptionListFromString(&self, pszproplist: P0) -> ::windows_core::Result where @@ -2120,14 +2120,14 @@ impl IPropertySystem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyDescriptionListFromString)(::windows_core::Interface::as_raw(self), pszproplist.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyDescriptionListFromString)(::windows_core::Interface::as_raw(self), pszproplist.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumeratePropertyDescriptions(&self, filteron: PROPDESC_ENUMFILTER) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).EnumeratePropertyDescriptions)(::windows_core::Interface::as_raw(self), filteron, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).EnumeratePropertyDescriptions)(::windows_core::Interface::as_raw(self), filteron, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs index c44f4b66c3..70cddae359 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -11,7 +11,7 @@ where { ::windows_targets::link!("shlwapi.dll" "system" fn AssocCreate(clsid : ::windows_core::GUID, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - AssocCreate(::core::mem::transmute(clsid), &::IID, &mut result__).from_abi(result__) + AssocCreate(::core::mem::transmute(clsid), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Registry\"`"] #[cfg(feature = "Win32_System_Registry")] @@ -22,7 +22,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn AssocCreateForClasses(rgclasses : *const ASSOCIATIONELEMENT, cclasses : u32, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - AssocCreateForClasses(::core::mem::transmute(rgclasses.as_ptr()), rgclasses.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + AssocCreateForClasses(::core::mem::transmute(rgclasses.as_ptr()), rgclasses.len().try_into().unwrap(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -657,7 +657,7 @@ where { ::windows_targets::link!("hlink.dll" "system" fn HlinkClone(pihl : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, pihlsiteforclone : * mut::core::ffi::c_void, dwsitedata : u32, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - HlinkClone(pihl.into_param().abi(), &::IID, pihlsiteforclone.into_param().abi(), dwsitedata, &mut result__).from_abi(result__) + HlinkClone(pihl.into_param().abi(), &T::IID, pihlsiteforclone.into_param().abi(), dwsitedata, &mut result__).from_abi(result__) } #[inline] pub unsafe fn HlinkCreateBrowseContext(piunkouter: P0) -> ::windows_core::Result @@ -667,7 +667,7 @@ where { ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateBrowseContext(piunkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - HlinkCreateBrowseContext(piunkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + HlinkCreateBrowseContext(piunkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn HlinkCreateExtensionServices(pwzadditionalheaders: P0, phwnd: P1, pszusername: P2, pszpassword: P3, piunkouter: P4) -> ::windows_core::Result @@ -681,7 +681,7 @@ where { ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateExtensionServices(pwzadditionalheaders : ::windows_core::PCWSTR, phwnd : super::super::Foundation:: HWND, pszusername : ::windows_core::PCWSTR, pszpassword : ::windows_core::PCWSTR, piunkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - HlinkCreateExtensionServices(pwzadditionalheaders.into_param().abi(), phwnd.into_param().abi(), pszusername.into_param().abi(), pszpassword.into_param().abi(), piunkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + HlinkCreateExtensionServices(pwzadditionalheaders.into_param().abi(), phwnd.into_param().abi(), pszusername.into_param().abi(), pszpassword.into_param().abi(), piunkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -695,7 +695,7 @@ where { ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromData(pidataobj : * mut::core::ffi::c_void, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - HlinkCreateFromData(pidataobj.into_param().abi(), pihlsite.into_param().abi(), dwsitedata, piunkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + HlinkCreateFromData(pidataobj.into_param().abi(), pihlsite.into_param().abi(), dwsitedata, piunkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -711,7 +711,7 @@ where { ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromMoniker(pimktrgt : * mut::core::ffi::c_void, pwzlocation : ::windows_core::PCWSTR, pwzfriendlyname : ::windows_core::PCWSTR, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - HlinkCreateFromMoniker(pimktrgt.into_param().abi(), pwzlocation.into_param().abi(), pwzfriendlyname.into_param().abi(), pihlsite.into_param().abi(), dwsitedata, piunkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + HlinkCreateFromMoniker(pimktrgt.into_param().abi(), pwzlocation.into_param().abi(), pwzfriendlyname.into_param().abi(), pihlsite.into_param().abi(), dwsitedata, piunkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn HlinkCreateFromString(pwztarget: P0, pwzlocation: P1, pwzfriendlyname: P2, pihlsite: P3, dwsitedata: u32, piunkouter: P4) -> ::windows_core::Result @@ -725,7 +725,7 @@ where { ::windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromString(pwztarget : ::windows_core::PCWSTR, pwzlocation : ::windows_core::PCWSTR, pwzfriendlyname : ::windows_core::PCWSTR, pihlsite : * mut::core::ffi::c_void, dwsitedata : u32, piunkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - HlinkCreateFromString(pwztarget.into_param().abi(), pwzlocation.into_param().abi(), pwzfriendlyname.into_param().abi(), pihlsite.into_param().abi(), dwsitedata, piunkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + HlinkCreateFromString(pwztarget.into_param().abi(), pwzlocation.into_param().abi(), pwzfriendlyname.into_param().abi(), pihlsite.into_param().abi(), dwsitedata, piunkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn HlinkCreateShortcut(grfhlshortcutf: u32, pihl: P0, pwzdir: P1, pwzfilename: P2, ppwzshortcutfile: *mut ::windows_core::PWSTR, dwreserved: u32) -> ::windows_core::Result<()> @@ -1199,7 +1199,7 @@ where { ::windows_targets::link!("shlwapi.dll" "system" fn IUnknown_GetSite(punk : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - IUnknown_GetSite(punk.into_param().abi(), &::IID, &mut result__).from_abi(result__) + IUnknown_GetSite(punk.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn IUnknown_GetWindow(punk: P0) -> ::windows_core::Result @@ -1218,7 +1218,7 @@ where { ::windows_targets::link!("shlwapi.dll" "system" fn IUnknown_QueryService(punk : * mut::core::ffi::c_void, guidservice : *const ::windows_core::GUID, riid : *const ::windows_core::GUID, ppvout : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - IUnknown_QueryService(punk.into_param().abi(), guidservice, &::IID, &mut result__).from_abi(result__) + IUnknown_QueryService(punk.into_param().abi(), guidservice, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn IUnknown_Set(ppunk: *mut ::core::option::Option<::windows_core::IUnknown>, punk: P0) @@ -2465,7 +2465,7 @@ where { ::windows_targets::link!("shlwapi.dll" "system" fn QISearch(that : *mut ::core::ffi::c_void, pqit : *const QITAB, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - QISearch(that, pqit, &::IID, &mut result__).from_abi(result__) + QISearch(that, pqit, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn ReadCabinetState(pcs: *mut CABINETSTATE, clength: i32) -> super::super::Foundation::BOOL { @@ -2603,7 +2603,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHAssocEnumHandlersForProtocolByApplication(protocol : ::windows_core::PCWSTR, riid : *const ::windows_core::GUID, enumhandlers : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHAssocEnumHandlersForProtocolByApplication(protocol.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHAssocEnumHandlersForProtocolByApplication(protocol.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHAutoComplete(hwndedit: P0, dwflags: SHELL_AUTOCOMPLETE_FLAGS) -> ::windows_core::Result<()> @@ -2623,7 +2623,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHBindToFolderIDListParent(psfroot : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHBindToFolderIDListParent(psfroot.into_param().abi(), pidl, &::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) + SHBindToFolderIDListParent(psfroot.into_param().abi(), pidl, &T::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -2636,7 +2636,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHBindToFolderIDListParentEx(psfroot : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, ppbc : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHBindToFolderIDListParentEx(psfroot.into_param().abi(), pidl, ppbc.into_param().abi(), &::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) + SHBindToFolderIDListParentEx(psfroot.into_param().abi(), pidl, ppbc.into_param().abi(), &T::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -2649,7 +2649,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHBindToObject(psf : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, pbc : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHBindToObject(psf.into_param().abi(), pidl, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHBindToObject(psf.into_param().abi(), pidl, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2660,7 +2660,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHBindToParent(pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHBindToParent(pidl, &::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) + SHBindToParent(pidl, &T::IID, &mut result__, ::core::mem::transmute(ppidllast.unwrap_or(::std::ptr::null_mut()))).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2748,7 +2748,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCoCreateInstance(pszclsid : ::windows_core::PCWSTR, pclsid : *const ::windows_core::GUID, punkouter : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCoCreateInstance(pszclsid.into_param().abi(), ::core::mem::transmute(pclsid.unwrap_or(::std::ptr::null())), punkouter.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCoCreateInstance(pszclsid.into_param().abi(), ::core::mem::transmute(pclsid.unwrap_or(::std::ptr::null())), punkouter.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Registry\"`"] #[cfg(feature = "Win32_System_Registry")] @@ -2781,7 +2781,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateAssociationRegistration(riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateAssociationRegistration(&::IID, &mut result__).from_abi(result__) + SHCreateAssociationRegistration(&T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -2793,7 +2793,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateDataObject(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, pdtinner : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateDataObject(::core::mem::transmute(pidlfolder.unwrap_or(::std::ptr::null())), apidl.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(apidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdtinner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCreateDataObject(::core::mem::transmute(pidlfolder.unwrap_or(::std::ptr::null())), apidl.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(apidl.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdtinner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] @@ -2804,7 +2804,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultContextMenu(pdcm : *const DEFCONTEXTMENU, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateDefaultContextMenu(pdcm, &::IID, &mut result__).from_abi(result__) + SHCreateDefaultContextMenu(pdcm, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHCreateDefaultExtractIcon() -> ::windows_core::Result @@ -2813,7 +2813,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultExtractIcon(riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateDefaultExtractIcon(&::IID, &mut result__).from_abi(result__) + SHCreateDefaultExtractIcon(&T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHCreateDefaultPropertiesOp(psi: P0) -> ::windows_core::Result @@ -2863,7 +2863,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateFileExtractIconW(pszfile : ::windows_core::PCWSTR, dwfileattributes : u32, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateFileExtractIconW(pszfile.into_param().abi(), dwfileattributes, &::IID, &mut result__).from_abi(result__) + SHCreateFileExtractIconW(pszfile.into_param().abi(), dwfileattributes, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2874,7 +2874,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromIDList(pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateItemFromIDList(pidl, &::IID, &mut result__).from_abi(result__) + SHCreateItemFromIDList(pidl, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -2887,7 +2887,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromParsingName(pszpath : ::windows_core::PCWSTR, pbc : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateItemFromParsingName(pszpath.into_param().abi(), pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCreateItemFromParsingName(pszpath.into_param().abi(), pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -2901,7 +2901,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromRelativeName(psiparent : * mut::core::ffi::c_void, pszname : ::windows_core::PCWSTR, pbc : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateItemFromRelativeName(psiparent.into_param().abi(), pszname.into_param().abi(), pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCreateItemFromRelativeName(psiparent.into_param().abi(), pszname.into_param().abi(), pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHCreateItemInKnownFolder(kfid: *const ::windows_core::GUID, dwkfflags: u32, pszitem: P0) -> ::windows_core::Result @@ -2911,7 +2911,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateItemInKnownFolder(kfid : *const ::windows_core::GUID, dwkfflags : u32, pszitem : ::windows_core::PCWSTR, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateItemInKnownFolder(kfid, dwkfflags, pszitem.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCreateItemInKnownFolder(kfid, dwkfflags, pszitem.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2923,7 +2923,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateItemWithParent(pidlparent : *const Common:: ITEMIDLIST, psfparent : * mut::core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, riid : *const ::windows_core::GUID, ppvitem : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateItemWithParent(::core::mem::transmute(pidlparent.unwrap_or(::std::ptr::null())), psfparent.into_param().abi(), pidl, &::IID, &mut result__).from_abi(result__) + SHCreateItemWithParent(::core::mem::transmute(pidlparent.unwrap_or(::std::ptr::null())), psfparent.into_param().abi(), pidl, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -3006,7 +3006,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromDataObject(pdo : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateShellItemArrayFromDataObject(pdo.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCreateShellItemArrayFromDataObject(pdo.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -3024,7 +3024,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromShellItem(psi : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHCreateShellItemArrayFromShellItem(psi.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHCreateShellItemArrayFromShellItem(psi.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3520,7 +3520,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHGetImageList(iimagelist : i32, riid : *const ::windows_core::GUID, ppvobj : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetImageList(iimagelist, &::IID, &mut result__).from_abi(result__) + SHGetImageList(iimagelist, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHGetInstanceExplorer() -> ::windows_core::Result<::windows_core::IUnknown> { @@ -3543,7 +3543,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHGetItemFromDataObject(pdtobj : * mut::core::ffi::c_void, dwflags : DATAOBJ_GET_ITEM_FLAGS, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetItemFromDataObject(pdtobj.into_param().abi(), dwflags, &::IID, &mut result__).from_abi(result__) + SHGetItemFromDataObject(pdtobj.into_param().abi(), dwflags, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHGetItemFromObject(punk: P0) -> ::windows_core::Result @@ -3553,7 +3553,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHGetItemFromObject(punk : * mut::core::ffi::c_void, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetItemFromObject(punk.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHGetItemFromObject(punk.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -3574,7 +3574,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn SHGetKnownFolderItem(rfid : *const ::windows_core::GUID, flags : KNOWN_FOLDER_FLAG, htoken : super::super::Foundation:: HANDLE, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetKnownFolderItem(rfid, flags, htoken.into_param().abi(), &::IID, &mut result__).from_abi(result__) + SHGetKnownFolderItem(rfid, flags, htoken.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHGetKnownFolderPath(rfid: *const ::windows_core::GUID, dwflags: KNOWN_FOLDER_FLAG, htoken: P0) -> ::windows_core::Result<::windows_core::PWSTR> @@ -3778,7 +3778,7 @@ where { ::windows_targets::link!("shlwapi.dll" "system" fn SHGetViewStatePropertyBag(pidl : *const Common:: ITEMIDLIST, pszbagname : ::windows_core::PCWSTR, dwflags : u32, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - SHGetViewStatePropertyBag(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), pszbagname.into_param().abi(), dwflags, &::IID, &mut result__).from_abi(result__) + SHGetViewStatePropertyBag(::core::mem::transmute(pidl.unwrap_or(::std::ptr::null())), pszbagname.into_param().abi(), dwflags, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn SHGlobalCounterDecrement(id: SHGLOBALCOUNTER) -> i32 { @@ -4913,7 +4913,7 @@ where { ::windows_targets::link!("shell32.dll" "system" fn StgMakeUniqueName(pstgparent : * mut::core::ffi::c_void, pszfilespec : ::windows_core::PCWSTR, grfmode : u32, riid : *const ::windows_core::GUID, ppv : *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT); let mut result__ = ::std::ptr::null_mut(); - StgMakeUniqueName(pstgparent.into_param().abi(), pszfilespec.into_param().abi(), grfmode, &::IID, &mut result__).from_abi(result__) + StgMakeUniqueName(pstgparent.into_param().abi(), pszfilespec.into_param().abi(), grfmode, &T::IID, &mut result__).from_abi(result__) } #[inline] pub unsafe fn StrCSpnA(pszstr: P0, pszset: P1) -> i32 @@ -7699,7 +7699,7 @@ impl IApplicationDocumentLists { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetList)(::windows_core::Interface::as_raw(self), listtype, citemsdesired, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetList)(::windows_core::Interface::as_raw(self), listtype, citemsdesired, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IApplicationDocumentLists, ::windows_core::IUnknown); @@ -8010,7 +8010,7 @@ impl IBandHost { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateBand)(::windows_core::Interface::as_raw(self), rclsidband, favailable.into_param().abi(), fvisible.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateBand)(::windows_core::Interface::as_raw(self), rclsidband, favailable.into_param().abi(), fvisible.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetBandAvailability(&self, rclsidband: *const ::windows_core::GUID, favailable: P0) -> ::windows_core::Result<()> where @@ -8067,7 +8067,7 @@ impl IBandSite { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetBandObject)(::windows_core::Interface::as_raw(self), dwbandid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetBandObject)(::windows_core::Interface::as_raw(self), dwbandid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetBandSiteInfo(&self, pbsinfo: *const BANDSITEINFO) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).SetBandSiteInfo)(::windows_core::Interface::as_raw(self), pbsinfo).ok() @@ -10228,7 +10228,7 @@ impl ICategoryProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateCategory)(::windows_core::Interface::as_raw(self), pguid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateCategory)(::windows_core::Interface::as_raw(self), pguid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ICategoryProvider, ::windows_core::IUnknown); @@ -11717,7 +11717,7 @@ impl ICustomDestinationList { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BeginList)(::windows_core::Interface::as_raw(self), pcminslots, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BeginList)(::windows_core::Interface::as_raw(self), pcminslots, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -11747,7 +11747,7 @@ impl ICustomDestinationList { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetRemovedDestinations)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetRemovedDestinations)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn DeleteList(&self, pszappid: P0) -> ::windows_core::Result<()> where @@ -11893,7 +11893,7 @@ impl IDataTransferManagerInterop { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetForWindow)(::windows_core::Interface::as_raw(self), appwindow.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowShareUIForWindow(&self, appwindow: P0) -> ::windows_core::Result<()> where @@ -13743,7 +13743,7 @@ impl IExplorerBrowser { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCurrentView)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCurrentView)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IExplorerBrowser, ::windows_core::IUnknown); @@ -13923,14 +13923,14 @@ impl IExplorerCommandProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCommands)(::windows_core::Interface::as_raw(self), punksite.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCommands)(::windows_core::Interface::as_raw(self), punksite.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCommand(&self, rguidcommandid: *const ::windows_core::GUID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCommand)(::windows_core::Interface::as_raw(self), rguidcommandid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCommand)(::windows_core::Interface::as_raw(self), rguidcommandid, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IExplorerCommandProvider, ::windows_core::IUnknown); @@ -15863,7 +15863,7 @@ impl IFolderView { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFolder)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFolder)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -15880,7 +15880,7 @@ impl IFolderView { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).Items)(::windows_core::Interface::as_raw(self), uflags.0 as _, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).Items)(::windows_core::Interface::as_raw(self), uflags.0 as _, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSelectionMarkedItem(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -15966,7 +15966,7 @@ impl IFolderView2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetFolder)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetFolder)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -15983,7 +15983,7 @@ impl IFolderView2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.Items)(::windows_core::Interface::as_raw(self), uflags.0 as _, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.Items)(::windows_core::Interface::as_raw(self), uflags.0 as _, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetSelectionMarkedItem(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -16089,7 +16089,7 @@ impl IFolderView2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItem)(::windows_core::Interface::as_raw(self), iitem, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItem)(::windows_core::Interface::as_raw(self), iitem, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetVisibleItem(&self, istart: i32, fprevious: P0) -> ::windows_core::Result where @@ -16312,7 +16312,7 @@ impl IFolderViewSettings { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetColumnPropertyList)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetColumnPropertyList)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -17634,7 +17634,7 @@ impl IKnownFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetShellItem)(::windows_core::Interface::as_raw(self), dwflags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetShellItem)(::windows_core::Interface::as_raw(self), dwflags, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetPath(&self, dwflags: u32) -> ::windows_core::Result<::windows_core::PWSTR> { let mut result__ = ::std::mem::zeroed(); @@ -19210,7 +19210,7 @@ impl IObjectProvider { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).QueryObject)(::windows_core::Interface::as_raw(self), guidobject, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).QueryObject)(::windows_core::Interface::as_raw(self), guidobject, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IObjectProvider, ::windows_core::IUnknown); @@ -19368,7 +19368,7 @@ impl IObjectWithSelection { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetSelection)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetSelection)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IObjectWithSelection, ::windows_core::IUnknown); @@ -19434,7 +19434,7 @@ impl IOpenSearchSource { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetResults)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), pszquery.into_param().abi(), dwstartindex, dwcount, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetResults)(::windows_core::Interface::as_raw(self), hwnd.into_param().abi(), pszquery.into_param().abi(), dwstartindex, dwcount, &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IOpenSearchSource, ::windows_core::IUnknown); @@ -19830,7 +19830,7 @@ impl IParseAndCreateItem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItem)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItem)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IParseAndCreateItem, ::windows_core::IUnknown); @@ -21045,7 +21045,7 @@ impl ISearchBoxInfo { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetCondition)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetCondition)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetText(&self) -> ::windows_core::Result<::windows_core::PWSTR> { let mut result__ = ::std::mem::zeroed(); @@ -21156,7 +21156,7 @@ impl ISearchFolderItemFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetShellItem)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetShellItem)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -22993,7 +22993,7 @@ impl IShellFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToObject)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToObject)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -23003,7 +23003,7 @@ impl IShellFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToStorage)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToStorage)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -23019,7 +23019,7 @@ impl IShellFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateViewObject)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateViewObject)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -23034,7 +23034,7 @@ impl IShellFolder { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetUIObjectOf)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), apidl.len().try_into().unwrap(), ::core::mem::transmute(apidl.as_ptr()), &::IID, ::core::mem::transmute(rgfreserved.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetUIObjectOf)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), apidl.len().try_into().unwrap(), ::core::mem::transmute(apidl.as_ptr()), &T::IID, ::core::mem::transmute(rgfreserved.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -23125,7 +23125,7 @@ impl IShellFolder2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.BindToObject)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.BindToObject)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -23135,7 +23135,7 @@ impl IShellFolder2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.BindToStorage)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.BindToStorage)(::windows_core::Interface::as_raw(self), pidl, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -23151,7 +23151,7 @@ impl IShellFolder2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.CreateViewObject)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.CreateViewObject)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -23166,7 +23166,7 @@ impl IShellFolder2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetUIObjectOf)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), apidl.len().try_into().unwrap(), ::core::mem::transmute(apidl.as_ptr()), &::IID, ::core::mem::transmute(rgfreserved.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetUIObjectOf)(::windows_core::Interface::as_raw(self), hwndowner.into_param().abi(), apidl.len().try_into().unwrap(), ::core::mem::transmute(apidl.as_ptr()), &T::IID, ::core::mem::transmute(rgfreserved.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] #[cfg(feature = "Win32_UI_Shell_Common")] @@ -24276,7 +24276,7 @@ impl IShellItem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToHandler)(::windows_core::Interface::as_raw(self), pbc.into_param().abi(), bhid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToHandler)(::windows_core::Interface::as_raw(self), pbc.into_param().abi(), bhid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetParent(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -24335,7 +24335,7 @@ impl IShellItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.BindToHandler)(::windows_core::Interface::as_raw(self), pbc.into_param().abi(), bhid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.BindToHandler)(::windows_core::Interface::as_raw(self), pbc.into_param().abi(), bhid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetParent(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -24365,7 +24365,7 @@ impl IShellItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -24375,7 +24375,7 @@ impl IShellItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyStoreWithCreateObject)(::windows_core::Interface::as_raw(self), flags, punkcreateobject.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyStoreWithCreateObject)(::windows_core::Interface::as_raw(self), flags, punkcreateobject.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -24384,7 +24384,7 @@ impl IShellItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyStoreForKeys)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(rgkeys.as_ptr()), rgkeys.len().try_into().unwrap(), flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyStoreForKeys)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(rgkeys.as_ptr()), rgkeys.len().try_into().unwrap(), flags, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -24393,7 +24393,7 @@ impl IShellItem2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyDescriptionList)(::windows_core::Interface::as_raw(self), keytype, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyDescriptionList)(::windows_core::Interface::as_raw(self), keytype, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -24528,7 +24528,7 @@ impl IShellItemArray { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToHandler)(::windows_core::Interface::as_raw(self), pbc.into_param().abi(), bhid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToHandler)(::windows_core::Interface::as_raw(self), pbc.into_param().abi(), bhid, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -24537,7 +24537,7 @@ impl IShellItemArray { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyStore)(::windows_core::Interface::as_raw(self), flags, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -24546,7 +24546,7 @@ impl IShellItemArray { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetPropertyDescriptionList)(::windows_core::Interface::as_raw(self), keytype, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetPropertyDescriptionList)(::windows_core::Interface::as_raw(self), keytype, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_SystemServices\"`"] #[cfg(feature = "Win32_System_SystemServices")] @@ -24691,14 +24691,14 @@ impl IShellItemResources { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).OpenResource)(::windows_core::Interface::as_raw(self), pcsir, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).OpenResource)(::windows_core::Interface::as_raw(self), pcsir, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateResource(&self, pcsir: *const SHELL_ITEM_RESOURCE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateResource)(::windows_core::Interface::as_raw(self), pcsir, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateResource)(::windows_core::Interface::as_raw(self), pcsir, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn MarkForDelete(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).MarkForDelete)(::windows_core::Interface::as_raw(self)).ok() @@ -24756,7 +24756,7 @@ impl IShellLibrary { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetFolders)(::windows_core::Interface::as_raw(self), lff, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetFolders)(::windows_core::Interface::as_raw(self), lff, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ResolveFolder(&self, psifoldertoresolve: P0, dwtimeout: u32) -> ::windows_core::Result where @@ -24764,14 +24764,14 @@ impl IShellLibrary { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).ResolveFolder)(::windows_core::Interface::as_raw(self), psifoldertoresolve.into_param().abi(), dwtimeout, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).ResolveFolder)(::windows_core::Interface::as_raw(self), psifoldertoresolve.into_param().abi(), dwtimeout, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDefaultSaveFolder(&self, dsft: DEFAULTSAVEFOLDERTYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetDefaultSaveFolder)(::windows_core::Interface::as_raw(self), dsft, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetDefaultSaveFolder)(::windows_core::Interface::as_raw(self), dsft, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn SetDefaultSaveFolder(&self, dsft: DEFAULTSAVEFOLDERTYPE, psi: P0) -> ::windows_core::Result<()> where @@ -29406,7 +29406,7 @@ impl IShellView { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItemObject)(::windows_core::Interface::as_raw(self), uitem.0 as _, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItemObject)(::windows_core::Interface::as_raw(self), uitem.0 as _, &T::IID, &mut result__).from_abi(result__) } } #[cfg(feature = "Win32_System_Ole")] @@ -29524,7 +29524,7 @@ impl IShellView2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.GetItemObject)(::windows_core::Interface::as_raw(self), uitem.0 as _, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.GetItemObject)(::windows_core::Interface::as_raw(self), uitem.0 as _, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetView(&self, pvid: *mut ::windows_core::GUID, uview: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetView)(::windows_core::Interface::as_raw(self), pvid, uview).ok() @@ -29650,7 +29650,7 @@ impl IShellView3 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.GetItemObject)(::windows_core::Interface::as_raw(self), uitem.0 as _, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.GetItemObject)(::windows_core::Interface::as_raw(self), uitem.0 as _, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetView(&self, pvid: *mut ::windows_core::GUID, uview: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.GetView)(::windows_core::Interface::as_raw(self), pvid, uview).ok() @@ -30236,7 +30236,7 @@ impl ISyncMgrConflict { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetResolutionHandler)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetResolutionHandler)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflict, ::windows_core::IUnknown); @@ -30444,7 +30444,7 @@ impl ISyncMgrConflictStore { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToConflict)(::windows_core::Interface::as_raw(self), pconflictidinfo, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToConflict)(::windows_core::Interface::as_raw(self), pconflictidinfo, &T::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] @@ -30810,7 +30810,7 @@ impl ISyncMgrHandler { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), rguidobjectid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), rguidobjectid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -30877,7 +30877,7 @@ impl ISyncMgrHandlerCollection { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToHandler)(::windows_core::Interface::as_raw(self), pszhandlerid.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToHandler)(::windows_core::Interface::as_raw(self), pszhandlerid.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(ISyncMgrHandlerCollection, ::windows_core::IUnknown); @@ -31195,7 +31195,7 @@ impl ISyncMgrSyncItem { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), rguidobjectid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), rguidobjectid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -31353,7 +31353,7 @@ impl ISyncMgrSynchronize { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetItemObject)(::windows_core::Interface::as_raw(self), itemid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetItemObject)(::windows_core::Interface::as_raw(self), itemid, &T::IID, &mut result__).from_abi(result__) } pub unsafe fn ShowProperties(&self, hwndparent: P0, itemid: *const ::windows_core::GUID) -> ::windows_core::Result<()> where @@ -32027,7 +32027,7 @@ impl IThumbnailHandlerFactory { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).GetThumbnailHandler)(::windows_core::Interface::as_raw(self), pidlchild, pbc.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).GetThumbnailHandler)(::windows_core::Interface::as_raw(self), pidlchild, pbc.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IThumbnailHandlerFactory, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs index 5dd0be44fa..0b2edeca1c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -301,7 +301,7 @@ impl IClonableWrapper { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CloneNewWrapper)(::windows_core::Interface::as_raw(self), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CloneNewWrapper)(::windows_core::Interface::as_raw(self), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IClonableWrapper, ::windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs index d05068a91e..c5fd074426 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -1884,7 +1884,7 @@ impl IInternetExplorerManager { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateObject)(::windows_core::Interface::as_raw(self), dwconfig, pszurl.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).CreateObject)(::windows_core::Interface::as_raw(self), dwconfig, pszurl.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IInternetExplorerManager, ::windows_core::IUnknown); @@ -3532,7 +3532,7 @@ impl IUrlHistoryStg { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).BindToObject)(::windows_core::Interface::as_raw(self), pocsurl.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).BindToObject)(::windows_core::Interface::as_raw(self), pocsurl.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumUrls(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); @@ -3585,7 +3585,7 @@ impl IUrlHistoryStg2 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.BindToObject)(::windows_core::Interface::as_raw(self), pocsurl.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.BindToObject)(::windows_core::Interface::as_raw(self), pocsurl.into_param().abi(), &T::IID, &mut result__).from_abi(result__) } pub unsafe fn EnumUrls(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/tests/riddle/src/generic_interfaces.rs b/crates/tests/riddle/src/generic_interfaces.rs index 43268ee1e1..13d29a49f1 100644 --- a/crates/tests/riddle/src/generic_interfaces.rs +++ b/crates/tests/riddle/src/generic_interfaces.rs @@ -39,7 +39,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"TODO") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } @@ -119,7 +119,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"TODO") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } @@ -205,9 +205,9 @@ impl::SIGNATURE) + .push_other(K::SIGNATURE) .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(V::SIGNATURE) .push_slice(b")") }; } @@ -333,9 +333,9 @@ impl::SIGNATURE) + .push_other(K::SIGNATURE) .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(V::SIGNATURE) .push_slice(b")") }; } diff --git a/crates/tests/standalone/src/b_calendar.rs b/crates/tests/standalone/src/b_calendar.rs index 146ab962c4..af0cc562eb 100644 --- a/crates/tests/standalone/src/b_calendar.rs +++ b/crates/tests/standalone/src/b_calendar.rs @@ -1856,7 +1856,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"{faa585ea-6214-4217-afda-7f46de5869b3}") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } @@ -1966,7 +1966,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"{6a79e863-4300-459a-9966-cbb660963ee1}") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } @@ -2142,7 +2142,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } diff --git a/crates/tests/standalone/src/b_uri.rs b/crates/tests/standalone/src/b_uri.rs index 02e163f59c..63ef2ee8bb 100644 --- a/crates/tests/standalone/src/b_uri.rs +++ b/crates/tests/standalone/src/b_uri.rs @@ -39,7 +39,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"{faa585ea-6214-4217-afda-7f46de5869b3}") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } @@ -149,7 +149,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"{6a79e863-4300-459a-9966-cbb660963ee1}") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; } @@ -496,7 +496,7 @@ impl ::windows_core::RuntimeType for I .push_slice(b"pinterface(") .push_slice(b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}") .push_slice(b";") - .push_other(::SIGNATURE) + .push_other(T::SIGNATURE) .push_slice(b")") }; }